Advanced paste: Style mapping (W)

Modified on Mon, 5 Oct at 10:02 AM

BaseExtensions can be used to do an advanced paste. In this way, whatever is on the clipboard is pasted into the active document in Word and changed from one style to another. This feature is designed for custom styles, and not built-in ones.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\75_W_advancedPaste.xml

CMD

XML
<Cmd case="BaseExtensions:advanced-paste">
  <remap from="x" to="y"/>
</Cmd>

As seen above, this command has a child element in which the parameters must be defined.

Parameters

from

Define name of style that the command should change from.

to

Define name of style that the command should change to.

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