Search found 7461 matches

by Radu
Thu Jun 10, 2021 8:00 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 178

Re: Process DITA map recursively with XSLT

Hi Patrik,

I'm glad this works for you. I forgot to say that we have lots of refactoring examples here:
https://github.com/oxygenxml/dita-refactoring-examples

if you need inspiration for other refactoring actions in the future.

Regards,
Radu
by Radu
Thu Jun 10, 2021 7:42 am
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 2
Views: 48

Re: Is there a method to import transformation scenarios setting the storage option?

Hi, Assuming you are working on an Oxygen Java plugin of type Workspace Access: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/workspace-access-plugin.html there is Java API to import global options from an XML configuration file: ro.sync.exml.workspace.api.options.GlobalOptionsStorage...
by Radu
Wed Jun 09, 2021 8:29 am
Forum: Other Issues
Topic: Fetching Oxygen Author
Replies: 3
Views: 49

Re: Fetching Oxygen Author

Hi, You can try something like: ro.sync.exml.workspace.api.PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables("${author.name}", null); More editor variables which can be expanded: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/editor-variables.html Regar...
by Radu
Wed Jun 09, 2021 6:34 am
Forum: Other Issues
Topic: Fetching Oxygen Author
Replies: 3
Views: 49

Re: Fetching Oxygen Author

Hi Srinarayan,

The name of the author is a global preference in the Oxygen Preferences->"Editor / Edit Modes / Author / Review" page.
If you want help accessing it please give us more information about your customization. Is it a plugin? Is it a framework configuration?

Regards,
Radu
by Radu
Tue Jun 08, 2021 11:01 am
Forum: XSLT and FOP
Topic: Get Input params of xsl file
Replies: 3
Views: 92

Re: Get Input params of xsl file

Hi,

I'm afraid I do not know another way.

Regards,
Radu
by Radu
Tue Jun 08, 2021 8:55 am
Forum: XSLT and FOP
Topic: Get Input params of xsl file
Replies: 3
Views: 92

Re: Get Input params of xsl file

Hi Samba,

You can try to define a custom xsl:parameter in your XSLT stylesheet and set a value for this parameter when you create the XSLT transformer.

Regards,
Radu
by Radu
Wed Jun 02, 2021 6:29 am
Forum: Other Issues
Topic: Transformation running notice
Replies: 4
Views: 170

Re: Transformation running notice

