Class: TLeadingMarginParagraphStyle

Declaration: TextParagraphStyles.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TAbstractGCoordinateParagraphStyle

Inherited By:

None.

Purpose:

TLeadingMarginParagraphStyle, derived from TAbstractGCoordinateParagraphStyle, is used to set the margin on the leading side of a paragraph, where leading is interpreted according to TMarginAndIndentDirectionParagraphStyle.

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.

Member Function: TLeadingMarginParagraphStyle::TLeadingMarginParagraphStyle

  1. TLeadingMarginParagraphStyle (const GTextCoordinate leadingMargin)
  2. TLeadingMarginParagraphStyle (const TLeadingMarginParagraphStyle &)
  3. TLeadingMarginParagraphStyle ()

Interface Category:

API.

Purpose:

  1. Constructor for creating a TLeadingMarginParagraphStyle with the specified leading margin.
  2. Copy constructor.
  3. Default constructor. This sets the leading margin to 0.0.

Calling Context:

  1. Called to construct a TLeadingMarginParagraphStyle with the specified leading margin.
  2. Called to copy an object.
  3. Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLeadingMarginParagraphStyle::~TLeadingMarginParagraphStyle

virtual ~ TLeadingMarginParagraphStyle ()

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.

Member Function: TLeadingMarginParagraphStyle::GetName

virtual const TStyleName & GetName () const

Interface Category:

API.

Purpose:

Returns the paragraph style name, which is a token created from the class name TLeadingMarginParagraphStyle.

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 TLeadingMarginParagraphStyle.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Overrides inherited TAbstractParagraphStyle function.

Member Function: TLeadingMarginParagraphStyle::operator>>=

virtual TStream & operator >>=(TStream & toWhere) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

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.

Member Function: TLeadingMarginParagraphStyle::operator<<=

virtual TStream & operator <<= (TStream & fromWhere)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

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.