Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi all,

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,
xCell);
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@gmail.com
  `-   Debian - when you have better things to do than fixing systems

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.