Search found 1009 matches

by alex_jitianu
Mon Aug 05, 2013 10:23 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS property link is broken in Oxygen 15?
Replies: 5
Views: 3440

Re: CSS property link is broken in Oxygen 15?

Hello, The CSS rule looks correct so it must be something else. The first thing you should check is if the ref element on which the link is not functioning has indeed a ziel attribute. One situation in which the behavior you described can happen is when the link can't be computed. In your case there...
by alex_jitianu
Thu Aug 01, 2013 11:21 am
Forum: Other Issues
Topic: Programmatically Saving to a Project
Replies: 3
Views: 1658

Re: Programmatically Saving to a Project

Hello, Unfortunately there is no API to add a file to the project. I'll add a feature request on our internal issue tracker to add such an API. Any additional details you can provide about your use case will help us define more precisely this API, like: - there are two types of folders in the projec...
by alex_jitianu
Thu Aug 01, 2013 10:24 am
Forum: Common Problems
Topic: How to view xhtml body content in Bangla
Replies: 10
Views: 5087

Re: How to view xhtml body content in Bangla

Hi,

Sorry I forgot to mention that you should send the file on the support email address: support@oxygenxml.com.

We managed to reproduce the issue by following the steps you described so there is no need to send the options file.

Thank you,
Alex
by alex_jitianu
Wed Jul 31, 2013 9:27 am
Forum: Common Problems
Topic: How to view xhtml body content in Bangla
Replies: 10
Views: 5087

Re: How to view xhtml body content in Bangla

Hello, You have to identify and delete the options file. Before deleting it please make a copy and send it to us so that we can analyze what it's the problem. Depending on the platform the options folder is located as follows: - Windows XP - [user-home-folder]\Application Data\com.oxygenxml - Window...
by alex_jitianu
Tue Jul 30, 2013 10:55 am
Forum: Other Issues
Topic: Create element with custom button
Replies: 2
Views: 2488

Re: Create element with custom button

Hello, The buttons are one of the built in form controls supported by Oxygen: http://www.oxygenxml.com/doc/ug-author/#concepts/dg-editor-function.html http://www.oxygenxml.com/doc/ug-author/#concepts/button-editor.html A button binds itself to an author action and when the button is pressed the acti...
by alex_jitianu
Mon Jul 29, 2013 10:15 am
Forum: Common Problems
Topic: How to view xhtml body content in Bangla
Replies: 10
Views: 5087

Re: How to view xhtml body content in Bangla

Hello, The boxes that you see are an indication that the used font doesn't know how to render those characters. The first thing you should do is to identify a font that supports the Bangala language. I have found one here: http://www.omicronlab.com/bangla-fonts.html . After installing the font resta...
by alex_jitianu
Mon Jul 29, 2013 9:59 am
Forum: Common Problems
Topic: Conref Content not appearing in Output
Replies: 3
Views: 1622

Re: Conref Content not appearing in Output

Hello, The content that doesn't appear in the output is by any chance profiled? Do you use any profiling attributes on that conref (audience, platform, product)? You should also check the Transformation Scenario, on the Filters tab and see if you are using a DITAVAL file or an existing Profiling con...
by alex_jitianu
Wed Jul 17, 2013 12:18 pm
Forum: Feature Request
Topic: Generate IDs through menu (not right-click)
Replies: 2
Views: 1920

Re: Generate IDs through menu (not right-click)

Hello, The DITA menu is customizable so you can add the Generate IDs action in it. Just go to Option->Preferences... and on the Document Type Associations page edit the DITA document type. Go into the Author , Menu tabs. In the Available actions table locate the action with ID generate.ids and use t...
by alex_jitianu
Tue Jul 16, 2013 10:53 am
Forum: Other Issues
Topic: executing XPath after XInclude
Replies: 2
Views: 2716

Re: executing XPath after XInclude

Hello, The oxy_xpath function doesn't go into XInclude content so as you discovered you can't use it for elements from inside the XInclude. First you should check the supported CSS selectors just in case you can express the condition just by selector alone. For example, assuming you already know the...
by alex_jitianu
Mon Jul 15, 2013 10:40 am
Forum: Other Issues
Topic: Oxygen Form Controls Alignment Issues
Replies: 1
Views: 1079

Re: Oxygen Form Controls Alignment Issues

