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

Public Types | |
| enum | { kDefaultIID = IID_ICREATEMCFRAMEDATA } |
| enum | Orientation { kHorizontal, kVertical } |
| enum | Direction { kLeftToRight, kRightToLeft } |
Public Member Functions | |
| virtual void | CopyInto (ICreateMCFrameData *into) const =0 |
| virtual void | SetFrameList (const UIDRef &framelist, int32 insertAt)=0 |
| virtual void | SetStory (const UIDRef &story)=0 |
| virtual void | SetDocument (IDocument *document)=0 |
| virtual void | SetGraphicFrameParent (UID nGraphicFrameUID)=0 |
| virtual bool16 | IsStoryCreated () const =0 |
| virtual bool16 | IsFrameListCreated () const =0 |
| virtual IDocument * | GetDocument () const =0 |
| virtual IDataBase * | GetDataBase () const =0 |
| virtual UID | GetGraphicFrameParent () const =0 |
| virtual UID | GetCachedStory () const =0 |
| virtual UID | GetCachedFrameList () const =0 |
| virtual UID | GetStory () const =0 |
| virtual UID | GetFrameList () const =0 |
| virtual int32 | GetInsertIndex () const =0 |
| virtual void | SetOrientation (Orientation nOrientation)=0 |
| virtual Orientation | GetOrientation () const =0 |
| virtual void | SetDirection (Direction nDirection)=0 |
| virtual Direction | GetDirection () const =0 |
| virtual void | SetIsEndnoteStory (bool16 isEndnoteStory)=0 |
| virtual bool16 | GetIsEndnoteStory () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This data interface is used by a number of commands to describe how the frame is supposed to be created: what document, which story, linked or not, in what graphical frame, etc.
| pure virtual |
Copy the data settings from one interface to another.
| into | is another interface to write these settings into. |
| pure virtual |
Get the FrameList UID cached locally.
| pure virtual |
Returns the story UID cached locally.
| pure virtual |
What is the database?
| pure virtual |
Get the direction set.
| pure virtual |
What is the document being placed into?
| pure virtual |
Get the FrameList of the created text farme. Will create one if one wasn't provided.
| pure virtual |
What is the graphic frame when converting a spline into a text frame.
| pure virtual |
when linking, the new frame has a position in an already existing frame list. This is the index to insert the new frame at.
| pure virtual |
Get whether the frame is being created for an endnotes story.
| pure virtual |
Get the orientation set.
| pure virtual |
Returns the story of the created text frame. Will create one if one wasn't provided.
| pure virtual |
was a framelist CREATED by this interface, or set to something already in existence?
| pure virtual |
was a story CREATED by this interface, or set to something already in existence?
| pure virtual |
Is the frame to be left to right or right to left?
| nDirection | kRightToLeft or kLeftToRight? |
| pure virtual |
When we only know the document – story & framelist will be created.
| document | a pointer to the document. |
| pure virtual |
SetFrameList is used when creating a new text frame by using the in/out ports of another.
| framelist | the UID of the frameList to insert into. |
| insertAt | the index of the new frame to create within the frameList. |
| pure virtual |
Used when converting a graphic frame to a text frame.
| nGraphicFrameUID | the UID of the graphic frame that will be converted. |
| pure virtual |
Is the frame being created for an endnotes story?
| isEndnoteStory | kTrue if the frame is being created for an endnotes story |
| pure virtual |
Is the frame to be vertical or horizontal?
| nOrientation | vertical or horizontal? |
| pure virtual |
When placing an existing story. No framelist, but the story exists.
| story | is the story to place. |