Search found 95 matches

by Johann
Thu Jun 30, 2016 7:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error when upgrading authorComponent from 17.1.0.1 to 18.0.0.2
Replies: 6
Views: 2945

Re: Error when upgrading authorComponent from 17.1.0.1 to 18.0.0.2

Hi Radu, Here is the stack trace : java.lang.ExceptionInInitializerError at ro.sync.exml.editor.pagetext.d.<init>(Unknown Source) at ro.sync.exml.editor.validate.l.<init>(Unknown Source) at ro.sync.exml.editor.xmleditor.e.g.<init>(Unknown Source) at ro.sync.exml.editor.xmleditor.e.k.<init>(Unknown S...
by Johann
Thu Jun 30, 2016 6:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error when upgrading authorComponent from 17.1.0.1 to 18.0.0.2
Replies: 6
Views: 2945

Error when upgrading authorComponent from 17.1.0.1 to 18.0.0.2

Hello everyone, I have just upgraded my oxygen SDK from 17.1.0.1 to 18.0.0.2 and I got an error here : // Getting the component factory AuthorComponentFactory factory = AuthorComponentFactory.getInstance(); // Create the AuthorComponent String[] editors = {EditorPageConstants.PAGE_AUTHOR, EditorPage...
by Johann
Tue Mar 08, 2016 11:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: ro.sync.ecss.css.Styles getPseudoLevel() only returns 0 or 1
Replies: 3
Views: 1784

Re: ro.sync.ecss.css.Styles getPseudoLevel() only returns 0 or 1

Hey !

Thank you both for this information !

Regards,

Johann
by Johann
Fri Mar 04, 2016 6:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: ro.sync.ecss.css.Styles getPseudoLevel() only returns 0 or 1
Replies: 3
Views: 1784

ro.sync.ecss.css.Styles getPseudoLevel() only returns 0 or 1

Hello everyone, I am using the author component (SDK version 17.1.0.1). I have created a class which implements ro.sync.ecss.extensions.api.StylesFilter . My .framework file calls this class in the "cssStylesFilterExtension" field. My .framework file also calls a CSS file containing several pseudo e...
by Johann
Wed Dec 16, 2015 5:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problem with ${xpath_eval()} in framework
Replies: 17
Views: 5040

Problem with ${xpath_eval()} in framework

Hello everyone, I am using the Oxygen SDK (17.1.0). I have a framework containing an action which has to create an XML fragment. This XML fragment has an attribute whose value has to be evaluated by an XPath. I tried to use ${xpath_eval(expression)} but it seems not to work. This is what I put in my...
by Johann
Fri Dec 11, 2015 7:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen Component 17.1 - Copy-Paste not working from MS Word 2007
Replies: 14
Views: 3263

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

Hello Alex,

When have you planned to publy an official maintenance build for 17.1 including this correction ?

On my side, I have requirements at the beginning of January.

Thanks,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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