Search found 160 matches

by cristi_talau
Wed Jul 13, 2016 6:32 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 1554

Re: AuthorDocumentModel features

Hello,

Unfortunately, the dirty flag is designed to be a client-side feature. However, we were able to make use of it in a variety of situations.

Can you describe your use-case in more details? Maybe we can find a workaround.

Best,
Cristian
by cristi_talau
Wed Jul 13, 2016 4:48 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 1554

Re: AuthorDocumentModel features

Hello,

We have client-side JS API for managing the "dirty" status of the editor [1]. Can you use that instead?

Best,
Cristian

[1] https://www.oxygenxml.com/maven/com/oxy ... ditor.html
by cristi_talau
Mon Jul 11, 2016 6:21 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 933

Re: Set some DITA Key Definition Manager for different editors

Hello, I managed to reproduce your problem. I will fix it for the next release. However, for the moment you can try to make the URL used in xref resolve to something like: dw://localhost:8888/Folder/path/source_01.dita#[ANY]/p_topic_body_p_3 This is interpreted better by our heuristics at the moment...
by cristi_talau
Mon Jul 11, 2016 2:52 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 933

Re: Set some DITA Key Definition Manager for different editors

Hello, We have a heuristic that decide whether a link is considered internal or external. So, it may be wrong in some cases. I would need some more information to be able to reproduce your scenario: 1. The link icon has an ancestor div with data-external="true". This element also has an at...
by cristi_talau
Wed Jul 06, 2016 4:33 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 933

Re: Set some DITA Key Definition Manager for different editors

Hello, We have some JS API with a similar effect [1]. You can modify the event fields to open a different URL, or you can call e.preventDefault() and do something else. Please let me know if this solves your use case. Best, Cristian [1] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/18....
by cristi_talau
Wed Jul 06, 2016 4:03 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 933

Re: Set some DITA Key Definition Manager for different editors

Hello,

I was able to reproduce your problem. It is a problem on our side. It will be fixed in a maintenance build for version 18.0, so it will be gone with the next update.

Best,
Cristian
by cristi_talau
Wed Jul 06, 2016 11:21 am
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 933

Re: Set some DITA Key Definition Manager for different editors

Hello, The API you are using was designed for oXygen Author desktop and does not make much sense for Web Author which has multiple users. We have an issue registered to add an equivalent API that takes into account the multi-user scenario. As a workaround you can use a global key definition manager ...
by cristi_talau
Thu Jun 09, 2016 5:46 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 1102

Re: Webapp customReferencesResolver

Hello,

It seems that the .jar contains the ".java" file. It should contain the ".class" compiled file instead.

Please let us know if you still have problems.

Best,
Cristian
by cristi_talau
Mon Jun 06, 2016 5:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can we embed functionality of diffFiles.exe in oxygen webauthor?
Replies: 2
Views: 305

Re: Can we embed functionality of diffFiles.exe in oxygen webauthor?

Hello, We currently do not have a web equivalent of the diffFiles tool. I registered a feature request for this. In order to design this new feature I would appreciate some input from you: - Do your audience prefer to have a "text-mode" view of the XML document, or a "author-mode"...
by cristi_talau
Mon Jun 06, 2016 4:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to I customize side panel and toolbar
Replies: 4
Views: 379

Re: How to I customize side panel and toolbar

Hello,

The line is correct, but should be executed as soon as your plugin JS file is loaded. For example, try putting it as the first line in the JS file.

Best,
Cristian
by cristi_talau
Mon Jun 06, 2016 4:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is it possible to make some part of dita topic read-only
Replies: 1
Views: 242

Re: Is it possible to make some part of dita topic read-only

Hello, We have a custom CSS property: -oxy-editable which makes certain elements read-only. You will have to: - add a special attribute on those elements - add modify the DITA CSS with a rule that matches on those elements and applies the "-oxy-editable: false" property. Alternatively, you...
by cristi_talau
Mon Jun 06, 2016 4:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can we restrict edit permissions?
Replies: 1
Views: 254

Re: Can we restrict edit permissions?

