Search found 48 matches

by msambasiva
Tue Jul 07, 2020 2:41 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1427

Re: Open Office XML for dita topic

Thanks Radu!
Its working fine. Able to draft print a topic to word output. It's really great help!!
by msambasiva
Tue Jul 07, 2020 12:08 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1427

Re: Open Office XML for dita topic

Thanks Radu. Its working with project.setUserProperty('args.input', ....); Some how I cant able to create temp folder under DITA OT of Oxygen. Is it ok if we create temp folder some thing below using ENV variable. Pls suggest if there is a best option to create temp directory on Windows using build ...
by msambasiva
Mon Jul 06, 2020 11:55 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1427

Re: Open Office XML for dita topic

Thanks Radu. I can't able to reset the args.input parameter value. Below is the corresponding code & console log, <target name="dita2topicdocxOHC.init"> <propertyreset name="args.input" location="${input.dir}\custom_map.ditamap"/> <propertyreset name="temp" location="${input.dir}\custom_map.ditamap"...
by msambasiva
Mon Jul 06, 2020 5:01 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1427

Re: Open Office XML for dita topic

Hi,

Able to print the value of
args.input
but not
args.input.dir
. . Below is console message,

[echo] ** args.input= D:\PROJECTS\Oxygen_draft_printing\topic2docx\testing\preface.ditamap
[echo] ** args.input.dir= ${args.input.dir}

Please suggest any clue on this.

Thanks,
Samba.
by msambasiva
Sun Jul 05, 2020 1:51 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1427

Re: Open Office XML for dita topic

Hi Radu, It's been long time once again got a chance to revisit this topic. Iam trying with second option i.e 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. I can able to create a dita m...
by msambasiva
Thu Jun 25, 2020 11:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 628

Re: DITA-OT Custom jars

Thanks Radu! We found that, even ANT command also able to load the jars placed within the plugin (instead of DITA-OT\lib) by setting refid="dost.class.path" of classpath element as below. <java classname="com.mycompany.exceltoxml.EntryPoint"> <classpath refid="dost.class.path"/> <arg value="${inputM...
by msambasiva
Tue Jun 09, 2020 12:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 628

Re: DITA-OT Custom jars

Hi, I got struck with importing jars present in <our-plugin>/lib folder. Below is the url of having similar problem https://stackoverflow.com/questions/58857784/how-to-add-a-plugin-jar-into-the-dita-ot-classpath I finally nailed what was wrong with my DITA OT configuration. I was using an ant build ...
by msambasiva
Wed Jun 03, 2020 10:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 628

Re: DITA-OT Custom jars

Hi, We have created a separate plugin uae.dita.resources to have resources like libraries and xml. Below is the feature element having reference to resources plugin. <feature extension="dita.conductor.lib.import" file="${dita.plugin.uae.dita.resources.dir}/resources/lib/log4j-api-2.13.2.jar"/> Some ...
by msambasiva
Tue May 26, 2020 6:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 628

Re: DITA-OT Custom jars

Thanks Radu! There are some dependent jars like log4j-api-2.13.2.jar, log4j-core-2.13.2.jar,commons-codec-1.10.jar etc which are not part of default DITA-OT installation. Can we use the same extension dita.conductor.lib.import for number of times to include all the dependent jar? Could you suggest b...
by msambasiva
Thu May 21, 2020 11:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 628

DITA-OT Custom jars

Hi, DITA-OT 2.4.6 We have developed a DITA-OT plugin which is using custom jar. The custom jar itself using some other third party jars. So to make it work, I am copying the custom jar & dependent jars into <DITA-OT>/lib. How best we can avoid manually copy the custom jar & dependent jars into <DITA...
by msambasiva
Fri May 15, 2020 6:08 am
Forum: SDK-API, Frameworks - Document Types
Topic: Migration of custom DITA-OT plugins
Replies: 1
Views: 169

Migration of custom DITA-OT plugins

Hi, We are using Oxygen XML Editor/Author 22.0. We have DITA-OT custom developed plugins for HTML/PDF/OOXML output. It's difficult for information developers to add/install custom DITA-OT plugins every time they have latest version of Oxygen. Can we add/install DITA-OT custom plugins as an add-ons i...
by msambasiva
Thu May 07, 2020 5:13 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Hi Alex,
Apologize for inconvenience. Please ignore my previous issue. The root cause of issue is missing of REST API jar in [OXYGEN]\lib folder.
Thanks,
Samba.
by msambasiva
Thu May 07, 2020 1:07 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Hi Alex, When I run the application in debug mode (using plugin.redirect) , its working as expected by Swing form opening perfectly. But when I run by deploying the jar into plugs folder or added as an add-on, then unable to open the form on menu button click. I've used model form by extending JDial...
by msambasiva
Mon May 04, 2020 12:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Thanks Alex!
It helped me a lot. Able to fix the issue.
by msambasiva
Wed Apr 29, 2020 1:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Hi Alex, Here is the logic, MetadataForm mForm = new MetadataForm(); mForm.display(); Opens the Form with display() method call. Then user can fill the form and submit it.So there is no data with getData() method call. MyFormData data = mForm.getData(); insertInDitamap(data); I hope, there should be...
by msambasiva
Wed Apr 29, 2020 5:33 am
Forum: SDK-API, Frameworks - Document Types
Topic: java vs javascript with Oxygen SDK
Replies: 8
Views: 410

