Search found 60 matches

by Johann
Thu Dec 07, 2017 7:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error message system - AuthorElement ID reference
Replies: 1
Views: 37

Error message system - AuthorElement ID reference

Hi, I'm searching to build an error message system, which can be updated from any modification, to display an error message relative to an AuthorNode. All is good : - CustomValidationProblemsFilter which updates a CustomError (couple of AuthorNode/ErrorInformation) List and merges it with Oxygen err...
by Johann
Fri Jun 23, 2017 3:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorOperation finished event
Replies: 3
Views: 328

Re: AuthorOperation finished event

Hi Radu, Here is my use case. I have a webservice which allows to insert an XML fragment at a specific XPath in my document. I would like to notify that the insertion has been done successfully in the response of the webservice. At the moment, once the InsertOpeartion is invoked, the webservice resp...
by Johann
Fri Jun 23, 2017 2:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorOperation finished event
Replies: 3
Views: 328

AuthorOperation finished event

Hi everyone,

Is there any event fired when an AuthorOperation (more specifically an InsertFragmentOperation) is finished ?

Thanks !

Johann
by Johann
Fri Apr 14, 2017 4:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 774

Re: oxy_audio error in Author page

Hi Alex,

I just tried in Oxygen version 19 and I get the same error when I open samples\form -controls\about\form-controls.xml...

Johann
by Johann
Wed Apr 12, 2017 11:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 774

Re: oxy_audio error in Author page

Hello Alex,

I do not have a specific screen... I tried to replace the jar file by the one you sent by email but it does not change anything.
Am I the only one to have this behaviour ?

Johann
by Johann
Fri Apr 07, 2017 11:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 774

Re: oxy_audio error in Author page

It works but I don't know if I have something wrong in my environment because the audio player is truncated both in the Oxygen XML software and in the Oxygen component (18.1 version). This is what I see when opening C:\Program Files\Oxygen XML Editor 18\samples\form -controls\about\form-controls.xml...
by Johann
Fri Apr 07, 2017 9:37 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 774

Re: oxy_audio error in Author page

Hi Radu,

I manually added the dependency and it works.

Thank you,

Johann
by Johann
Thu Apr 06, 2017 3:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 774

oxy_audio error in Author page

Hi everyone, I'm using the 18.1.0.0 SDK version and when I try to use : multimedia { content: oxy_audio(href, url(../test.MP3), width, 400px); } I get this error : java.lang.NoClassDefFoundError: ro/sync/jfx/JFXException at ro.sync.ecss.component.editor.c.e.c(Unknown Source) ~[oxygen-18.1.0.0.jar:na...
by Johann
Wed Feb 22, 2017 1:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Using editorVariables in CSS
Replies: 2
Views: 419

Using editorVariables in CSS

Hi everyone, I use the Oxygen component. In the CSS file, I want to access, with an oxy_xpath, data stored in a XML file located in the framework directory. I can do this with an absolute path : element{ content: oxy_xpath('doc("file:/absolute_path/data.xml")//XPATH'); } But I would like t...
by Johann
Tue Feb 21, 2017 6:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 1
Views: 418

Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Hi everyone, In the Author Component, I try to test Configuring Proposed Values in the Context that the Content Completion was Invoked from https://www.oxygenxml.com/doc/versions/18/ug-author/topics/configuring-content-completion-proposals.html#configuring-content-completion-proposals An EE or PE ve...
by Johann
Fri Feb 17, 2017 4:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unique ID from copy / paste
Replies: 17
Views: 1818

Re: Unique ID from copy / paste

I understand what you mean.

We essentially use the refresh method because we set pseudoClasses to some authorNodes. Without this refresh, the pseudo class does not seem to be well applied.

Johann
by Johann
Fri Feb 17, 2017 11:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: Unique ID from copy / paste
Replies: 17
Views: 1818

Re: Unique ID from copy / paste

Hi Radu,

I'm glad you got the same behaviour.

Among other things, the authorAccess in the filter method enables me to refresh some AuthorNodes.

I tried your solution and it seems to do the job.


Thank you !

Johann
by Johann
Thu Feb 16, 2017 1:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unique ID from copy / paste
Replies: 17
Views: 1818

Re: Unique ID from copy / paste

Hello Radu, I just tried your first solution but I get the same issue because two different instances of ExtensionsBundle are created. The first one calls createAuthorExtensionStateListener and the second one calls createAuthorStylesFilter ... So, the first ExtensionsBundle is not aware of the style...
by Johann
Thu Feb 16, 2017 11:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: Unique ID from copy / paste
Replies: 17
Views: 1818

Re: Unique ID from copy / paste

