![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IBASELINEFRAMEGRIDDATA } |
| enum | RelativeOption { kTopOfPage, kTopOfMargin, kTopOfFrame, kTopOfInset } |
| enum | SetValueID { kSetNone = 0, kSetUseBaselineGrid = 1, kSetStartingOffset = 2, kSetRelativeOption = 4, kSetIncrement = 8, kSetBaselineFrameGridColor = 16 } |
Public Member Functions | |
| virtual void | SetUseCustomBaselineGridFlag (const bool16 &flag)=0 |
| virtual bool16 | GetUseCustomBaselineGridFlag () const =0 |
| virtual void | SetStartingOffset (const PMReal &startingOffset)=0 |
| virtual PMReal | GetStartingOffset () const =0 |
| virtual void | SetRelativeOption (IBaselineFrameGridData::RelativeOption &relativeOption)=0 |
| virtual IBaselineFrameGridData::RelativeOption | GetRelativeOption () const =0 |
| virtual void | SetIncrement (const PMReal &increment)=0 |
| virtual PMReal | GetIncrement () const =0 |
| virtual bool16 | GetBaselineFrameGridShown () const =0 |
| virtual UIDRef | GetBaselineFrameGridColor ()=0 |
| virtual void | SetBaselineFrameGridColor (const UID &colorUID)=0 |
| virtual PMReal | GetBaselineFrameGridViewThreshold () const =0 |
| virtual void | SetValue (const IBaselineFrameGridData::SetValueID &val)=0 |
| virtual void | ClearSetValues ()=0 |
| virtual bool16 | ApplyValue (const IBaselineFrameGridData::SetValueID &val) 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 |
Turns on the bit to let the command know to set this value in the IBaselineFrameGridData
| val | IN what baselinegrid value we are setting |
| pure virtual |
Is this value set? Should the command apply it
| pure virtual |
Clears the flags currently set
| pure virtual |
Get the color of baseline frame grid from document preference.
| pure virtual |
Get the show/hide flag of baseline frame grid from document preference.
| pure virtual |
Get the view limit of baseline frame grid from document preference. Under this view threshold, baseline frame grid will be invisible.
| pure virtual |
Get the distance between grid lines.
| pure virtual |
Get the relative type defined as above such as kTopOfPage(top of page).
| pure virtual |
Get the distance between the starting point and its relative(e.g., top of page).
| pure virtual |
Get the flag that determining if we use custom baseline grid or not.
| pure virtual |
Set the drawing color for baseline frame grid.
| colorUID | IN the new color. |
| pure virtual |
Set the distance between grid lines. Default is 12pts(0.1667 in).
| increment | IN the distance. |
| pure virtual |
Set the relative type defined as above such as kTopOfPage(top of page). Default is kTopOfInset.
| relativeType | IN the type of relative to. |
| pure virtual |
Set the distance between the starting point and its relative(e.g., top of page). Default is 0.
| startOffset | IN the distance. |
| pure virtual |
Set the flag that determining if we use custom baseline grid or not.
| flag | IN either set as kTrue or kFalse. |