Search found 332 matches

by cristi_talau
Thu Jun 10, 2021 6:48 pm
Forum: Common Problems
Topic: Status of WIRIS MathType Integration for OWA V23.1?
Replies: 2
Views: 43

Re: Status of WIRIS MathType Integration for OWA V23.1?

Hello,

We tested WIRIS plugin (version 7.23.0.1436) with Web Author 23.1 and it worked.

Best,
Cristian
by cristi_talau
Fri Jun 04, 2021 6:14 pm
Forum: Common Problems
Topic: How to use custom DITA-OT with Content Fusion
Replies: 2
Views: 74

Re: How to use custom DITA-OT with Content Fusion

Hello,

We have a tutorial for this in the manual for Web Author (which has the same editing component as Content Fusion). The steps can be found here; https://www.oxygenxml.com/doc/versions/ ... ation.html .

Best,
Cristian
by cristi_talau
Wed May 26, 2021 11:39 am
Forum: Other Issues
Topic: Typing newline in oxy_textArea
Replies: 2
Views: 201

Re: Typing newline in oxy_textArea

Hello, I managed to reproduce the issue. I registered an issue for it and we will update this forum post once it is implemented. To fix this problem in your deployment you can paste the following code snippet in the JS code [1] of your framework: document.body.addEventListener('keydown', e => { if (...
by cristi_talau
Wed May 12, 2021 12:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filling date field automatically
Replies: 9
Views: 2170

Re: Filling date field automatically

Hello, I created a plugin that provides an com.oxygenxml.username.InsertFragmentOperation that supports an ${user.name} editor variable (instead of the ${author.name} one supported in Oxygen XML Editor). You can find the plugin here: https://github.com/oxygenxml/web-author-sample-plugins/tree/master...
by cristi_talau
Tue May 11, 2021 10:14 am
Forum: SDK-API, Frameworks - Document Types
Topic: Filling date field automatically
Replies: 9
Views: 2170

Re: Filling date field automatically

Hello, I already registered an issue for this environment variable. However, since it has an workaround (developing a custom AuthorOperation), it is not high priority for us. If you want a faster solution, I can give you more details regarding the implementation of an AuthorOperation. Best, Cristian
by cristi_talau
Mon May 10, 2021 1:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filling date field automatically
Replies: 9
Views: 2170

Re: Filling date field automatically

Hello, To get this behavior, you can use Oxygen Editor Variables in the inserted fragment, such as: ${author.name} ${date(pattern)} You can find more details here [1]. Currently, the ${author.name} variable is not supported in Oxygen XML Web Author . If you are interested in a solution for this prod...
by cristi_talau
Fri Apr 30, 2021 1:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ignoring processing instructions while using track changes!
Replies: 1
Views: 194

Re: Ignoring processing instructions while using track changes!

Hello, The achieve this behavior you need to implement a plugin and register an AuthorDocumentFilter [1]. In this filter you can override the builtin delete behavior. For example, you can disable change tracking before delegating to the default "delete" behavior. Best, Cristian [1] https://www.oxyge...
by cristi_talau
Thu Apr 22, 2021 4:23 pm
Forum: Common Problems
Topic: FilePermission for custom framework
Replies: 5
Views: 537

Re: FilePermission for custom framework

Hello, Indeed, for files that are accessed via "file://" URLs we have another layer of security that restricts access only to reading and only to: - <oxygen.data.dir>/frameworks/ - <oxygen.data.dir>/plugins/ In your case, the catalog file was accessed via a "file://" URL and not directly using new F...
by cristi_talau
Wed Mar 24, 2021 10:21 am
Forum: Common Problems
Topic: Override default profiling attribute styles - deliveryTarget
Replies: 4
Views: 312

Re: Override default profiling attribute styles - deliveryTarget

Hello,

The green border is added by the css/webauthor/profiling.css CSS file in the builtin DITA framework. You can remove this file in your DITA extension.

Best,
Cristian
by cristi_talau
Wed Mar 24, 2021 9:55 am
Forum: Common Problems
Topic: How to get display name of AuthorElement
Replies: 1
Views: 162

Re: How to get display name of AuthorElement

Hello, As of Web Author version 23.1, there are two methods to retrieve the display name of an author element none of which is public API : In JS code you can use sync.view.NodeRenderer.getRenderedText(node.getHtmlNode()) , where node is a Node of the XML document. In Java code you can use the follo...
by cristi_talau
Mon Mar 22, 2021 2:42 pm
Forum: Common Problems
Topic: Force the language to english and the display mode to full tags
Replies: 4
Views: 610

Re: Force the language to english and the display mode to full tags

Hello, The global options you tried to set are just controlling the defaults. User preferences take precedence. To override the user preferences you can use the following URL parameters when opening Web Author: &tags-mode=full-tags-with-attributes&lang=en The "tags-mode" parameter can also be passed...
by cristi_talau
Wed Mar 10, 2021 7:48 pm
Forum: Other Issues
Topic: Need to open a browser for SSO login in oxygen
Replies: 3
Views: 332

Re: Need to open a browser for SSO login in oxygen

Hello,

Yes. A plugin can have both Java and JavaScript extensions [1].

Best,
Cristian

[1] https://www.oxygenxml.com/doc/versions/ ... in-js.html
by cristi_talau
Fri Mar 05, 2021 4:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Avoid automatic generation value for required attributes
Replies: 5
Views: 479

Re: Avoid automatic generation value for required attributes

Hello, To troubleshoot the second approach you can set a breakpoint in the setAttribute method of the filter and look at the stack trace to see the code responsible for setting the attribute. The stack trace is obfuscated but you can share it with us if you do not understand where the call comes fro...
by cristi_talau
Fri Mar 05, 2021 12:37 pm
Forum: Common Problems
Topic: How to compute the node for href
Replies: 6
Views: 688

Re: How to compute the node for href

Hello, I am writing to let you know that we released Oxygen XML Web Author version 23.1 and that now the link text for links to titles are resolved correctly. For more details about what is new in this version, check out our website: https://www.oxygenxml.com/xml_web_author/whats_new.html . Best, Cr...
by cristi_talau
Fri Mar 05, 2021 12:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Avoid automatic generation value for required attributes
Replies: 5
Views: 479

Re: Avoid automatic generation value for required attributes

Hello, Regarding the first approach, if the IDs are automatically generated for an inserted fragment. the call stack looks like YourFilter.setAttribute ..... OxygenFilterBypass.insertFragment YourFilter.insertFragment You can set a field in your filter when it enters the insertFragment method and cl...
by cristi_talau
Thu Mar 04, 2021 6:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Example of integration / unit tests framework actions
Replies: 2
Views: 256

Re: Example of integration / unit tests framework actions

Hello,

If you want to write unit tests for Web Author customizations you can use the instructions here: https://www.oxygenxml.com/doc/versions/ ... lugin.html .

Best,
Cristian
by cristi_talau
Thu Mar 04, 2021 2:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Avoid automatic generation value for required attributes
Replies: 5
Views: 479

Re: Avoid automatic generation value for required attributes

Hello, I understand that you want to fully control the generation of the values for ID attributes (code in your case). I assume you implemented the "insertFragment" method of AuthorDocumentFilter. The automatic generation of ID attribute values is implemented in the AuthorDocumentFilterBypass.insert...
by cristi_talau
Thu Mar 04, 2021 1:33 pm
Forum: Common Problems
Topic: XML reformated after editing attributes in Author view
Replies: 1
Views: 178

Re: XML reformated after editing attributes in Author view

Hello, Some things to watch for: Server should be restarted after modifying the option The "Do not indent, do not break lines" option is applied only to areas affected by the change. For example, siblings of the element whose attribute was changed remain with their original formatting. The element i...
by cristi_talau
Tue Feb 16, 2021 12:59 am
Forum: Other Issues
Topic: Javascript Custom Action using XLST
Replies: 15
Views: 1069

Re: Javascript Custom Action using XLST

Hello, 1. We have DOM-like API that you can use to determine if there is node with the ID attribute: https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/23.0.0.0/jsdoc/sync.api.AuthorEditingSupport.html#getDocument__anchor . You can use the code below: function anyHasId(node) { console.log(n...
by cristi_talau
Fri Feb 05, 2021 12:03 am
Forum: Common Problems
Topic: Is it possible add CSS at runtime?
Replies: 2
Views: 399

Re: Is it possible add CSS at runtime?

Hello, Web Author supports custom DITA profiling attributes by default. The DITA specialization has to declare them using the domains attribute of the root element. This attribute should contain: a(props ATTR) where ATTR is the name of the custom profiling attribute. A more flexible option is to use...
by cristi_talau
Mon Feb 01, 2021 7:15 pm
Forum: Feature Request
Topic: Multiple Ditavals in WebAuthor URL
Replies: 1
Views: 718

Re: Multiple Ditavals in WebAuthor URL

Hello,

It is currently not possible to pass multiple DITAVAL files. I registered an internal issue to add this possibility. I will update this thread when it is implemented.

Meanwhile, you can create DITAVAL files that contain all the rules in those multiple files.

Best,
Cristian
by cristi_talau
Fri Jan 22, 2021 6:01 pm
Forum: General XML Questions
Topic: Using ChangeAttributeOperation in oxy_combobox onChange
Replies: 1
Views: 274

Re: Using ChangeAttributeOperation in oxy_combobox onChange

Hello,

The support for onChange property was added in version 21.1 of Web Author. Are you able to upgrade Web Author to a newer version to solve this issue?

Best,
Cristian
by cristi_talau
Tue Jan 12, 2021 9:26 pm
Forum: Common Problems
Topic: How to get marker content
Replies: 3
Views: 406

Re: How to get marker content

Depending on the node's getType() result, you can cast it to AuthorParentNode and use getContentNodes() to access children.
by cristi_talau
Tue Jan 12, 2021 2:36 pm
Forum: Common Problems
Topic: How to get marker content
Replies: 3
Views: 406

Re: How to get marker content

Hello, To get an XML representation you can use the AuthorDocumentController.createDocumentFragment() API. This returns an AuthorDocumentFragment that you can traverse and generate the XML text. To get an HTML representation, you can use the "copy-as-html" feature, but without setting the user clipb...
by cristi_talau
Fri Jan 08, 2021 12:02 pm
Forum: Common Problems
Topic: Get git-username from custom operation
Replies: 2
Views: 302

Re: Get git-username from custom operation

Hello,

The name of the Git user is also set as the "reviewer" name that is used for comments and change tracking. This name can be obtained by using

Code: Select all

authorDocumentModel.getReviewController().getReviewerAuthorName()
Best,
Cristian
by cristi_talau
Wed Jan 06, 2021 8:01 pm
Forum: Common Problems
Topic: How to filter content for given profiling attribute
Replies: 5
Views: 535

Re: How to filter content for given profiling attribute

Hello, You can filter the content by specifying a DITAVAL file as an URL parameter, or by using the JS API [1]. The default behavior is to render the excluded content with low opacity. You can add a custom CSS in the Web Author UI [2] to specify a different style for elements with "oxy-filtered" cla...
by cristi_talau
Mon Dec 28, 2020 11:32 am
Forum: Common Problems
Topic: How to compute the node for href
Replies: 6
Views: 688

Re: How to compute the node for href

Hello, I understand that you want to control how the editor renders the links. I was trying to say that the editor implements the same behavior as DITA-OT. This way, if people will see a link with no text in the editor, they will understand that the output will also contain an empty link (which is n...
by cristi_talau
Wed Dec 23, 2020 6:45 pm
Forum: Common Problems
Topic: How to compute the node for href
Replies: 6
Views: 688

Re: How to compute the node for href

Hello,

We will fix the "Table" link text in a future release. For links to table cell and table row, does not DITA-OT publishing generate the expected link text? What transformation type are you using? I tested with the PDF output and it did not generate.

Regards,
Cristian
by cristi_talau
Wed Dec 23, 2020 3:12 pm
Forum: Common Problems
Topic: How to compute the node for href
Replies: 6
Views: 688

Re: How to compute the node for href

Hello, Our DITALinkTextResolver tries to resolve the text for the same links that are resolved in the published output. For links to title elements, the published output resolves the links but the editor not - I registered an internal issue about this. To properly prioritize this issue I would like ...
by cristi_talau
Fri Dec 18, 2020 12:13 pm
Forum: Common Problems
Topic: How to extend built-in frameworks
Replies: 3
Views: 497

Re: How to extend built-in frameworks

We have here documentation about configuring the outline: https://www.oxygenxml.com/doc/versions/ ... -pane.html .