Search found 5994 matches

by Radu
Wed Jan 23, 2019 2:31 pm
Forum: Common Problems
Topic: change a table header
Replies: 3
Views: 132

Re: change a table header

Hi,

Besides manually adding an image in the first table cell containing those two headers and the diagonal separator, I'm not sure how this could be done.
There is a DITA Users List (Yahoo Group) to which you could register and maybe ask there, they might have better ideas than I do.

Regards,
Radu
by Radu
Wed Jan 23, 2019 1:07 pm
Forum: Common Problems
Topic: change a table header
Replies: 3
Views: 132

Re: change a table header

Hi,

I'm sorry but I cannot access your sample image.
Can you maybe upload it to some public server and post a link to it?

Regards,
Radu
by Radu
Wed Jan 23, 2019 12:48 pm
Forum: Common Problems
Topic: Context Sensitive Annotations for Content Completion Assistant
Replies: 1
Views: 99

Re: Context Sensitive Annotations for Content Completion Assistant

Hi, Indeed the XML configuration file can only map the element name to documentation, so it cannot express this idea that if the element is placed in a certain parent element its documentation should be something else. I added an internal issue on our side to see if we can improve the configuration ...
by Radu
Tue Jan 22, 2019 10:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Mapping of ditaval files and bookmaps
Replies: 5
Views: 237

Re: Mapping of ditaval files and bookmaps

Hi Susanne, Oxygen does not take into account the ditavalref when showing content as filtered-out in the visual editor. Also there are various publishing issues related to ditavalref so you should try to avoid using it for now. At the same time Oxygen remembers and applies for each opened project th...
by Radu
Mon Jan 21, 2019 3:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unable to transform docx into dita
Replies: 1
Views: 140

Re: Unable to transform docx into dita

Hi Ed, Oxygen attempts to open a DITA map from the output folder but it might not have been automatically generated. If the transformation is successful you should look in the output folder "/Users/mylogin/examples/out/" and see what was generated. I do not know much about the plugin, you ...
by Radu
Mon Jan 21, 2019 10:00 am
Forum: Other Issues
Topic: Excel Pasting
Replies: 9
Views: 1695

Re: Excel Pasting

Hi, I need more information in order to understand the problem. Do you want empty XML elements generated for the Excel cells which are empty? Can you send us (support@oxygenxml.com) a small sample Excel spreadsheet, a small XML sample document (the document in which you are pasting in the Grid editi...
by Radu
Mon Jan 21, 2019 9:53 am
Forum: Common Problems
Topic: Profiling colors don't show in "resolved topics" view
Replies: 3
Views: 159

Re: Profiling colors don't show in "resolved topics" view

Hi Carl, In the Oxygen Preferences->"Editor / Edit Modes / Author / Profiling/Conditional Text / Colors and Styles" page there is an entry for each profiling attribute value that you are interested in rendering differently. For each entry there is a "Document Type" pattern. Just ...
by Radu
Fri Jan 18, 2019 4:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Set filename and save folder via plugin or framework
Replies: 7
Views: 548

Re: Set filename and save folder via plugin or framework

Hi Andreas, I'm attaching a test code which works on my side: function applicationStarted(pluginWorkspaceAccess) { Packages.java.lang.System.err.println("Application started " + pluginWorkspaceAccess); var edChangedListener = { /*Called when a document is opened*/ /*See: https://www.oxygen...
by Radu
Fri Jan 18, 2019 1:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Set filename and save folder via plugin or framework
Replies: 7
Views: 548

Re: Set filename and save folder via plugin or framework

Hi Andreas, The "saveAs" takes an URL as a parameter: https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/exml/workspace/api/editor/WSEditorBase.html So you may need to rewrite the code to: chosenURL = new Packages.java.net.URL("[some url]"); Regards, Radu
by Radu
Fri Jan 18, 2019 8:51 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Collection of keys not working
Replies: 1
Views: 141

Re: Collection of keys not working

Hi Fredrik,

When you switch to another project, Oxygen re-parses the root map. Maybe you should hover over the "Root Map" combo box, the tooltip presents the path to the DITA Map and maybe in your case the path is to an older version of the DITA Map.

Regards,
Radu
by Radu
Thu Jan 17, 2019 5:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Set filename and save folder via plugin or framework
Replies: 7
Views: 548

Re: Set filename and save folder via plugin or framework

Hi Andreas, Please give me more sample code from your side, especially about how you add the "preSaveListener" listener to the WSEditor using the API "ro.sync.exml.workspace.api.editor.WSEditor.addEditorListener(WSEditorListener)". Tomorrow I can try to create a sample minimal pl...
by Radu
Thu Jan 17, 2019 3:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Elements are only converted in FO/PDF output, not HTML
Replies: 22
Views: 1501

Re: Elements are only converted in FO/PDF output, not HTML

Hi Marvin, If I were you, I would identify such a case, identify that topic which contains the missing dl, then try to create a very small DITA project with just that topic, no other outside links, try to publish it. If the problem persists, try to add some xsl:messages in the XSLT template which ma...
by Radu
Thu Jan 17, 2019 12:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 9
Views: 352

Re: Copy/Paste event

Hi Isabelle, So about the remaining problem: - 2) If my TagsDisplayMode is Full_tags and I click on the Text tag directly, even if my code is executed, the copy event only take the Text node and not his parent like I have changed before. I looked in our code and indeed in the case when a node is ful...
by Radu
Wed Jan 16, 2019 4:25 pm
Forum: General XML Questions
Topic: format-date
Replies: 3
Views: 320

Re: format-date

Hi,

You need to do it the hard way using substring-before, substring-after and so on.
I found a stackoverflow post about this:

https://stackoverflow.com/questions/16484193/convert-date-from-dd-mmm-yyyy-to-yyyymmdd-format-in-xslt-1-0

Regards,
Radu
by Radu
Wed Jan 16, 2019 4:03 pm
Forum: General XML Questions
Topic: format-date
Replies: 3
Views: 320

Re: format-date

Hi,

I'm not sure what you mean by "it does not work" but "format-date()" is an XSLT 2.0 function:

https://www.w3.org/TR/xslt20/#function-format-date

so you cannot use it in an XSLT 1.0 stylesheet.

Regards,
Radu
by Radu
Wed Jan 16, 2019 2:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Converting HTML files to DITA
Replies: 1
Views: 139

Re: Converting HTML files to DITA

Hi Syed,

There is an add-on for Oxygen XML Editor which can do that:

https://github.com/oxygenxml/oxygen-resources-converter

Conversions are never perfect though.

Regards,
Radu
by Radu
Wed Jan 16, 2019 9:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 9
Views: 352

Re: Copy/Paste event

Hi Isabelle, So: I have tried the solution of a PopUpMenuCustomizer but in that specific case I can not add an ActionPerformedListener. This kind of listener is not available for JMenuItem element and I only can improve ActionListener. But it is launched after the action is performed. Once you get a...
by Radu
Wed Jan 16, 2019 8:58 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Simple vanilla DITA structure for if/then business rules?
Replies: 1
Views: 151

Re: Simple vanilla DITA structure for if/then business rules?

Hi, I'm not sure if I understand. If the question is about creating new file templates to be displayed when the Oxygen "File->New" action is invoked, then yes, you can customize the existing DITA templates and you can also share the customization with somebody else: http://blog.oxygenxml.c...
by Radu
Wed Jan 16, 2019 8:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: Right Click Actions
Replies: 10
Views: 390

Re: Right Click Actions

Hi Nat, Sure, from the Javascript code you can call any Java API you want. In the sample project: https://github.com/oxygenxml/wsaccess-javascript-sample-plugins there are 3 plugin folders with names starting with contributePopupAction which may be interesting as examples for you. Regards, Radu
by Radu
Tue Jan 15, 2019 2:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: dvrResourceSuffix
Replies: 3
Views: 220

Re: dvrResourceSuffix

Hi Benny,

Somehow I considered that you were using the classic XSL-FO based PDF output.
The args.output.base parameter will start to properly work for CSS-based publishing starting with Oxygen 21 (February 2019).

Regards,
Radu
by Radu
Tue Jan 15, 2019 1:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 9
Views: 352

Re: Copy/Paste event

Hi Isabelle, There is also a more global API to get access to some actions: ActionsProvider actionsProvider = ((StandalonePluginWorkspace)PluginWorkspaceProvider.getPluginWorkspace()).getActionsProvider(); Map<String, Object> globalActions = actionsProvider.getGlobalActions(); Object copy = globalAc...
by Radu
Tue Jan 15, 2019 11:37 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: fix.external.refs.com.oxygenxml workaround
Replies: 1
Views: 156

Re: fix.external.refs.com.oxygenxml workaround

Hi,

Creating that high-level DITA Map in the WebHelp plugin is kind of too late because there are various ANT parameters which already point to the old DITA Map.
So ideally you would create that new DITA Map with some kind of script before calling the DITA OT processing.

Regards,
Radu
by Radu
Tue Jan 15, 2019 11:36 am
Forum: Other Issues
Topic: rendering of variable instead of values
Replies: 2
Views: 205

Re: rendering of variable instead of values

Hi Ronan, Have you made any changes to the folder ""OXYGEN_INSTALL_DIR/frameworks/dita""? In this case you could try to re-download an archive containing Oxygen 19.1: http://archives.oxygenxml.com/Oxygen/Editor/InstData19.1/All/oxygen.tar.gz and compare using Oxygen's "Compa...
by Radu
Tue Jan 15, 2019 10:37 am
Forum: SDK-API, Frameworks - Document Types
Topic: Dita framework Actions: Activation path misalignment?
Replies: 1
Views: 132

Re: Dita framework Actions: Activation path misalignment?

Hi Bruno, When an XML element is fully selected, the cursor (caret) is outside of that element so the current element is the parent element of the selected element. In order to accommodate for cases like yours we created a special XPath function which returns the current selected element and which c...
by Radu
Mon Jan 14, 2019 10:00 am
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 9
Views: 352

Re: Copy/Paste event

Hi Isabelle, The "ClipboardFragmentProcessor" is called on the clipboard content, so indeed as you found out it's too late to do something about this after the object has been cloned and copied to the clipboard. Maybe if you add a listener before the "Copy" action is being execut...
by Radu
Mon Jan 14, 2019 9:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Set filename and save folder via plugin or framework
Replies: 7
Views: 548

Re: Set filename and save folder via plugin or framework

Hi Andreas, How about if on this callback: ro.sync.exml.workspace.api.listeners.WSEditorListener.editorAboutToBeSavedVeto(int) you sometimes return "false" to cancel the save operation and then maybe call: ro.sync.exml.workspace.api.editor.WSEditorBase.saveAs(URL) ? Calling "saveAs&qu...
by Radu
Mon Jan 14, 2019 9:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Pasting tables from Word to Oxygen Author: smart paste issue?
Replies: 2
Views: 208

Re: Pasting tables from Word to Oxygen Author: smart paste issue?

Hi Laura, What version of Oxygen are you using? Let's first try on your side to create a small Word document with a single paragraph containing some bold and italic text, copy its contents and paste in a DITA topic. If that works (the Word bold and italic and converted to DITA "b" and &quo...
by Radu
Fri Jan 11, 2019 1:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Finding the node at the caret positoin
Replies: 7
Views: 1731

Re: Finding the node at the caret positoin

Hi Barbara, So you are interested in API for the Text editing mode, right? I did not find any mention that the proposals were implemented. But there is this method: ro.sync.exml.workspace.api.editor.page.text.xml.WSXMLTextEditorPage.getDocumentController() https://www.oxygenxml.com/InstData/Editor/S...
by Radu
Fri Jan 11, 2019 9:44 am
Forum: Common Problems
Topic: Is there a way to scale the images in the pdf
Replies: 3
Views: 247

Re: Is there a way to scale the images in the pdf

Hi, If you are editing the XML document in the Author visual editing mode, click the image then open the "Attributes" view (main menu -> Window->Show View) and set the attributes there. Or use ALT-ENTER to open the in-place attributes editor. Or switch to the "Text" editing mode ...
by Radu
Fri Jan 11, 2019 9:12 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: When do you need to re-import transformation scenarios?
Replies: 3
Views: 186

Re: When do you need to re-import transformation scenarios?

Hi Katelyn, Right, the only (very rare and improbable) instance in which you would need to modify the transformation scenarios would be the case when in the plugin.xml you would rename the "transtype" (format of the transformation) to be some other value because the transformation scenario...

Go to advanced search