Hello there,
On our custom extension, we'd need to preprocess text pasted onto the
clipboard before "pasting after as" that text in the document.
Specifically, we have this in the 0docbook5.xxe file of our extension:
<button toolTip="PasteItemizedList" icon="icons/pasteAfterAsItemizedList.png">
<command name="pasteAfterAs"
parameter="#template({http://docbook.org/ns/docbook}itemizedlist,PAA.itemizedlist)"
/>
</button>
and I'd like to remove the bullets left over in the pasted text on the
clipboard before executing the pasteAfterAs command when that button
is clicked.
Is there an already built command I can use to get rid of the bullets
(string manipulation of the text pasted on the clipboard) or should I
write one and insert it in the command chain somehow?
Thanks in advance.
--
Fabián Mandelbaum
IS Engineer
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support