How to add Word Styles for DITA conversion?

Are you missing a feature? Request its implementation here.
almeim
Posts: 9
Joined: Mon Sep 12, 2022 8:46 pm

How to add Word Styles for DITA conversion?

Post 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.
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to add Word Styles for DITA conversion?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
almeim
Posts: 9
Joined: Mon Sep 12, 2022 8:46 pm

Re: How to add Word Styles for DITA conversion?

Post 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?
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to add Word Styles for DITA conversion?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply