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

Public Types | |
| enum | { kDefaultIID = IID_ICJKGRIDPREFS } |
Public Member Functions | |
| virtual bool16 | GetSnapToLayoutGrid ()=0 |
| virtual void | SetSnapToLayoutGrid (bool16 status)=0 |
| virtual void | SetLayoutGridColor (const UIDRef uiColorUIDRef, bool16 bTranslateDBToDB=kTrue)=0 |
| virtual const UIDRef | GetLayoutGridColor ()=0 |
| virtual void | SetColorEveryNthCell (int16 n)=0 |
| virtual int16 | GetColorEveryNthCell ()=0 |
| virtual void | SetSingleLineColorMode (bool16 isSingleLine)=0 |
| virtual bool16 | GetSingleLineColorMode ()=0 |
| virtual void | SetICFMode (bool16 useICF)=0 |
| virtual bool16 | GetICFMode ()=0 |
| virtual void | SetUseCircularCells (bool16 useCircles)=0 |
| virtual bool16 | GetUseCircularCells ()=0 |
| virtual void | SetMinimumScale (const PMReal &minScale)=0 |
| virtual PMReal | GetMinimumScale ()=0 |
| virtual bool16 | GetShowAllLayoutGrids ()=0 |
| virtual void | SetShowAllLayoutGrids (bool16 show)=0 |
| virtual bool16 | GetShowAllFrameGrids ()=0 |
| virtual void | SetShowAllFrameGrids (bool16 show)=0 |
| virtual bool16 | GetShowCharacterCount ()=0 |
| virtual void | SetShowCharacterCount (bool16 show)=0 |
| virtual void | CopyFrom (ICJKGridPrefs *source)=0 |
| virtual bool16 | GetSnapToLayoutGrid_DURING_CONVERSION_ONLY ()=0 |
| virtual bool16 | GetShowAllLayoutGrids_DURING_CONVERSION_ONLY ()=0 |
| virtual bool16 | GetShowAllFrameGrids_DURING_CONVERSION_ONLY ()=0 |
| virtual bool16 | GetShowCharacterCount_DURING_CONVERSION_ONLY ()=0 |
| virtual int32 | GetLayoutGridColorIndex_DURING_CONVERSION_ONLY ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
ICJKGridPrefs is an interface that allows for the access and modification of CJK Grid Preferences.
You may find these preferences on the application and/or document workspaces.
| pure virtual |
Utility method used to copy ICJKGridPrefs from another instance.
| source | IN The source instance. |
| pure virtual |
Which (Nth) cell is being colored?
| pure virtual |
Are grids using ICF (HLTODO).
| pure virtual |
Gets the current layout grid color.
| pure virtual |
Internal method used to convert a color index during conversion. Please do not call!
| pure virtual |
Gets the minimum viewing scale for grid drawing. The grid will
not draw when scaled out beyond the minimum.
| pure virtual |
Gets view preference for show/hide all frame grids.
| pure virtual |
Internal method used to convert show frame grid setting. Please do not call!
| pure virtual |
Gets view preference for show/hide all layout grids.
| pure virtual |
Internal method used to convert show layout grid setting. Please do not call!
| pure virtual |
Gets view preference for show/hide character count.
| pure virtual |
Internal method used to convert show character count setting. Please do not call!
| pure virtual |
When coloring every nth grid cell, do we start counting from the start of the line?
| pure virtual |
Do drags currently snap to the layout grid
| pure virtual |
Internal method used to convert snap to layout grid setting. Please do not call!
| pure virtual |
Is grid drawing currently using circular cells.
| pure virtual |
Sets which nth cell to color.
| n | IN Which nth cell to color. |
| pure virtual |
Sets whether or not CJK Grids are using ICF Mode (HLTODO)
| useICF | IN pass kTrue to use ICF mode. |
| pure virtual |
Sets the color of the layout grid.
| uiColorUIDRef | IN The new color. |
| bTranslateDBToDB | IN kTrue if you want this UIDRef to be translated to the current database |
| pure virtual |
Sets the minimum scale factor for grid drawing. The grid will
not draw when scaled out beyond the minimum.
| minScale | IN The new minimum |
| pure virtual |
Sets view preference for show/hide frame grids.
| show | IN kFalse to hide, kTrue to show |
| pure virtual |
Sets view preference for show/hide layout grids.
| show | IN kFalse to hide, kTrue to show |
| pure virtual |
Sets view preference for show/hide character count.
| show | IN kFalse to hide, kTrue to show |
| pure virtual |
Sets whether or not we start counting from the start of each new line.
| isSingleLine | IN pass kTrue to start at each line, kFalse to continue counting without regard to line boundaries. |
| pure virtual |
Sets if drags should snap to the layout grid
| status | IN kTrue to set snap, kFalse to turn snapping off |
| pure virtual |
Sets whether or not CJK grid drawing is to use circular cells.
| useCircles | IN pass kTrue for circular cells. |