Search found 329 matches

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

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

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: 5
Views: 1730

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 to see a clean copy...
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: 4353

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

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: 5
Views: 1730

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

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

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: 5
Views: 1730

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 to be published. If y...
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: 4353

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 an oXygen ...
by cristi_talau
Wed May 11, 2016 6:27 pm
Forum: Common Problems
Topic: Action Disable
Replies: 3
Views: 1067

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.ActionsManag...
by cristi_talau
Thu May 05, 2016 1:52 pm
Forum: Common Problems
Topic: Access to editor from outside
Replies: 3
Views: 1033

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

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

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 for your toolbars. B...
by cristi_talau
Fri Apr 29, 2016 2:23 pm
Forum: Common Problems
Topic: WebApp Response Message
Replies: 4
Views: 1287

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

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 contains an entire HTML p...
by cristi_talau
Wed Mar 23, 2016 3:59 pm
Forum: Common Problems
Topic: WebApp Autosave and Smartquotes bugs
Replies: 6
Views: 1966

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

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

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, I can rep...
by cristi_talau
Fri Dec 11, 2015 11:54 am
Forum: SDK-API, Frameworks - Document Types
Topic: Toolbars and context menus in WebApp
Replies: 3
Views: 1929

Re: Toolbars and context menus in WebApp

Hello, You'll have to annotate and re-compile only your custom operations. This annotation is intended to tell us whether the actions are webapp-compatible or not. For example, if you show a swing dialog while performing one of the operations, it will not work in webapp, so you may want to disable t...
by cristi_talau
Thu Dec 10, 2015 1:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Toolbars and context menus in WebApp
Replies: 3
Views: 1929

Re: Toolbars and context menus in WebApp

Hello, One possible cause is that your custom actions use custom Java operations. These Java operations need to be annotated with @WebappCompatible in order to be used in WebApp. More details here [1]. If you added some JS code to your framework, it may help looking for errors in the browser console...
by cristi_talau
Thu Jul 16, 2015 3:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen web app customization!
Replies: 3
Views: 1768

Re: Oxygen web app customization!

Hello, The problem with 16.1 is that it does not have a toolbar and context menu. These are features we added in 17.0. Anyway, I don't see any problems in having an extension for oXygen Eclipse plugin 16.1 and one for oXygen XML WebApp 17.0 - you can still reuse a lot of code between them. The Java ...
by cristi_talau
Tue Jul 07, 2015 11:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen web app customization!
Replies: 3
Views: 1768

Re: Oxygen web app customization!

Hello, oXygen XML WebApp can be customized using plugins [1] which have the same format as oXygen Standalone plugins. They are similar but different from Eclipse plugins. In order to add libraries to the classpath you can check the "Referencing Libraries" section here [2]. The GUI of the custom acti...
by cristi_talau
Mon May 04, 2015 9:47 am
Forum: Other Issues
Topic: Using the SDK
Replies: 3
Views: 1617

Re: Using the SDK

Hello, Regarding the oXygen Author WebApp support for text mode, as Alex said, a full-featured Text mode is not a priority for us right now. However, we plan to support an Author-mode action that is available when you right-click an XML element (e.g. paragraph, section, etc.) and edits its content i...
by cristi_talau
Tue Sep 23, 2014 12:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to deploy oxygen-sdk-sample-webapp.war?
Replies: 2
Views: 1763

Re: How to deploy oxygen-sdk-sample-webapp.war?

Hello Frank, Thanks for taking time to try our WebApp product. It seems you managed to do the hard part - building the oxygen-sdk-sample-webapp.war file. The deployment is not detailed in the documentation because is very sever-specific. For Tomcat, you basically have to drop the war file in the web...
by cristi_talau
Wed Sep 10, 2014 3:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK usage
Replies: 7
Views: 3821

Re: SDK usage

Hello, First of all please make sure that the "options.xml" and "application.layout" are not inside the "template" folder; they should be next to it. Secondly, I noticed a bug in our SDK. The options.xml and application.layout and the template folder don't get included in the plugin artifact. In ord...
by cristi_talau
Tue Sep 09, 2014 2:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK usage
Replies: 7
Views: 3821

Re: SDK usage

Hello, The error you are getting seems to be related to network connectivity. Maven requires an Internet connection in order to download the archetype from the Maven central repository. In order to troubleshoot the networking problem please check the following things: - The <proxy> tag should be add...
by cristi_talau
Fri Sep 05, 2014 3:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK usage
Replies: 7
Views: 3821

Re: SDK usage

Hello, In order to integrate with the oXygen Eclipse plugin you should develop another Eclipse plugin which communicates with the oXygen plugin. You have to declare a dependency between your plugin and the oXygen plugin by adding a "Require-Bundle: com.oxygenxml.editor" entry in your MANIFEST.MF fil...
by cristi_talau
Thu Sep 04, 2014 4:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK usage
Replies: 7
Views: 3821

Re: SDK usage

Hello, Starting from version 16.0, oXygen provides the SDK as a Maven archetype. You can use it to create projects for any kind of oXygen customization including plugins for the standalone distribution, plugins Eclipse IDE integration, frameworks. More details about all kinds of customizations can b...