Customizing "New document wizard" for new framework
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 11
- Joined: Thu Jul 06, 2017 10:53 am
- Location: Nantes, France
Customizing "New document wizard" for new framework
Post by jbvalentin »
Hi,
I've set up a framework to support a specific set of DTDs/Schemas.
I've created some templates as per https://www.oxygenxml.com/doc/versions/ ... lates.html
I'd like to know if it would also be possible to create a specific "New document wizard" so that users would have a specific dialog to enter requested data. I've looked at the https://www.oxygenxml.com/doc/versions/ ... orial.html page but haven't been able to find relevant information.
Could point me to the documentation, or provide me with guidelines on how to achieve that?
Thank you very much.
Regards,
Jean-Baptiste
I've set up a framework to support a specific set of DTDs/Schemas.
I've created some templates as per https://www.oxygenxml.com/doc/versions/ ... lates.html
I'd like to know if it would also be possible to create a specific "New document wizard" so that users would have a specific dialog to enter requested data. I've looked at the https://www.oxygenxml.com/doc/versions/ ... orial.html page but haven't been able to find relevant information.
Could point me to the documentation, or provide me with guidelines on how to achieve that?
Thank you very much.
Regards,
Jean-Baptiste
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customizing "New document wizard" for new framework
Hi Jean-Baptiste,
We do not have APIs right now for this, I added an internal issue to consider this for a future version.
A couple of possible workarounds:
1) Use editor variables in the new file templates:
https://www.oxygenxml.com/doc/versions/ ... ables.html
They automatically get expanded when a file is created based on the template. And one editor variable is called "ask" and it shows a dialog to the end user requesting a certain value.
2) If the XML documents open in the Author visual editing mode you could try to use this special CSS property:
https://www.oxygenxml.com/doc/versions/ ... nsion.html
3) Create a Java-based plugin for Oxygen which adds your own "New" button to the toolbar. Sample plugin:
https://github.com/oxygenxml/sample-plu ... ace-access
Regards,
Radu
We do not have APIs right now for this, I added an internal issue to consider this for a future version.
A couple of possible workarounds:
1) Use editor variables in the new file templates:
https://www.oxygenxml.com/doc/versions/ ... ables.html
They automatically get expanded when a file is created based on the template. And one editor variable is called "ask" and it shows a dialog to the end user requesting a certain value.
2) If the XML documents open in the Author visual editing mode you could try to use this special CSS property:
https://www.oxygenxml.com/doc/versions/ ... nsion.html
3) Create a Java-based plugin for Oxygen which adds your own "New" button to the toolbar. Sample plugin:
https://github.com/oxygenxml/sample-plu ... ace-access
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Thu Jul 06, 2017 10:53 am
- Location: Nantes, France
Re: Customizing "New document wizard" for new framework
Post by jbvalentin »
Hi Radu,
thank you very much for your answer.
I'll try some suggested workarounds in the meantime - the third one looks close to what I'd like to achieve.
Regards,
Jean-Baptiste
thank you very much for your answer.
I'll try some suggested workarounds in the meantime - the third one looks close to what I'd like to achieve.
Regards,
Jean-Baptiste
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