ITextTypefaceStyle

Provides a style that controls the typeface of a range of text. A style that controls the typeface of a range of text. The typeface is specified by name using an IText.

Do not derive your own classes from this class.


ITextTypefaceStyle - Member Functions and Data by Group

Constructors & Destructor

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


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ITextTypefaceStyle
Constructs an object of class ITextTypefaceStyle.


Overload 1
Copy constructor.
public:
ITextTypefaceStyle(const ITextTypefaceStyle& other)

other
The ITextTypefaceStyle object to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Default constructor.
public:
ITextTypefaceStyle()
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
Constructs an ITextTypefaceStyle object using the given typeface.
public:
ITextTypefaceStyle(const IText& name)

name
The typeface style to be used in constructing the ITextTypefaceStyle object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use the operator in this group to assign the given ITextTypefaceStyle object to the current one.


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

other
The ITextTypefaceStyle object to assign.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two ITextTypefaceStyle Objects for Equality or Inequality

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


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

other
The ITextTypefaceStyle object to be compared with this one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

other
The ITextTypefaceStyle object to be compared with this one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Typeface Value

Use the functions in this group to get and set the typeface style for the ITextTypefaceStyle object.


[view class]
setTypeface
public:
void setTypeface(const IText& value)
Sets the typeface style contained in the ITextTypefaceStyle object using the given value.

value
The name of the typeface.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
typeface
public:
IText typeface() const
Gets the typeface style setting of the current ITextTypefaceStyle object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITextTypefaceStyle - Inherited Member Functions and Data

Inherited Public Functions

ICharacterStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextStyle
ITextTypefaceStyle
ICharacterStyle

Inherited Protected Data