Search found 1008 matches

by alex_jitianu
Tue May 05, 2015 11:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: findNodesByXPath within resolveReference unreliable
Replies: 3
Views: 2849

Re: findNodesByXPath within resolveReference unreliable

Hello Patrik,

In this situation, the resolve references call comes before the node is fully connected in the document. Fortunately the node is linked to its parent so you can use node.getParent() instead.

Best regards,
Alex
by alex_jitianu
Mon May 04, 2015 10:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: Deplying oxygen-sdk-sample-webapp fails on start
Replies: 3
Views: 2604

Re: Deplying oxygen-sdk-sample-webapp fails on start

Hi, Most likely the webapp fails to start because there is no license found. It should also complain about the license in the log. I will talk to our sales department to send you a license to get you started. The error you spotted is benign. The plugin API is not entirely supported in the webapp and...
by alex_jitianu
Tue Apr 28, 2015 3:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Load xml file "weak"-schema-aware
Replies: 4
Views: 2499

Re: Load xml file "weak"-schema-aware

Hi Patrik, If not expanding external entities is also a desired effect you can do it like this: boolean fakeResolver = false; boolean noExpand = true; boolean namespaceAware = true; URL schemaUrl = null; boolean schemaAware = true; boolean forceXIncludeAndBaseURIFixup = false; boolean dynamicValidat...
by alex_jitianu
Tue Apr 28, 2015 2:43 pm
Forum: Feature Request
Topic: oxy_datePicker() and ISO dates
Replies: 1
Views: 2067

Re: oxy_datePicker() and ISO dates

Hello, Is there any aspect that decides which format will be used (like maybe an attribute on the element or a certain value for an attribute) or is it just that you sometimes don't know the whole date? The date picker doesn't accept multiple formats. All you can do is disable the format validation ...
by alex_jitianu
Mon Apr 27, 2015 10:55 am
Forum: Other Issues
Topic: Using the SDK
Replies: 3
Views: 2093

Re: Using the SDK

Hello Scott, Yes, it's true that the SDK talks a lot about Author mode but the Author component , which can be deployed as a Java applet, also has the text editing mode. After you follow the SDK install procedure, take a look inside project oxygen-sample-applet . This sample also has the text editin...
by alex_jitianu
Mon Apr 27, 2015 10:16 am
Forum: SDK-API, Frameworks - Document Types
Topic: Load xml file "weak"-schema-aware
Replies: 4
Views: 2499

Re: Load xml file "weak"-schema-aware

Hello Patrik, It appears that the default error handler is the one that when notified, decides to trow an exception. You can set an error handler that just ignores the received notifications: DocumentBuilder newDocumentBuilder = ParserCreator.newSchemaAwareDocumentBuilder(); newDocumentBuilder.setEr...
by alex_jitianu
Wed Apr 22, 2015 4:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Personal Framework
Replies: 1
Views: 1503

Re: Personal Framework

Hello Jamie, 1. Is this framework, by any chance, an extension of a built-in framework? If so, the base built-in framework should be present in order for it to work. 2. Is the framework presented in the Document Type associations page from Preferences ? 3. Open an XML from your vocabulary, go to Win...
by alex_jitianu
Wed Apr 22, 2015 12:35 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Applet doens't load our CSS
Replies: 1
Views: 1683

Re: Oxygen Applet doens't load our CSS

Hi Damien, Does it say anything else on why the CSS wasn't loaded? For example if the CSS is not found you should see something like: Cannot load the associated CSS file(s). The error was: '...dita.css' (The system cannot find the file specified) If the CSS is loaded fine in Desktop version, please ...
by alex_jitianu
Fri Apr 17, 2015 9:33 am
Forum: Other Issues
Topic: System variables in actions
Replies: 3
Views: 1731

Re: System variables in actions

