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

Public Types | |
| enum | { kDefaultIID = IID_ICJKGRIDDATA } |
Public Member Functions | |
| virtual void | SetFontUID (UID font)=0 |
| virtual UID | GetFontUID () const =0 |
| virtual void | SetFontStyleName (const PMString &name)=0 |
| virtual const PMString & | GetFontStyleName () const =0 |
| virtual void | SetMMAxes (int32 num, const Fixed *buffer)=0 |
| virtual int32 | GetNumMMAxes () const =0 |
| virtual const Fixed * | GetMMAxes () const =0 |
| virtual void | SetTextSize (PMReal size)=0 |
| virtual PMReal | GetTextSize () const =0 |
| virtual void | SetCharAki (PMReal amount)=0 |
| virtual PMReal | GetCharAki () const =0 |
| virtual void | SetLineAki (PMReal space)=0 |
| virtual PMReal | GetLineAki () const =0 |
| virtual PMReal | GetCharOkuri (bool16 isVertical) const =0 |
| virtual PMReal | GetLineOkuri (bool16 isVertical) const =0 |
| virtual void | SetHScale (PMReal value)=0 |
| virtual PMReal | GetHScale () const =0 |
| virtual void | SetVScale (PMReal value)=0 |
| virtual PMReal | GetVScale () const =0 |
| virtual void | SetTextAlignment (ICompositionStyle::TextAlignment alignment)=0 |
| virtual ICompositionStyle::TextAlignment | GetTextAlignment () const =0 |
| virtual void | SetGridAlignment (Text::GridAlignmentMetric gridAlignment)=0 |
| virtual Text::GridAlignmentMetric | GetGridAlignment () const =0 |
| virtual void | SetCharacterHang (IDrawingStyle::CharacterHang characterHang)=0 |
| virtual IDrawingStyle::CharacterHang | GetCharacterHang () const =0 |
| virtual void | CopyFrom (const ICJKGridData *source, bool16 doDirty=kTrue)=0 |
| virtual void | CopyFrom (const IFilteredCJKGridCmdData *source, bool16 doDirty=kTrue)=0 |
| virtual bool16 | GridDataMatches (const ICJKGridData *g2) const =0 |
| virtual bool16 | NonAlignmentGridDataMatches (const ICJKGridData *g2) 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 |
ICJKGridData is the interface used to describe a CJK grid. Among other places it is aggregated on the kTextStoryBoss to describe a story's frame grids, and on the kPageBoss to describe a page's layout grid.
| pure virtual |
Copies all data from the passed in ICJKGridData to this ICJKGridData.
| source | IN ICJKGridData to copy from. |
| doDirty | IN Should dirty be called when changing data in this ICJKGridData. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Copies all valid data from the passed in IFilteredCJKGridCmdData to this ICJKGridData.
| source | IN IFilteredCJKGridCmdData to copy from. |
| doDirty | IN Should dirty be called when changing data in this ICJKGridData. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns character hang setting
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns char aki.
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns Char Okuri in points. When vertical, okuri equals the grid size * vertical glyph scale + char aki. When horizontal okuri equals grid size * horizontal glyph scale + char aki.
| isVertical | IN Whether or not the frame is vertical.. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns the font style name
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns the font UID.
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns grid alignment setting
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns horizontal glyph scale
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns line aki.
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns Line Okuri in points. When vertical, okuri equals the grid size * horizontal glyph scale + line aki. When horizontal okuri equals grid size * vertical glyph scale + line aki.
| isVertical | IN Whether or not the frame is vertical.. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Get multiple master axes
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Get number multiple master axes
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns text alignment setting
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns the pre-scale size of the grid box in points.
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Returns vertical glyph scale
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Compares this grid data with passed in grid data.
| g2 | IN Pointer to ICJKGridData to compare to this ICJKGridData . |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Compares this grid data (excluding alignment data) with passed in grid data.
| g2 | IN Pointer to ICJKGridData to compare to this ICJKGridData . |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets character hang setting
| characterHang | IN New character hang setting |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets char aki.
| space | IN The new space between grid cells in the char wise direction. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets the font style name
| name | IN The new font style name. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets the font UID.
| font | IN The new font UID. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets grid alignment setting
| gridAlignment | IN New grid alignment setting |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets horizontal glyph scale.
| value | IN New horizontal glyph scale. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets line aki.
| space | IN The new space between grid cells in the line wise direction. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Set axes for variable fonts. If you want to set this you can use the value from either IPMFont::GetNumDesignAxes() and IPMFont AccessDesignVector or FontGroupIteratorCallBack::OnMMAxes
| num | number of axes |
| buffer | buffer with axes |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets text alignment setting
| alignment | IN New text alignment setting |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets the pre-scale size of the grid cells.
| size | IN New size of grid. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.
| pure virtual |
Sets vertical glyph scale.
| value | IN New vertical glyph scale. |
Implemented in ICJKFrameGridDefaults, and ICJKLayoutGridDefaults.