Bug 136239 - Increase cell limit in Writer tables from 16384
Summary: Increase cell limit in Writer tables from 16384
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Enhancements
  Show dependency treegraph
 
Reported: 2020-08-28 18:33 UTC by An-Kh
Modified: 2021-09-25 17:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description An-Kh 2020-08-28 18:33:58 UTC
When you insert table in Writer and specify low number of rows and columns ( For eg, add a table of size 2*2), it gets inserted properly.

But if the rows and columns increase (say table size of 267 * 63), then the dimensions of table inserted change by itself(like it may change to 260 * 63).

This can be easily verified by printing the number of rows and columns to console.
Comment 1 Aron Budea 2020-08-28 21:49:49 UTC
It seems to me that interestingly, tables in Writer have a total cell count limitation of 16384.
Comment 2 An-Kh 2020-08-28 22:07:42 UTC
@Aron Budea try inserting table of size 300 * 300.
It will insert a table of size 300 * 54.
The total number of cells in this case is 16200.
Comment 3 Aron Budea 2020-08-28 23:03:07 UTC
If you enter 300 x 300, one of them will be reduced to a number which multiplies to <= 16384, which is 300 x 54 in your case (300*55 is 16500). No problem there.

Let's consider this an enhancement, and it seems reasonable, though I don't know what the limit should be increased to. 131072? 1048576?
Comment 4 An-Kh 2020-08-29 10:25:43 UTC
(In reply to Aron Budea from comment #3)
> If you enter 300 x 300, one of them will be reduced to a number which
> multiplies to <= 16384, which is 300 x 54 in your case (300*55 is 16500). No
> problem there.
> 
> Let's consider this an enhancement, and it seems reasonable, though I don't
> know what the limit should be increased to. 131072? 1048576?

Yes, it should be increased.
If it can't be increased at this point, then at least a warning should be shown like this "Size limit exceeded".
Comment 5 Roman Kuznetsov 2021-09-25 17:24:10 UTC
Hm, I tried to insert 30 col x 1000 rows = 30000 cells -> it works

Closed as WFM. Feel free to reopen it if you still have the problem
Comment 6 Roman Kuznetsov 2021-09-25 17:24:27 UTC
(In reply to Roman Kuznetsov from comment #5)
> Hm, I tried to insert 30 col x 1000 rows = 30000 cells -> it works
> 
> Closed as WFM. Feel free to reopen it if you still have the problem

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a9cc066a86c6bd3423c5802c5a4eded55a50c754
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL