Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TAbstractSpacingParagraphStyle
Inherited By:
None.
Purpose:
TSpaceAfterParagraphStyle, derived from TAbstractSpacingParagraphStyle, is a style applied to a text paragraph for setting the spacing after the paragraph. It specifies the spacing after each of the following: (1) the paragraph when it ends at the bottom of a column, (2) the paragraph when it is followed by another paragraph within the column, and (3) the portion of the paragraph that ends a column, when the paragraph is split across two or more columns.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
This class is designed to be used directly.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TSpaceAfterParagraphStyle (GTextCoordinate interparagraphToSumAfter, GTextCoordinate interparagraphMinAfter =0.0, GTextCoordinate endAmount =0.0, GTextCoordinate endSplitAmount =0.0, TAbstractSpacingParagraphStyle :: EDesignLineHorizontal endDesignLineHorizontal =kLowerAccent, TAbstractSpacingParagraphStyle :: EDesignLineVertical endDesignLineVertical =kTrailingAccent)
- TSpaceAfterParagraphStyle (const TSpaceAfterParagraphStyle &)
- TSpaceAfterParagraphStyle ()
Interface Category:
API.
Purpose:
- Constructor for creating a TSpaceAfterParagraphStyle with the specified values.
- Copy constructor.
- Default constructor.
Calling Context:
- Called to construct a TSpaceAfterParagraphStyle with the specified values.
- Called to copy an object.
- Called by the stream-in operators.
Parameters:
- GTextCoordinate interparagraphToSumAfter -The InterparagraphToSumAfter value for the paragraph, in units of 1/72 of an inch. Note that interparagraph space is determined from the maximum of the following: (1) InterparagraphMinAfter for the prior paragraph, (2) InterparagraphMinBefore for the current paragraph, and (3) the sum of InterparagraphToSumAfter for the prior paragraph and InterparagraphToSumBefore for the current paragraph.
- GTextCoordinate interparagraphMinAfter =0.0 -The minimum spacing required after the paragraph, in units of 1/72 of an inch (default: 0.0).
- GTextCoordinate endAmount =0.0 -The amount of space after the paragraph, if it ends a column, in units of 1/72 of an inch (default: 0.0).
- GTextCoordinate endSplitAmount =0.0 -The amount of space after the portion of the paragraph that ends a column, when the paragraph is split across two or more columns, in units of 1/72 of an inch (default: 0.0).
- TAbstractSpacingParagraphStyle :: EDesignLineHorizontal endDesignLineHorizontal =kLowerAccent -The font design line to which the space after values are measured, if text is set in horizontal lines (default: kLowerAccent).
- TAbstractSpacingParagraphStyle :: EDesignLineVertical endDesignLineVertical =kTrailingAccent -The font design line to which the space after values are measured, if text is set in vertical lines (default: kTrailingAccent).
- const TSpaceAfterParagraphStyle & -The object to copy.
- Takes no parameters.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TSpaceAfterParagraphStyle ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Called to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual const TStyleName & GetName () const
Interface Category:
API.
Purpose:
Returns the paragraph style name, which is a token created from the class name TSpaceAfterParagraphStyle.
Calling Context:
Called to determine the name of this style.
Parameters:
Return Value:
A constant reference to the paragraph style name, which is a token created from the class name TSpaceAfterParagraphStyle.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
Overrides inherited TAbstractParagraphStyle function.
virtual TStream & operator >>=(TStream & toWhere) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & toWhere -The stream the object streams itself out to.
Return Value:
Returns a reference to the stream the object streams itself out to.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & operator <<= (TStream & fromWhere)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & fromWhere -The stream the object streams itself in from.
Return Value:
Returns a reference to the stream the object streams itself in from.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.