Search found 69 matches

by Johann
Tue Nov 13, 2018 10:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: web page drag'n drop never reaches authorDrop
Replies: 4
Views: 95

Re: web page drag'n drop never reaches authorDrop

Hello Radu,

I'm still on the 19.1.0.3 version. I have planned to upgrade in a couple of weeks.

Regards,

Johann
by Johann
Mon Nov 12, 2018 5:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: web page drag'n drop never reaches authorDrop
Replies: 4
Views: 95

Re: web page drag'n drop never reaches authorDrop

Hello Radu, I have performed some drops from an HTML page to a swing Component and It seems that the working data flavor mimetype for this drop is: text/html; document=selection; class=java.io.InputStream; charset=UTF-16 Maybe transfered data of type inputStream are not authorized in author view ? R...
by Johann
Fri Nov 09, 2018 5:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: web page drag'n drop never reaches authorDrop
Replies: 4
Views: 95

web page drag'n drop never reaches authorDrop

Hello everyone, In would like to perform a drag'n drop from a JxBrowser (javafx webview) to the author view component. More generally, is it possible to perform a drag'n drop from an html page (Web browser) to the author view component (Java swing application) ? I know that's not a common question b...
by Johann
Thu Jun 14, 2018 3:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: StylesFilter issue when reopening document
Replies: 1
Views: 557

StylesFilter issue when reopening document

Hi, I am using oxygen SDK 19.1.0.3 and I have a problem with the StylesFilter class. The goal is to add programmatically a combobox at a particular node. I want to do this programmatically because the labels and the values of this combobx are not fixed. For this purpose, I added this kind of code in...
by Johann
Thu Jun 14, 2018 2:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing validation errors popup
Replies: 5
Views: 774

Re: Customizing validation errors popup

Hi Radu,

I can't say that clients refuse using the tool because of this but you know that clients always want to customize every HMI :)

Thanks for your reply,

Regards,

Johann
by Johann
Fri May 25, 2018 3:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing validation errors popup
Replies: 5
Views: 774

Re: Customizing validation errors popup

Hi Radu,

In fact, I mean particularly this popup: https://ibb.co/nnZd6T.

The "DocumentPositionInfo" object contains what we desire, we just want to change the layout of the popup, to display these "DocumentPositionInfo" objects the way we want.

Johann
by Johann
Fri May 25, 2018 12:50 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing validation errors popup
Replies: 5
Views: 774

Customizing validation errors popup

Hello everyone, I am using oxygen SDK 19.1.0.3 and I would like to "customize" the popup listing validation errors. I mean the popup that appears when you double click at the bottom of the documentComponent, on the red dot. Is it possible to change the layout of this popup, to hide or filt...
by Johann
Wed Feb 07, 2018 11:14 am
Forum: SDK-API, Frameworks - Document Types
Topic: EditorComponent Optimization
Replies: 3
Views: 800

Re: EditorComponent Optimization

Hi Radu, The JAR libraries are on the local dirve. In fact, I know that when I load a document which requires some webresources it can take a longer delay the first time to put these resources in a cache. But, without loading a document, without framework, the call of factory.createEditorComponentPr...
by Johann
Tue Feb 06, 2018 8:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: EditorComponent Optimization
Replies: 3
Views: 800

EditorComponent Optimization

Hi everyone, I am using Oxygen SDK (version 18). My application contains tabs and each tab is an EditorComponentProvider . The first tab takes a long time to open then the following tabs are faster to open. I tried to make some tests in the AuthorComponentSample and I noticed that the first call of ...
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: 603

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Go to advanced search