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

Public Types | |
| enum | { kDefaultIID = IID_IRECOMPOSEDFRAMES } |
Public Member Functions | |
| virtual void | AddFrameToList (UID frameUID)=0 |
| virtual void | RemoveFrameFromList (UID frameUID)=0 |
| virtual UID | GetNthFrameUID (int32 i)=0 |
| virtual int32 | GetFrameCount ()=0 |
| virtual void | BroadcastRecompositionComplete ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IRecomposedFrames is used to buffer up a list of text frames that have undergone some kind of recomposition, so that at the end of the composition operation, we can broadcast on all of them at once. Things like the paragraph composer, keeps fuctionality, and footnotes can all cause more frames to be operated on than initially expected. Each IFrameList has this interface.
| pure virtual |
Add the specified text frame to the list of frames affected by composition.
| frameUID | is the UID of the text frame that was affected. |
| pure virtual |
Broadcast the recomposition message for the frames and clear the list. Also may do the screen inval.
| pure virtual |
Used for iteration through the list, get the number of text frames.
| pure virtual |
Used for iteration through the list, get an indexed text frame. May not handle bad indices.
| i | is the index within this interface's list. |
| pure virtual |
Remove a text frame from the list, if it is there. Generally used when text frames are deleted, since the broadcast clears the normal case.
| frameUID | is the text frame to remove. |