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());