Search found 199 matches

by Johann
Wed Nov 18, 2015 12:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 5665

Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007

Hello everyone, I am using the Oxygen component (SDK 17.1) and I try to do a copy/paste from MS Word 2007 to a document opened in Author view. When I paste, I get this message error Could not retrieve the HTML content from the clipboard. The text content will be used instead. Reason:ro/sync/exml/edi...
by Johann
Thu Oct 29, 2015 6:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: internal xlink:href not working in Author component 17.0.2
Replies: 12
Views: 5122

Re: internal xlink:href not working in Author component 17.0.2

Hi Radu, Ok ! I understand what was wrong in my code... So, as you suggested, I've created a map associating an URL with its authorComponentProvider and in the handleOpenURL method, I get back the right authorComponentProvider and call showlocation . Everything works well now ! Thanks for your help ...
by Johann
Wed Oct 28, 2015 5:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: internal xlink:href not working in Author component 17.0.2
Replies: 12
Views: 5122

Re: internal xlink:href not working in Author component 17.0.2

One more thing I remembered, how does your OpenURLHandler implementation set on the factory factory.setOpenURLHandler look like? Here is the full code called when a new tab is created : // Getting the component factory AuthorComponentFactory factory = AuthorComponentFactory.getInstance(); // Create...
by Johann
Wed Oct 28, 2015 5:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: internal xlink:href not working in Author component 17.0.2
Replies: 12
Views: 5122

Re: internal xlink:href not working in Author component 17.0.2

And you are creating a separate authorComponentProvider instance for each tab, right? Yes, I use this code for each tab creation : // Getting the component factory AuthorComponentFactory factory = AuthorComponentFactory.getInstance(); // Create the AuthorComponent String[] editors = {EditorPageCons...
by Johann
Wed Oct 28, 2015 5:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: internal xlink:href not working in Author component 17.0.2
Replies: 12
Views: 5122

Re: internal xlink:href not working in Author component 17.0.2

Hi Radu, I did several tests to help solving this issue. You should try to make sure that you are not calling the "AuthorComponentFactory.init()" method more than once, when the application starts. First, I tested it and the init method is just called once. Then I performed this scenario (...
by Johann
Wed Oct 28, 2015 1:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: internal xlink:href not working in Author component 17.0.2
Replies: 12
Views: 5122

Re: internal xlink:href not working in Author component 17.0.2

Hi Radu, Finally, I could upgrade my Oxygen component to 17.1.0. Actually, it works well on a single tab (editor), I can click on an internal link and it scrolls and highlights to the pointed target. "But", when i open multiple tabs with different documents containing internal links, I hav...
by Johann
Thu Aug 13, 2015 3:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to force filterValidationProblems
Replies: 7
Views: 4148

Re: How to force filterValidationProblems

Hello Alex, I wanted to use your solution but I thought that's a shame not to use the existing errors report (by clicking on the status bar). So, I found a workaround. When I click on my validation button, if the current document is already saved, I save it again and if it is modified, I perform an ...
by Johann
Tue Aug 11, 2015 3:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to force filterValidationProblems
Replies: 7
Views: 4148

Re: How to force filterValidationProblems

Hello Alex, In fact, I need this button to add customized validation errors in the standard errors. These customized validation errors have to be added only on user request so by clicking on a button. Have you planned to add the possibility to access the validate button in next releases ? Best regar...
by Johann
Tue Aug 11, 2015 11:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to force filterValidationProblems
Replies: 7
Views: 4148

Re: How to force filterValidationProblems

Hello Alex, thanks for your response. I know the Validate action on the Oxygen toolbar but in my application, I'm using an AuthorComponent and I would like to "recreate" this Validate button. I didn't find the Validate Action in the map returned by the method getAuthorCommonActions() of th...
by Johann
Mon Aug 10, 2015 7:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to force filterValidationProblems
Replies: 7
Views: 4148

How to force filterValidationProblems

Hi, In my AuthorComponent (version 17), I've created a class which extends ValidationProblemsFilter. In this class, I've overrided the filterValidationProblems method which enables me to get customized error messages in my editor. I've noticed that this method is called when there is a change in the...
by Johann
Thu Jul 02, 2015 7:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: internal xlink:href not working in Author component 17.0.2
Replies: 12
Views: 5122

internal xlink:href not working in Author component 17.0.2

Hi, Since Oxygen 17.0.2, in my Author Component, elements having attribute xlink:href and pointing to an internal Reference do not do anything on click. With the same framework and the same XML, in Oxygen 17, the click goes to the pointed element. Only internal references (xlink:href="#foo"...
by Johann
Thu Jul 02, 2015 4:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework - not the same validation
Replies: 2
Views: 2150

Re: Framework - not the same validation

Hi Radu, Thanks a lot for your responses. They enabled me to succeed in finding what was wrong. I did not get the same validation errors list between an XML file using xsi:schemaLocation and the same XML file using a framework. The difference and the error was located in the XML catalog I use in the...
by Johann
Fri Jun 26, 2015 6:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework - not the same validation
Replies: 2
Views: 2150

Framework - not the same validation

Hi, I've created a .framework file containing in the field schemaDescriptor the path to an .xsd file. When I open in Oxygen 17 a document (without associating the previous framework) and I associate the same .xsd file, there is no error when I validate the document (I get a green square). But, when ...
by Johann
Thu Jun 18, 2015 5:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener - multiple DropTargetDropEvent managment
Replies: 2
Views: 2219

Re: AuthorDnDListener - multiple DropTargetDropEvent managme

Hi Radu, You were right about the official modifiers. These are CTRL and SHIFT. I was able to detect only CTRL because my swing source forced SourceActions at COPY_OR_MOVE. I put COPY | MOVE | LINK instead. Now I'm able to detect CTRL+SHIFT when the drag is done which suits me perfectly. The ALT key...
by Johann
Thu Jun 18, 2015 11:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Method to access ValidationProblems
Replies: 4
Views: 2734

Re: Method to access ValidationProblems

Hi Radu,

I succeeded in getting my ValidationProblems with your solution ! In fact, some actions on my XML document are not allowed according to the origin of ValidationProblems.

Thanks again,

Johann
by Johann
Thu Jun 18, 2015 11:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener - multiple DropTargetDropEvent managment
Replies: 2
Views: 2219

AuthorDnDListener - multiple DropTargetDropEvent managment

Hi, In my application I need to drag'n drop a swing object to an oxygen XML document. I'm using an ro.sync.exml.editor.xmleditor.pageauthor.AuthorDnDListener to catch the drop action with the authorDrop(Transferable transferable, DropTargetDropEvent dropTargetDropEvent) method. It works perfectly. M...
by Johann
Wed Jun 17, 2015 3:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Method to access ValidationProblems
Replies: 4
Views: 2734

Re: Method to access ValidationProblems

It's a pity..

Thanks for your response !

Johann L.
by Johann
Wed Jun 17, 2015 1:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Method to access ValidationProblems
Replies: 4
Views: 2734

Method to access ValidationProblems

Hi,

In Oxygen 16 API, I didn't find a way to get ro.sync.exml.workspace.api.editor.validation.ValidationProblems outside ValidationProblemsFilter.

Are there other ways to access these ValidationProblems ? In WSAuthorEditorPage for example ?

Thanks in advance,

Johann L.