Search found 124 matches

by sebastienlavandier
Mon Aug 27, 2012 11:57 am
Forum: Other Issues
Topic: how can I get the position (line, column) from an XPath?
Replies: 14
Views: 7442

how can I get the position (line, column) from an XPath?

Hello, I'm using a customized java service for the xml validation (MyClass extends ValidationProblemsFilter). I need to identify the position (line, column) from an XPath for underline the error to the screen. I have already got the text length with this code : WSAuthorEditorPage authorPageAccess = ...
by sebastienlavandier
Mon Aug 27, 2012 11:38 am
Forum: Other Issues
Topic: how do I know if the user is in text mode or author ?
Replies: 2
Views: 1302

Re: how do I know if the user is in text mode or author ?

Hi Radu,

Thanks for your answer that works well.
Bye
by sebastienlavandier
Mon Aug 27, 2012 11:16 am
Forum: Other Issues
Topic: how do I know if the user is in text mode or author ?
Replies: 2
Views: 1302

how do I know if the user is in text mode or author ?

Hello,

I need to know if the user is in text mode or in the author mode.
How I can do that ?
Do you have an idea ?
Thanks in advance for your answer.
Bye
by sebastienlavandier
Thu Aug 23, 2012 2:18 pm
Forum: XML Schemas
Topic: How can I use a customized java service for xml validation ?
Replies: 8
Views: 5310

Re: How can I use a customized java service for xml validation ?

Hi Sorin,

It work well !
Thank you for your help.
Bye
by sebastienlavandier
Thu Aug 23, 2012 12:44 pm
Forum: XML Schemas
Topic: How can I use a customized java service for xml validation ?
Replies: 8
Views: 5310

Re: How can I use a customized java service for xml validation ?

Hello, Thanks you for your answer. When the XML document is validated (automaticaly / Manualy), a list of messages is generated in the error widget. Now I want to put some others messages in this list. To do that, I must detected when Oxygen is validating the XML document. How I can do that ? I don'...
by sebastienlavandier
Thu Aug 23, 2012 11:54 am
Forum: XML Schemas
Topic: How can I use a customized java service for xml validation ?
Replies: 8
Views: 5310

Re: How can I use a customized java service for xml validation ?

Then we have some API like: ro.sync.exml.workspace.api.editor.WSEditor.addValidationProblemsFilter(ValidationProblemsFilter) which would notify you each time Oxygen is validating the document and allow you to add additional errors in the list of detected errors. Regards, Radu Hello Radu, I'm trying...
by sebastienlavandier
Wed Aug 22, 2012 5:24 pm
Forum: XML Schemas
Topic: How can I use a customized java service for xml validation ?
Replies: 8
Views: 5310

Re: How can I use a customized java service for xml validation ?

Hi Radu, Thanks you for your answer. I trying to implement your solution, and for do that I must instantiate a "DocumentPositionedInfo". Now my problem is how to know what are the parameters of the DocumentPositionedInfo constructor ? I don't find informations for this class. Do you have a...
by sebastienlavandier
Thu Aug 09, 2012 5:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How can I do to know if the action was canceled by user ?
Replies: 2
Views: 2951

How can I do to know if the action was canceled by user ?

Hello, During a Drag'nDrop action where I use insertXMLFragmentSchemaAware(), a dialog box is open and offers some solutions. When I click on the cancel buton, an AuthorOperationException is thrown. But how can I do to know if the action was canceled by user ? Do you have some ideas ? Thanks in adva...
by sebastienlavandier
Thu Aug 09, 2012 9:55 am
Forum: Other Issues
Topic: How can I see CGM Images in Oxygen Author ?
Replies: 6
Views: 2779

Re: How can I see CGM Images in Oxygen Author ?

Hello,

yes, it would be a good idea?
Regards
by sebastienlavandier
Tue Aug 07, 2012 5:14 pm
Forum: Other Issues
Topic: How can I see CGM Images in Oxygen Author ?
Replies: 6
Views: 2779

Re: How can I see CGM Images in Oxygen Author ?

Hello,

Do you think, that the next version of Author will contain a solution for see the cgm images ?

Thank in advance for your answer.
by sebastienlavandier
Mon Aug 06, 2012 11:39 am
Forum: Other Issues
Topic: How can I represent an xml element with some attributes (id, name, ...) in a table with a css file ?
Replies: 2
Views: 1711

How can I represent an xml element with some attributes (id, name, ...) in a table with a css file ?

Hello, I have already represent a xml element in a table with a css file (table, table-row, table-cell, ...). It works well ! But now, I meet a problem with an other xml element which is composed by many attributes (Id, name, refs, ...) and I can't build a table to represent this. Example : <hotspot...
by sebastienlavandier
Tue Jul 31, 2012 3:07 pm
Forum: Other Issues
Topic: How can I do a header or a footer with some xml element ?
Replies: 2
Views: 1324

Re: How can I do a header or a footer with some xml element ?

Thank you very much for your help.
Bye
by sebastienlavandier
Tue Jul 31, 2012 12:34 pm
Forum: XML Schemas
Topic: How can I force Author Oxygen to use an integrated schema ?
Replies: 2
Views: 2975

