Class StreamingSheet

  • All Implemented Interfaces:
    Iterable<org.apache.poi.ss.usermodel.Row>, org.apache.poi.ss.usermodel.Sheet

    public class StreamingSheet
    extends Object
    implements org.apache.poi.ss.usermodel.Sheet
    • Method Detail

      • iterator

        public Iterator<org.apache.poi.ss.usermodel.Row> iterator()
        Specified by:
        iterator in interface Iterable<org.apache.poi.ss.usermodel.Row>
      • rowIterator

        public Iterator<org.apache.poi.ss.usermodel.Row> rowIterator()
        Specified by:
        rowIterator in interface org.apache.poi.ss.usermodel.Sheet
      • getSheetName

        public String getSheetName()
        Specified by:
        getSheetName in interface org.apache.poi.ss.usermodel.Sheet
      • isColumnHidden

        public boolean isColumnHidden​(int columnIndex)
        Get the hidden state for a given column
        Specified by:
        isColumnHidden in interface org.apache.poi.ss.usermodel.Sheet
        Parameters:
        columnIndex - - the column to set (0-based)
        Returns:
        hidden - false if the column is visible
      • createRow

        public org.apache.poi.ss.usermodel.Row createRow​(int rownum)
        Not supported
        Specified by:
        createRow in interface org.apache.poi.ss.usermodel.Sheet
      • removeRow

        public void removeRow​(org.apache.poi.ss.usermodel.Row row)
        Not supported
        Specified by:
        removeRow in interface org.apache.poi.ss.usermodel.Sheet
      • getRow

        public org.apache.poi.ss.usermodel.Row getRow​(int rownum)
        Not supported
        Specified by:
        getRow in interface org.apache.poi.ss.usermodel.Sheet
      • getPhysicalNumberOfRows

        public int getPhysicalNumberOfRows()
        Not supported
        Specified by:
        getPhysicalNumberOfRows in interface org.apache.poi.ss.usermodel.Sheet
      • getFirstRowNum

        public int getFirstRowNum()
        Not supported
        Specified by:
        getFirstRowNum in interface org.apache.poi.ss.usermodel.Sheet
      • getLastRowNum

        public int getLastRowNum()
        Gets the last row on the sheet
        Specified by:
        getLastRowNum in interface org.apache.poi.ss.usermodel.Sheet
        Returns:
        last row contained n this sheet (0-based)
      • setColumnHidden

        public void setColumnHidden​(int columnIndex,
                                    boolean hidden)
        Not supported
        Specified by:
        setColumnHidden in interface org.apache.poi.ss.usermodel.Sheet
      • setRightToLeft

        public void setRightToLeft​(boolean value)
        Not supported
        Specified by:
        setRightToLeft in interface org.apache.poi.ss.usermodel.Sheet
      • isRightToLeft

        public boolean isRightToLeft()
        Not supported
        Specified by:
        isRightToLeft in interface org.apache.poi.ss.usermodel.Sheet
      • setColumnWidth

        public void setColumnWidth​(int columnIndex,
                                   int width)
        Not supported
        Specified by:
        setColumnWidth in interface org.apache.poi.ss.usermodel.Sheet
      • getColumnWidth

        public int getColumnWidth​(int columnIndex)
        Not supported
        Specified by:
        getColumnWidth in interface org.apache.poi.ss.usermodel.Sheet
      • getColumnWidthInPixels

        public float getColumnWidthInPixels​(int columnIndex)
        Not supported
        Specified by:
        getColumnWidthInPixels in interface org.apache.poi.ss.usermodel.Sheet
      • setDefaultColumnWidth

        public void setDefaultColumnWidth​(int width)
        Not supported
        Specified by:
        setDefaultColumnWidth in interface org.apache.poi.ss.usermodel.Sheet
      • getDefaultColumnWidth

        public int getDefaultColumnWidth()
        Not supported
        Specified by:
        getDefaultColumnWidth in interface org.apache.poi.ss.usermodel.Sheet
      • getDefaultRowHeight

        public short getDefaultRowHeight()
        Not supported
        Specified by:
        getDefaultRowHeight in interface org.apache.poi.ss.usermodel.Sheet
      • getDefaultRowHeightInPoints

        public float getDefaultRowHeightInPoints()
        Not supported
        Specified by:
        getDefaultRowHeightInPoints in interface org.apache.poi.ss.usermodel.Sheet
      • setDefaultRowHeight

        public void setDefaultRowHeight​(short height)
        Not supported
        Specified by:
        setDefaultRowHeight in interface org.apache.poi.ss.usermodel.Sheet
      • setDefaultRowHeightInPoints

        public void setDefaultRowHeightInPoints​(float height)
        Not supported
        Specified by:
        setDefaultRowHeightInPoints in interface org.apache.poi.ss.usermodel.Sheet
      • getColumnStyle

        public org.apache.poi.ss.usermodel.CellStyle getColumnStyle​(int column)
        Not supported
        Specified by:
        getColumnStyle in interface org.apache.poi.ss.usermodel.Sheet
      • addMergedRegion

        public int addMergedRegion​(org.apache.poi.ss.util.CellRangeAddress region)
        Not supported
        Specified by:
        addMergedRegion in interface org.apache.poi.ss.usermodel.Sheet
      • addMergedRegionUnsafe

        public int addMergedRegionUnsafe​(org.apache.poi.ss.util.CellRangeAddress cellRangeAddress)
        Not supported
        Specified by:
        addMergedRegionUnsafe in interface org.apache.poi.ss.usermodel.Sheet
      • validateMergedRegions

        public void validateMergedRegions()
        Not supported
        Specified by:
        validateMergedRegions in interface org.apache.poi.ss.usermodel.Sheet
      • setVerticallyCenter

        public void setVerticallyCenter​(boolean value)
        Not supported
        Specified by:
        setVerticallyCenter in interface org.apache.poi.ss.usermodel.Sheet
      • setHorizontallyCenter

        public void setHorizontallyCenter​(boolean value)
        Not supported
        Specified by:
        setHorizontallyCenter in interface org.apache.poi.ss.usermodel.Sheet
      • getHorizontallyCenter

        public boolean getHorizontallyCenter()
        Not supported
        Specified by:
        getHorizontallyCenter in interface org.apache.poi.ss.usermodel.Sheet
      • getVerticallyCenter

        public boolean getVerticallyCenter()
        Not supported
        Specified by:
        getVerticallyCenter in interface org.apache.poi.ss.usermodel.Sheet
      • removeMergedRegion

        public void removeMergedRegion​(int index)
        Not supported
        Specified by:
        removeMergedRegion in interface org.apache.poi.ss.usermodel.Sheet
      • removeMergedRegions

        public void removeMergedRegions​(Collection<Integer> collection)
        Not supported
        Specified by:
        removeMergedRegions in interface org.apache.poi.ss.usermodel.Sheet
      • getNumMergedRegions

        public int getNumMergedRegions()
        Not supported
        Specified by:
        getNumMergedRegions in interface org.apache.poi.ss.usermodel.Sheet
      • getMergedRegion

        public org.apache.poi.ss.util.CellRangeAddress getMergedRegion​(int index)
        Not supported
        Specified by:
        getMergedRegion in interface org.apache.poi.ss.usermodel.Sheet
      • getMergedRegions

        public List<org.apache.poi.ss.util.CellRangeAddress> getMergedRegions()
        Not supported
        Specified by:
        getMergedRegions in interface org.apache.poi.ss.usermodel.Sheet
      • setForceFormulaRecalculation

        public void setForceFormulaRecalculation​(boolean value)
        Not supported
        Specified by:
        setForceFormulaRecalculation in interface org.apache.poi.ss.usermodel.Sheet
      • getForceFormulaRecalculation

        public boolean getForceFormulaRecalculation()
        Not supported
        Specified by:
        getForceFormulaRecalculation in interface org.apache.poi.ss.usermodel.Sheet
      • setAutobreaks

        public void setAutobreaks​(boolean value)
        Not supported
        Specified by:
        setAutobreaks in interface org.apache.poi.ss.usermodel.Sheet
      • setDisplayGuts

        public void setDisplayGuts​(boolean value)
        Not supported
        Specified by:
        setDisplayGuts in interface org.apache.poi.ss.usermodel.Sheet
      • setDisplayZeros

        public void setDisplayZeros​(boolean value)
        Not supported
        Specified by:
        setDisplayZeros in interface org.apache.poi.ss.usermodel.Sheet
      • isDisplayZeros

        public boolean isDisplayZeros()
        Not supported
        Specified by:
        isDisplayZeros in interface org.apache.poi.ss.usermodel.Sheet
      • setFitToPage

        public void setFitToPage​(boolean value)
        Not supported
        Specified by:
        setFitToPage in interface org.apache.poi.ss.usermodel.Sheet
      • setRowSumsBelow

        public void setRowSumsBelow​(boolean value)
        Not supported
        Specified by:
        setRowSumsBelow in interface org.apache.poi.ss.usermodel.Sheet
      • setRowSumsRight

        public void setRowSumsRight​(boolean value)
        Not supported
        Specified by:
        setRowSumsRight in interface org.apache.poi.ss.usermodel.Sheet
      • getAutobreaks

        public boolean getAutobreaks()
        Not supported
        Specified by:
        getAutobreaks in interface org.apache.poi.ss.usermodel.Sheet
      • getDisplayGuts

        public boolean getDisplayGuts()
        Not supported
        Specified by:
        getDisplayGuts in interface org.apache.poi.ss.usermodel.Sheet
      • getFitToPage

        public boolean getFitToPage()
        Not supported
        Specified by:
        getFitToPage in interface org.apache.poi.ss.usermodel.Sheet
      • getRowSumsBelow

        public boolean getRowSumsBelow()
        Not supported
        Specified by:
        getRowSumsBelow in interface org.apache.poi.ss.usermodel.Sheet
      • getRowSumsRight

        public boolean getRowSumsRight()
        Not supported
        Specified by:
        getRowSumsRight in interface org.apache.poi.ss.usermodel.Sheet
      • isPrintGridlines

        public boolean isPrintGridlines()
        Not supported
        Specified by:
        isPrintGridlines in interface org.apache.poi.ss.usermodel.Sheet
      • setPrintGridlines

        public void setPrintGridlines​(boolean show)
        Not supported
        Specified by:
        setPrintGridlines in interface org.apache.poi.ss.usermodel.Sheet
      • isPrintRowAndColumnHeadings

        public boolean isPrintRowAndColumnHeadings()
        Not supported
        Specified by:
        isPrintRowAndColumnHeadings in interface org.apache.poi.ss.usermodel.Sheet
      • setPrintRowAndColumnHeadings

        public void setPrintRowAndColumnHeadings​(boolean b)
        Not supported
        Specified by:
        setPrintRowAndColumnHeadings in interface org.apache.poi.ss.usermodel.Sheet
      • getPrintSetup

        public org.apache.poi.ss.usermodel.PrintSetup getPrintSetup()
        Not supported
        Specified by:
        getPrintSetup in interface org.apache.poi.ss.usermodel.Sheet
      • getHeader

        public org.apache.poi.ss.usermodel.Header getHeader()
        Not supported
        Specified by:
        getHeader in interface org.apache.poi.ss.usermodel.Sheet
      • getFooter

        public org.apache.poi.ss.usermodel.Footer getFooter()
        Not supported
        Specified by:
        getFooter in interface org.apache.poi.ss.usermodel.Sheet
      • setSelected

        public void setSelected​(boolean value)
        Not supported
        Specified by:
        setSelected in interface org.apache.poi.ss.usermodel.Sheet
      • getMargin

        public double getMargin​(short margin)
        Not supported
        Specified by:
        getMargin in interface org.apache.poi.ss.usermodel.Sheet
      • setMargin

        public void setMargin​(short margin,
                              double size)
        Not supported
        Specified by:
        setMargin in interface org.apache.poi.ss.usermodel.Sheet
      • getProtect

        public boolean getProtect()
        Not supported
        Specified by:
        getProtect in interface org.apache.poi.ss.usermodel.Sheet
      • protectSheet

        public void protectSheet​(String password)
        Not supported
        Specified by:
        protectSheet in interface org.apache.poi.ss.usermodel.Sheet
      • getScenarioProtect

        public boolean getScenarioProtect()
        Not supported
        Specified by:
        getScenarioProtect in interface org.apache.poi.ss.usermodel.Sheet
      • setZoom

        public void setZoom​(int i)
        Not supported
        Specified by:
        setZoom in interface org.apache.poi.ss.usermodel.Sheet
      • getTopRow

        public short getTopRow()
        Not supported
        Specified by:
        getTopRow in interface org.apache.poi.ss.usermodel.Sheet
      • getLeftCol

        public short getLeftCol()
        Not supported
        Specified by:
        getLeftCol in interface org.apache.poi.ss.usermodel.Sheet
      • showInPane

        public void showInPane​(int toprow,
                               int leftcol)
        Not supported
        Specified by:
        showInPane in interface org.apache.poi.ss.usermodel.Sheet
      • shiftRows

        public void shiftRows​(int startRow,
                              int endRow,
                              int n)
        Not supported
        Specified by:
        shiftRows in interface org.apache.poi.ss.usermodel.Sheet
      • shiftRows

        public void shiftRows​(int startRow,
                              int endRow,
                              int n,
                              boolean copyRowHeight,
                              boolean resetOriginalRowHeight)
        Not supported
        Specified by:
        shiftRows in interface org.apache.poi.ss.usermodel.Sheet
      • shiftColumns

        public void shiftColumns​(int startColumn,
                                 int endColumn,
                                 int n)
        Not supported
        Specified by:
        shiftColumns in interface org.apache.poi.ss.usermodel.Sheet
      • createFreezePane

        public void createFreezePane​(int colSplit,
                                     int rowSplit,
                                     int leftmostColumn,
                                     int topRow)
        Not supported
        Specified by:
        createFreezePane in interface org.apache.poi.ss.usermodel.Sheet
      • createFreezePane

        public void createFreezePane​(int colSplit,
                                     int rowSplit)
        Not supported
        Specified by:
        createFreezePane in interface org.apache.poi.ss.usermodel.Sheet
      • createSplitPane

        public void createSplitPane​(int xSplitPos,
                                    int ySplitPos,
                                    int leftmostColumn,
                                    int topRow,
                                    int activePane)
        Not supported
        Specified by:
        createSplitPane in interface org.apache.poi.ss.usermodel.Sheet
      • getPaneInformation

        public org.apache.poi.ss.util.PaneInformation getPaneInformation()
        Not supported
        Specified by:
        getPaneInformation in interface org.apache.poi.ss.usermodel.Sheet
      • setDisplayGridlines

        public void setDisplayGridlines​(boolean show)
        Not supported
        Specified by:
        setDisplayGridlines in interface org.apache.poi.ss.usermodel.Sheet
      • isDisplayGridlines

        public boolean isDisplayGridlines()
        Not supported
        Specified by:
        isDisplayGridlines in interface org.apache.poi.ss.usermodel.Sheet
      • setDisplayFormulas

        public void setDisplayFormulas​(boolean show)
        Not supported
        Specified by:
        setDisplayFormulas in interface org.apache.poi.ss.usermodel.Sheet
      • isDisplayFormulas

        public boolean isDisplayFormulas()
        Not supported
        Specified by:
        isDisplayFormulas in interface org.apache.poi.ss.usermodel.Sheet
      • setDisplayRowColHeadings

        public void setDisplayRowColHeadings​(boolean show)
        Not supported
        Specified by:
        setDisplayRowColHeadings in interface org.apache.poi.ss.usermodel.Sheet
      • isDisplayRowColHeadings

        public boolean isDisplayRowColHeadings()
        Not supported
        Specified by:
        isDisplayRowColHeadings in interface org.apache.poi.ss.usermodel.Sheet
      • setRowBreak

        public void setRowBreak​(int row)
        Not supported
        Specified by:
        setRowBreak in interface org.apache.poi.ss.usermodel.Sheet
      • isRowBroken

        public boolean isRowBroken​(int row)
        Not supported
        Specified by:
        isRowBroken in interface org.apache.poi.ss.usermodel.Sheet
      • removeRowBreak

        public void removeRowBreak​(int row)
        Not supported
        Specified by:
        removeRowBreak in interface org.apache.poi.ss.usermodel.Sheet
      • getRowBreaks

        public int[] getRowBreaks()
        Not supported
        Specified by:
        getRowBreaks in interface org.apache.poi.ss.usermodel.Sheet
      • getColumnBreaks

        public int[] getColumnBreaks()
        Not supported
        Specified by:
        getColumnBreaks in interface org.apache.poi.ss.usermodel.Sheet
      • setColumnBreak

        public void setColumnBreak​(int column)
        Not supported
        Specified by:
        setColumnBreak in interface org.apache.poi.ss.usermodel.Sheet
      • isColumnBroken

        public boolean isColumnBroken​(int column)
        Not supported
        Specified by:
        isColumnBroken in interface org.apache.poi.ss.usermodel.Sheet
      • removeColumnBreak

        public void removeColumnBreak​(int column)
        Not supported
        Specified by:
        removeColumnBreak in interface org.apache.poi.ss.usermodel.Sheet
      • setColumnGroupCollapsed

        public void setColumnGroupCollapsed​(int columnNumber,
                                            boolean collapsed)
        Not supported
        Specified by:
        setColumnGroupCollapsed in interface org.apache.poi.ss.usermodel.Sheet
      • groupColumn

        public void groupColumn​(int fromColumn,
                                int toColumn)
        Not supported
        Specified by:
        groupColumn in interface org.apache.poi.ss.usermodel.Sheet
      • ungroupColumn

        public void ungroupColumn​(int fromColumn,
                                  int toColumn)
        Not supported
        Specified by:
        ungroupColumn in interface org.apache.poi.ss.usermodel.Sheet
      • groupRow

        public void groupRow​(int fromRow,
                             int toRow)
        Not supported
        Specified by:
        groupRow in interface org.apache.poi.ss.usermodel.Sheet
      • ungroupRow

        public void ungroupRow​(int fromRow,
                               int toRow)
        Not supported
        Specified by:
        ungroupRow in interface org.apache.poi.ss.usermodel.Sheet
      • setRowGroupCollapsed

        public void setRowGroupCollapsed​(int row,
                                         boolean collapse)
        Not supported
        Specified by:
        setRowGroupCollapsed in interface org.apache.poi.ss.usermodel.Sheet
      • setDefaultColumnStyle

        public void setDefaultColumnStyle​(int column,
                                          org.apache.poi.ss.usermodel.CellStyle style)
        Not supported
        Specified by:
        setDefaultColumnStyle in interface org.apache.poi.ss.usermodel.Sheet
      • autoSizeColumn

        public void autoSizeColumn​(int column)
        Not supported
        Specified by:
        autoSizeColumn in interface org.apache.poi.ss.usermodel.Sheet
      • autoSizeColumn

        public void autoSizeColumn​(int column,
                                   boolean useMergedCells)
        Not supported
        Specified by:
        autoSizeColumn in interface org.apache.poi.ss.usermodel.Sheet
      • getCellComment

        public org.apache.poi.ss.usermodel.Comment getCellComment​(org.apache.poi.ss.util.CellAddress cellAddress)
        Not supported
        Specified by:
        getCellComment in interface org.apache.poi.ss.usermodel.Sheet
      • getCellComments

        public Map<org.apache.poi.ss.util.CellAddress,​? extends org.apache.poi.ss.usermodel.Comment> getCellComments()
        Not supported
        Specified by:
        getCellComments in interface org.apache.poi.ss.usermodel.Sheet
      • getDrawingPatriarch

        public org.apache.poi.ss.usermodel.Drawing getDrawingPatriarch()
        Not supported
        Specified by:
        getDrawingPatriarch in interface org.apache.poi.ss.usermodel.Sheet
      • createDrawingPatriarch

        public org.apache.poi.ss.usermodel.Drawing createDrawingPatriarch()
        Not supported
        Specified by:
        createDrawingPatriarch in interface org.apache.poi.ss.usermodel.Sheet
      • getWorkbook

        public org.apache.poi.ss.usermodel.Workbook getWorkbook()
        Not supported
        Specified by:
        getWorkbook in interface org.apache.poi.ss.usermodel.Sheet
      • isSelected

        public boolean isSelected()
        Not supported
        Specified by:
        isSelected in interface org.apache.poi.ss.usermodel.Sheet
      • setArrayFormula

        public org.apache.poi.ss.usermodel.CellRange<? extends org.apache.poi.ss.usermodel.Cell> setArrayFormula​(String formula,
                                                                                                                 org.apache.poi.ss.util.CellRangeAddress range)
        Not supported
        Specified by:
        setArrayFormula in interface org.apache.poi.ss.usermodel.Sheet
      • removeArrayFormula

        public org.apache.poi.ss.usermodel.CellRange<? extends org.apache.poi.ss.usermodel.Cell> removeArrayFormula​(org.apache.poi.ss.usermodel.Cell cell)
        Not supported
        Specified by:
        removeArrayFormula in interface org.apache.poi.ss.usermodel.Sheet
      • getDataValidationHelper

        public org.apache.poi.ss.usermodel.DataValidationHelper getDataValidationHelper()
        Not supported
        Specified by:
        getDataValidationHelper in interface org.apache.poi.ss.usermodel.Sheet
      • getDataValidations

        public List<? extends org.apache.poi.ss.usermodel.DataValidation> getDataValidations()
        Not supported
        Specified by:
        getDataValidations in interface org.apache.poi.ss.usermodel.Sheet
      • addValidationData

        public void addValidationData​(org.apache.poi.ss.usermodel.DataValidation dataValidation)
        Not supported
        Specified by:
        addValidationData in interface org.apache.poi.ss.usermodel.Sheet
      • setAutoFilter

        public org.apache.poi.ss.usermodel.AutoFilter setAutoFilter​(org.apache.poi.ss.util.CellRangeAddress range)
        Not supported
        Specified by:
        setAutoFilter in interface org.apache.poi.ss.usermodel.Sheet
      • getSheetConditionalFormatting

        public org.apache.poi.ss.usermodel.SheetConditionalFormatting getSheetConditionalFormatting()
        Not supported
        Specified by:
        getSheetConditionalFormatting in interface org.apache.poi.ss.usermodel.Sheet
      • getRepeatingRows

        public org.apache.poi.ss.util.CellRangeAddress getRepeatingRows()
        Not supported
        Specified by:
        getRepeatingRows in interface org.apache.poi.ss.usermodel.Sheet
      • getRepeatingColumns

        public org.apache.poi.ss.util.CellRangeAddress getRepeatingColumns()
        Not supported
        Specified by:
        getRepeatingColumns in interface org.apache.poi.ss.usermodel.Sheet
      • setRepeatingRows

        public void setRepeatingRows​(org.apache.poi.ss.util.CellRangeAddress rowRangeRef)
        Not supported
        Specified by:
        setRepeatingRows in interface org.apache.poi.ss.usermodel.Sheet
      • setRepeatingColumns

        public void setRepeatingColumns​(org.apache.poi.ss.util.CellRangeAddress columnRangeRef)
        Not supported
        Specified by:
        setRepeatingColumns in interface org.apache.poi.ss.usermodel.Sheet
      • getColumnOutlineLevel

        public int getColumnOutlineLevel​(int columnIndex)
        Not supported
        Specified by:
        getColumnOutlineLevel in interface org.apache.poi.ss.usermodel.Sheet
      • getHyperlink

        public org.apache.poi.ss.usermodel.Hyperlink getHyperlink​(int i,
                                                                  int i1)
        Not supported
        Specified by:
        getHyperlink in interface org.apache.poi.ss.usermodel.Sheet
      • getHyperlink

        public org.apache.poi.ss.usermodel.Hyperlink getHyperlink​(org.apache.poi.ss.util.CellAddress cellAddress)
        Not supported
        Specified by:
        getHyperlink in interface org.apache.poi.ss.usermodel.Sheet
      • getHyperlinkList

        public List<? extends org.apache.poi.ss.usermodel.Hyperlink> getHyperlinkList()
        Not supported
        Specified by:
        getHyperlinkList in interface org.apache.poi.ss.usermodel.Sheet
      • getActiveCell

        public org.apache.poi.ss.util.CellAddress getActiveCell()
        Not supported
        Specified by:
        getActiveCell in interface org.apache.poi.ss.usermodel.Sheet
      • setActiveCell

        public void setActiveCell​(org.apache.poi.ss.util.CellAddress cellAddress)
        Not supported
        Specified by:
        setActiveCell in interface org.apache.poi.ss.usermodel.Sheet