![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ICONTENTDROPPERFACADE } |
Public Member Functions | |
| virtual ErrorCode | LoadContentDropper (const UIDList &items, ContentDropperTypes::LinkPolicy linkPolicy=ContentDropperTypes::kUnknownPolicy)=0 |
| virtual ErrorCode | LoadContentDropperWithNeedfulSet (const UIDList *items, ContentDropperTypes::LinkPolicy linkPolicy=ContentDropperTypes::kUnknownPolicy)=0 |
| virtual ErrorCode | LoadItemsFromPage (IDataBase *db, const UIDList &pageUIDList, bool16 makeOneCollection=kFalse)=0 |
| virtual ErrorCode | LoadItemsFromSpreads (IDataBase *db, const UIDList &spreadUIDList, bool16 makeOneCollection)=0 |
| virtual ErrorCode | PlaceContent (const UIDList &itemsToPlace, const UIDRef &targetRef, ContentDropperTypes::LinkPolicy linkPolicy=ContentDropperTypes::kUnknownPolicy, bool16 mapStyles=kFalse)=0 |
| virtual ErrorCode | PlaceContentFromConveyor (const UIDRef &targetRef, ContentDropperTypes::LinkPolicy linkPolicy=ContentDropperTypes::kUnknownPolicy, bool16 mapStyles=kFalse)=0 |
| virtual ErrorCode | ClearItemsFromConveyor (bool16 allItems=kFalse)=0 |
| virtual bool16 | RotateItemsBy (const int32 byNoOfItems, const bool16 isForwardDirection=kTrue)=0 |
| virtual bool16 | ExpandCollapseItemAtHead (bool16 expand=kTrue)=0 |
| virtual bool16 | MoveHeadToFirstLastItem (bool16 moveToFirst=kTrue)=0 |
| virtual bool16 | IsConveyorLoaded ()=0 |
| virtual UIDList | GetNthItems (uint32 n)=0 |
| virtual UIDList | GetPlaceHeadItems ()=0 |
| virtual int32 | GetNeedfulSetForItem (UID root, UIDList &needfulSet)=0 |
| virtual bool16 | IsUniqueCollectionInDoc (const UIDList &uidListToAdd) const =0 |
| virtual ContentDropperTypes::eAfterDrop | GetCDUIPrefsAfterPlaceOption () const =0 |
| virtual ErrorCode | SetCDUIPrefsAfterPlaceOption (ContentDropperTypes::eAfterDrop option)=0 |
| virtual bool16 | GetCDUIPrefsLinkOption ()=0 |
| virtual void | SetCDUIPrefsLinkOption (bool16 link=kTrue)=0 |
| virtual bool16 | GetCDUIPrefsMapStyles ()=0 |
| virtual void | SetCDUIPrefsMapStyles (bool16 mapStyle=kTrue)=0 |
| virtual bool16 | GetCDUIPrefsCollectAllThreadedFrames ()=0 |
| virtual void | SetCDUIPrefsCollectAllThreadedFrames (bool16 collectAllFrames=kTrue)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Clears items from the Conveyor. pass kTrue to clear all items, only the item at PlayHead gets cleared otherwise.
| [in] | allItems | kFalse to remove the item at PlayHead, kTrue to remove all items from Conveyor |
| pure virtual |
If item on PlaceHead is a collection, API can be used to show the items in the Set. If they are already shown, use this to go back to up level
| [in] | expand | kTrue to expand the set, kFalse to collapse(go up one level). |
| pure virtual |
Get the after place option from Conveyor.
| pure virtual |
Get the state of Collect All Threaded Frames option from Conveyor.
| pure virtual |
Get the state of Link option from Conveyor.
| pure virtual |
Get the state of Map Styles option from Conveyor.
| pure virtual |
Items in a document may refer to other items like threaded text frames or buttons referring to MSO. These items shall be dropped together to maintain the references. This API returns the set created by such references of the given item.
| [in] | root | item for which the NeedfulSet is to be created |
| [out] | needfulSet | UIDList containing UIDs of all the items in set. |
| pure virtual |
Get the list of items that are part of Nth collection in Conveyor
| [in] | n | The index of the collection |
| pure virtual |
Get the list of items that are part of collection at PlaceHead in Conveyor
| pure virtual |
| pure virtual |
Checks if a same set of items from the document already exists in Conveyor.
| [in] | uidListToAdd | set of items to check for. |
| pure virtual |
| pure virtual |
| pure virtual |
Loads Conveyor with items from Pages of the document
| [in] | db | DataBase ptr to the document from which items are to be grabbed. |
| [in] | pageUIDList | UIDList of pages from which items are to be grabbed. |
| [in] | makeOneCollection | when grabbing from more than one page, kTrue - to make one collection from all pages, kFalse - grab diff collectons pagewise. |
| pure virtual |
Loads Conveyor with items from Spreads of the document
| [in] | db | DataBase ptr to the document from which items are to be grabbed. |
| [in] | spreadUIDList | UIDList of spreads from which items are to be grabbed. |
| [in] | makeOneCollection | when grabbing from more than one spread, kTrue - to make one collection from all spreads, kFalse - grab diff collectons spreadwise. |
| pure virtual |
Items in Conveyor are sorted in their pck order. API gets the first/last item that was picked on PlaceHead.
| [in] | moveToFirst | kTrue to get the first item on PlaceHead, kFalse get the last item on PlaceHead. |
| pure virtual |
Places items onto a specific spread, and applies link policy
| [in] | itemsToPlace | UIDListof items to be placed |
| [in] | targetRef | UIDRef of spread under whose heirarchy the items are to be added. |
| [in] | linkPolicy | LinkPolicy (if any) for the items. |
| [in] | mapStyles | map styles. |
| pure virtual |
Place items from Conveyor PlayHead onto a specific spread, and applies link policy
| [in] | targetRef | UIDRef of spread under whose heirarchy the items are to be added. |
| [in] | linkPolicy | LinkPolicy(if any) for the items. |
| [in] | mapStyles | map styles. |
| pure virtual |
Moves PlaceHead(the left most position in Conveyor) in Conveyor, by 'byNoOfItems'
| [in] | byNoOfItems | count of positions by which items are to be moved |
| [in] | isForwardDirection | kTrue to move item on right of PlaceHead to PlaceHead |
| pure virtual |
Set the after place option from Conveyor.
| [in] | option | The after drop option |
| pure virtual |
Set the state of Collect All Threaded Frames option from Conveyor.
| [in] | collectAllFrames | kTrue to collect all threaded frames, kFalse otherwise |
| pure virtual |
Set the state of Link option for Conveyor.
| [in] | link | kTrue to enable link creation, kFalse otherwise. |
| pure virtual |
Set the state of Map Styles option for Conveyor.
| [in] | mapStyle | kTrue to enable map styles, kFalse otherwise |