How can I force Author Oxygen to use an integrated schema ?

Hello, How can I force Author Oxygen to use an integrated schema ( descript.xsd declared in .framework ) and don't use that which are declared in the xml document. The schema is declared like this in the xml document : <dmodule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc...
by sebastienlavandier
Thu Jul 26, 2012 10:33 am
Forum: Other Issues
Topic: How can I see CGM Images in Oxygen Author ?
Replies: 6
Views: 2779

How can I see CGM Images in Oxygen Author ?

Hello, I want visualize an xml document with a CGM Image format in Oxygen Author. I have find this : http://oxygenxml.com/doc/ug-editor/tasks/installing-cgm-library.html I have do the procedure (put a .jar in the lib folder), and now, I can see the CGM Images. But on the cgm images I have a message ...
by sebastienlavandier
Wed Jul 25, 2012 1:21 pm
Forum: XML Schemas
Topic: How can I use a customized java service for xml validation ?
Replies: 8
Views: 5310

How can I use a customized java service for xml validation ?

Hello, We have a specific xml document, that contains a list of rules, with for each case : an xpath, a test and a warning message which must appear if the test are wrong. It's a normed document we can't make otherwise ! The problem is that document is not a standard xml validation format like .xsd,...
by sebastienlavandier
Tue Jul 24, 2012 10:52 am
Forum: Other Issues
Topic: How can I do a header or a footer with some xml element ?
Replies: 2
Views: 1324

How can I do a header or a footer with some xml element ?

Hello,

I want to place some xml elements in a header or a footer by a css.

I have find display: flex for set the position to an element but it don't run with Oxygen Author...

How can I do this ?
Do you have some ideas ?

Thanks in advance.
by sebastienlavandier
Mon Jul 16, 2012 10:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to disable xml Document in Author
Replies: 7
Views: 4158

Re: How to disable xml Document in Author

Hello Radu,
Thank you very much for your help.
Bye
by sebastienlavandier
Fri Jul 13, 2012 11:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4950

Re: keep the current cursor's position after an Xml insert.

Sorry for the delay
Thank you very much for your help
Bye
by sebastienlavandier
Fri Jul 13, 2012 11:00 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to disable xml Document in Author
Replies: 7
Views: 4158

How to disable xml Document in Author

Hello, I want to know if it's possible to disable an Xml Document when it opening, maybe by using a framework ? which method can I use ? In a second step, if user do a right click on the Xml document, I want to proposed him to enable this document. Do you think that is possible ? Thanks in advance y...
by sebastienlavandier
Wed Jul 11, 2012 12:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to store user's informations
Replies: 4
Views: 3649

Re: How to store user's informations

Thanks Radu,

But if I want to store a user account, could I used the method :
standalonePluginWorkspace.getOptionsStorage().setOption() ?

and where data are stored ?

Thanks in advance for your answer.
Seb
by sebastienlavandier
Wed Jul 11, 2012 10:01 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to store user's informations
Replies: 4
Views: 3649

How to store user's informations

Hello, I develop a plugin for the author, and I want to store different informations like server url, user name, password, ... I found a method "StandalonePluginWorkspace.getOptionsStorage()" in the Author API. But could you say me where are store the informations, only in memory, or in a ...
by sebastienlavandier
Tue Jun 19, 2012 10:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4950

Re: keep the current cursor's position after an Xml insert.

Hi Radu,
Thanks for you answer.
Now the cursor is at the good position (first insert), but the scroll screen stay to the 2nd insert.

Do you have another idea ? or a solution for the scroll ?
Thanks in advance.
by sebastienlavandier
Mon Jun 18, 2012 1:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4950

Re: keep the current cursor's position after an Xml insert.

Hi Radu,

I tried this, but after the second insert the value of the caret position become false (because an xml fragment was inserted).

I can't use this solution.
Do you have another ?
Thanks.
by sebastienlavandier
Mon Jun 18, 2012 10:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: keep the current cursor's position after an Xml insert.
Replies: 7
Views: 4950

keep the current cursor's position after an Xml insert.

Hi, In my application, I can add some swing object to an xml document by drag and drop, by using "AuthorDnDListener", and most specially the function "authorDrop" (which is called when dnd is terminated). In this function, I use the function "AuthorDocumentController.insertX...
by sebastienlavandier
Thu Jun 14, 2012 12:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener - Can't get my objet
Replies: 4
Views: 3327

Re: AuthorDnDListener - Can't get my objet

Hi,
I tested both solutions (retrospection / Serialisation). Both works well !
Thanks again.
Bye
by sebastienlavandier
Wed Jun 13, 2012 12:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDnDListener - Can't get my objet
Replies: 4
Views: 3327

AuthorDnDListener - Can't get my objet

Hi, In my application, I make a drag and drop action of a swing objet to an xml document, with a AuthorDnDListener which is in a framework and a java.awt.datatransfer.Transferable with a TransferHandler which are in a plugin. That works ! But now I want to make some tests/update on the xml document ...