Search found 70 matches

by Isabelle
Tue Jun 30, 2020 1:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Format value in oxy_textfield
Replies: 3
Views: 185

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

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

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

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

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: 4
Views: 199

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: 4
Views: 199

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: 4
Views: 199

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

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

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

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

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

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

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

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

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

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

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

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

Re: Build oxy_combobox based on Content Completion values

Hi Radu,

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

Regards,
Isabelle
by Isabelle
Thu Jul 25, 2019 4:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Build oxy_combobox based on Content Completion values
Replies: 4
Views: 663

Build oxy_combobox based on Content Completion values

Hello everyone, I am using the Oxygen SDK 21.1.0.2 and I wondered if it is possible to create an oxy_combobox with the values provided by Content Completion. In the post Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON , we have filter an element regarding t...
by Isabelle
Thu Jul 25, 2019 4:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 2806

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

Hi Radu,

Thanks for your feedback.
I did not know about that fact.

I have integrated your class and it works fine now.
Thanks again.

Regards,
Isabelle
by Isabelle
Wed Jul 24, 2019 6:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 2806

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

Hi Radu, I tried to create from the code an URLClassLoader which loads the JAR library, and then use that class loader to load classes I need and work with them using Java reflection. Here is my code import java.io.File; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTarget...
by Isabelle
Mon Jul 22, 2019 11:34 am
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 2806

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

Hello Radu,

As Alex said, we can not use Saxon HE to implement your solution because saxon:eval() is not available in the HE version.
It is not possible to "exclude" oxygen-patched-saxon-9 with Maven ?

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

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

Hello Everyone, I try to implement this solution in our ContentCompletionConfigurator java class with Saxon PE. But when I execute this : ProfessionalTransformerFactory fac = new ProfessionalTransformerFactory(); I get this error : java.lang.SecurityException: class "net.sf.saxon.Configuration$ApiPr...
by Isabelle
Wed Mar 27, 2019 6:06 pm
Forum: Other Issues
Topic: Compatibility with OpenJDK 1.8
Replies: 7
Views: 1425

Re: Compatibility with OpenJDK 1.8

Radu, Here is the stack trace : DEBUG [ AWT-EventQueue-0 ] ro.sync.ecss.i.gc - java.io.IOException: Could not load image: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory. java.io.IOException: Could not load image: DTD factory class org.apache.xerces...
by Isabelle
Wed Mar 27, 2019 12:00 pm
Forum: Other Issues
Topic: Compatibility with OpenJDK 1.8
Replies: 7
Views: 1425

Re: Compatibility with OpenJDK 1.8

Hi Radu,

The OpenJDK I used for my test is not from Oracle but from RedHat in version 1.8 (see the download link).
And I ran the test on your Author XML editor and not with my code.
So I can not debug this error, sorry.

Regards,
Isabelle
by Isabelle
Tue Mar 26, 2019 4:33 pm
Forum: Other Issues
Topic: Compatibility with OpenJDK 1.8
Replies: 7
Views: 1425

Re: Compatibility with OpenJDK 1.8

Radu,

Thank you for your answer.

Regarding my problem, here is the error message displayed :

Code: Select all

Could not load image: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
Regards,
Isabelle