summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java b/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
index 9c4e865bd52a..1edcb825e692 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,7 +42,7 @@ public class _XPrintAreas extends MultiMethodTest {
CellRangeAddress subaddress = null;
CellRangeAddress titleColumns;
CellRangeAddress titleRows;
-
+
public void before() {
address = (CellRangeAddress)tEnv.getObjRelation("CellRangeAddress");
subaddress = (CellRangeAddress)tEnv.getObjRelation("CellRangeSubAddress");
@@ -51,7 +51,7 @@ public class _XPrintAreas extends MultiMethodTest {
if (subaddress == null)
throw new StatusException(Status.failed("Object relation CellRangeSubAddress not found"));
}
-
+
public void _getPrintAreas() {
requiredMethod("getPrintTitleColumns()");
requiredMethod("getPrintTitleRows()");
@@ -64,32 +64,32 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setPrintAreas(null);
printAreas = oObj.getPrintAreas();
ret &= printAreas.length == 0;
-
+
tRes.tested("getPrintAreas()", ret);
}
-
+
public void _getPrintTitleColumns() {
requiredMethod("setPrintTitleColumns()");
tRes.tested("getPrintTitleColumns()", !oObj.getPrintTitleColumns());
}
-
+
public void _getPrintTitleRows() {
requiredMethod("setPrintTitleRows()");
tRes.tested("getPrintTitleRows()", !oObj.getPrintTitleRows());
}
-
+
public void _getTitleColumns() {
requiredMethod("setTitleColumns()");
CellRangeAddress setValue = oObj.getTitleColumns();
tRes.tested("getTitleColumns()", ValueComparer.equalValue(setValue,titleColumns));
}
-
+
public void _getTitleRows() {
requiredMethod("setTitleRows()");
CellRangeAddress setValue = oObj.getTitleRows();
tRes.tested("getTitleRows()", ValueComparer.equalValue(setValue,titleRows));
}
-
+
public void _setPrintAreas() {
boolean ret = false;
CellRangeAddress[]setValue = new CellRangeAddress[]{subaddress};
@@ -102,7 +102,7 @@ public class _XPrintAreas extends MultiMethodTest {
ret &= ValueComparer.equalValue(newVal, setValue);
tRes.tested("setPrintAreas()", ret);
}
-
+
public void _setPrintTitleColumns() {
requiredMethod("setTitleColumns()");
boolean ret = false;
@@ -112,7 +112,7 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setPrintTitleColumns(false);
tRes.tested("setPrintTitleColumns()", ret);
}
-
+
public void _setPrintTitleRows() {
requiredMethod("setTitleRows()");
boolean ret = false;
@@ -122,7 +122,7 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setPrintTitleRows(false);
tRes.tested("setPrintTitleRows()", ret);
}
-
+
public void _setTitleColumns() {
requiredMethod("setPrintAreas()");
boolean ret = false;
@@ -138,7 +138,7 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setTitleColumns(titleColumns);
tRes.tested("setTitleColumns()", ret);
}
-
+
public void _setTitleRows() {
requiredMethod("setPrintAreas()");
boolean ret = false;