Can you set the Outline Panel filter from the desktop author SDK/API
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 3
- Joined: Wed Feb 19, 2025 7:35 pm
Can you set the Outline Panel filter from the desktop author SDK/API
Post by gc_swilson39 »
I'm having trouble finding information about interacting with the Outline View pane in the desktop version Author.
Is it possible to interact with that panel using the Java SDK?
I'd like to create a custom action in Java that can do something like simultaneously collapse all the child elements below a certain XML tag in the Author pane, AND apply a filter in the Outline pane to match. For example, collapse all the elements in a DocBook file below <section> and filter the outline to just <section> tags as well.
If that's not possible, perhaps someone knows of an alternative? Is there is a way to synchronize the expand/collapse state in the outline tree with the document tree?
Thanks for any help you can provide!
-Scott
Is it possible to interact with that panel using the Java SDK?
I'd like to create a custom action in Java that can do something like simultaneously collapse all the child elements below a certain XML tag in the Author pane, AND apply a filter in the Outline pane to match. For example, collapse all the elements in a DocBook file below <section> and filter the outline to just <section> tags as well.
If that's not possible, perhaps someone knows of an alternative? Is there is a way to synchronize the expand/collapse state in the outline tree with the document tree?
Thanks for any help you can provide!
-Scott
-
- Posts: 9515
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Can you set the Outline Panel filter from the desktop author SDK/API
Hi Scott,
Unfortunately we do not have much API to interact with the Outline.
We have "ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPage.getOutlineAccess()"
https://archives.oxygenxml.com/Oxygen/E ... ccess.html
which allows you to select nodes or get the current selection.
And we also have this API:
https://www.oxygenxml.com/InstData/Edit ... ustomizer)
which would allow you to customize the popup menu on the Outline: https://www.oxygenxml.com/InstData/Edit ... horAccess)
Using our APIs one could probably build their own Outline custom side view but this would take some work.
Regards,
Radu
Unfortunately we do not have much API to interact with the Outline.
We have "ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPage.getOutlineAccess()"
https://archives.oxygenxml.com/Oxygen/E ... ccess.html
which allows you to select nodes or get the current selection.
And we also have this API:
https://www.oxygenxml.com/InstData/Edit ... ustomizer)
which would allow you to customize the popup menu on the Outline: https://www.oxygenxml.com/InstData/Edit ... horAccess)
Using our APIs one could probably build their own Outline custom side view but this would take some work.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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