ITabRulerStyle

A style that controls the tab stops of the paragraphs it is applied to.


ITabRulerStyle - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class ITabRulerStyle.


[view class]
~ITabRulerStyle
public:
virtual ~ITabRulerStyle()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ITabRulerStyle


Overload 1
public:
ITabRulerStyle(const ITabRulerStyle& source)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Creates a tab ruler style with the same tab stops as those in "ruler".
public:
ITabRulerStyle(const IMTabRuler& ruler)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Creates a tab ruler style that containing only autotabs at the specified interval.
public:
ITabRulerStyle(GCoord autoSpacing)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 4
Creates a tab ruler style according to its parameters.
public:
ITabRulerStyle( size_t tabCount, const ITabStop* tabs, GCoord autoSpacing )

tabCount
Number of tab stops in array pointed to by "tabs".
tabs
Pointer to an array of ITabStop. numTabs tab stops are copied from this array into the new style.
autoSpacing
Spacing interval for autotabs

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 5
protected:
ITabRulerStyle()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Tab Ruler

Use these functions to set the tab stops, replicating those of the given ruler, and to get the current tab ruler settings.


[view class]
ruler
public:
IMTabRuler* ruler()
Returns the current tab ruler.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setRuler
Sets the tab stops in the style to match those in "ruler".
public:
void setRuler(const IMTabRuler& ruler)
The tab stops in "ruler" are copied, and any tabs stops originally in the style are lost.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITabRulerStyle - Inherited Member Functions and Data

Inherited Public Functions

IParagraphStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextStyle
ITabRulerStyle
IParagraphStyle

Inherited Protected Data