Find column selected index or row selected index of a table
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Jan 20, 2017 1:11 pm
Find column selected index or row selected index of a table
Hello,
We use version 26.0.0.0 of oxygen sdk.
We need to retrieve the indexes of the selected row or column in a table.
For now, I have found this :
This tells us if it is a row or column selection (TABLE_ROW or TABLE_COLUMN).
But how do I find the index of it ?
Thanks,
Regards
Isabelle
We use version 26.0.0.0 of oxygen sdk.
We need to retrieve the indexes of the selected row or column in a table.
For now, I have found this :
Code: Select all
authorAccess.getEditorAccess().getAuthorSelectionModel().getSelectionInterpretationMode().name()
But how do I find the index of it ?
Thanks,
Regards
Isabelle
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Find column selected index or row selected index of a table
Hi Isabelle,
There is no index information in that SelectionInterpretationMode object.
Maybe you can use this API "ro.sync.ecss.extensions.api.AuthorAccess.getTableAccess()" after you map an offset to a node (ro.sync.ecss.extensions.api.AuthorDocumentController.getNodeAtOffset(int)).
Regards,
Radu
There is no index information in that SelectionInterpretationMode object.
Maybe you can use this API "ro.sync.ecss.extensions.api.AuthorAccess.getTableAccess()" after you map an offset to a node (ro.sync.ecss.extensions.api.AuthorDocumentController.getNodeAtOffset(int)).
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)
- ↳ 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