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

~ITextTypefaceStyle

      public:
      virtual ~ITextTypefaceStyle()

  Destroys the ITextTypefaceStyle object.

Supported Platforms

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

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.

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.

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

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.

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

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

  -     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()

  -     ITextStyle(const ITextStyle&)

  -     ITextStyle& operator =(const ITextStyle&)

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

  ITextTypefaceStyle

  -     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(const ICharacterStyle&)

  -     ICharacterStyle()

  -     ICharacterStyle& operator =(const ICharacterStyle&)

#### Inherited Protected Data

  - None