Class OdfSheet

  • All Implemented Interfaces:
    org.pentaho.di.core.spreadsheet.KSheet

    public class OdfSheet
    extends Object
    implements org.pentaho.di.core.spreadsheet.KSheet
    • Constructor Detail

      • OdfSheet

        public OdfSheet​(org.odftoolkit.odfdom.doc.table.OdfTable table)
    • Method Detail

      • findNrRows

        protected int findNrRows()
        Calculate the number of rows in the table
        Returns:
        number of rows in the table
      • isRowEmpty

        protected boolean isRowEmpty​(org.odftoolkit.odfdom.dom.element.table.TableTableRowElement rowElem)
        Check if row contains non-empty cells
        Parameters:
        rowElem -
        Returns:
      • findNrColumns

        protected int findNrColumns​(org.odftoolkit.odfdom.doc.table.OdfTableRow row)
      • getName

        public String getName()
        Specified by:
        getName in interface org.pentaho.di.core.spreadsheet.KSheet
      • getRow

        public org.pentaho.di.core.spreadsheet.KCell[] getRow​(int rownr)
        Specified by:
        getRow in interface org.pentaho.di.core.spreadsheet.KSheet
      • getRows

        public int getRows()
        Specified by:
        getRows in interface org.pentaho.di.core.spreadsheet.KSheet
      • getCell

        public org.pentaho.di.core.spreadsheet.KCell getCell​(int colnr,
                                                             int rownr)
        Specified by:
        getCell in interface org.pentaho.di.core.spreadsheet.KSheet