Find All Element Oxygen editor feature to add in Oxygen Web author
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 68
- Joined: Mon Jul 04, 2022 8:42 am
Find All Element Oxygen editor feature to add in Oxygen Web author
Hi Oxygen Team,
Need help to integrate Find All Element feature from editor to oxygen web author.
And also need a modal(dialog) where we can display the found elements and on click of element it should get highlight in the document.
Please do the needful.
Need help to integrate Find All Element feature from editor to oxygen web author.
And also need a modal(dialog) where we can display the found elements and on click of element it should get highlight in the document.
Please do the needful.
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Find All Element Oxygen editor feature to add in Oxygen Web author
Hello,
You can use the JavaScript API [1] [2] to create an action that presents a dialog to the user [3].
Then, you can invoke a custom operation [4] [5] that finds the nodes, using XPATH for example [6].
Then you can show another dialog to present the results (or you can add a custom view [6] for this).
Please let us know if you need any further information.
You can also use our sample plugins [7] as examples during your customization.
[1] https://www.oxygenxml.com/maven/com/oxy ... 0.0/jsdoc/
[2] https://www.oxygenxml.com/doc/versions/ ... ng_js.html
[3] https://www.oxygenxml.com/maven/com/oxy ... ialog.html
[4] https://www.oxygenxml.com/maven/com/oxy ... ction.html
[5] https://www.oxygenxml.com/doc/versions/ ... ft_dgk_54b
[6] https://www.oxygenxml.com/maven/com/oxy ... mview.html
[7] https://github.com/oxygenxml/web-author-sample-plugins
Best Regards,
Mihaela
You can use the JavaScript API [1] [2] to create an action that presents a dialog to the user [3].
Then, you can invoke a custom operation [4] [5] that finds the nodes, using XPATH for example [6].
Then you can show another dialog to present the results (or you can add a custom view [6] for this).
Please let us know if you need any further information.
You can also use our sample plugins [7] as examples during your customization.
[1] https://www.oxygenxml.com/maven/com/oxy ... 0.0/jsdoc/
[2] https://www.oxygenxml.com/doc/versions/ ... ng_js.html
[3] https://www.oxygenxml.com/maven/com/oxy ... ialog.html
[4] https://www.oxygenxml.com/maven/com/oxy ... ction.html
[5] https://www.oxygenxml.com/doc/versions/ ... ft_dgk_54b
[6] https://www.oxygenxml.com/maven/com/oxy ... mview.html
[7] https://github.com/oxygenxml/web-author-sample-plugins
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
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