Java org.apache.poi.xssf.streaming SXSSFSheet fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.xssf.streaming SXSSFSheet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.xssf.streaming SXSSFSheet.

The text is from its open source code.

Constructor

Method

intaddMergedRegion(CellRangeAddress region)
Adds a merged region of cells (hence those cells form one)
voidaddValidationData(DataValidation dataValidation)
Creates a data validation object
voidautoSizeColumn(int column)
Adjusts the column width to fit the contents.
SXSSFRowcreateRow(int rownum)
Create a new row within the sheet and return the high level representation
voidflushRows()
Flush all rows to disk.
intgetColumnWidth(int columnIndex)
get the width (in units of 1/256th of a character width )
DataValidationHelpergetDataValidationHelper()
intgetFirstRowNum()
Gets the first row on the sheet
intgetLastRowNum()
Gets the last row on the sheet
CellRangeAddressgetMergedRegion(int index)
Returns the merged region at the specified index.
intgetNumMergedRegions()
Returns the number of merged regions
PrintSetupgetPrintSetup()
Gets the print setup object.
SXSSFRowgetRow(int rownum)
Returns the logical row (not physical) 0-based.
SXSSFWorkbookgetWorkbook()
Return the parent workbook
voidgroupRow(int fromRow, int toRow)
Tie a range of rows together so that they can be collapsed or expanded

Please note the rows being grouped must be in the current window, if the rows are already flushed then groupRow has no effect.

booleanisColumnTrackedForAutoSizing(int column)
Returns true if column is currently tracked for auto-sizing.
voidsetColumnWidth(int columnIndex, int width)
Set the width (in units of 1/256th of a character width)

The maximum column width for an individual cell is 255 characters.

voidsetDisplayGridlines(boolean show)
Sets whether the gridlines are shown in a viewer
voidsetFitToPage(boolean value)
Flag indicating whether the Fit to Page print option is enabled.
voidsetHorizontallyCenter(boolean value)
Determines whether the output is horizontally centered on the page.
voidsetPrintGridlines(boolean show)
Turns on or off the printing of gridlines.
voidsetRowGroupCollapsed(int row, boolean collapse)
Set view state of a grouped range of rows.
voidtrackAllColumnsForAutoSizing()
Tracks all columns in the sheet for auto-sizing.
voidtrackColumnForAutoSizing(int column)
Track a column in the sheet for auto-sizing.