/[Apache-SVN]
ViewVC logotype

Revision 1864977


Jump to revision: Previous Next
Author: centic
Date: Mon Aug 12 16:42:46 2019 UTC (5 years, 2 months ago)
Changed paths: 3
Log Message:
Bug 63657: Rework the for bug #62130 to not use up twice as much memory when writing documents.

Unfortunately XMLBeans is very tricky to use here, mainly the fact that setCArray does not replace the internal objects, but copies the content into the currently held objects makes it rather hard to do this right.

Therefore we now try to keep the existing objects and only replace the content as required to
have a stable ordering of cells in the row-XML structure.

This also fixes removing cells from rows to avoid invalid situations and
correctly free CTCellImpl instances.

Changed paths

Path Details
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java modified , text changed
Directorypoi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRow.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26