InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Facade::ILayerFacade Class Referenceabstract
Inheritance diagram for Facade::ILayerFacade:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ILAYERFACADE }
 

Public Member Functions

virtual ErrorCode MoveToLayer (UIDList &inOutItemsToMove, IDocumentLayer *targetLayer, bool16 bDuplicate)=0
 
virtual ErrorCode MoveLayers (UIDList &inOutlayersToMove, const UIDRef &relativeToLayerRef, bool16 bDuplicate)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual ErrorCode Facade::ILayerFacade::MoveLayers (UIDListinOutlayersToMove,
const UIDRefrelativeToLayerRef,
bool16 bDuplicate 
)
pure virtual

Moves selected layers(or duplicates) to new spot in layer list.

Parameters
layersToMove,itemsin list initially will be moved or duplicated relative to relativeToLayerRef. On return, will be populated with the moved items(which might be duplicates).
relativeToLayerReflayers will be moved so that it is directly under this layer.
bDuplicate,kTrueto duplicate the items before moving to the destination layer.
Returns
ErrorCode
virtual ErrorCode Facade::ILayerFacade::MoveToLayer (UIDListinOutItemsToMove,
IDocumentLayertargetLayer,
bool16 bDuplicate 
)
pure virtual

Moves selected items(or duplicates) to new layer.

Parameters
inOutItemsToMove,itemsin list initially will be moved or duplicated to targetLayer IDocumentLayer. On return, will be populated with the moved items(which might be duplicates)
targetLayerpassed in item UIDs will be moved to targetLayer IDocumentLayer.
bDuplicate,kTrueto duplicate the items before moving to the destination layer.
Returns
ErrorCode