Copy and paste elements from shape (W/P)

Modified on Mon, 5 Oct at 1:55 PM

BaseExtensions can be used to copy and paste content in Word and PowerPoint. In this way, shapes can be copied from one document/presentation and then be inserted into another document/presentation.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\30_WP_copyPasteElementsFromShape.xml

CMD: <cmd case="BaseExtensions:smart-copy"/>

Description: Copies selected shape. This will copy all elements in the shape.

Parameters: None.


CMD: <cmd case="BaseExtensions:smart-paste"/>

Description: Will paste copied shape according to elements defined in parameters. When copying name and coordinates, it will not create a new shape if there is no selected shape. When copying size and content, it will create a new shape even though no shape is selected.

Parameters:

pasteSize

Define to be true if size attributes from copied element must be pasted.

pasteCoordinates

Define to be true if coordinate attributes from copied element must be pasted.

pasteContent

Define to be true if content from copied element must be pasted.

pasteName

Define to be true if name of copied element must be pasted.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article