Search found 9044 matches

by Radu
Thu Jun 14, 2012 3:47 pm
Forum: Other Issues
Topic: How to style StringContent with the ro.sync.ecss.css.Styles class
Replies: 16
Views: 6837

Re: How to style StringContent with the ro.sync.ecss.css.Styles class

Hi Simon, I putted this code into the dita.css in your frameworks/dita/css_classed/dita.css Unfortunately I cannot see any orange "OXY PI" text in the Author view of the editor, so there must be something wrong. In the Oxygen Preferences-> Editor / Edit modes / Author page did you select t...
by Radu
Thu Jun 14, 2012 3:36 pm
Forum: Other Issues
Topic: Drop objects onto the XML editor.
Replies: 2
Views: 2800

Re: Drop objects onto the XML editor.

Hi Simon, Yes, you can get from the drop event the X and Y coordinates and translate them to an offset in the Author page. But it's not as simple as it should be, we should probably add some API to translate this point which comes in screen coordinates to a certain offset (the correctDropLocation me...
by Radu
Thu Jun 14, 2012 12:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener - Can't get my objet
Replies: 4
Views: 3337

Re: AuthorDnDListener - Can't get my objet

Hi Nicolas, On a developer point of view, I think the separation between plugin and framework is not always suitable because plugin (ie. view) and framework is tightly coupled. I agree with this and you are not the only ones having such problems. We'll try to make some improvements in this area afte...
by Radu
Wed Jun 13, 2012 5:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener - Can't get my objet
Replies: 4
Views: 3337

Re: AuthorDnDListener - Can't get my objet

Hi Sebastien, You have a custom view contributed by a plugin and you somehow drag and drop content from it to the Author page, correct? So you probably have a JAR library containing the com._4dconcept.docAdvance.authorNeo.plugin.views.tools.SpareTool class which you have added both to the plugin.xml...
by Radu
Wed Jun 13, 2012 5:01 pm
Forum: Other Issues
Topic: Custom Action XPath
Replies: 1
Views: 1083

Re: Custom Action XPath

Hi Neil, The context for the XPath expression used to activate a certain action is the element at the caret position. Such cases like detecting if the selection contains certain elements cannot be expressed using just an XPath expression. You should probably try to set a very permissive XPath for th...
by Radu
Wed Jun 13, 2012 2:48 pm
Forum: Other Issues
Topic: How to style StringContent with the ro.sync.ecss.css.Styles class
Replies: 16
Views: 6837

Re: How to style StringContent with the ro.sync.ecss.css.Styles class

Hi Simon, The styles filter also gets called for ":before" and ":after" selectors if they are initially present in the CSS. If in your CSS after the imports you add the namespace declaration: @namespace oxy url('http://www.oxygenxml.com/extensions/author'); and the following sele...
by Radu
Wed Jun 13, 2012 12:54 pm
Forum: Other Issues
Topic: How to style StringContent with the ro.sync.ecss.css.Styles class
Replies: 16
Views: 6837

Re: How to style StringContent with the ro.sync.ecss.css.Styles class

Hi Simon,

Sure, you can use code like this:

Code: Select all

styles.setProperty(Styles.KEY_FOREGROUND_COLOR, new ro.sync.exml.view.graphics.Color(192, 192, 192));
Regards,
Radu
by Radu
Wed Jun 13, 2012 11:31 am
Forum: Common Problems
Topic: Quotation marks
Replies: 10
Views: 4577

Re: Quotation marks

