InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
kXMLReattachElementCmdBoss Class Reference

#include <SynthObjModel.h>

Inheritance diagram for kXMLReattachElementCmdBoss:

Public Member Functions

ICommand IID_ICOMMAND
 
IXMLHierarchyCmdData IID_IXMLHIERARCHYCMDDATA
 

Detailed Description

 This command detaches an XML element from its current parent and attaches it as a child to another XML element 

at the position specified.

Precondition
both newItem and parent specified through IXMLHierarchyCmdData::Set should allow IIDXMLElement to be instantiated newItem should have a parent that it can be detached from
Postcondition
newItem added as child of parent in position specified. If indexInParent > number of children of parent element, newItem added at end
Item list input
None
Item list output
None
Observer notification
See Also
IXMLUtils::GetBackingStore

Member Function Documentation

ICommand kXMLReattachElementCmdBoss::IID_ICOMMAND

ICommand implementation.

  • Implementation: kXMLReattachElementCmdImpl
  • Available in:
  • Class from:
IXMLHierarchyCmdData kXMLReattachElementCmdBoss::IID_IXMLHIERARCHYCMDDATA

IN Interface IXMLHierarchyCmdData parameterizes the command.

  • Implementation: kXMLHierarchyCmdDataImpl
  • Available in:
  • Class from: