Page 1 of 1

How to add Word Styles for DITA conversion?

Posted: Mon Sep 12, 2022 10:07 pm
by almeim
I am new to Oxygen XML and so my knowledge is very limited. I want to add new word styles to the default template for DITA to Word conversion. How would I do so? I have a word template that has all the styles that I want to add. I am struggling with how to implement this.

Re: How to add Word Styles for DITA conversion?

Posted: Tue Sep 13, 2022 7:36 am
by Radu
Hi,

The DITA to Word publishing plugin has a small documentation page:
https://github.com/jelovirt/com.elovirta.ooxml/wiki
It has a Word template file located in "OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/com.elovirta.ooxml/resources/Normal.docx" which is used to produce the final Word document.

Regards,
Radu

Re: How to add Word Styles for DITA conversion?

Posted: Tue Sep 13, 2022 3:37 pm
by almeim
Hi,
Yes, I know about the Normal.docx file. I was wondering how I could add my OWN word styles. Could I just copy my document onto that pathway or is there another way of doing it?

Re: How to add Word Styles for DITA conversion?

Posted: Tue Sep 13, 2022 4:15 pm
by Radu
Hi,

From what I know you need to either open the "Normal.docx" from "DITA-OT3.x/plugins/com.elovirta.ooxml/resources/Normal.docx" and make changes to it or copy it to some other folder, make changes to it and set the path to it as a parameter:
https://github.com/jelovirt/com.elovirt ... /Extending

Regards,
Radu