IMTabRuler

Abstract class defining tab-ruler protocol. Do not derive from this class.


IMTabRuler - Member Functions and Data by Group

Assignment Operator

Use this operator to replace the current tab ruler with the given one.


[view class]
operator ==
public:
bool operator ==(const IMTabRuler& other) const
Assignment operator.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Cloning the Tab Ruler

Use this function to copy the tab ruler.


[view class]
clone
public:
virtual IMTabRuler* clone() const = 0
Returns a new tab ruler that is identical to this one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Obtaining a Copy of a Tab

Use these functions to copy the tab at the specified position.


[view class]
firstTab
public:
virtual ITabStop firstTab() const = 0
Returns a copy of the first tab in the ruler. If an autoTab, it is at position zero, and all subsequent tabs will be autotabs at autoSpacing intervals.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
nextTab
public:
virtual ITabStop nextTab(GCoord position) const = 0
Returns a copy of the first tab in the ruler with fPosition > position. If it is an autotab, it is at an even multiple of autoSpacing, and all subsequent tabs will be autotabs at autoSpacing intervals.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Obtaining Information about Tab Stops

Use these functions to get the number of tabs stops in the ruler or the interval between tab stops.


[view class]
autoSpacing
public:
virtual GCoord autoSpacing() const = 0
Returns the interval for autotabs.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
tabCount
public:
virtual size_t tabCount() const = 0
Returns the number of tab stops in this ruler.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Obtaining References to Tab Stops

Use these functions to obtain a constant or mutable reference to a specific tab stop.


[view class]
operator []
Returns a modifiable reference to the "ndx"-th tab stop in the ruler.


Overload 1
public:
virtual const ITabStop& operator [](size_t ndx) const = 0

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
virtual ITabStop& operator [](size_t ndx) = 0

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IMTabRuler - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data