Search found 9041 matches

by Radu
Wed Jul 04, 2012 4:15 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6705

Re: Preventing Invalid Xml

Hi, Is there a way of restricting the Author application to only allow actions which pass a given Schema (similar to what happens with the copy and paste actions)? So that we don’t have to code all the data model restrictions? No, currently only the insert operations are schema aware. Maybe in a fut...
by Radu
Wed Jul 04, 2012 1:46 pm
Forum: Other Issues
Topic: Insert Link action
Replies: 7
Views: 3866

Re: Insert Link action

Hi Mike, I only said the issue was scheduled for version 14. We have lots of issues which we want to complete in each release and most of the times there is not enough time to fix part of them. I will only say that a feature will be available in a certain release if it has already been fixed. Could ...
by Radu
Wed Jul 04, 2012 11:10 am
Forum: Other Issues
Topic: Programmatically set the font for text editor.
Replies: 3
Views: 1696

Re: Programmatically set the font for text editor.

Hi Daniel, In this case, the only viable alternative I can think of would be to distribute along with the Oxygen plugin a custom set of default Oxygen preferences like described here: http://www.oxygenxml.com/doc/ug-editorEclipse/index.html?q=/doc/ug-editorEclipse/topics/default-options.html Regards...
by Radu
Tue Jul 03, 2012 5:04 pm
Forum: Other Issues
Topic: Programmatically set the font for text editor.
Replies: 3
Views: 1696

Re: Programmatically set the font for text editor.

Hi Daniel, The simplest override would be to specify in the CSS file used to render the XML document in the Author page a different font family (or font size) using code like: *{ font-family:Arial; font-size:16px; } Whatever exists in the CSS specification for defining font families, sizes, should w...
by Radu
Tue Jul 03, 2012 2:45 pm
Forum: Other Issues
Topic: Preventing content insertion
Replies: 1
Views: 1002

Re: Preventing content insertion

Hi Neil, We have an API method like: AuthorDocumentController.setDocumentFilter(AuthorDocumentFilter) and in the filter you can overwrite the method: AuthorDocumentFilter.insertText(AuthorDocumentFilterBypass, int, String) You can check which AuthorNode contains the offset: AuthorDocumentController....
by Radu
Tue Jul 03, 2012 10:44 am
Forum: Other Issues
Topic: Dnd of Tag Elements
Replies: 27
Views: 10260

Re: Dnd of Tag Elements

Hi Simon, This was not implemented in 14.0. I cannot tell you a precise timeline for this because it implies a lot of modifications and architecture changes on our side. Is it maybe possible for us, as customers, to see the state of certain improvement requests, like the one concerning the org.eclip...
by Radu
Mon Jul 02, 2012 11:46 am
Forum: Common Problems
Topic: Customizing tags in the Author?
Replies: 12
Views: 6386

Re: Customizing tags in the Author?

Hi Simon, No, sorry. We have a lot of things to do and it's a very tough call to decide which issue gets done and on what version. Right now the issue is scheduled for version 14.2 (maybe in 6 months or so). I will contact you directly when it becomes available. How urgent is this to you? So you jus...
by Radu
Thu Jun 28, 2012 10:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Has anyone got DITA-OT 1.6 working yet?
Replies: 2
Views: 2236

Re: Has anyone got DITA-OT 1.6 working yet?

Hi,

Please see this Oxygen Users List thread:

http://www.oxygenxml.com/pipermail/oxyg ... 04192.html

Oxygen 14 (which has just been released) already has the libraries order changed in the default libraries list.

Regards,
Radu
by Radu
Thu Jun 28, 2012 10:24 am
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16781

Re: Disable indention feature in author mode

Hi Jarno, The default behavior of Oxygen, specified in the Preferences->"Editor / Edit modes / Author" page is to "Format and indent - only the modified content". So if this option is checked for you only the edited shortdesc should be indented and line wrapped when you save the ...
by Radu
Wed Jun 27, 2012 3:00 pm
Forum: Other Issues
Topic: Floating licence applet not working as expected
Replies: 2
Views: 1820

Re: Floating licence applet not working as expected

Hi Neil, I have a hunch why this warning is given: Fiddler has detected a protocol violation in session #2316. The Request's Host header did not match the URL's host component. URL Host: <user>:<password>@ukmy-nfs-02.smg-uk.com:8080 Header Host: ukmy-nfs-02.smg-uk.com:8080 and we can fix this on our...
by Radu
Wed Jun 27, 2012 11:57 am
Forum: Other Issues
Topic: Floating licence applet not working as expected
Replies: 2
Views: 1820

Re: Floating licence applet not working as expected

Hi Neil, Quick answer to second problem, I'll be thinking a little longer on the first one: The other problem I have is I've tried to revert to the evaluation license because I have a demonstration this morning and it still trys to get a license from the server. Follow step number (4) from this proc...
by Radu
Tue Jun 26, 2012 9:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Resource-only topics publishing in TOCJS output
Replies: 3
Views: 2706

Re: Resource-only topics publishing in TOCJS output

Hi Heather,

I also added an issue for this on the DITA OT bugs list:

https://github.com/dita-ot/dita-ot/issues/1311

Regards,
Radu
by Radu
Tue Jun 26, 2012 9:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Resource-only topics publishing in TOCJS output
Replies: 3
Views: 2706

Re: Resource-only topics publishing in TOCJS output

Hi Heather, This looks like a bug in the TOCJS plugin which is not that well maintained by the DITA Open Toolkit. Looking in this stylesheet: OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/tocjs/xsl/topicref.xsl at this xsl:template: <xsl:template match="*[contains(@class, ' map/topicref ')]&q...
by Radu
Tue Jun 26, 2012 9:05 am
Forum: Common Problems
Topic: Validation of TEI files
Replies: 1
Views: 2121

