Open Office XML for dita topic

Are you missing a feature? Request it's implementation here.
msambasiva
Posts: 24
Joined: Tue Jul 17, 2018 6:57 am

Open Office XML for dita topic

Post by msambasiva » Tue Oct 29, 2019 8:56 am

Hi,

We are using XML Editor 21.0, build 2019022207. We have a requirement to have a plugin to support draft print of dita topic to dox. As of now, we found plugin 'com.elovirta.ooxml' to draft print a map to Open Office XML docx. Please suggest if there is any workaround to draft print a topic to docx. Also please suggest if there is any plugin which I can extend to generate docx output.

Thanks,
Samba.

Radu
Posts: 6641
Joined: Fri Jul 09, 2004 5:18 pm

Re: Open Office XML for dita topic

Post by Radu » Tue Oct 29, 2019 10:38 am

Dear Samba,

Right now the DITA to Word publishing does not work for topics, I added an issue based on your request on the project's Github issues list:

https://github.com/jelovirt/com.elovirt ... /issues/66

The particular DITA OT plugin which does the DITA to Word publishing is located in OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x\plugins\com.elovirta.ooxml.
And it has a small tutorial about extending it:

https://github.com/jelovirt/com.elovirt ... /Extending

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

msambasiva
Posts: 24
Joined: Tue Jul 17, 2018 6:57 am

Re: Open Office XML for dita topic

Post by msambasiva » Wed Oct 30, 2019 8:16 am

Hi Radu,

Thank you so much for raising an issue for me. Extending an existing plugin com.elovirta.ooxml might not help in converting DITA topic to docx. May I expect ETA on this issue?

Thanks,
Samba.

Radu
Posts: 6641
Joined: Fri Jul 09, 2004 5:18 pm

Re: Open Office XML for dita topic

Post by Radu » Wed Oct 30, 2019 9:55 am

Hi Samba,

Sorry but I cannot give you a time estimate on this. It's a third party library integrated in Oxygen. Also the use case that you have, of producing a Word document for each topic seems to be quite rare.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

msambasiva
Posts: 24
Joined: Tue Jul 17, 2018 6:57 am

Re: Open Office XML for dita topic

Post by msambasiva » Mon Dec 02, 2019 9:47 am

Hi,

When I open a dita topic from OXygen Editor 21 and try to configure a transformation, found below three scenarios, DITA PDF, DITA XHTML, DITA HTML5. Could you suggest the plugin name used for DITA PDF option?

I want to check if I can extend the plugin used for DITA PDF in my custom plugin and write OpenOffice XML code to generate docx output for a topic.

Thanks,
Samba.

Radu
Posts: 6641
Joined: Fri Jul 09, 2004 5:18 pm

Re: Open Office XML for dita topic

Post by Radu » Tue Dec 03, 2019 3:46 pm

Hi Samba,

The build.xml for the DITA to PDF plugin is this one:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x\plugins\org.dita.pdf2\build.xml

You can look inside it, it has a target named "topic2pdf2" which gets executed only if the "noMap" parameter has been set in the base build files.
Another option for you would be to have a custom script or build file which automatically creates a DITA Map, refers in it the current topic and then continues the publishing on this temporary DITA Map.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply