Search found 61 matches

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

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:attribute> <xsl:attribute name="s...
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: 64

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-height="...
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: 64

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__block"...
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: 61

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 content is...
by msambasiva
Thu Oct 15, 2020 10:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: href to section title element breaking
Replies: 3
Views: 61

href to section title element breaking

Hi, DITA-OT-2.4.6 We have custom plugin for HTML output based outof org.dita.html5. We have a broken link to a section title in the HTML output. The two links are failing. Can we have href to any element id? or is there any restrictions to href value? Below is the sample, <section> <title id="GUID-6...
by msambasiva
Tue Sep 22, 2020 6:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Extra period with empty title - Figure 1. .
Replies: 4
Views: 206

Re: Extra period with empty title - Figure 1. .

Can someone confirm if it is a known issue? i.e empty tile creates extra period (i.e Figure 1..)
Thanks,
Samba.
by msambasiva
Mon Sep 21, 2020 10:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Extra period with empty title - Figure 1. .
Replies: 4
Views: 206

Re: Extra period with empty title - Figure 1. .

We are performing HTML5 transformation (org.dita.html5).

Thanks,
Samba.
by msambasiva
Mon Sep 21, 2020 9:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Extra period with empty title - Figure 1. .
Replies: 4
Views: 206

Extra period with empty title - Figure 1. .

Hi, DITA OT 2.0 Below are the different scenarios tested with/out title element under <fig>. We are getting extra period with empty title which we are not expecting. It would be great if you can suggest any clue on the issue to avoid extra period (i.e Figure 1..) with empty title(i.e<title/>). Scena...
by msambasiva
Tue Sep 01, 2020 11:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 347

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

/uae/java/current/bin/java \
'TransformUsingXMLSchema' \
'/h/uaework/staging/docs/03/s20062603/en/Recruiting_Cloud.xml' \
'/h/uaework/custom/doctypes/CommonDita/xsl/fusion2dita.xsl' \
'/h/uaework/staging/docs/03/s20062603/en/Recruiting_Cloud/Recruiting_Cloud.ditamap' |
by msambasiva
Tue Sep 01, 2020 11:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 347

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

Those variables are strings as below,
String xmlDoc;
String xsltDoc;
String htmlDoc;
Thanks,
Samba.
by msambasiva
Tue Sep 01, 2020 10:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 347

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

Here is the java code used to transform, void transform() throws Exception { // Since we're going to use a SAX feature, the transformer // must support input in the form of a SAXSource. TransformerFactory tfactory = TransformerFactory.newInstance(); if(!tfactory.getFeature(SAXSource.FEATURE)) throw ...
by msambasiva
Wed Aug 26, 2020 4:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 347

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

Thanks Radu!. I will check on TransformUsingXMLSchema and get back to you!!
by msambasiva
Tue Aug 25, 2020 1:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 347

xsl:result-document : Invalid URI syntax: URI is not absolute

Hi All, DITA-OT 2.4.6 Below is the template to create a ditamap for each chapter in conversion of xml to generic dita. It's working fine in my local laptop. When I deploy the code to our linux server, and run the conversion process, it's failing with below error message. Running: /uae/java/current/b...
by msambasiva
Tue Jul 07, 2020 2:41 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 1798

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...