Hello Radu,
It is exactly what I am looking for.
Thanks a lot.
Regards,
Isabelle
Search found 60 matches
- Thu Nov 21, 2019 1:43 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Retrieve the insert position in a text
- Replies: 2
- Views: 111
- Wed Nov 20, 2019 2:05 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Retrieve the insert position in a text
- Replies: 2
- Views: 111
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...
- Thu Sep 26, 2019 3:31 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
- Replies: 19
- Views: 2198
Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Hello Alex,
It works fine now !
Thanks a lot.
Regards,
Isabelle
It works fine now !
Thanks a lot.
Regards,
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: 2198
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"> ...
- 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: 2198
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
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
- 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: 2198
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...
- 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: 2198
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
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
- Thu Aug 08, 2019 7:51 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
- Replies: 19
- Views: 2198
Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Hello Alex,
Thanks a lot for your help.
It finally works.
Regards,
Isabelle
Thanks a lot for your help.
It finally works.
Regards,
Isabelle
- Fri Aug 02, 2019 12:40 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Translation issue
- Replies: 1
- Views: 194
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...
- 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: 415
Re: Build oxy_combobox based on Content Completion values
Hi Radu,
It works fine.
Thank you.
Regards,
Isabelle
It works fine.
Thank you.
Regards,
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: 2198
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...
- 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: 415
Re: Build oxy_combobox based on Content Completion values
Hi Radu,
Thanks for your answer but unfortunately it is for an attribute.
Regards,
Isabelle
Thanks for your answer but unfortunately it is for an attribute.
Regards,
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: 415
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...
- 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: 2198
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
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
- 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: 2198
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...
- 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: 2198
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
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
- 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: 2198
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...
- Wed Mar 27, 2019 6:06 pm
- Forum: Other Issues
- Topic: Compatibility with OpenJDK 1.8
- Replies: 7
- Views: 1028
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...
- Wed Mar 27, 2019 12:00 pm
- Forum: Other Issues
- Topic: Compatibility with OpenJDK 1.8
- Replies: 7
- Views: 1028
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
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
- Tue Mar 26, 2019 4:33 pm
- Forum: Other Issues
- Topic: Compatibility with OpenJDK 1.8
- Replies: 7
- Views: 1028
Re: Compatibility with OpenJDK 1.8
Radu,
Thank you for your answer.
Regarding my problem, here is the error message displayed :
Regards,
Isabelle
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.
Isabelle
- Tue Mar 26, 2019 1:01 pm
- Forum: Other Issues
- Topic: Compatibility with OpenJDK 1.8
- Replies: 7
- Views: 1028
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...
- Thu Mar 14, 2019 5:08 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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...
- Wed Mar 13, 2019 8:38 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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...
- Thu Jan 17, 2019 1:49 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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
Thanks a lot, your workaround works fine.
Now I have the same behavior in any case of copy.
Thanks again,
Regards,
Isabelle
- Wed Jan 16, 2019 6:34 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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...
- Tue Jan 15, 2019 7:35 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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...
- Mon Jan 14, 2019 2:02 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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...
- Mon Jan 14, 2019 1:54 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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
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()
- Fri Jan 11, 2019 8:17 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Copy/Paste event
- Replies: 13
- Views: 2006
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...
- Thu Oct 11, 2018 3:40 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Editor Tag Mode
- Replies: 2
- Views: 947
Re: Editor Tag Mode
Perfect !
Thank you Radu.
Regards,
Isabelle
Thank you Radu.
Regards,
Isabelle