IParagraphFirstIndentStyle

A style that controls the indent distance a the beginning of the paragraphs it is applied to. The value is a number of points, expressed as a float.

Do not derive your own classes from this class.


IParagraphFirstIndentStyle - Member Functions and Data by Group

Constructors & Destructor

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


[view class]
~IParagraphFirstIndentStyle
public:
virtual ~IParagraphFirstIndentStyle()
Destroys an IParagraphFirstIndentStyle object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IParagraphFirstIndentStyle
This constructor creates an IParagraphFirstIndentStyle object.


Overload 1
Copy constructor.
public:
IParagraphFirstIndentStyle( const IParagraphFirstIndentStyle& other )
Use the copy constructor to create an IParagraphFirstIndentStyle object that is copied from the given one.

other
The IParagraphFirstIndentStyle object to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Default constructor.
public:
IParagraphFirstIndentStyle()
Use this constructor to create an IParagraphFirstIndentStyle object that leaves the style in an undefined state. The value for the default-constructed style must be filled in before the obejct is used.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
IParagraphFirstIndentStyle(float value)
Use this constructor to create an IParagraphFirstIndentStyle object that is initialized with the given indentation value.

value
The amount of indentation, expressed in points, to be used for the beginning of the paragraphs.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use this operator to replace the current IParagraphFirstIndentStyle object with the current one.


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

other
The IParagraphFirstIndentStyle object to be used to replace this, the current, one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two IParagraphFirstIndentStyle Objects for Inequality and Equality

Use these operators to compare the given IParagraphFirstIndentStyle object with the current one to determine if their contents are equal or inequal.


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

other
The given IParagraphFirstIndentStyle object to be compared with the current one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

other
The IParagraphFirstIndentStyle object to be tested against this, the current, one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Indentation Amount

Use these functions to get and set the amount of indentation to be used at the beginning of a paragraph.


[view class]
firstIndent
public:
float firstIndent() const
Returns the current setting for indentation at the beginning of a paragraph.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setFirstIndent
public:
void setFirstIndent(float value)
Sets the amount of indentation to be applied to the beginning of a paragraph.

value
The amount of space in points, expressed as a float.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IParagraphFirstIndentStyle - Inherited Member Functions and Data

Inherited Public Functions

IParagraphStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextStyle
IParagraphFirstIndentStyle
IParagraphStyle

Inherited Protected Data