### 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.

~ITextBoldfaceStyle

      public:
      virtual ~ITextBoldfaceStyle()

  Destroys the ITextBoldfaceStyle object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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.

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.

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

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.

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

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

  -     virtual ~ICharacterStyle()

  -     virtual ITextStyle::EStylePropagation propagates() const

  ITextStyle

  -     virtual ~ITextStyle()

  -     virtual EStylePropagation propagates() const = 0

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  ITextStyle

  -     virtual void addToSet(ITextStyleSet& set) const = 0

  -     virtual void getValueFromSet(const ITextStyleSet& set) = 0

  -     virtual bool
          isContainedInSet( const ITextStyleSet& set ) const = 0

  -     virtual bool
          isValueContainedInSet( const ITextStyleSet& set ) const = 0

  -     ITextStyle(const ITextStyle&)

  -     ITextStyle()

  -     ITextStyle& operator =(const ITextStyle&)

  -     virtual void removeFromSet(ITextStyleSet& set) const = 0

  ITextBoldfaceStyle

  -     virtual void addToSet(ITextStyleSet& set) const

  -     virtual void getValueFromSet(const ITextStyleSet& set)

  -     virtual bool
          isContainedInSet( const ITextStyleSet& set ) const

  -     virtual bool
          isValueContainedInSet( const ITextStyleSet& set ) const

  -     virtual void removeFromSet(ITextStyleSet& set) const

  ICharacterStyle

  -     ICharacterStyle()

  -     ICharacterStyle(const ICharacterStyle&)

  -     ICharacterStyle& operator =(const ICharacterStyle&)

#### Inherited Protected Data

  - None