Class: TSegmentHorizontalSequenceParagraphStyle

Declaration: TextParagraphStyles.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TAbstractParagraphStyle

Inherited By:

None.

Purpose:

TSegmentHorizontalSequenceParagraphStyle describes the reading sequence of the words in each line of text of the paragraphs to which this style is applied, when the lineOrientation is kHorizontal. This defines both the direction sequence for tab stops and the default direction sequence for characters in the line. Character direction may be overridden by the language character style or by explicit character styles. Users need to be able to specify word order independently for each paragraph. The selection of a line direction does not restrict what a user may type into a paragraph. For example, Arabic users may type English in a kRightToLeft paragraph, and English users may type Arabic in a kLeftToRight paragraph.

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: TSegmentHorizontalSequenceParagraphStyle::TSegmentHorizontalSequenceParagraphStyle

  1. TSegmentHorizontalSequenceParagraphStyle ()
  2. TSegmentHorizontalSequenceParagraphStyle (TSingleLineOrientation :: EHorizontalSequence value)
  3. TSegmentHorizontalSequenceParagraphStyle (const TSegmentHorizontalSequenceParagraphStyle & value)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructor for creating a TSegmentHorizontalSequenceParagraphStyle with the specified reading sequence of words in each line.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to construct a TSegmentHorizontalSequenceParagraphStyle with the specified reading sequence of words in each line.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSegmentHorizontalSequenceParagraphStyle::~TSegmentHorizontalSequenceParagraphStyle

virtual ~ TSegmentHorizontalSequenceParagraphStyle ()

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: TSegmentHorizontalSequenceParagraphStyle::operator==

bool operator ==(const TStyle & thatStyle) const

Interface Category:

API.

Purpose:

Tests whether this object is equivalent to the argument object.

Calling Context:

Called to test equivalence of the two objects on either side of the ==symbol.

Parameters:

Return Value:

Returns true if the objects are equivalent.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSegmentHorizontalSequenceParagraphStyle::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: TSegmentHorizontalSequenceParagraphStyle::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.

Member Function: TSegmentHorizontalSequenceParagraphStyle::GetName

virtual const TStyleName & GetName () const

Interface Category:

API.

Purpose:

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

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

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Overrides inherited TAbstractParagraphStyle function.

Member Function: TSegmentHorizontalSequenceParagraphStyle::GetSegmentHorizontalSequence

virtual const TSingleLineOrientation::EHorizontalSequence GetSegmentHorizontalSequence () const

Interface Category:

API.

Purpose:

Returns the horizontal reading sequence of words in each line, either kLeftToRight (as is normal for Roman paragraphs), or kRightToLeft (as is normal for Arabic paragraphs).

Calling Context:

May be called directly by client.

Parameters:

Return Value:

The horizontal reading sequence of words in each line, either kLeftToRight or kRightToLeft.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Overrides inherited TAbstractParagraphStyle function.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.