![]() | InDesign SDK 20.5 |
#include <IDrawingStyleME.h>

Public Types | |
| enum | { kDefaultIID = IID_IDRAWINGSTYLEME } |
Public Member Functions | |
| virtual void | SetDigits (IDigitsAttr::Digits digits)=0 |
| virtual IDigitsAttr::Digits | GetDigits () const =0 |
| virtual void | SetKashida (int32 kashida)=0 |
| virtual int32 | GetKashida () const =0 |
| virtual void | SetDirOverride (IDirOverrideAttr::DirOverride dir)=0 |
| virtual IDirOverrideAttr::DirOverride | GetDirOverride () const =0 |
| virtual PMReal | GetNarrowHardSpaceWidth (bool16 vertical) const =0 |
| virtual void | SetDiacVPos (int32 vpos)=0 |
| virtual int32 | GetDiacVPos () const =0 |
| virtual void | SetDiacXOffset (PMReal r)=0 |
| virtual PMReal | GetDiacXOffset () const =0 |
| virtual void | SetDiacYOffset (PMReal r)=0 |
| virtual PMReal | GetDiacYOffset () const =0 |
| virtual void | SetBaseFontMissing (bool16 b)=0 |
| virtual bool16 | IsBaseFontMissing () const =0 |
| virtual void | SetKeyboardDir (IDirOverrideAttr::DirOverride dir)=0 |
| virtual IDirOverrideAttr::DirOverride | GetKeyboardDir () const =0 |
| virtual IDirOverrideAttr::DirOverride | GetEffectiveCharDir () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IDrawingStyleME is the primary interface of character attribute ME summary data. Text attributes can be summarized into a kComposeStyleBoss object, which is a non-persistent summary of every text attribute applied to some text. IDrawingStyleME lists most, but not all character attributes specific to the world ready composer: kashida preference, digit preference, etc. IDrawingStyleME should be considered a "read-only" interface because the set operations have no impact beyond this data interface. It does not apply through to the text that this interface derived from. The text attributes themselves are the primary setters of the data.
| pure virtual |
Get the diacritic vertical position preference.
| pure virtual |
Get the diacritic x position offset from the default location.
| pure virtual |
Get the diacritic y position offset from the default location.
| pure virtual |
| pure virtual |
Get the character direction override for the world ready composer.
| pure virtual |
GetEffectiveCharDir consolidates the paragraph direction
with the character direction override.
| pure virtual |
Get the kashida preference for the world ready composer.
| pure virtual |
Get the keyboard direction (right-to-left or left-to-right).
| pure virtual |
GetNarrowHardSpaceWidth is used to override the space width for Farsi.
| pure virtual |
the composer sets this when the base font of a complementary font is missing in the world ready composer. Should not be set otherwise.
| pure virtual |
the composer sets this when the base font of a complementary font is missing in the world ready composer. Should not be set otherwise.
| pure virtual |
Set the diacritic vertical position preference.
| vpos | is the diacritic's vertical position preference. |
| pure virtual |
Set the diacritic x position offset from the default location.
| r | is the x-offset for diacritics. |
| pure virtual |
Set the diacritic y position offset from the default location.
| r | the y-offset for diacritics. |
| pure virtual |
Set the digits used by the world ready composer.
| val | is the digit type. |
| pure virtual |
Set the character direction override for the world ready composer.
| dir | is the direction override. |
| pure virtual |
Set the kashida preference for the world ready composer.
| kashida | is the kashida preference. |
| pure virtual |
Set the keyboard direction (right-to-left or left-to-right).
| dir | is the direction of the keyboard. |