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

Public Types | |
| enum | { kDefaultIID = IID_IGALLEYSETTINGS } |
| enum | CursorType { kNormalCursor = 0, kThickCursor, kBarbellCursor, kBlockCursor } |
| enum | OversetDisplayType { kNone = 0, kDividerColor, kDividerBackground, kColorOnly, kBackgroundOnly, kMarginIndicator } |
| enum | TextAntiAliasType { kStandardGrayDDR = 0, kColorDDR, kPreview } |
Public Member Functions | |
| virtual bool16 | GetSmoothText () const =0 |
| virtual void | SetSmoothText (bool16 smoothText)=0 |
| virtual bool16 | GetShowParagraphStyleNames ()=0 |
| virtual void | SetShowParagraphStyleNames (bool16 showStyleNames)=0 |
| virtual bool16 | GetShowParagraphBreakMarks ()=0 |
| virtual void | SetShowParagraphBreakMarks (bool16 showBreakMarks)=0 |
| virtual PMReal | GetParagraphIndentMultiplier ()=0 |
| virtual void | SetParagraphIndentMultiplier (const PMReal indentMultiplier)=0 |
| virtual bool16 | GetShowLineNumbers ()=0 |
| virtual void | SetShowLineNumbers (bool16 showLineNumbers)=0 |
| virtual bool16 | GetIsGalleyAle ()=0 |
| virtual void | SetGalleyAle (bool16 isAle)=0 |
| virtual RealAGMColor & | GetTextColor ()=0 |
| virtual void | SetTextColor (RealAGMColor &color)=0 |
| virtual RealAGMColor & | GetBackgroundColor ()=0 |
| virtual void | SetBackgroundColor (RealAGMColor &color)=0 |
| virtual PMReal | GetLeadingValue () const =0 |
| virtual void | SetLeadingValue (PMReal leadingValue)=0 |
| virtual int32 | GetOverrideCount ()=0 |
| virtual const PMString & | GetNthFontOverrideName (int32 n)=0 |
| virtual void | SetNthFontOverrideName (int32 n, const PMString &name)=0 |
| virtual void | DeleteNthFontOverrideName (int32 n)=0 |
| virtual void | AppendFontOverrideName (const PMString &name)=0 |
| virtual bool16 | IsAnOverrideFont (PMString fontFamilyName, IPMFont *font=nil)=0 |
| virtual IGalleySettings::CursorType | GetCursorType ()=0 |
| virtual void | SetCursorType (CursorType type)=0 |
| virtual PMString | GetDisplayFont ()=0 |
| virtual void | SetDisplayFont (PMString displayFont)=0 |
| virtual bool16 | GetBlinkCursor ()=0 |
| virtual void | SetBlinkCursor (bool16 blinkOn)=0 |
| virtual void | SetUseUserFontOverride (bool16 useUserOverride)=0 |
| virtual bool16 | GetUseUserFontOverride ()=0 |
| virtual void | SetDisplayFontSize (const PMReal &fontSize)=0 |
| virtual PMReal | GetDisplayFontSize ()=0 |
| virtual void | SetUseDisplayFont (bool16 useDisplayFont)=0 |
| virtual bool16 | GetUseDisplayFont ()=0 |
| virtual void | SetInfoColumnWidth (PMReal width)=0 |
| virtual PMReal | GetInfoColumnWidth ()=0 |
| virtual void | SetInfoColumnHidden (bool16 hidden)=0 |
| virtual bool16 | GetInfoColumnHidden ()=0 |
| virtual void | SetOversetDisplayType (OversetDisplayType oversetType)=0 |
| virtual OversetDisplayType | GetOversetDisplayType ()=0 |
| virtual void | SetOversetBackgroundColor (const RealAGMColor &color)=0 |
| virtual RealAGMColor | GetOversetBackgroundColor ()=0 |
| virtual void | SetShowDepthRuler (bool16 showRuler)=0 |
| virtual bool16 | GetShowDepthRuler ()=0 |
| virtual void | SetTextAntiAliasStyle (TextAntiAliasType aliasType)=0 |
| virtual TextAntiAliasType | GetTextAntiAliasStyle ()=0 |
| virtual void | SetShowFootnotes (bool16 showFootnotes)=0 |
| virtual bool16 | GetShowFootnotes ()=0 |
| virtual void | SetFootnoteDisplayColor (const RealAGMColor &color)=0 |
| virtual RealAGMColor & | GetFootnoteDisplayColor ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Setters and Getters for the various Galley properties
| pure virtual |
Add a font override to the list
| &name | - The name to append |
| pure virtual |
Remove a font from the list of overrides
| n | - The font to remove from the list |
| pure virtual |
Get the color for the galley background
| pure virtual |
Get whether text cursor should blink or not
| pure virtual |
Get the cursor type to use for this galley view
| pure virtual |
Get the display font preference to use for this galley view
| pure virtual |
Get the font size to use for this galley view
| pure virtual |
Get the color to display the bookends for footnotes
| pure virtual |
Get the hidden state of the info column. Only used in InCopy.
| pure virtual |
Get the width preference for the info column
| pure virtual |
Is the galley ALE (accurate line endings) or ILE (inaccurate line ending)
| pure virtual |
Get the amount of leading to use for the text
| pure virtual |
Get the name of a particular font override
| n | - The item in the list that you want the name of |
| pure virtual |
List of Font Overrides (font that display in their true type instead of as the galley display font)Get the override count
| pure virtual |
Get the background color of overset text.
| color | value of background overset text. |
| pure virtual |
Get the value setting for the way overset text is display in story view.
| oversetType | see enum values. |
| pure virtual |
Get the paragraph indent multiplier
| pure virtual |
Get the show state of the depth ruler.
| pure virtual |
Get the show state footnotes in galley and story view.
| pure virtual |
Should we show line numbers or not
| pure virtual |
Should we show paragraph break marks or not
| pure virtual |
Should we show paragraph style names or not
| pure virtual |
Should the text be drawn antialiased
| pure virtual |
Get style of text anti-aliasing used to render text.
| pure virtual |
Get the color to show the galley text in
| pure virtual |
Get the whether or not to use the display font for this galley view.
| pure virtual |
Get whether the user font display font override setting will do anything in galley. Note that the hard coded overrides will always apply no matter what the setting.
| pure virtual |
Is a given font in the override list
| fontFamilyName | - The family name of the font you are checking for |
| *font | - The font you are looking for |
| pure virtual |
Set the color for the galley background
| color | - The background color to show in the galley |
| pure virtual |
Set whether text cursor should blink or not
| blinkOn | - whether text cursor should blink or not |
| pure virtual |
Set the cursor type to use for this galley view
| type | - The type of the cursor to use |
| pure virtual |
Set the display font preference to use for this galley view
| displayFont | - The display font preference to use |
| pure virtual |
Set the font size to use for this galley view
| &fontsize | - The font size to use |
| pure virtual |
Set the color to display the bookends for footnotes
| color | - color to display the footnotes in |
| pure virtual |
Set whether galley is ALE (accurate line endings) or ILE (inaccurate line ending)
| isAle | - kTrue will use ALE |
| pure virtual |
Set the hidden state of the info column. Only used in InCopy.
| hidden | - Is the info column hidden or visible |
| pure virtual |
Set the width preference for the info column
| width | - The width preference for the info column |
| pure virtual |
Set the amount of leading to use for the text
| leadingValue | - Value to use for the leading |
| pure virtual |
Set the name of a particular font override
| n | - The item in the list that you want to set the name of |
| &name | - The name of the selected font |
| pure virtual |
Set the color of the background for overset text.
| color | value to display overset text background |
| pure virtual |
Allows control of the way overset text is display in the story view.
| oversetType | see enum values. |
| pure virtual |
Allow control of the distance that paragraphs are indented. A value of 1.0 for the multiplier will give an indent of 1X the width of the paragraph glyph (kTextChar_PilchrowSign) at the currently selected display font size. Using the font for show invisible characters ("AdobeSansMM"). 2.0 is 2X, 2.1 is 2.1X etc... Negative numbers while allowed are not tested.
| indentMultiplier | - Value for the paragraph indent multiplier |
| pure virtual |
Set the show state of the depth ruler.
| hidden | - kTrue the the ruler will be shown |
| pure virtual |
Set the show state of footnotes in galley and story view.
| show | - kTrue to show footnotes |
| pure virtual |
Set whether or not to show line numbers
| showLineNumbers | - kTrue will Show the line numbers |
| pure virtual |
Set whether or not to show paragraph break marks
| showBreakMarks | - kTrue will Show the paragraph break marks |
| pure virtual |
Set whether or not to show paragraph style names
| showStyleNames | - kTrue will Show the style names |
| pure virtual |
Set whether or not the text shoudl be antialiased
| smoothText | - kTrue will draw the text antialiased |
| pure virtual |
Set style of text anti-aliasing to use for galley/story text.
| aliasType | - type of anti-alias to use |
| pure virtual |
Set color to show the galley text in
| color | - The text color to show the text in |
| pure virtual |
Set the whether or not to use the display font for this galley view. Not persistant right now but can be set on a session basis. This can be used to cause the story/galley views to use the actual text model font to display text rather than the display font. Currently, this is not part of the regular product (ie. we always display text in the display font except for exceptions stored in the override font list.
| useDisplayFont | - The use the display font or not |
| pure virtual |
Set whether the user font display font override setting will do anything in galley. Note that the hard coded overrides will always apply no matter what the setting.
| useUserOverride | - Use the override or not |