Hi Stefan, Thanks for reminding me, I somehow overlooked your previous reply. Here is a small implementation using the existing API: this.authorAccess.getDocumentController().setDocumentFilter(new AuthorDocumentFilter() { /** * @see ro.sync.ecss.extensions.api.AuthorDocumentFilter#insertText(ro.sync...
by Radu
Wed Jun 13, 2012 9:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: subjectScheme for content completion
Replies: 4
Views: 2714

Re: subjectScheme for content completion

Hi Ben,
One feature request would be for the profiling attributes to pick up relevant values from a subjectScheme map.
Yes, we already have plans to implement this in a future version.
I'll update the forum thread when this happens.

Regards,
Radu
by Radu
Tue Jun 12, 2012 9:06 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: subjectScheme for content completion
Replies: 4
Views: 2714

Re: subjectScheme for content completion

Hi Ben, A Subject Scheme Map is actually a DITA Map specialization. Oxygen recognizes a DITA specialization on the fly so there is no need for you to create a document type definition for it. Oxygen has new file templates for easily creating Subject Scheme Maps so if you use the New toolbar button a...
by Radu
Mon Jun 11, 2012 4:07 pm
Forum: Common Problems
Topic: Exception when insert XML Fragment in topicref element
Replies: 4
Views: 1611

Re: Exception when insert XML Fragment in topicref element

Hi Ivan, We need more details. You can contact us using the support@oxygenxml.com email address. Either you enable logging in the applet as I stated in the previous post: In the AuthorComponentSampleApplet class before the AuthorComponentSample constructor gets called you could add the following lin...
by Radu
Mon Jun 11, 2012 3:23 pm
Forum: Feature Request
Topic: When we press Enter in Author view
Replies: 3
Views: 4031

Re: When we press Enter in Author view

Hi Vincent, So approach number (1): Create your own Author operation Java implementation extending ro.sync.ecss.extensions.api.AuthorOperation . The implementation code for such a Split operation could be something like this: /** * @see ro.sync.ecss.extensions.api.AuthorOperation#doOperation(ro.sync...
by Radu
Mon Jun 11, 2012 2:07 pm
Forum: Other Issues
Topic: Spell Checking
Replies: 5
Views: 1993

Re: Spell Checking

Hi,

Oxygen 14.0 has not yet been released, it will be released in a couple of weeks.
We can provide you a beta distribution of the Author Component sample project corresponding to Oxygen 14.0 if you write us using the support@oxygenxml.com email address.

Regards,
Radu
by Radu
Mon Jun 11, 2012 12:26 pm
Forum: Feature Request
Topic: When we press Enter in Author view
Replies: 3
Views: 4031

Re: When we press Enter in Author view

Hi Vincent, The behavior your users want can still be done with the current behavior if the user first splits the paragraph and then splits again the second paragraph (basically if he presses ENTER four times). I have not seen this behavior of creating three paragraphs when ENTER is pressed in any t...
by Radu
Mon Jun 11, 2012 11:42 am
Forum: Common Problems
Topic: Exception when insert XML Fragment in topicref element
Replies: 4
Views: 1611

Re: Exception when insert XML Fragment in topicref element

Hi Ivan, The stack trace seems to indicate that from your custom action called SelectorImageOperation you directly call our API method: ro.sync.ecss.extensions.api.AuthorDocumentController.createNewDocumentFragmentInContext(String, int) Could you double check in your code where this method gets invo...
by Radu
Mon Jun 11, 2012 11:30 am
Forum: Other Issues
Topic: Spell Checking
Replies: 5
Views: 1993

Re: Spell Checking

Hi Neil, On what operating system are you running the applet? I downloaded the sample project from here: http://www.oxygenxml.com/demo/AuthorDemoApplet/author-component-sample.zip and created my own Eclipse project from it. I edited the "default.properties" file to set up my own signature....
by Radu
Mon Jun 11, 2012 11:13 am
Forum: General XML Questions
Topic: MS docx to XML
Replies: 1
Views: 2907

Re: MS docx to XML

Hi, A file with the .docx extension is actually a ZIP archive. If you open such a file in Oxygen, it will be opened in the Archive Browser view. In that view you can expand the word directory and open from there the document.xml file which contains the entire content of the Word document. We have so...
by Radu
Fri Jun 08, 2012 5:27 pm
Forum: Feature Request
Topic: How to see the "invisible" characters in the author view ?
Replies: 4
Views: 4167

Re: How to see the "invisible" characters in the author view ?

Hi Vincent, Right now the Author view renders only TAB characters which appear in space-preserve elements like the DITA codeblock . But we have plans to also show markers for other invisible characters like spaces EOLs and NBSP in the Author view, possibly in Oxygen 14.1 which will appear in 3-4 mon...
by Radu
Fri Jun 08, 2012 4:44 pm
Forum: Other Issues
Topic: Spell Checking
Replies: 5
Views: 1993

Re: Spell Checking

Hello Neil, 1) I had difficulties with getting the Spell Checking (hunspell) to work. The solution was to put the jna JAR file above the oxygen JAR in hte classpath. The question I have is why are the JNA stuff packaged together even though they don't work correctly? The spell checking should work o...
by Radu
Fri Jun 08, 2012 3:29 pm
Forum: Feature Request
Topic: AuthorDocumentController isEditable method
Replies: 3
Views: 2154

Re: AuthorDocumentController isEditable method

Hi Simon,

We really appreciate the feedback.
It's really hard to say how API methods should behave in certain circumstances.
Have a nice weekend too.

Regards,
Radu
by Radu
Fri Jun 08, 2012 11:57 am
Forum: Feature Request
Topic: AuthorDocumentController isEditable method
Replies: 3
Views: 2154

Re: AuthorDocumentController isEditable method

Hi Simon, I think that the method is clear in what it does, indeed if the resource is read-only or if the API is used to mark the editor's contents as read-only the node might report that it is editable although you cannot edit in it. We'll probably maintain the current implementation of the method....
by Radu
Wed Jun 06, 2012 9:16 am
Forum: General XML Questions
Topic: How to have pictures and bullets list inserted in task-type dita file?
Replies: 4
Views: 4292

Re: How to have pictures and bullets list inserted in task-type dita file?

Hi,

If you want the image not to be inlined with the text you can also add a placement="break" attribute to it.

Regards,
Radu
by Radu
Tue Jun 05, 2012 11:51 am
Forum: Common Problems
Topic: JavaWebStart - Dynamic Open File
Replies: 1
Views: 1370

Re: JavaWebStart - Dynamic Open File

Hi Benoit, Indeed JavaWebstart is not at all flexible in this regard. The JWS packager ANT build file which comes with Oxygen signs by default the JNLP file (this means that a copy of it is included in the main JAR library) in this step: <copy file="${outputDir}/${packageName}/${productName}.jn...
by Radu
Mon Jun 04, 2012 9:59 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Eclipse help
Replies: 1
Views: 1750

Re: Eclipse help

Hi Tim, Oxygen uses the DITA Open Toolkit to publish DITa content to various output sources. You would need to create a new Eclipse Help transformation for your DITA Map and publish with it. Then you can look in the output directory for the necessary resources. Oxygen is also available as an Eclipse...
by Radu
Mon Jun 04, 2012 9:31 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Where is the eclipse help format transformation?
Replies: 3
Views: 2552

Re: Where is the eclipse help format transformation?

Hi Tim,

You're right, we'll try to update our documentation so that searching for DITA OT output formats like Eclipse help gives you a better hint as to the precise place in Oxygen where you can create such a transformation scenario.

Regards,
Radu
by Radu
Mon Jun 04, 2012 8:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Where is the eclipse help format transformation?
Replies: 3
Views: 2552

Re: Where is the eclipse help format transformation?

Hi, Those are just some predefined transformation scenarios for the most common output formats but you can create transformation scenarios for more DITA OT output formats. In the dialog which is used to configure transformations you should set the Scenario type combo box to DITA OT Transformation an...
by Radu
Mon Jun 04, 2012 8:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error in DITA to PDF
Replies: 10
Views: 6934

Re: Error in DITA to PDF

Hi, XEP has a configuration file called something like xep.xml . In it you can add properties which make it more robust when it comes to handling XSL-FO files: http://services.renderx.com/lists/xep-support/6737.html So adding this property to it: <option name="VALIDATE" value="false&q...
by Radu
Fri Jun 01, 2012 4:37 pm
Forum: General XML Questions
Topic: Create and Update the DOCTYPE, and the ENTITY part in an Xml Document.
Replies: 2
Views: 2088

Re: Create and Update the DOCTYPE, and the ENTITY part in an Xml Document.

Hi Sébastien, We have some API like: ro.sync.ecss.extensions.api.AuthorDocumentController.getDoctype() which would allow you to get the DOCTYPE of the current XML file opened in the Author page. We also have this API method which would allow you to set the DOCTYPE back to the XML: ro.sync.ecss.exten...
by Radu
Fri Jun 01, 2012 4:16 pm
Forum: Other Issues
Topic: Highlight certain Tags in the XMLEditor
Replies: 2
Views: 1462

Re: Highlight certain Tags in the XMLEditor

Hello Simon, For the Author page we have this API method: ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase.getHighlighter() which would allow you to add a highlight between certain offsets (the hovered AuthorNode's start and end offsets for example) with a certain painter. As a p...
by Radu
Fri Jun 01, 2012 3:18 pm
Forum: XSLT and FOP
Topic: fop-pdf-images in DITA transformation
Replies: 6
Views: 3556

Re: fop-pdf-images in DITA transformation

Hi Mateus, The Oxygen Author page does not yet support rendering PDF images. We'll try to address this limitation in a future version. In the meantime if all your images are PDF I could give you some hints about changing the CSS used for rendering DITA topics in the Author page to at least avoid sho...