Hello Stefan, Indeed, this operation doesn't expand editor variables although I believe it should. Hopefully I'll be able to fix this for version 17.0 (there's not much time left till the release). Luckily this operation is public API so you can make the necessary change yourself, like this: 1. crea...
by alex_jitianu
Tue Apr 14, 2015 10:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS changes in oXygen eclipse 16.1!!
Replies: 11
Views: 5245

Re: CSS changes in oXygen eclipse 16.1!!

Hello Shabeer, I've sent you some code and advices on your email address. According to your requirements, an alternative solution would be to listen for mouse or caret events and present the tooltip in a Shell as per the code below: final WSEditor ed = (WSEditor) activePart; final WSAuthorEditorPage...
by alex_jitianu
Tue Apr 14, 2015 9:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: ${ask()} dynamic default values on transformation
Replies: 2
Views: 1941

Re: ${ask()} dynamic default values on transformation

Hello,

Starting with the next Oxygen version (17.0) you will be able to provide such dynamic values. We've just released a 17.0 beta so if you are interested in giving it a try, please write us an email on support@oxygenxml.com.

Best regards,
Alex
by alex_jitianu
Fri Apr 10, 2015 10:28 am
Forum: Common Problems
Topic: Mirroring oxygen maven repository
Replies: 1
Views: 1152

Re: Mirroring oxygen maven repository

Hello,

Sure, you can create an internal mirror and a local repository.

Best regards,
Alex
by alex_jitianu
Fri Apr 10, 2015 10:16 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS changes in oXygen eclipse 16.1!!
Replies: 11
Views: 5245

Re: CSS changes in oXygen eclipse 16.1!!

Hello Shabeer, We've release a beta build for version 17.0. In the version 17.0 we added a form control that can render HTML and you can use it to present hints next to an element. We've used it for the DITA framework. For DITA you can now activate a "Hints" layer that will contribute with...
by alex_jitianu
Fri Apr 10, 2015 9:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS changes in oXygen eclipse 16.1!!
Replies: 11
Views: 5245

Re: CSS changes in oXygen eclipse 16.1!!

Hello Shabeer, oxy_name is not extensible. What exactly do you want to change to it? Maybe you can use oxy_xpath() instead. oxy_editor is a shorthand for a number of form controls (text field, combo box). Which one would you need as a starting point and what would you like to change to it? (they hav...
by alex_jitianu
Thu Apr 09, 2015 3:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS changes in oXygen eclipse 16.1!!
Replies: 11
Views: 5245

Re: CSS changes in oXygen eclipse 16.1!!

Hello Shabeer,

I'm not sure about do you mean by "the existing function". Can you give me more details?

Best regards,
Alex
by alex_jitianu
Wed Apr 08, 2015 1:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: TextContentIterator return processing instructions?
Replies: 2
Views: 2088

Re: TextContentIterator return processing instructions?

Hello Daniel, You can check the context node and skip PIs like this: TextContext next = textContentIterator.next(); AuthorNode nodeAtOffset = docController.getNodeAtOffset(next.getTextEndOffset()); if (nodeAtOffset.getType() != AuthorNode.NODE_TYPE_PI) { System.out.println(next.getText()); } Best re...
by alex_jitianu
Wed Apr 08, 2015 9:19 am
Forum: SDK-API, Frameworks - Document Types
Topic: java.lang.ClassCastException while debugging plugin
Replies: 2
Views: 2215

Re: java.lang.ClassCastException while debugging plugin

Hello Dirk,

Yes, you are right. I will make the required changes. We already added some clarifications in that topic but we didn't notice the part with the compiled classes folder.

Best regards,
Alex
by alex_jitianu
Thu Apr 02, 2015 3:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Implementing addMenuBarCustomizer
Replies: 5
Views: 2018

Re: Implementing addMenuBarCustomizer

Hi Glen,

Please send it on support@oxygenxml.com. You could also send the zipped Eclipse project folder so I can make sure it has the correct structure. You can rest assure that I will use it only to look for the issue and remove it afterwards.

Best regards,
Alex
by alex_jitianu
Thu Apr 02, 2015 10:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Implementing addMenuBarCustomizer
Replies: 5
Views: 2018

Re: Implementing addMenuBarCustomizer

Hello, I've tested the code you provided by changing the oxygen-sample-plugin-workspace-access project from the SDK. Afterwards I've created the plugin package by running *mvn install* and unzipped the package in the plugins folder of an Oxygen installation. The menu appeared in the menu bar so the ...
by alex_jitianu
Mon Mar 30, 2015 10:21 am
Forum: SDK-API, Frameworks - Document Types
Topic: Adding custom dialog from element drop down menu in author v
Replies: 2
Views: 2172

Re: Adding custom dialog from element drop down menu in auth

Hello Eric, Let's make sure I've fully understood your scenario. You want to contribute an action to the content completion window. When this action is pressed it should present a dialog for user interaction. The action should also be presented only in specific contexts. If these assumptions are cor...
by alex_jitianu
Thu Mar 26, 2015 4:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing oxygen eclipse
Replies: 21
Views: 8355

Re: Customizing oxygen eclipse

Hi Shabeer, Please let us know how we can change SNAPSHOT 1.0 to 1.0?If I directly change, I am getting error. I understand that you tried changing the version directly oxygen-sample-eclipse-plugin\pom.xml ? If you just add a new version tag instead of modifying the parent one, it should work: <proj...
by alex_jitianu
Mon Mar 23, 2015 4:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Show SPACE marks programmatically
Replies: 5
Views: 3422

Re: Show SPACE marks programmatically

Hello Peter, This is strange. I've implemented such an operation myself and test it and it worked. I've tested on a DITA document. I've edited the DITA document type in Oxygen Preferences and created an author action over this operation. I've added it on the toolbar and it toggled the spaces display...
by alex_jitianu
Mon Mar 23, 2015 11:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: Show SPACE marks programmatically
Replies: 5
Views: 3422

Re: Show SPACE marks programmatically

Hello Peter,

Are you adding the action from a Workspace Access plugin or from the author operation?
Best regards,
Alex
by alex_jitianu
Mon Mar 23, 2015 9:56 am
Forum: General XML Questions
Topic: Form controls and HTML/XHTML output
Replies: 3
Views: 3148

Re: Form controls and HTML/XHTML output

Hello, I just want to add that if form based editing is what you are interested in, that feature is also available in the Author Applet . As far as licensing is concerned, the Webapp will work on a slightly different licensing model. You will need floating licenses so you wont need to buy a named ba...
by alex_jitianu
Fri Mar 20, 2015 4:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Show SPACE marks programmatically
Replies: 5
Views: 3422

Re: Show SPACE marks programmatically

Hello Peter, We have a recorded issue to provide such a built-in action ourselves. Until then, it can be done using the Java based API. Would you like this action to be presented for the Author page or for both the Author and Text page? Depending on your answer yo can: 1. only for the Author page. Y...
by alex_jitianu
Fri Mar 20, 2015 2:47 pm
Forum: General XML Questions
Topic: Form controls and HTML/XHTML output
Replies: 3
Views: 3148

Re: Form controls and HTML/XHTML output

Hello, I guess that your users will work inside the Author mode/page. The layout and formatting of the author mode is based on CSS so you can control how/what the users sees from the XML document just by writing a couple of CSS rules. You can build what you described right on top of the XML file wit...
by alex_jitianu
Fri Mar 20, 2015 1:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: get key value from keyref
Replies: 5
Views: 2893

Re: get key value from keyref

Hello Xavier,

Can you send me some small DITA samples on support@oxygenxml.com so I can test it myself and draw a conclusion?

Best regards,
Alex
by alex_jitianu
Fri Mar 20, 2015 12:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: get key value from keyref
Replies: 5
Views: 2893

Re: get key value from keyref

Hello Xavier, I believe you can get what you want like this: LinkedHashMap<String, KeyInfo> keys = DITAAccess.getKeys(originatorURL); MetaContentProvider metaContentProvider = keys.get("myKey").getMetaContentProvider(); if (metaContentProvider != null) { String content = metaContentProvide...
by alex_jitianu
Wed Mar 18, 2015 5:13 pm
Forum: Common Problems
Topic: Frameworks directory: Maximal path length?
Replies: 2
Views: 1469

Re: Frameworks directory: Maximal path length?

Hello Frank, As far as I know we don't have any such limitation. I've tried myself using a path of about the same length and the frameworks were loaded. I do remember reading that Windows has a file path limit of about 256 but that's larger than the one you used... This path must refer the framework...
by alex_jitianu
Mon Mar 16, 2015 9:54 am
Forum: Feature Request
Topic: Be able to sort DITA Simple List Items
Replies: 5
Views: 3912

Re: Be able to sort DITA Simple List Items

Hello Lief, When you fully select an sl element the caret is positioned after it and the activation XPath doesn't work anymore. You can cover this situation with this activation XPath: When this XPath expression is true: oxy:current-selected-element()[contains(@class," topic/sl ")] or ance...