Search found 55 matches
- by Max
- Thu Aug 20, 2009 3:06 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, We run Author extension. Author extension highlights words and copies a part of words into a massive of words aWords which is declared as Static . After closing the doc we open another one and run Author extension. The massive aWords is not empty. We need to clear the massive aWords . I...
- by Max
- Wed Aug 19, 2009 1:54 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, We have such a fragment: 1 <Commands> 2 <cmd>text of command... </cmd> 3 <cmd> | text of command... </cmd> 4 <cmd>text of command... </cmd> 5 <cmd>text of command... </cmd> 6 <cmd>text of command... </cmd> 7 </Commands> | - it's a cursor How can we disable deleting the node <cmd> on the...
- by Max
- Mon Aug 17, 2009 10:39 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, We select a word in the first document and run Author extension. Author extension opens a new document and inserts this word with the help of authorAccess.getDocumentController().insertText(). But the word is inserted in the first document. How to set Focus to the second document? After...
- by Max
- Fri Aug 14, 2009 11:46 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
And how to get an access to AuthorAccess from the event handler beforeContentDelete()?
We need to remove highlighting from an edited word.
Regards,
Max
We need to remove highlighting from an edited word.
Regards,
Max
- by Max
- Fri Aug 14, 2009 11:29 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
Is there a way to cancel insertion or deletion of a text fragment?
Can I do it in events beforeContentInsert() and beforeContentDelete() ?
Regards,
Max
Is there a way to cancel insertion or deletion of a text fragment?
Can I do it in events beforeContentInsert() and beforeContentDelete() ?
Regards,
Max
- by Max
- Thu Aug 13, 2009 12:18 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Sorry, I'm mistaken.
I meant not a button, but a key. We need to process the event of key pressing.
Regards,
Max
I meant not a button, but a key. We need to process the event of key pressing.
Regards,
Max
- by Max
- Thu Aug 13, 2009 10:48 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
We need to process the event of pressing the button (when the user is starting to type the text).
What is the best solution for realizing it?
Regards,
Max
We need to process the event of pressing the button (when the user is starting to type the text).
What is the best solution for realizing it?
Regards,
Max
- by Max
- Tue Aug 11, 2009 3:42 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Yes, we can open the doc as java file but it's content will contain the XML code, while we need plain text. E.g. the XML file will list "<para>This is text</para>", and we only need "This is text". So far we need to either parse it with DOM (which is slow) or manually create a pa...
- by Max
- Tue Aug 11, 2009 3:10 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
We'll need only plaintext with all xml tags skipped.
so if we use a simple parser which strips off text between "<" and ">", can you guarantee it gets us pure document text?
because if we open the doc in Oxygenem then we automatically get the plaintext.
Regards,
Max
so if we use a simple parser which strips off text between "<" and ">", can you guarantee it gets us pure document text?
because if we open the doc in Oxygenem then we automatically get the plaintext.
Regards,
Max
- by Max
- Tue Aug 11, 2009 2:53 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hi Sorin, Imagine we need to create a report on a document. We have the filename of the document and now need to get it's text. With this purpose we open the document, read it's content and close it. Everything is done automatically, best if user never notices that. So we either need a way of closin...
- by Max
- Tue Aug 11, 2009 11:41 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
We open the document with the help of:
How to close the opened document?
Regards,
Max
We open the document with the help of:
Code: Select all
authorAccess.getWorkspaceAccess().open(URLtoDoc))
Regards,
Max
- by Max
- Fri Aug 07, 2009 12:06 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, Now we have 2 solutions for displaying the Form from DLL in Modal Mode and 1 solution for Normal mode ( Form.Show ) using javax.swing.Timer. The solution for Normal mode ( Form.Show ) using javax.swing.Timer. is accepted and approved. For Modal mode we accepted a temporary solution (Sol...
- by Max
- Thu Aug 06, 2009 4:26 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
Thank you very much for your support and help. We decided to leave the problem as is until we would find necessary information.
Menus and the editor window after step 3 work fine. Unfortunately you could not repeat the problem with the package I've sent.
Regards,
Max
Thank you very much for your support and help. We decided to leave the problem as is until we would find necessary information.
Menus and the editor window after step 3 work fine. Unfortunately you could not repeat the problem with the package I've sent.
Regards,
Max
- by Max
- Wed Aug 05, 2009 1:30 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, We've found out the following: See attached video. http://www.mediafire.com/?sharekey=88ef76eb1d9a7ec700d27174b47c6657e04e75f6e8ebb871 Description: Please, open <Oxygen/>. Open a doc. Step 1. Press "Mo" button (The editor shows Dll Form in Modal Mode). Move the Form in front o...
- by Max
- Fri Jul 31, 2009 1:21 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hi Sorin.
We have solved the problem with Dll using javax.swing.Timer.
Regards,
Max
We have solved the problem with Dll using javax.swing.Timer.
Regards,
Max
- by Max
- Fri Jul 31, 2009 11:05 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hi Sorin. Your example works only because it is about dialog, the modal window which does not allow doing anything untill it is closed. In our case after showing the window we must return execution to the host application - oxygene. Imagine that we always show the word under cursor in a separate win...
- by Max
- Mon Jul 27, 2009 5:33 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello, Sorin.
I’ve sent you the archive. See “Read_Me” file.
Regards,
Max
I’ve sent you the archive. See “Read_Me” file.
Regards,
Max
- by Max
- Fri Jul 24, 2009 3:53 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
1. Unfortunately our dialogs are not java based. We use ordinary win32 dialog from our kernel DLL. So we need a win32 sollution here. A windows handle 2. Sorry for the typo.. I mean NEVER responds. We show up the window from our DLL, it correctly displays, but clicking on the window controls has no ...
- by Max
- Fri Jul 24, 2009 2:53 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello, Sorin Thank you very-very much for your help. Using highlights instead of inserting the colouring tags has solved almost all problems, well done! http://i32.tinypic.com/2m5i1kj.png But we still seem to have a couple of minor questions, both related to using our windows. 1. To be able to corre...
- by Max
- Wed Jul 22, 2009 12:19 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, The third question is: How to make plugin catch "on close oxygen" event? This code is not working: ((JFrame)authorAccess.getParentFrame()).addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent e) { //Some code "on close" } } ); Regards, Max
- by Max
- Tue Jul 21, 2009 5:05 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
And the second question is:
How to get Win32 Window Handle (WHND) from authorAccess.getParentFrame() ?
Regards,
Max
How to get Win32 Window Handle (WHND) from authorAccess.getParentFrame() ?
Regards,
Max
- by Max
- Tue Jul 21, 2009 2:31 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
We want to edit CSS file while "doOperation(...)" is running
Regards,
Max
Regards,
Max
- by Max
- Tue Jul 21, 2009 12:03 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
How to get form Java a path to CSS file with the help of which XML document is rendering?
Regards,
Max
How to get form Java a path to CSS file with the help of which XML document is rendering?
Regards,
Max
- by Max
- Mon Jul 20, 2009 12:50 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
My Boss has sent the details.
Regards,
Max
Regards,
Max
- by Max
- Mon Jul 20, 2009 12:10 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hi Sorin, Imagine that you add some modifications to an open document which are temporary. So if a users decides to save the document the modifications must be cleared first. This is why we need the event.. Every time the document is about to be saved, we need to make sure that our modifications to ...
- by Max
- Mon Jul 20, 2009 11:13 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
Thanx for answers!
How to make plugin catch "on save document" event?
Regards,
Max
Thanx for answers!
How to make plugin catch "on save document" event?
Regards,
Max
- by Max
- Thu Jul 16, 2009 3:14 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hi,
Thank you for the example.
Do you think using PIs may speed the process up or it'll be same slow?
Regards,
Max
Thank you for the example.
Do you think using PIs may speed the process up or it'll be same slow?
Regards,
Max
- by Max
- Thu Jul 16, 2009 11:07 am
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin,
Is it possible to highlight each word with a different color as at After.png with the help of Processing Instructions?
Regards,
Max
Is it possible to highlight each word with a different color as at After.png with the help of Processing Instructions?
Regards,
Max
- by Max
- Tue Jul 14, 2009 12:33 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Hello Sorin, We are searching for the fastest way of surrounding words with <MyTag_color> tags. Does insertMultipleElements() support inserting both opening and closing tags simultaneously to surround a word designated by the offset? If not, can you please give us as sample of the fastest code which...
- by Max
- Mon Jul 13, 2009 5:50 pm
- Forum: Other Issues
- Topic: oXygene Editor Events
- Replies: 89
- Views: 26623
Re: oXygene Editor Events
Yes, please, post an example here.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service