![]() | InDesign SDK 20.5 |
Public Member Functions | |
| SnpManipulateInline () | |
| virtual | ~SnpManipulateInline () |
| ErrorCode | InsertInline (ISnpRunnableContext *iSnpRunnableContext) |
| ErrorCode | ModifyAnchorPosition (ISnpRunnableContext *iSnpRunnableContext) |
Protected Member Functions | |
| ErrorCode | CreateFrame (IDataBase *database, UIDRef &newFrameUIDRef) |
| ErrorCode | ChangeToInline (const UIDRef &storyUIDRef, const TextIndex &whereTextIndex, const UIDRef &frameUIDRef) |
| inline |
Constructor.
| inlinevirtual |
Destructor.
| protected |
Insert kTextChar_Inline into the text flow and process kChangeILGCmdBoss to make the given frame into an inline on the owned item strand(IItemStrand) of the text model(ITextModel).
| storyUIDRef | refers to the story in which the inline is to be created. |
| whereTextIndex | index where the inline should be inserted. |
| frameUIDRef | frame to be made into an inline. Note this frame must not be parented on any hierarchy(IHierarchy). If you have a frame that is process kRemoveFromHierarchyCmdBoss before calling this method. |
| protected |
Create a frame. Note you can create a frame that contains any type of content, or no content at all, and make it into an inline. This method makes a graphic frame.
| database | the frame should be created in. |
| newFrameUIDRef | OUT frame to be made into an inline. |
| ErrorCode SnpManipulateInline::InsertInline | ( | ISnpRunnableContext * | iSnpRunnableContext | ) |
Creates a new inline frame in the given story.
| iSnpRunnableContext | IN the current context |
| ErrorCode SnpManipulateInline::ModifyAnchorPosition | ( | ISnpRunnableContext * | iSnpRunnableContext | ) |
Allows the position of the anchored item to be modified. This sets the type of the anchored item (to one of inline, above line or anchored). The position of the inline can be specified.
| iSnpRunnableContext | IN the current context |