Hello, The first thing to do would be to check if the custom form control reports a baseline. The InplaceRenderer interface has a method getRenderingInfo() . The returned object, RendererLayoutInfo , has a RendererLayoutInfo.getBaseline() . If this method returns an integer less or equal to 0 then t...
by alex_jitianu
Mon Jul 08, 2013 11:49 am
Forum: Common Problems
Topic: Oxygen selection plugin Classnotfoundexception
Replies: 2
Views: 1294

Re: Oxygen selection plugin Classnotfoundexception

Hello, The first thing you should check is if your plugin.xml file has a runtime entry to your jar, something like this: <runtime> <library name="lib/caplines.jar"/> </runtime> If this entry exists then you should check if the jar really contains those classes. To do that you could just op...
by alex_jitianu
Wed Apr 17, 2013 9:30 am
Forum: Common Problems
Topic: How can I disable inline editing of a tag's text while still allowing oxy_editor support?
Replies: 1
Views: 1157

Re: How can I disable inline editing of a tag's text while still allowing oxy_editor support?

Hi, I suggest implementing an ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandlerAdapter. On methods handleTyping() and handlePasteFragment() you should reject the edit in "mytag" element, something like: try { AuthorNode nodeAtOffset = authorAccess.getDocumentController().getNodeA...
by alex_jitianu
Mon Apr 08, 2013 11:49 am
Forum: XSLT and FOP
Topic: xspec coverage
Replies: 1
Views: 1789

Re: xspec coverage

Hi Lauren, Unfortunately the code coverage feature is not yet supported in oXygen. I've added a feature request to add this functionality on a next version. Until it becomes available you'll have to use the command line tool to generate a code coverage report. Instructions on how to do that can be f...
by alex_jitianu
Wed Mar 20, 2013 3:34 pm
Forum: Other Issues
Topic: oxy-label()
Replies: 12
Views: 5160

Re: oxy-label()

Hi, I've added an improvement request to enable line breaks support in oxy_label. Until then, as a workaround, you could split the text by line breaks and create a LabelContent for each token and a StringContent for each line break, like this: StaticContent[] content = new StaticContent[] { new Labe...
by alex_jitianu
Mon Feb 04, 2013 11:14 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-generate topicref attributes based on topic type
Replies: 5
Views: 3082

Re: auto-generate topicref attributes based on topic type

Hi, Currently there is no way to automatically configure these attributes. I've added a feature request to provide this level of customization. As a side note, your values for the "format" and "scope" attributes are actually the default values and because Oxygen leaves these unto...
by alex_jitianu
Wed Jan 30, 2013 4:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Combobox form component in CSS
Replies: 4
Views: 3596

Re: Combobox form component in CSS

Hi, It may help to use the tooltips property to provide those labels as tooltips: security { content: "Security level : " oxy_editor( type, combo, edit, "@securityClassification", editable, true, values, "01, 02, 03, 04", tooltips, "NOT PROTECTED, RESTRICTED, CONFI...
by alex_jitianu
Wed Jan 30, 2013 3:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Combobox form component in CSS
Replies: 4
Views: 3596

Re: Combobox form component in CSS

Hi, You get this behavior because you have an editable combo box. The problem is that once the user can manually edit the value it must see the real value, not just a label. Is the user supposed to provide custom values? Because if it isn't, just mark the combo as read-only (using the editable prope...
by alex_jitianu
Mon Jan 28, 2013 11:49 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-generate DITA topic id from its file name
Replies: 7
Views: 5633

Re: auto-generate DITA topic id from its file name

Hi, Unfortunately you can't use file based editor variables inside a file template. But I have added a feature request to support them too. Meanwhile, as an workaround, you could create an author action that changes the ID attribute value. To create an author action you'll have to go to page Prefere...
by alex_jitianu
Wed Dec 12, 2012 10:31 am
Forum: General XML Questions
Topic: need method to extract element with particular name-value pair
Replies: 4
Views: 3516

Re: need method to extract element with particular name-value pair

Hi, Variables can't be updated. This means you can't write something like let $x := $x+1. In XQuery you can simulate mutable variables using recursive functions. This means a function can pass in a modified value to the next function invocation in place of the value they already have. It more or les...
by alex_jitianu
Tue Nov 20, 2012 12:29 pm
Forum: Other Issues
Topic: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
Replies: 9
Views: 4045

Re: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)

Hello Simon, The first parameter of the URIContent constructor must be an absolute system ID that will be used to resolve the relative reference. You said that the image is relative to the location of the XML file so you can get the absolute system id of the XML like in the code below: if (authorNod...
by alex_jitianu
Fri Nov 16, 2012 11:28 am
Forum: Other Issues
Topic: how can I get the position (line, column) from an XPath?
Replies: 14
Views: 7512

Re: how can I get the position (line, column) from an XPath?

Hi Sebastien, There should be no need for you to set the line and column, the node should be highlighted automatically. But as you already noticed the node isn't highlighted. We will add an issue and see what the problem is. Regarding the possible workarounds, there is no API to obtain a line and co...
by alex_jitianu
Fri Nov 16, 2012 9:48 am
Forum: Other Issues
Topic: How to debug Plugin from eclipse
Replies: 1
Views: 1125

Re: How to debug Plugin from eclipse

Hi, First of all you must tell Oxygen to look for plugins in the location where you develop the plugin. You can do that by setting the system property "com.oxygenxml.editor.plugins.dir". Then add to the plugin's classpath the directory where Eclipse has compiled your classes. You can do th...
by alex_jitianu
Thu Nov 15, 2012 6:30 pm
Forum: Other Issues
Topic: variables in XSLTOperation
Replies: 2
Views: 1540

Re: variables in XSLTOperation

Hi Tolliver, You may also find it interesting to save your script file in the directory of your framework and use as *script* the following driver: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0&...
by alex_jitianu
Thu Nov 15, 2012 5:34 pm
Forum: Other Issues
Topic: variables in XSLTOperation
Replies: 2
Views: 1540

Re: variables in XSLTOperation

Hi Tolliver, I suspect that the XSLTOperation's sourceLocation parameter is empty. As a result, the input for the stylesheet will be the element at caret position and you will not be able to access any other nodes from the original document. So the first step is to set parameter sourceLocation to be...
by alex_jitianu
Wed Nov 14, 2012 6:30 pm
Forum: Other Issues
Topic: how can I get the position (line, column) from an XPath?
Replies: 14
Views: 7512

Re: how can I get the position (line, column) from an XPath?

Hi Sebastien,

If you create an AuthorDocumentPositionedInfo over an AuthorNode then the given node will be automatically underlined in the author page. Why do you need to map that node into a line and column?

Best regards,
Alex
by alex_jitianu
Wed Nov 14, 2012 5:28 pm
Forum: Other Issues
Topic: how can I get the position (line, column) from an XPath?
Replies: 14
Views: 7512

Re: how can I get the position (line, column) from an XPath?

Hi Sebastien, I've just corrected the missing Java Doc entries. Until a new build is available here are the signatures for the two available constructors: /** * Constructor. * * @param severity Severity. One of the severity constants form class DocumentPositionedInfo: * SEVERITY_ERROR, SEVERITY_FATA...
by alex_jitianu
Fri Nov 09, 2012 1:47 pm
Forum: Other Issues
Topic: AuthorSchemaManager for validating AuthorDocumentFragments
Replies: 3
Views: 1965

Re: AuthorSchemaManager for validating AuthorDocumentFragments

Hi Simon,

This is a good opportunity to review a little our documentation. I've already added an issue to correct the JavaDoc as well as providing more information about the two methods. Method createNewDocumentTextFragment's documentation is also extremely vague.

Best regards,
Alex
by alex_jitianu
Fri Nov 09, 2012 9:49 am
Forum: Other Issues
Topic: AuthorSchemaManager for validating AuthorDocumentFragments
Replies: 3
Views: 1965

Re: AuthorSchemaManager for validating AuthorDocumentFragments

Hi Simon, The ro.sync.ecss.extensions.api.AuthorDocumentController.createNewDocumentTextFragment(String) method creates a text fragment, even if the string you provide represents an XMl content. What you can do is to use the following method that creates an AuthorDocumentFragment representing an XML...
by alex_jitianu
Wed Oct 31, 2012 3:47 pm
Forum: Other Issues
Topic: Form controls: Simple way to "Edit" a document
Replies: 3
Views: 2399

Re: Form controls: Simple way to "Edit" a document

Hi, I agree that it's a bit of an overhead but this is not something that an author should do. A developer should implement this operation, update the framework to declare the action and the CSS to add the button. Then it should pack the framework and deliver it to the authors (perhaps through the a...
by alex_jitianu
Tue Oct 30, 2012 4:00 pm
Forum: Other Issues
Topic: Form controls: Simple way to "Edit" a document
Replies: 3
Views: 2399

Re: Form controls: Simple way to "Edit" a document

Hi, In order to add a button just change the CSS into something like: image[outputclass~="osa/slide"]:before { content: "Slide: " oxy_editor( type, urlChooser, edit, "@href", columns, 40) "Edit: " oxy_editor( type, button, actionID, "my.edit.action")...