Search found 142 matches

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

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

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: 28
Views: 10186

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

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

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: 28
Views: 10186

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: 28
Views: 10186

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: 28
Views: 10186

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: 28
Views: 10186

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$...
by Isabelle
Wed Mar 27, 2019 6:06 pm
Forum: Other Issues
Topic: Compatibility with OpenJDK 1.8
Replies: 7
Views: 3801

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

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

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
by Isabelle
Tue Mar 26, 2019 1:01 pm
Forum: Other Issues
Topic: Compatibility with OpenJDK 1.8
Replies: 7
Views: 3801

Compatibility with OpenJDK 1.8

Hello, As you must know, Oracle has announced that the Oracle JDK 8 builds released after Jan 2019 cease to be free for commercial use. Currently, we use oxygen-18.1.0.0.jar, and we intend to use OpenJDK 1.8 to replace OracleJDK 1.8. We would like to know if there are any incompatibilities with Oxyg...
by Isabelle
Thu Mar 14, 2019 5:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

Hi Radu, Thanks a lot for your answer. I add a mouse listener ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase.addAuthorMouseListener(AuthorMouseListener) and I intercept the mouse dragged event ro.sync.ecss.extensions.api.AuthorMouseListener.mouseDragged(AuthorMouseEvent) , then...
by Isabelle
Wed Mar 13, 2019 8:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

Hello, I need to implement the same behavior on the "drag and drop" action. Currently, we have the same issue than with copy action. When user have TagsDisplayMode in Full_tags mode and click on the element tag directly. Then they drag and drop it somewhere else in the document and the att...
by Isabelle
Thu Jan 17, 2019 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

Hi Radu,

Thanks a lot, your workaround works fine.
Now I have the same behavior in any case of copy.

Thanks again,
Regards,
Isabelle
by Isabelle
Wed Jan 16, 2019 6:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

Hi Radu, I have decided to add a PopupMenuListener on the pop-up menu. In the method popupMenuWillBecomeVisible , I check the selection and if it is a Text element which is selected, I change the selection by his parent element with authorPage.select(node.getParent().getStartOffset(), node.getParent...
by Isabelle
Tue Jan 15, 2019 7:35 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

Hi Radu, The API ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage.select(int, int). works fine, Thanks. Regarding the Text mode , we will improve it in a futur release. But I still have issue with the contextual menu. The solution in your first post works fine for the "Copy" ac...
by Isabelle
Mon Jan 14, 2019 2:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

I am sorry, I have posted too early. 1) In Text mode you don't have the code authorActionProvider.addActionPerformedListener(copyAction, new ActionPerformedListener() available. So, how can I handle copy event in this mode ? 2) In the beforeActionPerformed method, I can retrieve the node currently s...
by Isabelle
Mon Jan 14, 2019 1:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Re: Copy/Paste event

Hello Radu,

Thank you for your answer.
I have tried to implement your solution but I face two issues :
- 1) Your solution is available for Author mode, but what happen in Text mode ?
The code

Code: Select all

authorActionProvider.addActionPerformedListener(copyAction, new ActionPerformedListener()
by Isabelle
Fri Jan 11, 2019 8:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 6095

Copy/Paste event

Hello, We use oxygen-18.1.0.0.jar, and we need to add specific work on copy/paste event. We have this king of element : <Paragraph> <BlocText> <Phr code="0124254201063" locale="fr_FR"> <text>Some Text</text> </Phr> </BlocText> </Paragraph> When we want to copy the <text/> element...
by Isabelle
Thu Oct 11, 2018 3:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Editor Tag Mode
Replies: 2
Views: 2048

Re: Editor Tag Mode

Perfect !
Thank you Radu.

Regards,
Isabelle
by Isabelle
Thu Oct 11, 2018 3:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Editor Tag Mode
Replies: 2
Views: 2048

Editor Tag Mode

Hello,

We use oxygen-18.1.0.0.jar, and we need to know in which tags mode the editor is ("Full_tags", "Full_tags_with_attributes", ...).
Is there a simple way to obtain this information ?

Regards,
Isabelle
by Isabelle
Thu May 17, 2018 6:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XML Indentation
Replies: 2
Views: 2395

Re: XML Indentation

Hi Radu,

Thanks you for your answer.
It works fine.

Regards,
Isabelle
by Isabelle
Thu May 17, 2018 1:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XML Indentation
Replies: 2
Views: 2395

XML Indentation

Hello, We use oxygen-18.1.0.0.jar, and we need to change the XML indentation options. Currently when we open a document in our application, the indentation is automatically done. The problem is that we have xml tag on multiple line like this <multimedia id="XXX"> <multimediaObject infoEnti...
by Isabelle
Thu Apr 19, 2018 4:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Attributes deleted
Replies: 3
Views: 2593

Re: Attributes deleted

You were right.
We use AuthorElement to manage attribute.
I have changed it and we use now AuthorDocumentController, and it solves the problem.

Thanks a lot.
Regards,
Isabelle
by Isabelle
Thu Apr 19, 2018 11:51 am
Forum: SDK-API, Frameworks - Document Types
Topic: Attributes deleted
Replies: 3
Views: 2593

Re: Attributes deleted

Hello Radu,

Thank you for your answer.
I will check that point and let you know the result.

Regards,
Isabelle
by Isabelle
Thu Apr 19, 2018 11:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: Auto Completion error
Replies: 5
Views: 3348

Re: Auto Completion error

Hello Radu,

My manager is going to take care of it in the next weeks.

Regards,
Isabelle
by Isabelle
Wed Apr 18, 2018 6:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Attributes deleted
Replies: 3
Views: 2593

Attributes deleted

Hello, We use oxygen-18.1.0.0.jar, and we have a problem with attributes in a tag after an undo. We have this tag : <BlocText> <Phr code="0162876602668Xtl" locale="fr_FR"> <text>produit décapant homologué</text> </Phr> </BlocText> 1°) We add a white space in the tag <text> 2°) We...
by Isabelle
Wed Apr 18, 2018 5:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Auto Completion error
Replies: 5
Views: 3348

Re: Auto Completion error

Hello Radu,

I have tried with the version 20.0 and it solves my problem.

Regards,
Isabelle