Re: Validation of TEI files

Hello Martin, Oxygen has a view called Properties which can be opened from the menu Window->Show View . This view shows a lot of interesting details about the current document like the used document type and the used schema so it's good for debugging such situations. When a TEI document does not exp...
by Radu
Mon Jun 25, 2012 12:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: apiref specialization
Replies: 8
Views: 5178

Re: apiref specialization

Hi, So the first step (which you've already done) would have been to: Download the apiref plugin from: http://sourceforge.net/projects/dita-ot/files/Plug-in_%20apiref/ and the javaapiref plugin from: http://sourceforge.net/projects/dita-ot/files/Plug-in_%20javaapiref/ and adding them as plugins in t...
by Radu
Fri Jun 22, 2012 2:27 pm
Forum: Other Issues
Topic: Collapsible navigation tree
Replies: 5
Views: 2643

Re: Collapsible navigation tree

Hi Heather, Oxygen uses the DITA Open Toolkit to publish DITA content to various output sources. One of the plugins in the DITA OT is indeed this plugin called TOCJS which generates the TOC as a Javascript tree. There are two possibilities: 1) The DITA OT generated the "toctree.js" file in...
by Radu
Wed Jun 20, 2012 3:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4964

Re: keep the current cursor's position after an Xml insert.

Hi Sebastien, Sorry for the delay. We do not have specific API for scrolling (but maybe we could add some). But you can use this method ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase.getAuthorComponent() to obtain the swing JPanel on which the Author page is rendered. The paren...
by Radu
Wed Jun 20, 2012 2:03 pm
Forum: Other Issues
Topic: Printing a document within author applet
Replies: 5
Views: 2000

Re: Printing a document within author applet

Hi Neil,

You can try this method:

AuthorComponentProvider.print(boolean preview)

This either prints to the printer or shows the print preview dialog.

Regards,
Radu
by Radu
Tue Jun 19, 2012 12:35 pm
Forum: Other Issues
Topic: Element suggestions list
Replies: 3
Views: 1545

Re: Element suggestions list

Hi Neil,

Please see this thread for more details:

http://www.oxygenxml.com/forum/post2166 ... lit#p21649

Regards,
Radu
by Radu
Tue Jun 19, 2012 12:28 pm
Forum: Common Problems
Topic: Subheadings to be visible in ToC
Replies: 5
Views: 2007

Re: Subheadings to be visible in ToC

Hi, If your composite looks like: <!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd"> <dita> <topic id="topic1"> <title>Heading1</title> <body> <p>Topic paragraph</p> </body> </topic> <topic id="topic2"> <title>Heading2</title> <body> <p>T...
by Radu
Tue Jun 19, 2012 10:42 am
Forum: Common Problems
Topic: Subheadings to be visible in ToC
Replies: 5
Views: 2007

Re: Subheadings to be visible in ToC

Hi, In a DITA topic you can add other DITA topics. So if your DITA topic would have the content like: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> <topic id="topic1"> <title>Heading1</title...
by Radu
Mon Jun 18, 2012 2:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4964

Re: keep the current cursor's position after an Xml insert.

Hi Sebastien, Using the Author API you can also create flexible positions (which are updated when the content changes). Something like this: Position position = authAccess.getDocumentController().createPositionInContent(authAccess.getEditorAccess().getCaretOffset()); //Perform operation here authAcc...
by Radu
Mon Jun 18, 2012 12:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4964

Re: keep the current cursor's position after an Xml insert.

Hi, Probably before making the second insert you could keep the caret position in a variable and then restore it after the insertion like: int caretOffset = authorAccess.getEditorAccess().getCaretOffset(); //Perform second operation and then: authorAccess.getEditorAccess().setCaretPosition(caretOffs...
by Radu
Mon Jun 18, 2012 12:14 pm
Forum: Common Problems
Topic: Indents in DITA?
Replies: 2
Views: 2273

Re: Indents in DITA?

Hi, Oxygen uses the DITA Open Toolkit to publish DITA documents to various output formats. To what output format are you publishing (PDF, XHTML, etc)? You probably need to make some modifications in the XSLT stylesheets for this. On that certain paragraph you could try to set the attribute @outputcl...
by Radu
Fri Jun 15, 2012 3:11 pm
Forum: Other Issues
Topic: How to style StringContent with the ro.sync.ecss.css.Styles class
Replies: 16
Views: 6836

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

Hi Simon, Yes, the Oxygen 14 beta kits we advertised on the Oxygen users list should have this feature. But the final Oxygen 14 should be available soon so maybe you should wait for the stable release. The Author SDK for oXygen version 14 beta is right now available at: http://mirror.oxygenxml.com/I...
by Radu
Fri Jun 15, 2012 2:40 pm
Forum: Other Issues
Topic: How to style StringContent with the ro.sync.ecss.css.Styles class
Replies: 16
Views: 6836

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

Hi Simon, Thanks for telling me the bigger picture. The ":before" pseudo-element is in the internal nodes hierarchy a child of the real processing instruction node. Do this is why making the parent invisible also makes the child invisible. About this remark: Can you image a different appro...
by Radu
Fri Jun 15, 2012 2:16 pm
Forum: Other Issues
Topic: NullPointerException in com.oxygenxml.editor.editors.t.dragLeave(Unknown Source)
Replies: 9
Views: 3691

Re: NullPointerException in com.oxygenxml.editor.editors.t.dragLeave(Unknown Source)

Hi Simon, In the Java sources we have for "org.eclipse.ui.texteditor.AbstractTextEditor.installTextDragAndDrop(ISourceViewer)" the dropTargetListener is not null, its implementation is the one which actually makes the copy operations when the text is dropped in the text page. Maybe it depe...
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: 6836

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

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

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...