Peter S. wrote:
first of all I want to thank you for the great Paste-from-Word-feature
in XXE. It is a very comfortable functionality which makes it very easy
to convert word-documents or parts of them into docbook in most of the
cases.
Up to XXE 5.8 we worked with self-constructed scripts which used
OpenOffice and some XSLs. This approach was quite successful concerning
the converted results but it was not like Copy&Paste.
As you requested on your Website
(http://www.xmlmind.com/xmleditor/changes.html) I send you now 4 samples
where we got wrong conversion results. Please find attached a zip-File
which contains the documentation:
First of all, many thanks for this excellent bug report! And my
apologies because the rest of my email is going to disappoint you...
It would be fine if you could send us an intermediate corrected version
of the paste-from-word-addon.
I'm really sorry but this out of the scope of normal support. I'm afraid
you'll have to wait until we release a version containing the bug fixes
you need.
Also please note that improving the "Paste from Word" feature has
currently a low priority. Therefore, I cannot promise that these bug
fixes will be found in the next release of XXE.
Please find below a quick evaluation of the bugs you have reported:
* comboboxes.docx Sorry but we'll not work on this one. We do not plan
to support form controls.
* missing-para-in-orderedlist-in-table.docx OK, Will *try* to fix this bug.
* inlinemedia-in-figure.docx OK, Will *try* to fix this bug.
* itemizedlists.docx OK, Will *try* to fix this bug.
Especially a solution for the problem in
the first chapter is important for us, because the authors of this kind
of documents have used the comboboxes many many times and our old
converter gave them the right results.
See above quick evaluation.
Additionally it would be fine if you could give me some advice how to
implement a custom layer for the paste-from-word-addon. E.g. we allways
use compact-spacing. So I changed
XMLmind_XML_Editor\addon\paste_from_word\xslt\mswordhtml\docbook.xslt:
<xsl:template name="processCompactAttribute">
<!-- <xsl:if test="@compact"> for GAD allways compact -->
<xsl:attribute name="spacing">compact</xsl:attribute>
<!-- </xsl:if> -->
</xsl:template>
Sorry but this out of the scope of normal support[*]. For now, the
"Paste from Word" feature must be considered by our customers as an
*undocumented* *hard-wired* *black-box*. Of course, this limitation will
eventually be removed.
---
[*] If you take a look at
Paste_From_Word_install_dir/docbook5/docbook5.incl and more
specifically, read the comment containing parameter
"$c.pasteFromWord.parameter", then you should be able to understand how
to implement a custom layer for the "paste-from-word" add-on.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support