Hello, As part of the SDK we have some code that blocks all editing and allows only comments to be added. It is located in the com.oxygenxml.sdksamples.reviewer.EditModeAuthorDocumentFilter package of the oxygen-sample-applet module. It is implemented for the Applet distribution but works equally we...
by cristi_talau
Fri Jun 03, 2016 5:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to I customize side panel and toolbar
Replies: 4
Views: 379

Re: How to I customize side panel and toolbar

Hello, In order to delete a side-view you can use the tutorial here. https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/18.0.0/jsdoc/tutorial-customview.html If you want to remove the actions from the toolbar you can use the same method as for deleting them from the context menu. Best, Cris...
by cristi_talau
Fri Jun 03, 2016 8:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add transform to PDF option in oxygen web author
Replies: 4
Views: 500

Re: Add transform to PDF option in oxygen web author

Hello, Thank you very much for your feedback. In the oXygen Author (desktop edition) we have a "View Final" mode which presents the document as if all the changes are accepted. We also have a "View Original" mode that considers all the changes rejected. This will allow your users...
by cristi_talau
Fri Jun 03, 2016 8:18 am
Forum: SDK-API, Frameworks - Document Types
Topic: Change editing options for Dita in Oxygen web author
Replies: 9
Views: 2204

Re: Change editing options for Dita in Oxygen web author

Hello, Those actions are added by the default DITA framework. You can use the Document Type Preferences dialog to remove those actions. You may need to delete them from "Author" > "Actions" tab as well as from the "Author" > "Context Menu" tab. Best, Cristian
by cristi_talau
Thu Jun 02, 2016 5:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Change editing options for Dita in Oxygen web author
Replies: 9
Views: 2204

Re: Change editing options for Dita in Oxygen web author

Hello, Regarding the actions you disabled. I am not sure which actions are still there. I guess that they are DITA-related actions. The best way to edit those is to configure the DITA framework as I described in a previous post using the Context Menu editor [1]. A less robust approach is to remove t...
by cristi_talau
Thu Jun 02, 2016 3:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add transform to PDF option in oxygen web author
Replies: 4
Views: 500

Re: Add transform to PDF option in oxygen web author

Hello, I am trying to understand your use-case better. In DITA, output generation is typically done on the DITA Map. If you transform a single topic and it has conrefs from another topic or references to other topics the output will contain broken links or missing parts. 1. Do your topics contain co...
by cristi_talau
Thu Jun 02, 2016 3:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Change editing options for Dita in Oxygen web author
Replies: 9
Views: 2204

Re: Change editing options for Dita in Oxygen web author

Hello, You should listen for the ACTIONS_LOADED_EVENT on the editor. In the event handler you should remove the action from the ActionsManager: editor.getActionsManager().unregisterAction(actionId) Note that the ACTIONS_LOADED_EVENT is triggered multiple times as actions are loaded incrementally. Be...
by cristi_talau
Wed Jun 01, 2016 10:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: Change editing options for Dita in Oxygen web author
Replies: 9
Views: 2204

Re: Change editing options for Dita in Oxygen web author

Hello, In order to remove DITA-related actions from the context, you can use the Contextual Menu editor in the Document Type Configuration dialog [1]. Regarding the PDF generation, you can setup a web service that generates the PDF from the DITA content. This web service will simply invoke the DITA-...
by cristi_talau
Tue May 31, 2016 5:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add transform to PDF option in oxygen web author
Replies: 4
Views: 500

Re: Add transform to PDF option in oxygen web author

Hello, oXygen XML Web Author does not include a publishing engine. If you want to quickly obtain a PDF file you can use the "Print" action in the "More"(triple dots) menu on the toolbar and choose to print it as a PDF. However, please note that the resulting PDF is not intended t...
by cristi_talau
Tue May 31, 2016 5:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Change editing options for Dita in Oxygen web author
Replies: 9
Views: 2204

Re: Change editing options for Dita in Oxygen web author

Hello, The documentation for integrations can be found in the user manual here [1]. Depending on the type of actions you want to add/remove in the context menu there are two approaches: 1. The actions are DITA-related. In this case you should edit the default DITA "framework". You can use ...
by cristi_talau
Wed May 11, 2016 6:27 pm
Forum: Common Problems
Topic: Action Disable
Replies: 3
Views: 400

