Hello,
I'd like to add paragraphs via command into empty table-cells. Therefore
I've written the following commands:
<cfg:command name="addPara">
<cfg:macro undoable="true">
<cfg:sequence>
<cfg:pass>
<cfg:command name="replace"
parameter="table"/>
</cfg:pass>
<cfg:command name="addPara2"/>
<cfg:command name="paste" parameter="to
%_"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>
<cfg:command name="addPara2">
<cfg:process showProgress="false">
<cfg:copyDocument selection="true"
to="actFile.xml"/>
<cfg:transform
stylesheet="../stylesheets/addPara.xslt" cacheStylesheet="true"
file="actFile.xml" to="new_table.xml"/>
<cfg:read file="new_table.xml"
encoding="UTF-8"/>
</cfg:process>
</cfg:command>
Well, there are no problems at my computer - but on other ones the file
"new_table.xml" is generated but not pasted. Do you know a reason
therefore?
Kind regards,
Monika