Word 2 DITA only exports first image

Oxygen general issues.
Quick van Rijt
Posts: 11
Joined: Tue Aug 23, 2016 6:18 pm

Word 2 DITA only exports first image

Post by Quick van Rijt »

I am using Batch Documents Converter 3.0.0 in OxygenXML 23.1.

When inspecting the result output\ it only contains 1 image, the first one in the Word document.
All others images are not exported.

And the first topic has the only reference to this image.
No other images references in all DITA sources.

I have ruled out all kinds of possible path problems by reducing causes by long path names, spaces, commas, dots, even removal of Table Of Contents at start of Word document.

I know copying of images from media folder content in .docx, but that will not solve images references.
Any solution?
Regards
Quick van Rijt
Professional user of Oxygen XML and DITA OT
Cosmin Duna
Site Admin
Posts: 120
Joined: Wed Dec 12, 2018 5:33 pm

Re: Word 2 DITA only exports first image

Post by Cosmin Duna »

Hi,

I created a word document that contains some images and all of them are exported in the "media" directory and are correctly referred in the resulted DITA topics. Can you send us a sample where the problem you described can be reproduced?
If it contains confidential data, do the following steps to hide the text content from it:
  • Make a copy of the document and open it in the "Archive Browser" view from Oxygen
  • Open the "word/document.xml" file into the main editor.
  • Invoke the Help > Support Tools > Randomize XML text content action and click Finish in the opened dialog.
If you don't want to attach the document here send us an email at support@oxygenxml.com.

The add-on has some problems when converting cross-references. We already fixed them, but they required changes in Oxygen and will be available in version 24.

Regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
Quick van Rijt
Posts: 11
Joined: Tue Aug 23, 2016 6:18 pm

Re: Word 2 DITA only exports first image

Post by Quick van Rijt »

My Word document had two different bitmaps.
And they come out confusingly in output\media as img.png and img(1).png.
But essentially, you are right, two images in, two out.
Regards
Quick van Rijt
Professional user of Oxygen XML and DITA OT
Cosmin Duna
Site Admin
Posts: 120
Joined: Wed Dec 12, 2018 5:33 pm

Re: Word 2 DITA only exports first image

Post by Cosmin Duna »

Hi,
I registered an internal issue to improve the name of the exported images.
Do you think that it will be clearer if they will be named img.png and img-1.png?

Regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply