Search found 43 matches

by Isabelle
Wed Mar 27, 2019 6:06 pm
Forum: Other Issues
Topic: Compatibility with OpenJDK 1.8
Replies: 7
Views: 503

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

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

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

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

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

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 attribute hav...
by Isabelle
Thu Jan 17, 2019 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 1326

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

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

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" action of th...
by Isabelle
Mon Jan 14, 2019 2:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 1326

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

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

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, we need to take th...
by Isabelle
Thu Oct 11, 2018 3:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Editor Tag Mode
Replies: 2
Views: 853

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

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

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

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 infoEntityIdent="X...
by Isabelle
Thu Apr 19, 2018 4:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Attributes deleted
Replies: 3
Views: 1375

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

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

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

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 make an undo (Ctrl+...
by Isabelle
Wed Apr 18, 2018 5:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Auto Completion error
Replies: 5
Views: 1666

Re: Auto Completion error

Hello Radu,

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

Regards,
Isabelle
by Isabelle
Tue Apr 10, 2018 12:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Auto Completion error
Replies: 5
Views: 1666

Re: Auto Completion error

Hello Radu,

I will try and let you know if the issue persists.

Regards,
Isabelle Ousset
by Isabelle
Wed Apr 04, 2018 8:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Auto Completion error
Replies: 5
Views: 1666

Auto Completion error

Hello, We use oxygen-18.1.0.0.jar, and we have a problem when we use auto-completion or the panel "Element" to add specific xml tag. We have this in our xsd file : <xs:complexType name="PourType"> <xs:sequence> <xs:element name="ldp" type="xs:string"/> <xs:element name="periode" type="PeriodeType" m...
by Isabelle
Thu Jan 18, 2018 6:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Add new languages in oxygen-xercesImpl jar
Replies: 2
Views: 1219

Re: Add new languages in oxygen-xercesImpl jar

Hello Radu,

We have fixed the encoding of the file and escaped characters and it works fine now.
Thank you for your help.

Regards,
Isabelle
by Isabelle
Wed Jan 17, 2018 6:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Add new languages in oxygen-xercesImpl jar
Replies: 2
Views: 1219

Add new languages in oxygen-xercesImpl jar

Hello, We use oxygen-18.1.0.0.jar, and we need to add the Portuguese, Spanish and Chinese language to our application. That is why we updated the jar oxygen-xercesImpl in order to have the xml errors messages in this new languages. Spanish and Portuguese works fine but not Chinese. The Chinese chara...
by Isabelle
Fri Jan 12, 2018 5:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Add new language in Oxygen framework for localization
Replies: 3
Views: 1475

Re: Add new language in Oxygen framework for localization

Radu, Yes, I was referring to the "translation.xml" file in my custom framework folder. And yes I set the default locale to the corresponding language in my Java code before initializing the AuthorComponentFactory. I have tested to add the 3 languages in the file "languageList.properties" and it wor...
by Isabelle
Fri Jan 12, 2018 2:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Add new language in Oxygen framework for localization
Replies: 3
Views: 1475

Add new language in Oxygen framework for localization

Hello, We use oxygen-18.1.0.0.jar, and we need to add the Portuguese, Spanish and Chinese language to our "translation.xml" file. I have read this page http://www.oxygenxml.com/doc/versions/18.1/ug-editor/#topics/localizing_frameworks.html and I have updated the "translation.xml" file this way : <la...
by Isabelle
Wed Jan 10, 2018 6:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Override the name of CSS title for localisation in framework
Replies: 8
Views: 1887

Re: Override the name of CSS title for localisation in framework

Hi Radu,

Thanks for the information and for your help.

Regards,
Isabelle
by Isabelle
Wed Jan 10, 2018 5:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Override the name of CSS title for localisation in framework
Replies: 8
Views: 1887

Re: Override the name of CSS title for localisation in framework

Hi Radu, Thanks for your help, this is the solution I looked for. Regarding your last question, I find "popupMenu.invoker.db.0.title" this way. In debug mode I inspect the popupMenu element with debugger tool. I find "invoker" field. And when I inspect this field I find an arrayList with the name "d...
by Isabelle
Wed Jan 10, 2018 5:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Override the name of CSS title for localisation in framework
Replies: 8
Views: 1887

Re: Override the name of CSS title for localisation in framework

Hi Radu, It doesn't change my situation. Even if I use JComponent, or JMenu or JPopupMenu , the name is null. The string I put as title in the framework : <cssFile> <field name="href"> <String>${framework}/redacteur.less</String> </field> <field name="title"> <String>css.file.redactor</String> </fie...