Hello everyone, we have still issues to implement exactly what we need. I recap, in the same framework, we need an implementation of the StylesFilter class and an implementation of the DefaultUniqueAttributesRecognizer class. Both of these classes have to implement the AuthorExtensionStateListener (...
by Johann
Mon Jan 30, 2017 8:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issues when upgrading to SDK 18.1.0.0
Replies: 1
Views: 327

Issues when upgrading to SDK 18.1.0.0

Hello everyone, I upgraded the oxygen SDK from 18.0.0.3 to 18.1.0.0 . When I try to call this method : (AuthorComponentProvider) factory.createEditorComponentProvider(editors, EditorPageConstants.PAGE_TEXT); I got this error : java.lang.NoClassDefFoundError: com/google/common/cache/CacheBuilder at r...
by Johann
Wed Jan 25, 2017 6:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unique ID from copy / paste
Replies: 17
Views: 1818

Re: Unique ID from copy / paste

Hello everybody, I have an issue when I try to use my own CustomDefaultUniqueAttributesRecognizer . I have created a CustomExtensionsBundle class in which I instantiate the AttributesRecognizer : public ClipboardFragmentProcessor getClipboardFragmentProcessor() { return new CustomUniqueAttributesRec...
by Johann
Fri Oct 14, 2016 7:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste fail when XML contains comment
Replies: 1
Views: 1463

Copy/Paste fail when XML contains comment

Hi, I am using the Oxygen SDK 18.0.0.3. When I copy an XML fragment containing a comment (<!-- example -->) from an author view to the same or to another author view, nothing is pasted. For information, when I paste the same fragment to Notepad++ for example, I retrieve at least the text content. It...
by Johann
Mon Sep 12, 2016 11:43 am
Forum: SDK-API, Frameworks - Document Types
Topic: Get String content of the editor takes a long time
Replies: 2
Views: 1438

Re: Get String content of the editor takes a long time

Hi Radu,

Ohh, my bad...

Thanks !

Johann
by Johann
Mon Sep 12, 2016 11:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: Load programmatically alternative CSS
Replies: 5
Views: 1566

Re: Load programmatically alternative CSS

Hi Radu, I've just tested these two methods like this : try { authorDocumentController.disableLayoutUpdate(); new InsertOrReplaceFragmentOperation().doOperation(authorAccess, argumentsMap); } catch (Exception e) { LOGGER.error(e.getMessage()); } finally { authorDocumentController.enableLayoutUpdate(...
by Johann
Fri Sep 09, 2016 6:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Get String content of the editor takes a long time
Replies: 2
Views: 1438

Get String content of the editor takes a long time

Hi everyone, I'm using the last oxygen SDK (18.0.0.3). I try to get the string content of my current page. My current page is a large XML file (about 700 k) and I want to get the string content during the edition of the document (before saving). In order to do so, I used this code : File tempFile = ...
by Johann
Fri Sep 09, 2016 6:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Load programmatically alternative CSS
Replies: 5
Views: 1566

Re: Load programmatically alternative CSS

Hi Radu,

In fact, even the refresh takes a long time on the document without performing any action...
In using pseudo class before opening my document (as you suggested), I have a "reasonable" refresh.

Thanks for your workaround,

Johann
by Johann
Wed Sep 07, 2016 3:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Load programmatically alternative CSS
Replies: 5
Views: 1566

Load programmatically alternative CSS

Hello everyone, In the last version of the oxygen SDK, is there a way to load programmatically an alternative CSS ? My document has two CSS, a "normal" one and a "light" one. The light one is used to increase performance (indeed, with the "normal" one, the refresh of th...
by Johann
Fri Jul 08, 2016 6:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: [SDK 18.0.0.3] Author view does not display SVG images anymore
Replies: 2
Views: 1505

Re: [SDK 18.0.0.3] Author view does not display SVG images anymore

Hi Radu,

Ok, I had to upgrade some batik internal libraries to 1.8 in my application and it works again.

Thanks,

Johann
by Johann
Thu Jul 07, 2016 6:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: [SDK 18.0.0.3] Author view does not display SVG images anymore
Replies: 2
Views: 1505

[SDK 18.0.0.3] Author view does not display SVG images anymore

Hello everyone, When upgrading my Oxygen SDK from 17.1.0.1 to 18.0.0.3, I noticed that the Author view is not displaying SVG files anymore. Instead of the image, I get this error message in red : Cannot display image C:\mySVG.svg org/apache/batik/anim/dom/SAXSVGDocumentFactory Any idea about this pr...
by Johann
Fri Jul 01, 2016 3:36 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: 1607

Re: Error when upgrading authorComponent from 17.1.0.1 to 18.0.0.2

Hi Radu,

It works again with the 18.0.0.3 version.

Thank you for your responsiveness,

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

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

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

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

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 severa...
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: 1761

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

Go to advanced search