Word-to-DITA Batch converter issue: Image production

Oxygen general issues.
jeff_hooker
Posts: 29
Joined: Tue Jun 11, 2019 9:01 pm

Word-to-DITA Batch converter issue: Image production

Post by jeff_hooker »

Hi Radu,
I'm trying to use the batch convertor to generate DITA from Word files, and while it is generally going well, there is an issue with images. The batch converter is treating an SVG-style drawing image as XML and processing the text within it instead of processing it as an image. When I unzip the docx file and look at the document.xml file, I can see a backup raster version of the image, but I can't find a way of making the converter select it instead of processing the image's xml. Is this configurable?

I'm trying to attach a sample file to this, but it appears that i can't attach samples when I've saved the message as a draft. I'll post the message and see if I can attach a file in the first comment.
jeff_hooker
Posts: 29
Joined: Tue Jun 11, 2019 9:01 pm

Re: Word-to-DITA Batch converter issue: Image production

Post by jeff_hooker »

sample.zip
You do not have the required permissions to view the files attached to this post.
Cosmin Duna
Site Admin
Posts: 130
Joined: Wed Dec 12, 2018 5:33 pm

Re: Word-to-DITA Batch converter issue: Image production

Post by Cosmin Duna »

Hi,
Thanks for the report.
What you're describing isn't an SVG, but a native Word shape/drawing. The Batch Documents Converter doesn't support these. Instead of ignoring the shape or using the raster fallback Word stores in document.xml, it reads the shape's internal XML and extracts the text from its text boxes as document content.
This isn't configurable in the Word styles mapping table. It's a converter limitation with native shapes.

Workaround: https://blog.oxygenxml.com/topics/migra ... rve_shapes

Let us know if the issue persists after this.

Best regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
jeff_hooker
Posts: 29
Joined: Tue Jun 11, 2019 9:01 pm

Re: Word-to-DITA Batch converter issue: Image production

Post by jeff_hooker »

Thanks Cosmin, the workaround works very nicely.
Post Reply