InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IParagraphComposer Class Referenceabstract
Inheritance diagram for IParagraphComposer:
IPMUnknownCPMUnknown< IParagraphComposer >SLCParagraphComposerWRCParagraphComposer

Classes

class  RebuildHelper
 
class  RecomposeHelper
 
class  Tiler
 

Public Types

enum  { kDefaultIID = IID_IPARAGRAPHCOMPOSER }
 
enum  { kDefaultServiceID = kTextEngineService }
 

Public Member Functions

virtual bool16 Recompose (RecomposeHelper *helper)=0
 
virtual bool16 RebuildLineToFit (RebuildHelper *helper)=0
 
virtual bool16 RebuildLineWithOverrides (IParagraphComposer::RebuildHelper *helper, const AttributeBossList *overrides, bool16 clearOverrides=kFalse)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual bool16 IParagraphComposer::RebuildLineToFit (RebuildHelperhelper)
pure virtual

This is used to regenerate composed text data from the minimal data stored on disk. It is ok to return kFalse and not do anything.

Parameters
helper

Implemented in SLCParagraphComposer, and WRCParagraphComposer.

virtual bool16 IParagraphComposer::RebuildLineWithOverrides (IParagraphComposer::RebuildHelperhelper,
const AttributeBossListoverrides,
bool16 clearOverrides = kFalse 
)
pure virtual

This is used to regenerate composed text data with overrides. It is ok to return kFalse and not do anything.

Parameters
helper
overrides
clearOverrides- set true if overrides need to be cleared and not applied.

Implemented in SLCParagraphComposer, and WRCParagraphComposer.

virtual bool16 IParagraphComposer::Recompose (RecomposeHelperhelper)
pure virtual

Build IWaxLines using the specified helper.

Parameters
helper
Returns
kTrue if the composer applied at least one WaxLine into the helper, kFalse if the composer backed up the start of composition.

Implemented in SLCParagraphComposer, and WRCParagraphComposer.