Hello
i have one problem which i really cant understand how to solve. I am using
OpenOffice.org 2.0.3.
In openoffice.org writer i am making a document. There is a table with header
of 2 rows and there r also 2 cells merged ... but merged vertically (two cells
of one column r merged, only this cells the others r normal) .
from the code i am adding new rows as much as is necessary. Everything is ok
for all kind of open office docs except of these where exist this kind of
merge. For example if the merge is horizontally everything is ok!
i debug it and i saw that the problem is exactly when i am trying to insert
another row in the table. Finally the count of the rows nevermind how much i
tried to add is the same.
i am inserting rows in this way:
com.sun.star.table.XTableRows rows = xTable.getTable().getRows();
rows.insertByIndex(rows.getCount(), newRowCount);
Please help me if u r able .
Tnanx a lot
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.