Hi, Thanks for the extra details, now I understand. Sometime in Oxygen 21 we decided that we want the automatic validation to also update the status bar, before that automatic validation did not update it. So what happened was that some people would use manual validation (the validate toolbar button...
by Radu
Thu May 27, 2021 1:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 178

Re: Process DITA map recursively with XSLT

Hi Patrik, In my opinion when changing the DOCTYPE or schema reference on a DITA topic you would not want the default attributes to be expanded. So maybe what you need is our XML refactoring support based on XSLT: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/custom-refactoring-operat...
by Radu
Thu May 27, 2021 1:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 178

Re: Process DITA map recursively with XSLT

Hi Patrik, I'm afraid I do not remember our previous discussion about this. I'm going to need more context, do you want to process the DITA Map with XSLT by running the XSLT transformation from inside Oxygen? Or do you have a DITA OT plugin which does the XSLT processing? If so, why doesn't your plu...
by Radu
Wed May 26, 2021 10:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 9
Views: 328

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

Hi, I checked this and the quotes around the path to the executable do not help, it's best to give each parameter, including the path as separate entries in a command line array, also include the entire name of the executable "dita.bat", like for example on my side: List<String> cmdArray = new Array...
by Radu
Wed May 26, 2021 9:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 9
Views: 328

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

Hi, You can find the path to the DITA OT installation in Oxygen using something like this: String ditaExecutableCommand = PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables("${configured.ditaot.dir}", null) + "\\bin\\dita"; You need to surround in double quotes the pa...
by Radu
Wed May 26, 2021 8:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Filtering DITA Content By Attribute and Saving Filtered Map
Replies: 4
Views: 128

Re: Filtering DITA Content By Attribute and Saving Filtered Map

Forgot about this question: Also, the publishing scripts I am using in Adobe FrameMaker require a flattened DITA file structure (all topics and maps at the root level). My source files are all in folders of various hierarchies. Does Oxygen have a way to take a root map whose source files are in a hi...
by Radu
Wed May 26, 2021 7:18 am
Forum: General XML Questions
Topic: Figure titles/labels
Replies: 3
Views: 206

Re: Figure titles/labels

Hi, So you want the static text "Figure" which gets automated prepended to be removed from the published output, right? So that you can fully control the title. Is this question for the HTML-based or PDF output? If it's for PDF, is it for the classic XSL-FO based output or for our own CSS-based PDF ...
by Radu
Wed May 26, 2021 7:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Filtering DITA Content By Attribute and Saving Filtered Map
Replies: 4
Views: 128

Re: Filtering DITA Content By Attribute and Saving Filtered Map

Hi Pat,

In the Oxygen main menu "Tools->XML Refactoring" you can find a "Delete element" operation which can be applied on multiple files. You can set an XPath expression for the element to delete, like for example:

Code: Select all

*[contains(@audience, 'novice')]
Regards,
Radu
by Radu
Wed May 26, 2021 7:10 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best invoke dita ot cmd from custom oxygen plugin
Replies: 9
Views: 328

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

Hi Samba, If you want to run the DITA OT on your own from the Oxygen plugin you will probably need to start a new process from the Java code: https://docs.oracle.com/javase/8/docs/api/java/lang/Process.html We also have two API methods for starting a new process: ro.sync.exml.workspace.api.Workspace...
by Radu
Mon May 24, 2021 1:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Link index to specific point in topic in chm output
Replies: 3
Views: 125

Re: Link index to specific point in topic in chm output

Hi, You can insert index terms indeed in various DITA elements, for the PDF based output this is taken into account, as the index page will list the number of the page on which the indexterm was defined. I think indexterms were mostly considered as useful for PDF, in the plain HTML output they are n...
by Radu
Mon May 24, 2021 9:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Filtering DITA Content By Attribute and Saving Filtered Map
Replies: 4
Views: 128

Re: Filtering DITA Content By Attribute and Saving Filtered Map

Hi Pat,

This should work only for situations when the filters exclude entire topics (they are set up on each topicref element in the DITA Map).
If you want to exclude certain elements inside topics, I'm afraid we do not have this possibility.

Regards,
Radu
by Radu
Mon May 24, 2021 9:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Link index to specific point in topic in chm output
Replies: 3
Views: 125

Re: Link index to specific point in topic in chm output

Hi, I will assume you are publishing DITA XML content to CHM using Oxygen XML Editor. Oxygen uses the DITA Open Toolkit engine for publishing DITA to various output formats. I'm afraid there is no parameter to control this behavior, the index page is generated by creating links for each index term t...
by Radu
Thu May 20, 2021 8:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: stepsection resets numbering for xref
Replies: 3
Views: 271

Re: stepsection resets numbering for xref

Hi Evan,

Thanks for the sample, all clear for me now. I added an internal issue and we'll update this forum thread when the issue is fixed.

Regards,
Radu
by Radu
Thu May 20, 2021 7:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding Annotations to Subject Scheme
Replies: 1
Views: 69

Re: Adding Annotations to Subject Scheme

Hi Diane, Please use the <navtitle> element instead of <shortdesc>: <subjectdef keys="WEB"><topicmeta><navtitle>Responsive Web</navtitle></topicmeta></subjectdef> We have plans to support by default also the shortdesc element as a way to obtain some rendering information for the subject def key, but...
by Radu
Wed May 19, 2021 3:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Drag & drop of multiple links from a JavaFX webview to DITA Map Manager
Replies: 2
Views: 116

Re: Drag & drop of multiple links from a JavaFX webview to DITA Map Manager

Hi Fabien, We had a client about a year ago who wanted the same thing, to drop from a JavaFX panel URLs to the DITA Maps Manager view. We discovered that in the case of drag and drops from the JavaFX panel, we received in our code this mimetype: mimetype=text/uri-list;representationclass=java.io.Inp...
by Radu
Wed May 19, 2021 8:40 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Logo in HTML-header
Replies: 2
Views: 106

Re: Logo in HTML-header

Hi, One option would be to have the logo image embedded in the header with base 64 encoding. Other than that maybe you can copy the image in the "topics" folder near the topics and refer to it in the DITA Map using something like: <topicref href="topics/image.png" format="png" processing-role="resou...
by Radu
Wed May 19, 2021 7:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Excluding code templates from content completion suggestions
Replies: 1
Views: 85

Re: Excluding code templates from content completion suggestions

Hi, Code templates may contain any content inside them (text, XML tags, or a combination of..), they may contain even editor variables which get expanded when the code template is inserted, so Oxygen proposes them in any context, even when element values need to be inserted. Maybe you can create equ...
by Radu
Wed May 19, 2021 6:57 am
Forum: SDK-API, Frameworks - Document Types
Topic: Modifying the Symbols menu
Replies: 3
Views: 135

Re: Modifying the Symbols menu

Hi Bill, About the plugin approach I created a small sample Oxygen Javascript-based plugin which imposes using our API a fixed value for the "recently.used.characters" key: https://github.com/oxygenxml/wsaccess-javascript-sample-plugins/tree/master/impose-option-keys A plugin can be packed as an add...
by Radu
Tue May 18, 2021 1:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: SimpleTable issue
Replies: 2
Views: 99

Re: SimpleTable issue

Hi, After you add a simple table in Oxygen you can drag the column margins to resize the table cells and produce a table XML content which has proportions like for example: <simpletable relcolwidth="1.0* 9*"> <sthead> <stentry>a</stentry> <stentry>b</stentry> </sthead> <strow> <stentry>c</stentry> <...
by Radu
Tue May 18, 2021 7:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Modifying the Symbols menu
Replies: 3
Views: 135

Re: Modifying the Symbols menu

Hi Bill, I removed your duplicate forum post. The Symbols drop down is not specific to the DITA framework, so it's placed on a general purpose toolbar which cannot be changed by modifying the DITA framework configuration. The default list of symbols available there could be controlled by creating an...
by Radu
Tue May 18, 2021 7:07 am
Forum: Common Problems
Topic: Question about Oxygen Author performance
Replies: 1
Views: 114

Re: Question about Oxygen Author performance

Hi, We have clients editing DITA topics in the range of 5-10 megabytes in Oxygen, of course the loading of the topic takes more time as the topic increases in size. In general you should consider splitting your reusable content in multiple topics, maybe based on certain criteria, a topic for reusabl...
by Radu
Thu May 13, 2021 12:54 pm
Forum: Common Problems
Topic: Opening Oxygen Project (*.xpr) via File > Open URL...
Replies: 1
Views: 93

Re: Opening Oxygen Project (*.xpr) via File > Open URL...

Hi Sean, I'm assuming you want to open a project in Oxygen in order to impose custom preferences for the end user. All the possibilities to share settings with Oxygen are described here: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/sharing-possibilities.html The Oxygen Project view a...
by Radu
Wed May 12, 2021 1:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom image icons in a workspace access plugin
Replies: 3
Views: 197

Re: Custom image icons in a workspace access plugin

Hi Jakub, Maybe you can take inspiration from some of the plugins we've built like our Git client plugin, it has the images here: https://github.com/oxygenxml/oxygen-git-plugin/tree/master/src/main/resources/images as you see the retina images have the "@2x.png" suffix. And it has this Icons class w...
by Radu
Wed May 12, 2021 12:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extendin the frameworks
Replies: 5
Views: 1110

Re: Extendin the frameworks

Hi, I discussed the problem with Stefan via email, adding my reply here for completion: Looking at the code on our side, we take all these JAR library references and create a custom Java class loader on our side. The custom class loader has as parent class loader the class loader which loaded our Ox...