Search found 39 matches

by Isabelle
Thu Mar 14, 2019 5:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Copy/Paste event
Replies: 13
Views: 610

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by Isabelle
Wed Jan 10, 2018 3:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Override the name of CSS title for localisation in framework
Replies: 8
Views: 1545

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

Hi Radu, Thanks for your answer. I tried to build the css toolbar using the "createCSSAlternativesToolbar()" method like this : JToolBar cssAlternativesToolBar = currentPage.createCSSAlternativesToolbar(); for (int i = 0; i < cssAlternativesToolBar.getComponentCount(); i++) { final JComponent jc = (...
by Isabelle
Wed Jan 10, 2018 2:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Override the name of CSS title for localisation in framework
Replies: 8
Views: 1545

Override the name of CSS title for localisation in framework

Hello, We use oxygen-18.1.0.0.jar, and we need to override the name of CSS title for localisation. I success to manage localisation for other actions and toolbars in the framework thanks to "translation.xml" file. But I don't find how to do for cssFile title. Can you explain me how to do that, pleas...
by Isabelle
Mon Apr 03, 2017 10:47 am
Forum: SDK-API, Frameworks - Document Types
Topic: Override the "accept" action in Manage Reviews panel
Replies: 4
Views: 1552

Re: Override the "accept" action in Manage Reviews panel

Hello,

Thank you Alex.
I didn't realize it was an "hover" method type.
I will try this.

Regards,
Isabelle
by Isabelle
Fri Mar 31, 2017 7:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Catch "onchange" event of a document
Replies: 1
Views: 926

Catch "onchange" event of a document

Hello, We use oxygen-18.1.0.0.jar, and we need to know when a document is changed (add/delete/update text or element, ...) in order to update our customize toolbar. I try to override the method "editingOccured()" from the "InplaceEditingListener" interface but when I modify the document in the autho...

Go to advanced search