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

#include <IFrameListComposer.h>

Inheritance diagram for IFrameListComposer:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IFRAMELISTCOMPOSER }
 

Public Member Functions

virtual void RecomposeThruLastFrame ()=0
 
virtual void RecomposeThruTextIndex (TextIndex composeUpThruThisIndex)=0
 
virtual void RecomposeThru (TextIndex composeUpThruThisIndex, const IMultiColumnTextFrame *sentinalMCFrame=nil)=0
 
virtual bool16 RecomposeOneFrame (IdleTimer *interruptCheck)=0
 
virtual bool16 RecomposeUntil (TextIndex index, const IMultiColumnTextFrame *mcFrame, IdleTimer *timeCheck)=0
 
virtual void RecomposeFully ()=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

This interface controls recomposition either by frame or up to a given TextIndex.

Member Function Documentation

virtual void IFrameListComposer::RecomposeFully ()
pure virtual

This method will compose all damaged frames in the FrameList and, if one or more frames WERE damaged and result in overset, and the addition of additional frames is supported and appropriate for this FrameList, additional frames will be added until the FrameList is no longer overset or it is determined that adding frames is not helping.

virtual bool16 IFrameListComposer::RecomposeOneFrame (IdleTimerinterruptCheck)
pure virtual

Recomposes the first damaged frame in the frame list. For use by background recomposition.

Parameters
interruptCheckPointer to optional IdleTimer
Returns
kTrue if composition finished within the time given by the IdleTimer, kFalse if the frame remains damaged
virtual void IFrameListComposer::RecomposeThru (TextIndex composeUpThruThisIndex,
const IMultiColumnTextFramesentinalMCFrame = nil 
)
pure virtual

Recompose all frames up thru the one containing this text index or the specified MultiColumnTextFrame, whichever comes first.

Parameters
composeUpThruThisIndex
sentinalMCFrameOptional pointer to MultiColumnTextFrame
virtual void IFrameListComposer::RecomposeThruLastFrame ()
pure virtual

Recompose all TextFrameColumns in the IFrameList.

virtual void IFrameListComposer::RecomposeThruTextIndex (TextIndex composeUpThruThisIndex)
pure virtual

Recompose all frames up thru the one containing the specified TextIndex.

Parameters
composeUpThruThisIndexTextIndex to compose upto, pass kInvalidTextIndex to compose all text in the FrameList.
virtual bool16 IFrameListComposer::RecomposeUntil (TextIndex index,
const IMultiColumnTextFramemcFrame,
IdleTimertimeCheck 
)
pure virtual

Recomposes damaged frames until index is composed or frame is composed or timeCheck returns 0, whichever comes first.

Parameters
indexTextIndex to compose upto, pass kInvalidTextIndex to compose all text in the FrameList.
mcFramePointer to MultiColumnTextFrame to compose thru, pass nil to compose all frames in the FrameList.
timeCheckPointer to optional IdleTimer
Returns
kTrue if composition finished within the time given by the IdleTimer, kFalse if the target frame remains damaged.