How to disable xml Document in Author
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
How to disable xml Document in Author
Post by sebastienlavandier »
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 you for your answer.
Best regards.
Seb.L
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 you for your answer.
Best regards.
Seb.L
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to disable xml Document in Author
Hi Sebastien,
What do you mean by "disable"? Do you mean not-editable?
We have some API like:
which might be useful to you.
Regards,
Radu
What do you mean by "disable"? Do you mean not-editable?
We have some API like:
Code: Select all
ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage.setEditable(boolean)
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Re: How to disable xml Document in Author
Post by sebastienlavandier »
Hello Radu,
Thank you very much for your help.
Bye
Thank you very much for your help.
Bye
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Re: How to disable xml Document in Author
Post by sebastienlavandier »
Hi Radu,
Now, with the new 14.2 version I want to know how it's possible to disable xml document in text mode ?
Thanks in advance for your help.
Sébastien
Now, with the new 14.2 version I want to know how it's possible to disable xml document in text mode ?
Thanks in advance for your help.
Sébastien
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: How to disable xml Document in Author
Hi,
Can you please clarify what you understand by "disable xml document"?
Do you want to hide the Text mode and make it inaccessible to the user?
Regards,
Adrian
Can you please clarify what you understand by "disable xml document"?
Do you want to hide the Text mode and make it inaccessible to the user?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Re: How to disable xml Document in Author
Post by sebastienlavandier »
No, I just want that a user can't modify the document in text mode, like it's possible in author mode.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: How to disable xml Document in Author
There is no user option that does this. But, you can use the API that Radu mentioned:
ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage.setEditable(boolean)
Regards,
Adrian
ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage.setEditable(boolean)
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Re: How to disable xml Document in Author
Post by sebastienlavandier »
Thanks you for your help.
Sébastien
Sébastien
Return to “SDK-API, Frameworks - Document Types”
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