Kimura, Shinichi wrote:
I’m using MS word to DITA converter.
Please let me ask about subject.
- Is it possible to export the drawing canvas in MS word to DITA?
If possible, I want to export the drawing canvas to SVG file.
Objects like the "drawing canvas" are very complex and very specific to
MS-Word. That's why, in addition to the "drawing canvas", MS-Word
generally creates an alternate representation of the drawing.
This alternate representation of the drawing is much simpler than the
"drawing canvas" and could be EMF, WMF, PNG, etc.
It is this alternate representation of the drawing which is processed by
XMLmind DITA Converter (in order to export it to something usable by
DITA in your case).
Currently, out of the box, XMLmind DITA Converter can only convert:
- EMF To PNG (not SVG, sorry), only when running on Windows.
- WMF to SVG, when running on any platform.
More information:
http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#custom_image_converter
It's difficult for us to help you as we don't know how exactly MS-Word
stores the "drawing canvas" in your DOCX files.
Please do not hesitate to send us privately
(mailto:w2x-i...@xmlmind.com) a sample DOCX file containing one of your
"drawing canvas", so we can give you a better explanation of what happens.
- Is it possible to set the newline code to CR+LF?
The current setting is LF. If possible, I want to change to CR+LF.
Sorry but the answer is no. The "Save" step of w2x has parameters to
change the encoding of the output file and/or to save it as indented XML
but no parameter to change the newline characters.
See http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#save_step
However, it is quite easy to change newline characters using a
third-party utility once the DITA files have been generated by w2x. I
generally use unix2dos (https://linux.die.net/man/1/unix2dos) on my
Linux box to do this.
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support