#include <IDuplicateLayerCmdData.h>
Data interface for duplicate layer command to duplicate all the page items from one document layer to another.
- See Also
- kDuplicateLayerCmdBoss
- kNewLayerCmdBoss
| virtual const UIDRef& IDuplicateLayerCmdData::GetDestinationLayer | ( | | ) | const |
| pure virtual |
Gets the data value for the destination document layer.
- Returns
- the destination layer.
| virtual const UIDRef& IDuplicateLayerCmdData::GetSourceLayer | ( | | ) | const |
| pure virtual |
Gets the data value for the source document layer.
- Returns
- the source layer.
| virtual void IDuplicateLayerCmdData::Set | ( | const UIDRef & | sourceLayer, | | | const UIDRef & | destinationLayer | | ) | | |
| pure virtual |
Sets the values for the command's data for source and destination document layer. All the items on the source layer are duplicated onto the destination layer (which must already exist). Any text threaded is preserved.
- Parameters
| sourceLayer | the layer to duplicate. |
| destinationLayer | the destination layer to put all the page items from the sourceLayer on. |