UNO Writer: Merging cells results in wrong column count from XTextTable

Grover Blue grover.blue at gmail.com
Thu Aug 28 11:43:31 PDT 2014


I have a Writer document with a table that has two rows and 5 columns. When
XTextTable is first created, xTextTable.getColumns().getCount() returns the
correct count of 5. When I merge 4 columns in the first row,
xTextTable.getColumns().getCount() then returns a count of 2. But that's
wrong, since row 2 has 5 columns.


Is this a bug?  If not, how to properly get the number of columns/rows in a
table?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140828/fed415ef/attachment.html>


More information about the LibreOffice mailing list