Search found 41 matches

by msambasiva
Wed Jun 03, 2020 10:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 5
Views: 120

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: 5
Views: 120

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: 5
Views: 120

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: 92

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: 498

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: 498

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: 498

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: 498

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: 240

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: 498

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: 498

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: 498

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: 498

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: 498

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: 252

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: 252

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: 5
Views: 849

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: 487

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: 487

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: 185

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: 487

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 382 times
by msambasiva
Mon Nov 11, 2019 7:00 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 487

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...
by msambasiva
Wed Nov 06, 2019 7:41 pm
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 487

Re: Extending com.elovirta.ooxml plugin

Hi Radu, integrator.xml: -------------------- <target name="dita2docxOHC" depends="dita2docxOHC.init, dita2docx"/> <target name="dita2docxOHC.init"> <property name="document.xsl" location="${dita.plugin.uae.dita.docx.dir}/cfg/custom.xsl"/> </target> custom.xsl: -------------- <xsl:stylesheet xmlns:x...
by msambasiva
Wed Oct 30, 2019 8:16 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 487

Re: Extending com.elovirta.ooxml plugin

Thanks Radu!
by msambasiva
Wed Oct 30, 2019 8:16 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 5
Views: 849

Re: Open Office XML for dita topic

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.
by msambasiva
Tue Oct 29, 2019 9:24 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 487

Extending com.elovirta.ooxml plugin

Hi, We are using XML Editor 21.0, build 2019022207. We have a requirement to enhance the draft print of a map to docx. Created a new plugin which extends 'com.elovirta.ooxml'. So far we are able to generate a docx file with default look and feel of guide. Now we need to provide a red font color to h...
by msambasiva
Tue Oct 29, 2019 8:56 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 5
Views: 849

Open Office XML for dita topic

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 do...
by msambasiva
Thu Jun 06, 2019 1:11 pm
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 1564

Re: Remove multiline comments

Hi Radu,

The requirement is, Remove commented code (single line/Multi line ) and display the rest of content into table column each sql-statement content into one cell.

Can't we achieve this using XSLT 2.0 alone?

Thanks,
Samba.
by msambasiva
Thu Jun 06, 2019 10:14 am
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 1564

Re: Remove multiline comments

Thanks Radu! Can you suggest a way to apply Regex on set of nodes at a time as the comments are spread across multiple lines? Ex: Comment starting at line <sql-statement>/* Commented for bug#22652320</sql-statement> and ending at another line <sql-statement> AP_LOOKUP_CODES ALC */ </sql-statement> A...