java vs javascript with Oxygen SDK

Hi, As I understand, we can use either java or javascript with SDK to customize the Oxygen features. Please correct me if I am wrong. I am basically a java developer. Please let me know if I need to learn javascript to work with Oxygen SDK. If required, can we use javascript framework with Oxygen SD...
by msambasiva
Tue Apr 28, 2020 4:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Hi, Able to open a swing form from CustomWorkspaceAccessPluginExtension.java using below logic, @SuppressWarnings("serial") private AbstractAction createShowOpenMetadataformAction( final StandalonePluginWorkspace pluginWorkspaceAccess) { return new AbstractAction("Open Metadata Form") { public void ...
by msambasiva
Mon Apr 27, 2020 4:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Thanks a lot Alex!
Finally able to debug my code.
I missed to start oxygen from eclipse. Its my bad!
by msambasiva
Fri Apr 24, 2020 3:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Thanks Alex for quick response! I am looking for adding breakpoints in the eclipse java project code. I've taken ShowSelection plugin as a maven startup project. I've followed instructions given in https://www.oxygenxml.com/doc/versions/22.0/ug-editor/topics/debug-plugin.html 1) I've created eclipse...
by msambasiva
Fri Apr 24, 2020 1:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Re: Insert metadata into ditamap using SDK

Thanks Alex!
I am using eclipse as IDE Version: 2020-03 (4.15.0). Could you suggest any pointer to help in debugging the java code in Oxygen Editor?
by msambasiva
Thu Apr 23, 2020 8:45 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 763

Insert metadata into ditamap using SDK

Hi, XML Editor 21.0 We have a requirement to capture the user input and insert into ditamap. I've taken the sample of workspace access extension plugin as base and created a menu option(i.e Metadata Form) to open a Swing window form. Able to capture the userinput data some thing as below. public cla...
by msambasiva
Wed Apr 08, 2020 3:35 pm
Forum: XSLT and FOP
Topic: Transform xlsx to dita?
Replies: 3
Views: 384

Re: Transform xlsx to dita?

Thanks Radu for quick response.
We need to convert the content of Excel file into multiple dita topics in batches. Could you suggest any clue on my requirement?
btw, I am not sure if it is intended, the two references from your previous reply pointing to the same plugin.

Regards,
Samba.
by msambasiva
Wed Apr 08, 2020 12:39 pm
Forum: XSLT and FOP
Topic: Transform xlsx to dita?
Replies: 3
Views: 384

Transform xlsx to dita?

Hi, We have a requirement to convert xlsx file to dita content. We already fulfilled the similar requirement to convert xml to dita using XSLT. I've some thing in mind, Step 1) Convert xlsx to xml using java. Step 2) Convert xml to DITA using XSLT. I am looking for best option to automate the transf...
by msambasiva
Mon Dec 02, 2019 9:47 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1427

Re: Open Office XML for dita topic

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 wr...
by msambasiva
Fri Nov 15, 2019 1:01 pm
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 655

Re: Extending com.elovirta.ooxml plugin

The issue got fixed. The changes for Template file needs to be updated in 'Modify Style' window when we right click on font. Otherwise the changes were not picking into the output.
Thanks,
Samba.
by msambasiva
Fri Nov 15, 2019 8:16 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 655

Re: Extending com.elovirta.ooxml plugin

Thanks Radu for looking into the issue!
by msambasiva
Tue Nov 12, 2019 10:00 am
Forum: Other Issues
Topic: Customization of Normal.docx in com.elovirta.ooxml plugin
Replies: 1
Views: 238

Customization of Normal.docx in com.elovirta.ooxml plugin

Hi, I am using Oxygen XML Editor 21.0 which is having DITA-OT 3.x. Some how, able to generate output without font changes even the template changes (font style: Arial Black & 20) are in place. Am I executing correct scenario (i.e DITA Map MS Office Word) to take effect of template changes from com.e...
by msambasiva
Mon Nov 11, 2019 10:52 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 655

Re: Extending com.elovirta.ooxml plugin

Please find the attached screenshot of the Normal.txt with font style & size. Also please find the attached screenshot of output docx with default font style & size.
Please suggest if I want to generate output having custom font.

Image
image.png
image.png (57.6 KiB) Viewed 550 times
by msambasiva
Mon Nov 11, 2019 7:00 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 655

Re: Extending com.elovirta.ooxml plugin

Thanks Radu!. It's working. Able to invoke my custom plugin custom.xsl which is equivalent to com.elovirta.ooxml/docx/word/document.xsl. If you don't mind, could you suggest a solution for another issue described below. Copied Normal.docx file from default plugin com.elovirta.ooxml\resources to cust...