I am developing a Python plugin for libreoffice using UNO. In it I want to display a hierarchical data structure.
There is tree control element in :: com :: sun :: star :: awt :: tree. It displays a hierarchical data structure. But it has only one displayable column.
Is there a way to add some more columns? If its not, is it possible to create your own control with this feature using UNO?
UNO tree control with multiple columns
-
- Posts: 1
- Joined: Thu Dec 23, 2021 1:32 pm
UNO tree control with multiple columns
Libreoffice 7.2.0 on Windows 10
Re: UNO tree control with columns
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: UNO tree control with columns
You could create your own control with image controls for the icons and label controls for the text and your own data structure behind it... a tree control is just an arrangement of those... as are other controls.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)