ITextBoldfaceStyle

A style that determines whether the text it is applied to is boldface or lightface (true means bold). Ths class provides a style that determines whether the text it is applied to is boldface or lightface. TRUE means bold.

Do not derive your own classes from this class.


ITextBoldfaceStyle - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to construct and destroy objects of class ITextBoldfaceStyle.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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


Overload 1
Constructs and ITextBoldfaceStyle object using the given value.
public:
ITextBoldfaceStyle(bool isSet)
Use this constructor to create an ITextBoldfaceStyle object whose value is initialized TRUE, indicating use of boldface.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
ITextBoldfaceStyle(const ITextBoldfaceStyle& other)
Use this constructor to create an ITextBoldfaceStyle object that is constructed from the given one.

other
The ITextBoldfaceStyle object to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Default constructor.
public:
ITextBoldfaceStyle()
Use the this constructor to create an ITextBoldfaceStyle object that 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


Assignment Operator

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


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

other
The replacement ITextBitmapStyle object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two ITextBoldfaceStyle Objects for Equality and Inequality

Use the functions in this group to test the given ITextBoldfaceStyle object against the current one for equality or inequality.


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

other
The ITextBitmapStyle object to be compared.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

other
The ITextBitmapStyle object to be compared.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting and Setting the Boldface Flag

Use the functions in this group to get and set the value of the flag that determines whether boldface or lightface is used to render the the text.


[view class]
isBoldface
public:
bool isBoldface() const
Determines whether boldface or lightface (true means bold) is applied to the text.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setBoldface
public:
void setBoldface(bool value)
Sets the flag that determines whether boldface or lightface is to be applied to the text. TRUE means bold.

value
The flag setting. TRUE specifies boldface.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITextBoldfaceStyle - Inherited Member Functions and Data

Inherited Public Functions

ICharacterStyle
ITextStyle

Inherited Public Data

Inherited Protected Functions

ITextStyle
ITextBoldfaceStyle
ICharacterStyle

Inherited Protected Data