Search found 78 matches

by Isabelle
Fri Jul 23, 2021 9:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Need more info for oxy:allows-child-element
Replies: 1
Views: 61

Need more info for oxy:allows-child-element

Hi, I need more information for oxy:allows-child-element . In your documentation you said : The oxy:allows-child-element() function allows you to check whether or not an element that matches the arguments of the function is valid as a child of the element at the current cursor position, according to...
by Isabelle
Wed Jun 23, 2021 12:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: getParent() result on root node
Replies: 1
Views: 90

getParent() result on root node

Hello, I work with the version 22 of Oxygen SDK. We have noticed this in the javadoc : getParent AuthorNode getParent() Returns: The AuthorNode representing the parent of this element, or null if this is the root element. But we get the root element like this : AuthorNode rootNode = authorAccess.get...
by Isabelle
Fri Jun 18, 2021 6:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to find offset from line and column number
Replies: 2
Views: 138

Re: How to find offset from line and column number

Hi Adrian,

I will try and let you know.

Thank you.
Regards,
Isabelle
by Isabelle
Thu Jun 17, 2021 9:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to find offset from line and column number
Replies: 2
Views: 138

How to find offset from line and column number

Hello, I work with the version 22 of Oxygen SDK and I wonder how can I retrieve the offset from a line number and column number. I have found the method getOffsetOfLineStart from the class WSTextEditorPage but the offset return is out of the document. Exemple with the line 80, I get an offset of 335...
by Isabelle
Wed Feb 24, 2021 12:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with auto completion function
Replies: 2
Views: 434

Re: Issue with auto completion function

Hi Radu,

I have just send you an email with our cc_config.xml file.
I hope it will help you to reproduce our problem.
Thanks.

Regards,
Isabelle
by Isabelle
Mon Feb 22, 2021 11:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: Issue with auto completion function
Replies: 2
Views: 434

Issue with auto completion function

In Oxygen XML Editor 21.1, when I use the widget Elements I have 2 different behavior with Text view and Author view. I open this file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dmodule[]> <dmodule xmlns:dc="http://www.purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-synt...
by Isabelle
Mon Feb 08, 2021 2:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue on copy paste url
Replies: 2
Views: 418

Re: Issue on copy paste url

Hello Radu,

Thanks for your quick feedback.
You are right, we have implemented AuthorExternalObjectInsertionHandler API in our framework.
We will check what is wrong on our side.

I have tried the global property and it works fine.
Thanks.

Regards,
Isabelle Ousset
by Isabelle
Fri Feb 05, 2021 8:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issue on copy paste url
Replies: 2
Views: 418

Issue on copy paste url

Hello, We face an issue with copy / paste an url in Oxygen. If the text start with http:// or ftp:// , then the copy / paste does not work. It is the same, even if the text come from an other software (Notepad, ...) or directly from a file open with our application. We face this issue with Oxygen sd...
by Isabelle
Tue Jun 30, 2020 1:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Format value in oxy_textfield
Replies: 3
Views: 899

Re: Format value in oxy_textfield

Hello Radu,

Thank you for your answer.
I understand, and I was curious about the rendererClassName and swingEditorClassName.
Found here https://www.oxygenxml.com/doc/versions/ ... trols.html.

Can they solve my issue or not ?

Regards,
Isabelle
by Isabelle
Mon Jun 29, 2020 3:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Format value in oxy_textfield
Replies: 3
Views: 899

Format value in oxy_textfield

