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

Public Types | |
| enum | { kDefaultIID = IID_IKINSOKUTABLE } |
| enum | KinsokuCharType { kKinsoku_CannotBeginLine = 0, kKinsoku_CannotEndLine, kKinsoku_Hanging, kKinsoku_Nonseparatable } |
Public Member Functions | |
| virtual void | AddKinsokuBefore (const WideString &characters)=0 |
| virtual void | AddKinsokuAfter (const WideString &characters)=0 |
| virtual void | AddKinsokuHanging (const WideString &characters)=0 |
| virtual void | AddKinsokuNotSeparate (const WideString &characters)=0 |
| virtual void | GetKinsokuBefore (WideString &characters) const =0 |
| virtual void | GetKinsokuAfter (WideString &characters) const =0 |
| virtual void | GetKinsokuHanging (WideString &characters) const =0 |
| virtual void | GetKinsokuNotSeparate (WideString &characters) const =0 |
| virtual bool16 | NoBreakBefore (UTF32TextChar c) const =0 |
| virtual bool16 | NoBreakAfter (UTF32TextChar c) const =0 |
| virtual bool16 | IsHangingCharacter (UTF32TextChar c) const =0 |
| virtual bool16 | IsNotSeparateCharacter (UTF32TextChar c) const =0 |
| virtual int32 | KinsokuBeforeNum () const =0 |
| virtual int32 | KinsokuAfterNum () const =0 |
| virtual int32 | KinsokuHangingNum () const =0 |
| virtual int32 | KinsokuNotSeparateNum () const =0 |
| virtual void | Clear ()=0 |
| virtual void | ClearKinsokuBefore ()=0 |
| virtual void | ClearKinsokuAfter ()=0 |
| virtual void | ClearKinsokuHanging ()=0 |
| virtual void | ClearKinsokuNotSeparate ()=0 |
| virtual UTF32TextChar | GetOneKinsokuCharacter (const int32 index, KinsokuCharType type) const =0 |
| virtual void | AppendOneKinsokuCharacter (const UTF32TextChar ch, KinsokuCharType type)=0 |
| virtual void | CopyKinsokuTableData (const IKinsokuTable *from)=0 |
| virtual bool16 | GetEditability () const =0 |
| virtual void | SetEditability (bool16 editability)=0 |
| virtual void | AddKinsokuBetween (const textchar *characters1, const textchar *characters2, int32 number)=0 |
| virtual bool16 | NoBreakBetween (UTF32TextChar c1, UTF32TextChar c2) const =0 |
| virtual int32 | NoBreakBetweenNum () const =0 |
| virtual void | ClearNoBreakBetween ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The Kinsoku Table contains characters in four categories: Characters that cannot begin a line, characters that cannot end a line, characters that are inseparable (no-break, no-justify) and characters that can hang outside the right margin.
| pure virtual |
Add characters that cannot end a line to the table
| characters | [IN] cannot end line characters |
| pure virtual |
Add characters that cannot begin a line to the table
| characters | [IN] cannot begin line characters |
| pure virtual |
Add characters that can hang off line end to the table
| characters | [IN] hanging characters |
| pure virtual |
Add characters that cannot be separated or justified
| characters | [IN] inseparable characters |
| pure virtual |
Add a single kinsoku character of the requested type to that buffer
| ch | [IN] the kinsoku character to add |
| type | [IN] which buffer |
| pure virtual |
Clear the contents of the table
| pure virtual |
Clear the contents of the no-break after table
| pure virtual |
Clear the contents of the no-break before table
| pure virtual |
Clear the contents of the kinsoku hanging table
| pure virtual |
Clear the contents of the inseparables table
| pure virtual |
Copy Kinsoku table data from other table
| from | [IN] table to copy from |
| pure virtual |
| pure virtual |
Get characters that cannot end a line
| characters | [OUT] cannot end line characters |
| pure virtual |
Get characters that cannot begin a line
| characters | [OUT] cannot begin line characters |
| pure virtual |
Get characters that can hang off the end of a line
| characters | [OUT] hanging characters |
| pure virtual |
Get characters that cannot be separated or justified
| characters | [OUT] inseparable characters |
| pure virtual |
Get a single kinsoku character of the requested type
| index | [IN] index into the buffer of kinsoku characters |
| type | [IN] which buffer |
| pure virtual |
Get whether or not a character is in the hanging character table
| c | [IN] character |
| pure virtual |
Get whether or not a character is in the inseparables character table
| c | [IN] character |
| pure virtual |
Get number of kinsoku characters that cannot begin a line
| pure virtual |
Get number of kinsoku characters that cannot end a line
| pure virtual |
Get number of kinsoku characters that can hang at line end
| pure virtual |
Get number of kinsoku characters that cannot be separated or justified
| pure virtual |
Get whether or not a character is in the cannot begin line character table
| c | [IN] character |
| pure virtual |
Get whether or not a character is in the cannot end line character table
| c | [IN] character |
| pure virtual |
| editability | [IN] sets whether or not the table is user-editable |