InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITsumeTable Class Referenceabstract

#include <ITsumeTable.h>

Inheritance diagram for ITsumeTable:
IPMUnknown

Public Member Functions

virtual void Clear ()=0
 
virtual void SetTsume (UTF32TextChar c, const PMReal &before, const PMReal &after)=0
 
virtual bool16 GetTsume (UTF32TextChar c, PMReal *before, PMReal *after, bool16 isVertical=kFalse)=0
 
virtual bool16 GetEditability () const =0
 
virtual void SetEditability (bool16 editability)=0
 
virtual void CopyTo (ITsumeTable *to) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Mojikumi aki and tsume are related: aki is the spacing the user sets for each character class, based on the widths after tsume has been taken out. The tsume amount is the difference between the glyph width in the font and the width set by JIS X 4051 for that character, in em. Because of this dependency, tsume tables are attached to mojikumi tables, and accessing tsume amounts should be accomplished using IMojikumiTable::GetTsumeValue().

See Also
IMojikumiTable

Member Function Documentation

virtual void ITsumeTable::Clear ()
pure virtual

Clears all entries in the table

virtual void ITsumeTable::CopyTo (ITsumeTableto) const
pure virtual
 Copies this table into another one

Parameters
to[IN/OUT] the table to copy this one into
virtual bool16 ITsumeTable::GetEditability () const
pure virtual
Returns
kTrue if this Tsume table is editable/not a default table
virtual bool16 ITsumeTable::GetTsume (UTF32TextChar c,
PMRealbefore,
PMRealafter,
bool16 isVertical = kFalse 
)
pure virtual
 This method is called by the Mojikumi table when not using CID-based tsume. This table should not normally be accessed directly.

Parameters
c[IN] Unicode character
before[OUT] amount of left-side kerning in em units
after[OUT] amount of right-side kerning in em units
isVertical[IN] is the tsume amount requested for use when the character is upright in vertical text
virtual void ITsumeTable::SetEditability (bool16 editability)
pure virtual
Parameters
editability[IN] kTrue to set the table as user-editable
virtual void ITsumeTable::SetTsume (UTF32TextChar c,
const PMRealbefore,
const PMRealafter 
)
pure virtual
 Sets the amount of left-side and right-side kerning for the given Unicode codepoint.

Parameters
c[IN] Unicode character
before[IN] amount of left-side kerning in em units
after[IN] amount of right-side kerning in em units