Hello, We work with the 22.0 version of Oxygen and I would like to know if it is possible to format value of an oxy_textfield. I tried this : oxy_textfield(edit, "@oidate", values, oxy_xpath("concat(substring(@oidate, 7, 2), '-', substring(@oidate, 5, 2), '-',substring(@oidate, 1, 4))", evaluate, dy...
by Isabelle
Wed May 20, 2020 9:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problem init AuthorComponentFactory in version 22.0.0.0
Replies: 4
Views: 954

Problem init AuthorComponentFactory in version 22.0.0.0

Hello, We have installed the version 22.0.0.0 of oxygen sdk and we face an issue when initialise AuthorComponentFactory. Here is a peace of our code : final AuthorComponentFactory factory = AuthorComponentFactory.getInstance(); final URL[] frameworkZips = FrameworksLoader.loadFrameworksUrls(); final...
by Isabelle
Tue May 12, 2020 10:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: new URIContent constructor in Oxygen 22.0.0.0
Replies: 2
Views: 679

Re: new URIContent constructor in Oxygen 22.0.0.0

Hi Radu,

Thank you for your answer.
You were right we use it in our own Style Filter class.
We will let null as last parameter.

Regards,
Isabelle
by Isabelle
Tue May 12, 2020 12:21 am
Forum: SDK-API, Frameworks - Document Types
Topic: new URIContent constructor in Oxygen 22.0.0.0
Replies: 2
Views: 679

new URIContent constructor in Oxygen 22.0.0.0

Hello, It seems that the constructor of URIContent in new Oxygen version has been changed. Before we had 2 parameters : the file url (in string) and the file name. Now there is a third parameter and I have not find any doc to explain what it is for. For now, I put null and it seems to work fine, but...
by Isabelle
Mon Apr 27, 2020 12:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: JNA version
Replies: 5
Views: 1420

Re: JNA version

Hello Radu, Sorry for the late of my response, but before to report you, I want to make deep test. I have tested to exclude your version of jna via maven. <dependency> <groupId>com.oxygenxml</groupId> <artifactId>oxygen-sdk</artifactId> <version>${oxygen.version}</version> <exclusions> <exclusion> <...
by Isabelle
Wed Apr 22, 2020 10:51 am
Forum: SDK-API, Frameworks - Document Types
Topic: JNA version
Replies: 5
Views: 1420

Re: JNA version

Hi Radu, The last test I have made was to exclude jna-plateform from oxygen-sdk via pom maven like this : <dependency> <groupId>com.oxygenxml</groupId> <artifactId>oxygen-sdk</artifactId> <version>${oxygen.version}</version> <exclusions> <exclusion> <groupId>net.java.dev.jna</groupId> <artifactId>jn...
by Isabelle
Tue Apr 21, 2020 7:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: JNA version
Replies: 5
Views: 1420

JNA version

Hello, I need to use JNA 5.3.1 in our application, but we have conflict with your patched version oxygen-patched-jna-21.1.0.2.jar:4.1.0 . Moreover it seems there are incompatibilities between version 4.1.0 and 5.x of JNA : https://github.com/java-native-access/jna/blob/master/CHANGES.md#breaking-cha...
by Isabelle
Tue Apr 21, 2020 10:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen version in Manifest
Replies: 2
Views: 622

Re: Oxygen version in Manifest

Hello Radu,

Thank you for your answer.
We did not see this method.
It will be enough for our need.
Thanks.

Regards,
Isabelle
by Isabelle
Mon Apr 20, 2020 7:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen version in Manifest
Replies: 2
Views: 622

Oxygen version in Manifest

Hello, We need to get the oxygen version in java and we thought using this PluginWorkspace.class.getPackage().getImplementationVersion() But we discover that all Manifest file in oxygen jar (current version : 21.1.0.2) don't have the properties implementation-version Is it normal ? Why Manifest file...
by Isabelle
Thu Nov 21, 2019 1:43 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Retrieve the insert position in a text
Replies: 2
Views: 724

Re: Retrieve the insert position in a text

Hello Radu,

It is exactly what I am looking for.
Thanks a lot.

Regards,
Isabelle
by Isabelle
Wed Nov 20, 2019 2:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Retrieve the insert position in a text
Replies: 2
Views: 724

Retrieve the insert position in a text

Hello everyone, I am using the Oxygen SDK 21.1.0.2 and I wondered if it is possible to retrieve the exact insert position in a text. Currently I have overridden the method insertText in our own DocumentFilter class. But I only manage to use the offset attribut to get the current node. And I don't ma...
by Isabelle
Tue Sep 24, 2019 1:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4602

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

Hi Everyone, I have just send to support@oxygenxml.com all relevant files in order to have your help to solve our problem. I can't send you our application, sorry, but I tried to send you all you need. Here is a test case : <quantity quantityType="qty05"> <quantityGroup quantityGroupType="minimum"> ...
by Isabelle
Fri Aug 09, 2019 4:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4602

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

Hello Alex,

You understand the situation correctly.
It never process the unsaved snapshot from the editor.
I don't know if I can send to you the plugin like that.

I will ask to my colleague, and let you know as soon as possible.

Regards,
Isabelle
by Isabelle
Fri Aug 09, 2019 4:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4602

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

Hello Alex, Thanks for your answer. I tried to implement it this way: System.setProperty("javax.xml.transform.TransformerFactory", "net.sf.saxon.TransformerFactoryImpl"); Source quomXslt = new StreamSource(ccSpecificCCValueConfigXslFile); URIResolver uriResolver = PluginWorkspaceProvider.getPluginWo...
by Isabelle
Thu Aug 08, 2019 8:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4602

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

Hello Alex,

As I said earlier, it works fine, but only on saved document, not on in worked / unsaved document.

Each time I asked for content completion, it used previous saved value or don't find new values.

Do you have any workaround for that ?

Regards,
Isabelle
by Isabelle
Fri Aug 02, 2019 12:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Translation issue
Replies: 1
Views: 643

Translation issue

Hello everyone, I am using the Oxygen SDK 21.1.0.2 and I have noticed an issue in English translation. For the action insert paragraph , the English description is Insert a new paragraph in the document (Ctrl+ maj +P) instead of Insert a new paragraph in the document (Ctrl+ Shift +P) In English it i...
by Isabelle
Fri Jul 26, 2019 3:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Build oxy_combobox based on Content Completion values
Replies: 4
Views: 1149

Re: Build oxy_combobox based on Content Completion values

Hi Radu,

It works fine.
Thank you.

Regards,
Isabelle
by Isabelle
Fri Jul 26, 2019 3:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4602

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

Hello, Thanks to you, we can compile XSL with Saxon PE in java but we still have issue. We try to implement Configuring Proposed Values in the Context that the Content Completion was Invoked that we find here https://www.oxygenxml.com/doc/versions/18/ug-author/topics/configuring-content-completion-p...
by Isabelle
Fri Jul 26, 2019 11:15 am
Forum: SDK-API, Frameworks - Document Types
Topic: Build oxy_combobox based on Content Completion values
Replies: 4
Views: 1149

Re: Build oxy_combobox based on Content Completion values

Hi Radu,

Thanks for your answer but unfortunately it is for an attribute.

Regards,
Isabelle