ITextSuperSubscriptStyle

Provides a style that controls the baseline shift of the text it is applied to. A style that controls the baseline shift of the text it is applied to. The shift distance is expressed in points (expressed as a float), and positive values indicate upward shifts (superscripts).

Do not derive your own classes from this class.


ITextSuperSubscriptStyle - Member Functions and Data by Group

Constructors & Destructor


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ITextSuperSubscriptStyle
Use the constructors and destructor in this group to create and destroy objects of class ITextSuperSubscriptStyle.


Overload 1
public:
ITextSuperSubscriptStyle( const ITextSuperSubscriptStyle& other )

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
ITextSuperSubscriptStyle()
The default constructor leaves the style in an undefined state! A default-constructed style must have its value filled in in some way before it is used for anything!

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
ITextSuperSubscriptStyle(float offset)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use the operator in this group to assign the given ITextSuperSubscriptStyle object to the target one


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

other
The ITextSuperSubscriptStyle object to be assigned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two ITextSuperSubscriptStyle Objects for Equality or Inequality

Use the operators in this group to compare two ITextSuperSubscriptStyle objects for equality or inequality.


[view class]
operator !=
public:
bool operator !=( const ITextSuperSubscriptStyle& other ) const
Tests the given ITextSuperSubscriptStyle object against the current one for inequality.

other
The ITextSuperSubscriptStyle object to be tested against this one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator ==
public:
bool operator ==( const ITextSuperSubscriptStyle& other ) const
Tests the given ITextSuperSubscriptStyle object against the current one.

other
The ITextSuperSubscriptStyle object to be tested against this one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Super-Subscript Offset Style Value

Use the functions in this group to get and set the offset value for the ITextSuperSubscriptStyle object.


[view class]
offset
public:
float offset() const
Gets the current offset value setting for the ITextSuperSubscriptStyle object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setOffset
public:
void setOffset(float value)
Sets the offset value for the ITextSuperSubscriptStyle object.

value
The value to be used to set the ITextSuperSubscriptStyle offset.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITextSuperSubscriptStyle - Inherited Member Functions and Data

Inherited Public Functions

ICharacterStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextSuperSubscriptStyle
ITextStyle
ICharacterStyle

Inherited Protected Data