Hi Georgy,

Georgy Dimitrov wrote:

I have a problem adding rows to XTextTable. I use the following code to add
rows in chunks - the call to insertByIndex(...) never returns and the
soffice.bin process takes about 50% of CPU. Code is like this:
 *Code:*
   com.sun.star.table.XTableRows rows = xTable.getRows();
   for (int i = 0; i < list.length; i++){
[...]
It may be a coincidence, but it is working fine until rowcount*columncount <
65536 and not when this count is exceeded. In my case of 17 columns this
means 3855 rows.

Please let me know whether this limitation is real and known or there is
something that I may be doing wrong.

Think I saw this problem before. The int type is the limitation. Use double for i.

Greetings,
Cor

--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to