Finding ditamap integrated in main file
Post here questions and problems related to oXygen frameworks/document types.
Finding ditamap integrated in main file
I'm developing custom element insertion extension Java program via Oxygen frame work. The extension works only for topics that have customized public identifiers.
In this extension, I want to access ditamap file integrated in project's main file. Is it possible in the AuthorAccess interface described in the following URL?
https://www.oxygenxml.com/InstData/Edit ... ccess.html
Thanks for your help!
In this extension, I want to access ditamap file integrated in project's main file. Is it possible in the AuthorAccess interface described in the following URL?
https://www.oxygenxml.com/InstData/Edit ... ccess.html
Thanks for your help!
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
Re: Finding ditamap integrated in main file
Hi,
In the DITA Maps Manager view there is a "Context" combo box which points to a root DITA Map.
You can use the API "ro.sync.ecss.dita.DITAAccess.getRootMapURL()" to access the root map listed there.
We also have the API:
((StandalonePluginWorkspace)PluginWorkspaceProvider.getPluginWorkspace()).getProjectManager().getMainFileResourcesIterator()
if you want to iterate through all "Main Files" referenced in the "Main Files" folder.
Regards,
Radu
In the DITA Maps Manager view there is a "Context" combo box which points to a root DITA Map.
You can use the API "ro.sync.ecss.dita.DITAAccess.getRootMapURL()" to access the root map listed there.
We also have the API:
((StandalonePluginWorkspace)PluginWorkspaceProvider.getPluginWorkspace()).getProjectManager().getMainFileResourcesIterator()
if you want to iterate through all "Main Files" referenced in the "Main Files" folder.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Finding ditamap integrated in main file
Thank you for your quick reply!
> You can use the API "ro.sync.ecss.dita.DITAAccess.getRootMapURL()" to access the root map listed there.
I got it.
I also found the source code written by my colleague that use this API.
Much appreciated.
> You can use the API "ro.sync.ecss.dita.DITAAccess.getRootMapURL()" to access the root map listed there.
I got it.
I also found the source code written by my colleague that use this API.
Much appreciated.
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
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