Search found 673 matches

by alex_jitianu
Mon Jul 29, 2013 9:59 am
Forum: Common Problems
Topic: Conref Content not appearing in Output
Replies: 3
Views: 763

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

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

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

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

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 open the jar...
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: 565

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().getNodeAtOffset(of...
by alex_jitianu
Mon Apr 08, 2013 11:49 am
Forum: XSLT and FOP
Topic: xspec coverage
Replies: 1
Views: 986

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

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

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 untouched, you will obta...
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: 2132

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, CONFIDENTIAL DEFENSE, SECRET DEFENSE/RES...
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: 2132

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

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

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

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

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

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 that by edit...
by alex_jitianu
Thu Nov 15, 2012 6:30 pm
Forum: Other Issues
Topic: variables in XSLTOperation
Replies: 2
Views: 805

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"> <xsl:import href="xslt_operation....
by alex_jitianu
Thu Nov 15, 2012 5:34 pm
Forum: Other Issues
Topic: variables in XSLTOperation
Replies: 2
Views: 805

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

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

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

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

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

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

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"); background-color: yellow; display: block; } A bu...
by alex_jitianu
Tue Aug 21, 2012 1:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problems with frameworks in Oxygen 14
Replies: 17
Views: 5748

Re: Problems with frameworks in Oxygen 14

Hi Stefan, We want to avoid checking for updates to often so we'll check once in four application launches. So the user will get notified, but not always as soon as the update is uploaded. The user can always use "Help->Check for add-ons updates..." to manually check for any updates. Do you believe ...
by alex_jitianu
Tue Aug 21, 2012 9:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: Problems with frameworks in Oxygen 14
Replies: 17
Views: 5748

Re: Problems with frameworks in Oxygen 14

Hi Stefan, 2) You are right, all these $framework variables, when used outside of a document type will expand to the defaults. But I understand the need to refer from outside of a document type a certain framework location. I will add an improvement request to provide a new variable like ${framework...
by alex_jitianu
Mon Aug 20, 2012 2:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problems with frameworks in Oxygen 14
Replies: 17
Views: 5748

Re: Problems with frameworks in Oxygen 14

Hello Stefan, 1) Please check if the add-on archive contains the root directory of the framework. The behavior you describe can happen if instead of archiving the framework's root directory you've archived the containing files. If the archive has the correct structure you don't have to set anything ...
by alex_jitianu
Fri Jun 22, 2012 9:48 am
Forum: Common Problems
Topic: Errors after installing the latest TEI framework
Replies: 1
Views: 927

Re: Errors after installing the latest TEI framework

Hi,

The latest TEI framework build available for download is compatible only with Oxygen v14 that will be released very soon. Unfortunately we forgot to specify this. I've marked the build accordingly and I've also uploaded a new build that is compatible with Oxygen v13.

Best regards,
Alex
by alex_jitianu
Mon Dec 05, 2011 9:59 am
Forum: Common Problems
Topic: shorten long weblinks
Replies: 4
Views: 2010

Re: shorten long weblinks

Hello,

As an alternative, you could enter a shorter link description inside the XREF element. Instead of an empty element, just use :

Code: Select all

<xref href="http://www.oxygenxml.com/forum/topic6490.html" format="html" scope="external">topic6490.html</xref>
.

Regards,
Alex
by alex_jitianu
Fri Dec 02, 2011 6:06 pm
Forum: Common Problems
Topic: shorten long weblinks
Replies: 4
Views: 2010

Re: shorten long weblinks

Hello, I was under the impression that your question referred to displaying the XML in oXygen Author page so I gave an answer for that. My mistake. You are actually referring to the html output of an WebHelp transformation? If that is the case, you should probably intervene inside the XSL stylesheet...