Search found 87 matches

by msambasiva
Wed Dec 08, 2021 11:50 am
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging a Plugin Using the Eclipse Workbench
Replies: 2
Views: 922

Re: Debugging a Plugin Using the Eclipse Workbench

Thanks Radu. It's working. Able to open the Oxygen XML Author from Eclipse debugging process. -Dcom.oxygenxml.app.descriptor=ro.sync.exml.AuthorFrameDescriptor
by msambasiva
Tue Dec 07, 2021 6:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging a Plugin Using the Eclipse Workbench
Replies: 2
Views: 922

Debugging a Plugin Using the Eclipse Workbench

Hi, Oxygen XML Editor 23.0 We are able to pass a parameter from Oxygen plugin to DITA-OT plugin in Oxygen XML Editor 23.0. But somehow, the same functionality is not working in Oxygen XML Author 23.0. I am able to debug a Oxygen Plugin successfully. When we run the plugin in debug mode, Oxygen XML E...
by msambasiva
Mon Oct 04, 2021 9:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: Extending DITA Framework
Replies: 2
Views: 852

Re: Extending DITA Framework

Issue got fixed with appending * to the template directories path as ${frameworkDir}/templates/*. :D :D
by msambasiva
Mon Oct 04, 2021 7:07 am
Forum: SDK-API, Frameworks - Document Types
Topic: Extending DITA Framework
Replies: 2
Views: 852

Extending DITA Framework

Hi, Oxygen XML 23.0 I have a requirement to extend DITA Framework to have a custom templates & content completion. Started with a new project creation named as uae-custom-framework-project. Then created two folders uae-custom_frameworks\dita-extension as per the documentation. Below is the folde...
by msambasiva
Wed Jul 14, 2021 12:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT 3.x Plugin - You don't have permission to save in the location
Replies: 2
Views: 761

DITA-OT 3.x Plugin - You don't have permission to save in the location

Hi, Oxygen Editor 23.0 DITA OT 3.x I've a dita-ot plugin to convert xml into dita. Some times it seems to be working fine. But some times it's failing with below error message. Found some wired issue with Output directory when I run the global transformation scenario some thing as below. Scenario: b...
by msambasiva
Mon Jun 28, 2021 7:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

Re: How best invoke dita ot cmd from custom oxygen plugin

Hi,

Found 'The input line is too long.' issue with cmd.exe as I posted in the forum @ topic22985.html .

Could you suggest any clue to overcome this issue? Can we use powershell instead of cmd? If so, any pointer pls?

Thanks,
Samba.
by msambasiva
Sat Jun 26, 2021 2:16 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom local add-on path
Replies: 2
Views: 1031

Re: Custom local add-on path

Hi,

Could you please suggest any clue on this?

Thanks,
Samba.
by msambasiva
Fri Jun 25, 2021 11:30 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom local add-on path
Replies: 2
Views: 1031

Custom local add-on path

Hi, Oxygen Editor 23.0 DITA OT 3.x We created a oxygen plugin to use custom dita-ot. The custom dita-ot getting downloaded into the below path which is too long. C:\Users\smedavar.AAAAA\AppData\Roaming\com.oxygenxml\extensions\v23.0\plugins\http_slcalz.us.bbbbb.com_7Euaework_oxygen_addons_uae_update...
by msambasiva
Tue Jun 08, 2021 10:01 am
Forum: XSLT and FOP
Topic: Get Input params of xsl file
Replies: 3
Views: 1286

Re: Get Input params of xsl file

Thanks Radu! Some how, I don't have control on java code. Is there any option to get output file/directory location in XSL without setting the params in java.
by msambasiva
Tue Jun 08, 2021 8:21 am
Forum: XSLT and FOP
Topic: Get Input params of xsl file
Replies: 3
Views: 1286

Get Input params of xsl file

Hi, XSLT 2.0 Below is the command to invoke xslt from java using SAXParser.Is it possible to get the list of params passed to xsl file(xml2dita.xsl) . I need to know the output path in my xsl file java/current/bin/java \ 'TransformUsingXMLSchema' \ '/staging/docs/03/X20062603/en/20062603c.xml' \ '/c...
by msambasiva
Thu May 27, 2021 5:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

Re: How best invoke dita ot cmd from custom oxygen plugin

Sorry for inconvenience. I got it with below change, PluginWorkspaceProvider.getPluginWorkspace().startProcess( "dita conversion", new File(ditaExecutablePath), "cmd.exe /c \"dita --version\"", true); Thanks.
by msambasiva
Thu May 27, 2021 2:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

Re: How best invoke dita ot cmd from custom oxygen plugin

Hi, To the continuation of above thread, I am planning to use startProcess instead of Runtime.getRuntime().exec() to log the process into Oxygen window. But some how, it's throwing exception as shown below, Found the same issue with 'dita.exe --version' command as well. Please correct me if Iam wron...
by msambasiva
Wed May 26, 2021 10:16 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

Re: How best invoke dita ot cmd from custom oxygen plugin

Thanks Radu! It's really great feature to get dita-ot path in Oxygen Plugin. But some how, I am still having issue with space character. String ditaExecutableCommand = PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables("${configured.ditaot.dir}", null) + &qu...
by msambasiva
Wed May 26, 2021 9:30 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

Re: How best invoke dita ot cmd from custom oxygen plugin

It would be great if you can suggest better way to invoke in built in dita-ot from oxygen plugin. Instead of manually preparing the complete dita cmd as below, command = "C\\:\\oxygen\\Oxygen XML Editor 23\\frameworks\\dita\\DITA-OT3.x\\bin\\dita" + " --format=xml2dita" + " ...
by msambasiva
Wed May 26, 2021 9:22 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

Re: How best invoke dita ot cmd from custom oxygen plugin

Thanks Radu! Tried with below code, command = "C\\:\\oxygen\\Oxygen XML Editor 23\\frameworks\\dita\\DITA-OT3.x\\bin\\dita" + " --format=xml2dita" + " -Dxml2.release=21a" + " --input=null" + " -Dargs.input.dir=D:\\xml2dita\\input'" + " --output=...
by msambasiva
Tue May 25, 2021 7:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 11
Views: 2601

How best invoke dita ot cmd from custom oxygen plugin

Hi, Oxygen XML Editor 23.0 We have written a custom Oxygen plugin to have menu option to display a form(Conversion Form) by extending WorkspaceAccessPluginExtension. On Form submission, we need to invoke a DITA-OT Plugin to convert xml to dita. I am able to extract the input data from user form and ...
by msambasiva
Mon Apr 05, 2021 1:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Merge DITA-OT similar Plugins
Replies: 1
Views: 603

Merge DITA-OT similar Plugins

Merge DITA-OT similar Plugins Hi, DITA-OT 2.4.6 Oxygen Editor 22.0 We have developed 5 plugins to convert differnet types of xmls into DITA. The structure of xml content is differnet so we developed different plugins. Ex: To convert Product1.xmls into DITA(dita topics,ditamaps) , we created plugin1....
by msambasiva
Mon Mar 29, 2021 10:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA OT 3.x Plugin installation - ant command fail
Replies: 2
Views: 1019

Re: DITA OT 3.x Plugin installation - ant command fail

Thanks Radu! The issue got fixed with setting ANT_HOME env variable with proper DITA-OT directory.
by msambasiva
Mon Mar 29, 2021 9:18 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA OT 3.x Plugin installation - ant command fail
Replies: 2
Views: 1019

DITA OT 3.x Plugin installation - ant command fail

HI, Created and installed a dita -ot plugin manually at below path C:\dita\dita-ot-3.5\plugins\my.dita.plugin Able to execute the bin\dita command sucessfully bin\dita --format=mydita -Dmy.release=21a --input=/dev/null -Dargs.input.dir=C:\my\21a\input --output=C:\my\21a\output -Dmy.type=F --temp=C:\...
by msambasiva
Tue Dec 08, 2020 12:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: dita ot image
Replies: 1
Views: 687

dita ot image

Hi, We want to create a custom docker image with Jenkins & Dita-OT. There is ready made image ditaot/dita-ot which is created long time back. So we want to build our custom image with latest dita ot. As per the DITA-OT installation documentation, we need to download the zip and then extract the ...
by msambasiva
Wed Nov 25, 2020 6:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: GITHub Clone Repo - Invalid credentials
Replies: 2
Views: 1165

Re: GITHub Clone Repo - Invalid credentials

I got successful connection to another repo. I think, there is some thing wrong with repo. Thanks for your quick response! Logging tip helped me a lot!!
by msambasiva
Wed Nov 25, 2020 1:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: GITHub Clone Repo - Invalid credentials
Replies: 2
Views: 1165

GITHub Clone Repo - Invalid credentials

Hi, Oxygen XML Editor 22.0. I've installed GIT Client plugin. Iam into GIT Staging perspective.Then when I try to clone the repo, getting invalid credentials error popup message with Username and Password fields. Able to access the same repo from browser using the same credentials. Could you suggest...
by msambasiva
Tue Nov 17, 2020 2:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generating a list of changes between releases
Replies: 3
Views: 987

Re: Generating a list of changes between releases

image.png Thanks Radu. My output process invoking the new plugin i.e com.oxygenxml.ant.parser.dita . Able to generate a pdf output with new topic in TOC as 'List of changes since last release'. Able to navigate to corresponding topic from the page 'List of changes since last release'. I've an issue...
by msambasiva
Mon Nov 16, 2020 10:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generating a list of changes between releases
Replies: 3
Views: 987

Generating a list of changes between releases

Hi, We have a requirement to generate a list of changes between releases. So I am referring to below blog by Radu,https://blog.oxygenxml.com/topics/dita-generate-changes-list.html . I got confused at last but one step i.e, Open the build file com.oxygenxml.ant.parser.dita/resources/build.xml in Oxyg...
by msambasiva
Fri Oct 16, 2020 2:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: cutting right edge of image in PDF output
Replies: 4
Views: 1066

Re: cutting right edge of image in PDF output

Yes.It's working by setting directly on the fo:external-graphic element as you suggested. <xsl:otherwise> <xsl:attribute name="content-width">scale-to-fit</xsl:attribute> <xsl:attribute name="content-height">100%</xsl:attribute> <xsl:attribute name="width">100%</xsl:att...
by msambasiva
Fri Oct 16, 2020 12:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: cutting right edge of image in PDF output
Replies: 4
Views: 1066

Re: cutting right edge of image in PDF output

Thanks Radu for dubbing steps. Looks the attribute changes (width=auto & width=100 under image__inline)are taking place in topic.fo. It's throwing error saying that content-width, content-height and scaling are not allowed as shown in the attached screenshot. width=auto : <fo:inline content-heig...
by msambasiva
Fri Oct 16, 2020 9:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: cutting right edge of image in PDF output
Replies: 4
Views: 1066

cutting right edge of image in PDF output

Hi DITA-OT 2.4.6 Some how, few images are cutting right edge in the PDF output . Tried to set the attribtes as below. But nothing helped me on this issue. Could you suggest any clue? dita-ot-2.4.6\plugins\my.dita.pdf\cfg\fo\attrs\commons-attr.xsl Thanks, Samba. <xsl:attribute-set name="image__b...
by msambasiva
Fri Oct 16, 2020 9:31 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: href to section title element breaking
Replies: 3
Views: 1114

Re: href to section title element breaking

Thanks Radu. It's my fault. Actual section should be as below, <section> <title id="GUID-CB4EC4EA">Provided Mappings</title> </section> It's working fine if we refer to section id from href. But failing when we refer to title id. Logically it should work if we refer to any element id. The ...