Page 1 of 1

DITA map missing after transforming docx to DITA

Posted: Wed Dec 09, 2020 5:59 pm
by Kid_A
Hi,

I would like to transform a docx-file into a ditamap with several topics.
Runing the built-in DOCX DITA transformation scenario produces a DITA project that contains multiple topics but no DITA map. Do I need to configure something to also generate the map? Or is it possible that this feauture is only available with full licencing? I'm curently using a 30 days trial licence, but intent do by the full licence.

Thanks.

Re: DITA map missing after transforming docx to DITA

Posted: Wed Dec 09, 2020 6:11 pm
by Radu
Hi,

Maybe instead of the DOCX to DITA transformation you should try our free batch converter add-on:

https://www.oxygenxml.com/doc/versions/ ... addon.html

You can install it from the Oxygen main menu "Help->Install new add-ons" by choosing to show addons from all available sites.
Afterwards it should contribute contextual menus in the Oxygen Project view to convert one or more Word documents to DITA. And the conversion has a checkbox which allows you to break the Word document in multiple topics and also auto-create a DITA Map.

Regards,
Radu

Re: DITA map missing after transforming docx to DITA

Posted: Fri Dec 11, 2020 4:37 pm
by Kid_A
Thanks Radu. That helped.

Does the Batch Converter only take standard Word styles such as "Title", "Heading 1", etc. to transform into topics? Or can I configure those somewhere?

Re: DITA map missing after transforming docx to DITA

Posted: Fri Dec 11, 2020 4:55 pm
by Radu
Hi,

It has a small XML configuration file buried somewhere in its installation folder, on my side (Windows OS) the folder path is something like this:

C:\Users\your_user_name\AppData\Roaming\com.oxygenxml\extensions\v23.0\plugins\https_www.oxygenxml.com_InstData_Addons_default_updateSite.xml\oxygen-batch-converter-version\config\wordStyleMap.xml

Regards,
Radu

Re: DITA map missing after transforming docx to DITA

Posted: Fri Dec 18, 2020 9:35 pm
by Kid_A
Radu wrote: Fri Dec 11, 2020 4:55 pm Hi,

It has a small XML configuration file buried somewhere in its installation folder, on my side (Windows OS) the folder path is something like this:

C:\Users\your_user_name\AppData\Roaming\com.oxygenxml\extensions\v23.0\plugins\https_www.oxygenxml.com_InstData_Addons_default_updateSite.xml\oxygen-batch-converter-version\config\wordStyleMap.xml

Regards,
Radu
Thanks.

In the meantime I was able to resolve my problem with the dita4publisher plugin: The first non-skipped and non-root-topic-prolog paragraph in the Word document must be of structure type "topicTitle", "map", or "mapTitle" and level "0" (zero). So I'm all good.

Re: DITA map missing after transforming docx to DITA

Posted: Mon Nov 22, 2021 3:26 pm
by Cosmin Duna
Hi,
I just wanted to let you know that version 3.2.0 of the Batch Documents Converter add-on is out now and it contains an option named "Word Styles Mapping" where the custom styles can be configured. You can see this documentation page for more information:
https://www.oxygenxml.com/doc/versions/ ... w5_vw4_3rb

Regards,
Cosmin