Apache OpenOffice (AOO) Bugzilla – Issue 30830
Problem with full formated documents due to increased rowlimit
Last modified: 2013-08-07 15:15:02 UTC
Documents which are full formated (e.g. by setting a border from B1:b32000) are getting bigger in OOo2.0 because of the increased rowlimit and a now changing formating. The problems are filesize, loading performance, print ranges...
In other words: styles applied down with no data contained in these cells should be extended to the new bottom row. The question remains: how many rows are to be considered for that "no data contained at bottom" criterium? It would be nonsense to test for a fixed row number 32000, as future versions again may increase the limit, or people may compile their own version with different limits, and the same problem would occur again with formats extended down to row 65536.
*** Issue 37341 has been marked as a duplicate of this issue. ***
Solution: for each column i ( find the last cell that contains content. Coordinates are (i,c) Start at (i,c+1) to find a series of cells with uniform visual style of length 84. Coordinates of first cell of of this series is (i, u) The last row to be used for the definition of the range maxi= u-1 ) The maximum of all maxi values is the limit for the print/selection range.
I'm doing the change.
Fixed on CWS "calc29". Changed: attarray.hxx 1.5.292.1 column.hxx 1.13.168.1 attarray.cxx 1.18.168.1 column2.cxx 1.22.168.1 table1.cxx 1.10.184.1 Automatic print ranges, HTML/RTF export, and the Ctrl-End keyboard shortcut now handle cell formats as described by mmp above. The formats in these old documents still extend to row 32000 (because that's what the file content says), but no unnecessary pages are created from the formats. Loading performance and file size has never been a problem, Excel export was handled separately (see issue 194).
back to QA for verification re-open issue and try to reassign to oc@openoffice.org
try to reassign to oc@openoffice.org
try to reset resolution to FIXED
found fixed on cws calc29 using Windows, Linux and Solaris build.
*** Issue 41857 has been marked as a duplicate of this issue. ***
closed because fix available in OOo1.9m87
Created attachment 73223