Search found 7464 matches

by Radu
Mon Jun 14, 2021 2:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 3
Views: 92

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

Hi, I have not tried but the XML scenarios export file looks something like: <serialized xml:space="preserve"> <serializableOrderedMap> <entry> <String>scenarios</String> <scenario-array> .......... </scenario-array> </entry> <entry> <String>scenarios.load.from.project</String> <Boolean>false</Boole...
by Radu
Mon Jun 14, 2021 12:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: resourceid and CHM help
Replies: 1
Views: 45

Re: resourceid and CHM help

Hi Bill, We implemented this for our WebHelp responsive output: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/whr-context-sensitive.html so maybe your client could use Oxygen WH responsive instead of CHM as our WebHelp responsive should also work offline. Other than that, the DITA OT ...
by Radu
Mon Jun 14, 2021 9:59 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error with oXygen 23.1 and DITA-OT 2.4
Replies: 3
Views: 102

Re: Error with oXygen 23.1 and DITA-OT 2.4

Hi Patrik,

I'm not sure about the SVG not being displayed properly when an old DITA OT version is run from Oxygen. How about if you run that old DITA OT from the command line?
Also how about if you produce the PDF using the DITA OT 3.6 bundled with Oxygen 23.1?

Regards,
Radu
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: 187

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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