Search found 89 matches

by Johann
Thu Dec 10, 2015 12:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Refactoring framework files with XInclude
Replies: 4
Views: 1476

Re: Refactoring framework files with XInclude

Hello Alex,

Finally, I succeeded in performing an XSLT transformation on my .framework files. So I was able to use entities or xi:include elements to refactor my files.

Regards,

Johann
by Johann
Thu Dec 10, 2015 12:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customize "collapse icons" style, size and position
Replies: 1
Views: 1169

Customize "collapse icons" style, size and position

Hello everyone, I am using the last Oxygen SDK (17.1.0) and I would like to customize the collapse icons in the Author View. Is there a way to change the "arrow" icons used or maybe their size or position ? The only related interface I found is ro.sync.exml.workspace.api.editor.page.author.fold.Auth...
by Johann
Wed Dec 09, 2015 7:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 2884

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

Hello Alex,

Indeed, the jar oxygen-css-pretty-printer-obf-17.1.0.1.jar was missing in my .m2 folder. I needed to call this dependency in my application. It works perfectly now ! :)

Thanks again for your help on this issue.

Johann
by Johann
Tue Dec 08, 2015 6:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 2884

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

Hello Alex, I've tested the new 17.1.0.1 SDK (I've removed my .m2 folder before) and unfortunately I still have the issue. (on Word 2007 and 2016) Which version of Word have you tested ? Have you tested to paste "complex" objects like tables or lists ? Does the paste keep the original structure ? Th...
by Johann
Fri Dec 04, 2015 6:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 2884

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

Hello Alex,

I just tried the new SDK version (17.1.0.1) and unfortunately I get the same rendering when I paste (just the text, no table, no list etc..) from Word 2007 or Word 2016.

Do you have any idea ?

Thanks,

Johann
by Johann
Thu Dec 03, 2015 4:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 2884

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

Hello Alex,

Have you included the correction in the build (ID: 2015111718) ? I don't see any description of this correction. (https://www.oxygenxml.com/build_history.html)

I tried to dowload the new 17.1.0 Oxygen component and I still have the bug.

Thanks.

Johann
by Johann
Tue Dec 01, 2015 1:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Refactoring framework files with XInclude
Replies: 4
Views: 1476

Re: Refactoring framework files with XInclude

Hi Radu, Thanks for your tips. 1) I tried using entity references but it seems not to work too. The framework does not load, my author view does not display. In my ..\AppData\Roaming\com.oxygenxml.author.component\...\ApplID\frameworks folder I have my framework file containing these lines : <?xml v...
by Johann
Mon Nov 30, 2015 3:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Refactoring framework files with XInclude
Replies: 4
Views: 1476

Refactoring framework files with XInclude

Hello everyone, I'm using Oxygen component (SDK 17.1) and I have multiple .framework files. Several parts are in common in these frameworks, so I would like to refactor them. I tried to use XInclude like this : <field name="toolbarDescriptor"> <xi:include href="toolbarDescriptor.xml" xmlns:xi="http:...
by Johann
Thu Nov 19, 2015 5:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 2884

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

I can wait for the next SDK build. ;) I was just wondering if the correction was specific for MS Word 2007. It seems not to be.

Regards,

Johann
by Johann
Thu Nov 19, 2015 4:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 2884

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

Hello Alex,

Thanks for your response. Does MS Word 2007 only have this issue ? Are MS Word 2010 or 2013 versions working correctly ?

Regards,

Johann
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: 2884

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

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

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

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

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 (I close no...
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: 2792

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 have this beh...
by Johann
Thu Aug 13, 2015 3:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to force filterValidationProblems
Replies: 7
Views: 2183

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

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

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 the AuthorAc...
by Johann
Mon Aug 10, 2015 7:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to force filterValidationProblems
Replies: 7
Views: 2183

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

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") seem no...
by Johann
Thu Jul 02, 2015 4:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework - not the same validation
Replies: 2
Views: 1335

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

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

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

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

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

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

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.