[Libreoffice] How to get cell vertical orientation property?
Alexander O. Anisimov
alenyashka at gmail.com
Wed May 11 03:14:39 PDT 2011
I need to work with cells in text tables using UNO API from Java.
XCell xCell = xCellRange.getCellByPosition(j, i);
> XPropertySet cellSet = UnoRuntime.queryInterface(XPropertySet.class,
> int v = (short) cellSet.getPropertyValue("VertOrient");
In default text table, value of VertOrient property is 0, which equal to
VertOrientation.NONE. But in fact, when I open LibreOffice Writer, all cells
in table have top vertical alignment.
Why is it so? And how can I get vertical orientation of cell properly?
Thanks in advance.
.''`. With best regards,
: :' : Alexander Anisimov
`. `' JID alenyashka at gmail.com
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice