Class: TMultiLineOrientation

Declaration: LineOrientation.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSingleLineOrientation

Inherited By:

None.

Purpose:

TMultiLineOrientation, derived from TSingleLineOrientation, defines additional control of text positioning as needed for multi-line text.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derive to provide additional controls for the orientation and placement of text.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TMultiLineOrientation::~TMultiLineOrientation

virtual ~ TMultiLineOrientation ()

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:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::SetHorizontalSequenceOfLines

virtual void SetHorizontalSequenceOfLines (EHorizontalSequence sequence)

Interface Category:

API.

Purpose:

Sets the horizontal sequence of lines for a block of text lines.

Calling Context:

Used (for example, by editable text) to set the horizontal sequence of lines for a block of text lines.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::GetHorizontalSequenceOfLines

virtual EHorizontalSequence GetHorizontalSequenceOfLines () const

Interface Category:

API.

Purpose:

Returns the horizontal sequence of lines for a block of lines.

Calling Context:

Called by Line Layout when laying out multiple lines of text.

Parameters:

Return Value:

The horizontal sequence of lines.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::SetVerticalSequenceOfLines

virtual void SetVerticalSequenceOfLines (EVerticalSequence sequence)

Interface Category:

API.

Purpose:

Sets the vertical sequence of lines for a block of text lines.

Calling Context:

Used (for example, by editable text) to set the vertical sequence of lines for a block of text.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::GetVerticalSequenceOfLines

virtual EVerticalSequence GetVerticalSequenceOfLines () const

Interface Category:

API.

Purpose:

Returns the vertical sequence of lines for a block of text lines.

Calling Context:

Called by Line Layout when laying out multiple lines of text.

Parameters:

Return Value:

The vertical sequence of lines.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::SetLinePlacement

virtual void SetLinePlacement (ESequencePlacement placement)

Interface Category:

API.

Purpose:

Sets the line placement for each line in a block of lines.

Calling Context:

Called by Line Layout when laying out multiple lines of text.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::GetLinePlacement

virtual ESequencePlacement GetLinePlacement () const

Interface Category:

API.

Purpose:

Returns the line placement for each line in a block of lines.

Calling Context:

Called by Line Layout when laying out multiple lines of text.

Parameters:

Return Value:

The line placement.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::operator=

TMultiLineOrientation & operator =(const TMultiLineOrientation &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::operator==

bool operator ==(const TMultiLineOrientation &) const

Interface Category:

API.

Purpose:

Equality operator.

Calling Context:

Call to compare two objects.

Parameters:

Return Value:

Returns true if the objects are equal.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::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:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::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:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::Hash

virtual long Hash () const

Interface Category:

API.

Purpose:

Overrides inherited MCollectible function.

Calling Context:

Same as for base class.

Parameters:

Return Value:

The numeric value of the hash.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TMultiLineOrientation::TMultiLineOrientation

  1. TMultiLineOrientation ()
  2. TMultiLineOrientation (const TMultiLineOrientation &)
  3. TMultiLineOrientation (const TSingleLineOrientation &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. Creates a TMultiLineOrientation object from a TSingleLineOrientation object, supplying default values for the additional information.

Calling Context:

  1. Called by the stream-in operators and to create a TMultiLineOrientation with default values for all its information.
  2. Called to copy an object.
  3. Called to create a TMultiLineOrientation from a TSingleLineOrientation.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

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.