Re: Action Disable

Hello, The status (enabled or disabled) of the actions is not updated automatically. You should call the "refreshActionsStatus" method of the actions manager to trigger a status refresh. Best, Cristian [1] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/18.0.0/jsdoc/sync.api.Ac...
by cristi_talau
Thu May 05, 2016 1:52 pm
Forum: Common Problems
Topic: Access to editor from outside
Replies: 3
Views: 403

Re: Access to editor from outside

Hello, You will need to inject some custom JavaScript code in the Web Author iframe. This can be done using a plugin as I explained in the previous post. This JS code should first get a reference to the editor once it is opened, e.g. goog.events.listen(workspace, sync.api.Workspace.EventType.EDITOR_...
by cristi_talau
Thu May 05, 2016 9:13 am
Forum: Common Problems
Topic: Access to editor from outside
Replies: 3
Views: 403

Re: Access to editor from outside

Hello, One way to have access to the editor is to implement a JS extension (ideally as a plugin). You can find more details about how to load your JS code in the editor page here [1]. In the JavaScript file that you load you can use our JavaScript API [2] to get the editor content and to check wheth...
by cristi_talau
Wed May 04, 2016 8:55 am
Forum: Common Problems
Topic: New Actions Toolbar
Replies: 4
Views: 693

Re: New Actions Toolbar

Hello, You can find here [1] a tutorial about implementing a new action. In order to add a new toolbar you have to listen for the "sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED" event [2] and modify the "actionsConfiguration" field of the event to match the desired structure ...
by cristi_talau
Fri Apr 29, 2016 2:23 pm
Forum: Common Problems
Topic: WebApp Response Message
Replies: 4
Views: 468

Re: WebApp Response Message

We are going to make this change in the next version of oXygen XML Web Author. If you want this functionality in 18.0 you will need to patch our WebDAV plugin available on GitHub [1] and install it in Web Author [2]. You will have to use webdav-http instead of http when passing the URL to the Web Au...
by cristi_talau
Wed Apr 27, 2016 4:26 pm
Forum: Common Problems
Topic: WebApp Response Message
Replies: 4
Views: 468

Re: WebApp Response Message

Hello, To be sure I understand your context: you are using oXygen XML Web Author 18.0.0 (as part of the SDK) and using the "http" or "webdav" protocol to load and save document. Right? In Web Author we currently ignore the server response on HTTP requests since sometimes it conta...
by cristi_talau
Wed Mar 23, 2016 3:59 pm
Forum: Common Problems
Topic: WebApp Autosave and Smartquotes bugs
Replies: 6
Views: 748

Re: WebApp Autosave and Smartquotes bugs

Hello, Thanks for sharing your solution! A solution which in essence is the same as yours, but is intended to be used from a plugin.js file and which uses uses only the API is the following: goog.events.listen(workspace, sync.api.Workspace.EventType.EDITOR_LOADED, function(e) { setInterval(function(...
by cristi_talau
Wed Mar 16, 2016 5:23 pm
Forum: Common Problems
Topic: WebApp Autosave and Smartquotes bugs
Replies: 6
Views: 748

Re: WebApp Autosave and Smartquotes bugs

Hello,

We released the SDK project version 17.1.0.4. It contains the fix for the smart quotes problem.

You can use it by changing the oxygen.sdk.version in the pom.xml of your SDK project to 17.1.0.4. After that you should rebuild the SDK project.

Best,
Cristian
by cristi_talau
Mon Mar 14, 2016 3:21 pm
Forum: Common Problems
Topic: WebApp Autosave and Smartquotes bugs
Replies: 6
Views: 748

Re: WebApp Autosave and Smartquotes bugs

Hello, Regarding the first issue with the "autosave" option. I confirm that it is not currently supported in Web Author. It is on our priority list, but since the 18.0 release will be out very soon I cannot promise it may be postponed for the next version. Regarding the smart quotes issue,...

Go to advanced search