Package jxl.biff

Examples of jxl.biff.SheetRangeImpl


    automaticFormulaCalculation = copy.automaticFormulaCalculation;
    recalculateFormulasBeforeSave = copy.recalculateFormulasBeforeSave;

    if (copy.printArea != null)
    {
      printArea = new SheetRangeImpl
        (sheet,
         copy.getPrintArea().getTopLeft().getColumn(),
         copy.getPrintArea().getTopLeft().getRow(),
         copy.getPrintArea().getBottomRight().getColumn(),
         copy.getPrintArea().getBottomRight().getRow());
    }
   
    if (copy.printTitlesRow != null)
    {
      printTitlesRow = new SheetRangeImpl
        (sheet,
         copy.getPrintTitlesRow().getTopLeft().getColumn(),
         copy.getPrintTitlesRow().getTopLeft().getRow(),
         copy.getPrintTitlesRow().getBottomRight().getColumn(),
         copy.getPrintTitlesRow().getBottomRight().getRow());
    }   

    if (copy.printTitlesCol != null)
    {
      printTitlesCol = new SheetRangeImpl
        (sheet,
         copy.getPrintTitlesCol().getTopLeft().getColumn(),
         copy.getPrintTitlesCol().getTopLeft().getRow(),
         copy.getPrintTitlesCol().getBottomRight().getColumn(),
         copy.getPrintTitlesCol().getBottomRight().getRow());
View Full Code Here


  public void setPrintArea(int firstCol,
                           int firstRow, 
                           int lastCol,
                           int lastRow)
  {
    printArea = new SheetRangeImpl(sheet, firstCol, firstRow,
                                   lastCol, lastRow);
  }
View Full Code Here

   * @param lastRow the last row of the print titles
   */
  public void setPrintTitlesRow(int firstRow,
                               int lastRow)
  {
    printTitlesRow = new SheetRangeImpl(sheet, 0, firstRow,
                           255, lastRow);
  }
View Full Code Here

   * @param lastRow the last row of the print titles
   */
  public void setPrintTitlesCol(int firstCol,
                               int lastCol)
  {
    printTitlesCol = new SheetRangeImpl(sheet, firstCol, 0,
                                              lastCol, 65535);
  }
View Full Code Here

TOP

Related Classes of jxl.biff.SheetRangeImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.