ITabStop


ITabStop - Member Functions and Data by Group

Constructors & Destructor

Use these constructors and destructor to create and destroy objects of class ITabStop.


[view class]
~ITabStop
public:
virtual ~ITabStop()
Destroys the ITabStop object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ITabStop
These constructors create objects of class ITabStop.


Overload 1
Creates a tab stop at position 0 of type kLeft.
public:
ITabStop()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Initializes a tab stop based on the passed-in parameters.
public:
ITabStop(GCoord position, ETabStopKind type)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Replaces this, the current, ITabStop object with the given one.
public:
ITabStop(const ITabStop& source)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use this operator to replace the current ITabStop object with the given one.


[view class]
operator =
public:
ITabStop& operator =(const ITabStop& source)
Assignment operator.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Obtaining a Tab Stop's Type or Position

Use these functions to get the type of a tab stop or its position in global coordinates.


[view class]
position
public:
GCoord position() const
Returns the position of the tab stop in its global coordinates.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
type
public:
ETabStopKind type() const
Returns the type of tab stop. The type is identified by one of the constants defined by the ETabStopKind enumerator.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Streaming the Object In and Out

Use these functions to read the ITabStop object in from a specified stream or write it out to one.


[view class]
readFromStream
public:
virtual void readFromStream(IDataStream& fromWhere)
Reads the ITabStop object in from the specified data stream.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
writeToStream
public:
virtual void writeToStream(IDataStream& toWhere) const
Writes the ITabStop object out to the specified data stream.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Testing Two ITabStop Objects for Equality or Inequality

Use these functions to test two ITabStop objects to determine if their contents are the same or different.


[view class]
operator !=
public:
bool operator !=(const ITabStop& other) const
Compares the given ITabStop object against the current one to determine if their contents are different.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator ==
public:
bool operator ==(const ITabStop& other) const
Compares the given ITabStop object against the current one to determine if their contents are equal.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITabStop - Enumerations


[view class]
ETabStopKind
enum ETabStopKind { kLeft, 
                    kCenter, 
                    kRight, 
                    kDecimal, 
                    kAuto }
Identifies the type of tab stop:

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITabStop - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data