import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
+import org.apache.poi.util.Internal;
/**
* Streaming version of XSSFRow implementing the "BigGridDemo" strategy.
SXSSFSheet _sheet;
SXSSFCell[] _cells;
int _maxColumn=-1;
- short _style=-1;
+ private short _style=-1;
short _height=-1;
boolean _zHeight = false;
int _outlineLevel = 0; // Outlining level of the row, when outlining is on
return getSheet().getWorkbook().getCellStyleAt(_style);
}
+ @Internal
+ /*package*/ int getRowStyleIndex() {
+ return _style;
+ }
+
/**
* Applies a whole-row cell styling to the row.
* The row style can be cleared by passing in <code>null</code>.
if (row.getZeroHeight())\r
_out.write(" hidden=\"true\"");\r
if (row.isFormatted()) {\r
- _out.write(" s=\"" + row._style + "\"");\r
+ _out.write(" s=\"" + row.getRowStyleIndex() + "\"");\r
_out.write(" customFormat=\"1\"");\r
}\r
if (row.getOutlineLevel() != 0) {\r