summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DataPilotField.java36
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Scenario.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Shape.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetCell.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetLink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java18
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableValidation.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java8
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XAreaLink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCalculatable.java18
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java14
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java12
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java38
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellSeries.java62
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDDELink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java8
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java38
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java30
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java22
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java48
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java10
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XLabelRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java26
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XNamedRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java26
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java86
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenario.java12
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java14
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenarios.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java10
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java28
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java10
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java12
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java48
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java24
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java20
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XViewPane.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java2
100 files changed, 434 insertions, 434 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java b/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java
index cef1fcd32153..55bc00bd0bd5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java b/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
index 272c49798d54..0f5bd210fada 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DataPilotField.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
@@ -44,7 +44,7 @@ import lib.MultiPropertyTest;
* @see com.sun.star.sheet.DataPilotField
*/
public class _DataPilotField extends MultiPropertyTest {
-
+
/**
*This class is destined to custom test of property <code>SortInfo</code>.
*/
@@ -64,13 +64,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _SortInfo() {
testProperty("SortInfo", SortInfoTester);
- }
-
+ }
+
public void _HasSortInfo() {
requiredMethod("SortInfo");
testProperty("HasSortInfo");
}
-
+
/**
*This class is destined to custom test of property <code>LayoutInfo</code>.
*/
@@ -89,13 +89,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _LayoutInfo() {
testProperty("LayoutInfo", LayoutInfoTester);
- }
-
+ }
+
public void _HasLayoutInfo() {
requiredMethod("LayoutInfo");
testProperty("HasLayoutInfo");
- }
-
+ }
+
/**
*This class is destined to custom test of property <code>AutoShowInfo</code>.
*/
@@ -114,13 +114,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _AutoShowInfo() {
testProperty("AutoShowInfo", AutoShowInfoTester);
- }
-
+ }
+
public void _HasAutoShowInfo() {
requiredMethod("AutoShowInfo");
testProperty("HasAutoShowInfo");
- }
-
+ }
+
/**
*This class is destined to custom test of property <code>Reference</code>.
*/
@@ -139,13 +139,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _Reference() {
testProperty("Reference", ReferenceTester);
- }
-
+ }
+
public void _HasReference() {
requiredMethod("Reference");
testProperty("HasReference");
- }
-
+ }
+
/*
* this property can only set a true value to false, fo ungrouping purposes
*/
@@ -157,7 +157,7 @@ public class _DataPilotField extends MultiPropertyTest {
oObj.setPropertyValue ("IsGroupField", Boolean.FALSE);
Boolean propV = (Boolean) oObj.getPropertyValue ("IsGroupField");
result = !propV.booleanValue ();
- }
+ }
} catch (Exception e) {
log.println ("Exception while getting Property 'IsGroupField'"+e);
result = false;
diff --git a/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java b/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java
index a83bd47543f4..368723761e58 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java
index bb819a0f43e7..688b77d2eed8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java b/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java
index f32fe6c27c40..c4c1732e7a38 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java b/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java
index 6074e8e6cb3f..6bda7836fde1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.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
@@ -34,6 +34,6 @@ import lib.MultiPropertyTest;
*/
public class _DocumentSettings extends MultiPropertyTest{
-
-
+
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
index 3fe0017ad6db..9a9e242086a1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
+++ b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java b/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java
index 514645be45b3..9a42db1d5eb8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_Scenario.java b/qadevOOo/tests/java/ifc/sheet/_Scenario.java
index b7d206465d2a..4f9db71d140e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_Scenario.java
+++ b/qadevOOo/tests/java/ifc/sheet/_Scenario.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
@@ -34,7 +34,7 @@ import lib.MultiPropertyTest;
public class _Scenario extends MultiPropertyTest {
public void before() {
- oObj = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,
+ oObj = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,
tEnv.getObjRelation(
"ScenarioSheet"));
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_Shape.java b/qadevOOo/tests/java/ifc/sheet/_Shape.java
index 0d1daca95b54..ad23b22b2239 100644
--- a/qadevOOo/tests/java/ifc/sheet/_Shape.java
+++ b/qadevOOo/tests/java/ifc/sheet/_Shape.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
@@ -37,7 +37,7 @@ import lib.MultiPropertyTest;
public class _Shape extends MultiPropertyTest {
public void _Anchor() {
XSpreadsheetDocument xSheetDoc = (XSpreadsheetDocument) UnoRuntime.queryInterface(
- XSpreadsheetDocument.class,
+ XSpreadsheetDocument.class,
tEnv.getObjRelation(
"DOCUMENT"));
String[] sheetNames = xSheetDoc.getSheets().getElementNames();
@@ -46,7 +46,7 @@ public class _Shape extends MultiPropertyTest {
try {
xSheet = (XSpreadsheet) UnoRuntime.queryInterface(
- XSpreadsheet.class,
+ XSpreadsheet.class,
xSheetDoc.getSheets().getByName(sheetNames[0]));
xCell = xSheet.getCellByPosition(0, 0);
} catch (com.sun.star.container.NoSuchElementException e) {
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCell.java b/qadevOOo/tests/java/ifc/sheet/_SheetCell.java
index ebb943082792..b132f8c4b15d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetCell.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetCell.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
@@ -32,7 +32,7 @@ import lib.MultiPropertyTest;
public class _SheetCell extends MultiPropertyTest {
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java b/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java
index d2db014584a0..d8f0a2bf1ddc 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java b/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java
index 7e7ed35e092f..9da72fb53c80 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java
index 423042bb8d3a..02b7616d0e7c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetLink.java b/qadevOOo/tests/java/ifc/sheet/_SheetLink.java
index d4711f878716..0e2b8dd13b75 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetLink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetLink.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
index cf63e30250d9..f4628605f912 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java b/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java
index f1a78acc64aa..4d2058e1ec73 100644
--- a/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java
+++ b/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java
index 0fe1021d7155..f26759a5b08d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
index 6c4abe99f413..a622af71236d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.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
@@ -64,7 +64,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
protected PropertyTester DateTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
Date date = (Date) oldValue;
- Date newDate = new Date((short) (date.Day - 1), date.Month,
+ Date newDate = new Date((short) (date.Day - 1), date.Month,
date.Year);
return newDate;
@@ -82,10 +82,10 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
protected boolean compare(Object obj1, Object obj2) {
Locale loc = new Locale("ru", "RU", "");
XForbiddenCharacters fc1 = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
obj1);
XForbiddenCharacters fc2 = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
obj2);
boolean has1 = fc1.hasForbiddenCharacters(loc);
boolean has2 = fc2.hasForbiddenCharacters(loc);
@@ -121,8 +121,8 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
public ForbiddenCharacters getForbiddenCharacters(Locale rLocale)
throws com.sun.star.container.NoSuchElementException {
- if (rLocale.Country.equals(locale.Country) &&
- rLocale.Language.equals(locale.Language) &&
+ if (rLocale.Country.equals(locale.Country) &&
+ rLocale.Language.equals(locale.Language) &&
rLocale.Variant.equals(locale.Variant)) {
return chrs;
}
@@ -130,7 +130,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
throw new com.sun.star.container.NoSuchElementException();
}
- public void setForbiddenCharacters(Locale rLocale,
+ public void setForbiddenCharacters(Locale rLocale,
ForbiddenCharacters rForbiddenCharacters) {
}
@@ -138,8 +138,8 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
}
public boolean hasForbiddenCharacters(Locale rLocale) {
- if (rLocale.Country.equals(locale.Country) &&
- rLocale.Language.equals(locale.Language) &&
+ if (rLocale.Country.equals(locale.Country) &&
+ rLocale.Language.equals(locale.Language) &&
rLocale.Variant.equals(locale.Variant)) {
return true;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java
index c857b2420020..9563db05ae08 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.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
@@ -62,7 +62,7 @@ import lib.MultiPropertyTest;
*/
public class _SpreadsheetViewSettings extends MultiPropertyTest {
public void _ZoomType() {
- testProperty("ZoomType", new Short(DocumentZoomType.PAGE_WIDTH),
+ testProperty("ZoomType", new Short(DocumentZoomType.PAGE_WIDTH),
new Short(DocumentZoomType.BY_VALUE));
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java
index c478a0f54252..9e6e381be1b1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java
index bb86aa8bc069..14428e6f71a8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
index 8b6f06acccd9..c7a6c82c178e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableValidation.java b/qadevOOo/tests/java/ifc/sheet/_TableValidation.java
index 552664f71c68..0ba8b3606cfb 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableValidation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableValidation.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java
index c4d03c5abf5f..0348452c611a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.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
@@ -45,11 +45,11 @@ public class _XActivationBroadcaster extends MultiMethodTest {
protected XSpreadsheet two = null;
public void _addActivationEventListener() {
-
+
log.println("trying to add an invalid listener");
oObj.addActivationEventListener(listener);
log.println(".... OK");
-
+
log.println("adding a valid listener");
listener = new MyListener();
oObj.addActivationEventListener(listener);
@@ -83,7 +83,7 @@ public class _XActivationBroadcaster extends MultiMethodTest {
public void before() {
xSpreadsheetView = (XSpreadsheetView) UnoRuntime.queryInterface(
- XSpreadsheetView.class,
+ XSpreadsheetView.class,
tEnv.getTestObject());
two = (XSpreadsheet) tEnv.getObjRelation("Sheet");
diff --git a/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java b/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java
index 74a95f3b2a94..bbefd7e4c642 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XAreaLink.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java b/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java
index 460bce6c3b84..04170976ba85 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java b/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java
index 7cb4d8aed12c..2c489e4c4f50 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.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
@@ -171,12 +171,12 @@ public class _XArrayFormulaRange extends MultiMethodTest {
return p1 == s1.length() && p2 == s2.length() ;
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java b/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java
index 36bb27423e25..712f74f7c596 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCalculatable.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
@@ -39,7 +39,7 @@ public class _XCalculatable extends MultiMethodTest {
public XCalculatable oObj = null;
private boolean bIsAutomaticCalculationEnabled = false;
private XCell[] xCells = null;
-
+
/**
* Get object relation: four cells with values and formulas.
* @see mod._sc.ScModelObj
@@ -50,7 +50,7 @@ public class _XCalculatable extends MultiMethodTest {
throw new StatusException(Status.failed("Couldn't find correct object relation 'XCalculatable.Cells'"));
}
-
+
/**
* Restore begin setting
*/
@@ -58,8 +58,8 @@ public class _XCalculatable extends MultiMethodTest {
// reset to begin value
oObj.enableAutomaticCalculation(bIsAutomaticCalculationEnabled);
}
-
-
+
+
public void _calculate() {
requiredMethod("isAutomaticCalculationEnabled()");
boolean result = true;
@@ -73,7 +73,7 @@ public class _XCalculatable extends MultiMethodTest {
result &= ergValue1 != ergValue2;
tRes.tested("calculate()", result);
}
-
+
public void _calculateAll() {
requiredMethod("isAutomaticCalculationEnabled()");
boolean result = true;
@@ -88,18 +88,18 @@ public class _XCalculatable extends MultiMethodTest {
oObj.calculateAll();
tRes.tested("calculateAll()", result);
}
-
+
public void _enableAutomaticCalculation() {
bIsAutomaticCalculationEnabled = oObj.isAutomaticCalculationEnabled();
oObj.enableAutomaticCalculation(!bIsAutomaticCalculationEnabled);
tRes.tested("enableAutomaticCalculation()", true);
}
-
+
public void _isAutomaticCalculationEnabled() {
requiredMethod("enableAutomaticCalculation()");
boolean result = oObj.isAutomaticCalculationEnabled();
oObj.enableAutomaticCalculation(false);
tRes.tested("isAutomaticCalculationEnabled()", result != bIsAutomaticCalculationEnabled);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java b/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java
index 777fe26b1e2e..d6d1d47b0e6a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java
index 4bc93a7f613d..bf0c2a82bd5f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.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
@@ -43,15 +43,15 @@ import com.sun.star.sheet.XCellFormatRangesSupplier;
*/
public class _XCellFormatRangesSupplier extends MultiMethodTest {
-
+
public XCellFormatRangesSupplier oObj = null;
-
+
/**
* call the method getCellFormatRanges and returns OK result if
* the gained XIndexAccess isn't null and the method checkIndexAccess
* returns true.
*/
-
+
public void _getCellFormatRanges() {
boolean res = true;
XIndexAccess xIA = oObj.getCellFormatRanges();
@@ -63,12 +63,12 @@ public class _XCellFormatRangesSupplier extends MultiMethodTest {
}
tRes.tested("getCellFormatRanges()",res);
}
-
+
/**
* calls the method getCount at the IndexAccess, returns true is it is >0
* and getByIndex() doesn't throw an exception for Indexes between 0 and count
*/
-
+
protected boolean checkIndexAccess(XIndexAccess xIA) {
boolean res = true;
int count = xIA.getCount();
@@ -88,5 +88,5 @@ public class _XCellFormatRangesSupplier extends MultiMethodTest {
}
return res;
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java
index 300dcf30dca8..3c0a03f409e3 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java
index 8127164568b1..61c4b315f3e1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.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
@@ -36,7 +36,7 @@ public class _XCellRangeData extends MultiMethodTest {
public XCellRangeData oObj = null;
private Object[][] maCRData = null;
-
+
/**
* Test calls the method
* state is OK if the resulting Object array
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java
index e408a3a2b1b0..4152a7d34ffd 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.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
@@ -32,9 +32,9 @@ import com.sun.star.sheet.XCellRangeFormula;
public class _XCellRangeFormula extends lib.MultiMethodTest {
public XCellRangeFormula oObj = null;
-
+
public String[][] orgValue = null;
-
+
public void _getFormulaArray() {
Object noArray = tEnv.getObjRelation("noArray");
if (noArray != null) {
@@ -44,7 +44,7 @@ public class _XCellRangeFormula extends lib.MultiMethodTest {
+ " the whole sheet");
tRes.tested("getFormulaArray()", true);
return;
- }
+ }
orgValue = oObj.getFormulaArray();
String[][] newValue = oObj.getFormulaArray();
newValue[0][0] = "inserted";
@@ -63,9 +63,9 @@ public class _XCellRangeFormula extends lib.MultiMethodTest {
+ " the whole sheet");
tRes.tested("setFormulaArray()", true);
return;
- }
+ }
oObj.setFormulaArray(orgValue);
boolean res = oObj.getFormulaArray()[0][0].equals(orgValue[0][0]);
tRes.tested("setFormulaArray()",res);
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java
index 13468122b25e..ef95f1d5a423 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java
index 320c7940d03e..013504395955 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java
index eac4a5a31d10..082bcd42fb74 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.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
@@ -49,7 +49,7 @@ import com.sun.star.uno.UnoRuntime;
* <ul>
* <li>"SHEET": an XSpreadSheet object
* </li>
- * <li>"XCellRangesQuery.EXPECTEDRESULTS": the expected results for the test
+ * <li>"XCellRangesQuery.EXPECTEDRESULTS": the expected results for the test
* methods as a String array.<br>
* @see mod._sc.ScCellCurserObj or
* @see mod._sc.ScCellObj for an example how this should look like.
@@ -73,7 +73,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
public static final int QUERYINTERSECTION = 4;
public static final int QUERYROWDIFFERENCES = 5;
public static final int QUERYVISIBLECELLS = 6;
-
+
protected void before() {
oSheet = (XSpreadsheet) tEnv.getObjRelation("SHEET");
@@ -94,13 +94,13 @@ public class _XCellRangesQuery extends MultiMethodTest {
"XCellRangesQuery.EXPECTEDRESULTS");
XColumnRowRange oColumnRowRange = (XColumnRowRange) UnoRuntime.queryInterface(
- XColumnRowRange.class,
+ XColumnRowRange.class,
oSheet);
oRows = (XTableRows)oColumnRowRange.getRows();
oColumns = (XTableColumns) oColumnRowRange.getColumns();
- // set this in object if the interface has to make its own settings
- // and the environment has to be disposed: this is necessary for objects
+ // set this in object if the interface has to make its own settings
+ // and the environment has to be disposed: this is necessary for objects
// that do not make entries on the sheet themselves
Object o = tEnv.getObjRelation("XCellRangesQuery.CREATEENTRIES");
if (o != null && o instanceof Boolean) {
@@ -116,7 +116,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
oSheet.getCellByPosition(2, 1).setFormula("=B2+B3");
oSheet.getCellByPosition(1, 3).setFormula("=B2+B4");
oSheet.getCellByPosition(3, 2).setFormula("");
- oSheet.getCellByPosition(3, 3).setFormula("");
+ oSheet.getCellByPosition(3, 3).setFormula("");
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("Couldn't fill cells " + e.getLocalizedMessage());
}
@@ -125,7 +125,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns each cell of each column that is different to the
+ * Tested method returns each cell of each column that is different to the
* cell in a given row
*/
public void _queryColumnDifferences() {
@@ -145,7 +145,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns all cells of a given type, defind in
+ * Tested method returns all cells of a given type, defind in
* CellFlags
* @see com.sun.star.sheet.CellFlags
*/
@@ -173,17 +173,17 @@ public class _XCellRangesQuery extends MultiMethodTest {
XSheetCellRanges ranges = oObj.queryEmptyCells();
getting = ranges.getRangeAddressesAsString();
expected = mExpectedResults[QUERYEMPTYCELLS];
-
+
int startIndex = 0;
int endIndex = -5;
String checkString = null;
-
+
while (endIndex != -1) {
startIndex = endIndex + 5;
endIndex = expected.indexOf(" ... ", startIndex);
if (endIndex == -1) {
checkString = expected.substring(startIndex);
- }
+ }
else {
checkString = expected.substring(startIndex, endIndex);
}
@@ -199,7 +199,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns all cells of a given type, defind in
+ * Tested method returns all cells of a given type, defind in
* FormulaResult
* @see com.sun.star.sheet.FormulaResult
*/
@@ -236,7 +236,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns each cell of each row that is different to the
+ * Tested method returns each cell of each row that is different to the
* cell in a given column
*/
public void _queryRowDifferences() {
@@ -276,22 +276,22 @@ public class _XCellRangesQuery extends MultiMethodTest {
protected void setRowVisible(boolean vis) {
try {
XPropertySet rowProp = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class,
+ XPropertySet.class,
oRows.getByIndex(0));
rowProp.setPropertyValue("IsVisible", new Boolean(vis));
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("couldn't get Row " + e.getLocalizedMessage());
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
} catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
} catch (com.sun.star.beans.PropertyVetoException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
} catch (com.sun.star.lang.IllegalArgumentException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
}
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java b/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java
index 7ed3b4e61761..fc9c595d20bf 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellSeries.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
@@ -43,16 +43,16 @@ public class _XCellSeries extends MultiMethodTest {
protected boolean isSpreadSheet = false;
protected boolean fillAuto = true;
protected boolean forceFillAuto = false;
-
+
protected void before() {
oSheet = (XSpreadsheet) tEnv.getObjRelation("SHEET");
-
+
if (oSheet == null) {
log.println("Object relation oSheet is missing");
log.println("Trying to query the needed Interface");
oSheet = (XSpreadsheet) UnoRuntime.queryInterface(
- XSpreadsheet.class, tEnv.getTestObject());
+ XSpreadsheet.class, tEnv.getTestObject());
if (oSheet == null) {
throw new StatusException(Status.failed(
@@ -61,11 +61,11 @@ public class _XCellSeries extends MultiMethodTest {
isSpreadSheet = true;
}
}
-
+
Boolean myFillAuto = (Boolean) tEnv.getObjRelation("XCELLSERIES_FILLAUTO");
-
+
if (myFillAuto != null) fillAuto = myFillAuto.booleanValue();
-
+
if (tParam.containsKey("force_fillauto")){
fillAuto = tParam.getBool("force_fillauto");
forceFillAuto = tParam.getBool("force_fillauto");
@@ -73,14 +73,14 @@ public class _XCellSeries extends MultiMethodTest {
}
public void _fillAuto() {
-
+
if ((isSpreadSheet && !forceFillAuto) || !fillAuto) {
log.println("This method consumes to much time for a complete SpreadSheet");
log.println("Please use parameter '-force_fillauto true' to force this test");
tRes.tested("fillAuto()",Status.skipped(true));
return;
}
-
+
boolean res = true;
try {
@@ -125,13 +125,13 @@ public class _XCellSeries extends MultiMethodTest {
}
public void _fillSeries() {
-
+
if (isSpreadSheet) {
log.println("This method consumes to much time for a complete SpreadSheet");
tRes.tested("fillSeries()",Status.skipped(true));
return;
}
-
+
boolean res = true;
try {
@@ -142,16 +142,16 @@ public class _XCellSeries extends MultiMethodTest {
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT, com.sun.star.sheet.FillMode.LINEAR, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
- com.sun.star.sheet.FillMode.LINEAR,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
+ com.sun.star.sheet.FillMode.LINEAR,
com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8);
oSheet.getCellByPosition(0, 4).setFormula("=sum(A1:D1)");
double getting = oSheet.getCellByPosition(0, 4).getValue();
boolean locres = (getting == 20);
-
+
logger.finish();
-
+
if (!locres) {
log.println("Operation failed");
} else {
@@ -159,22 +159,22 @@ public class _XCellSeries extends MultiMethodTest {
}
res &= locres;
-
+
logger = new LoggingThread((LogWriter)log, tParam);
logger.start();
-
+
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT, com.sun.star.sheet.FillMode.GROWTH, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 16)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
- com.sun.star.sheet.FillMode.GROWTH,
- com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
+ com.sun.star.sheet.FillMode.GROWTH,
+ com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
16);
oSheet.getCellByPosition(0, 4).setFormula("=sum(A1:D1)");
getting = oSheet.getCellByPosition(0, 4).getValue();
locres = (getting == 30);
-
+
logger.finish();
-
+
if (!locres) {
log.println("Operation failed");
} else {
@@ -185,11 +185,11 @@ public class _XCellSeries extends MultiMethodTest {
logger = new LoggingThread((LogWriter)log, tParam);
logger.start();
-
+
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM, com.sun.star.sheet.FillMode.LINEAR, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
- com.sun.star.sheet.FillMode.LINEAR,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
+ com.sun.star.sheet.FillMode.LINEAR,
com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8);
oSheet.getCellByPosition(4, 0).setFormula("=sum(A1:A4)");
getting = oSheet.getCellByPosition(4, 0).getValue();
@@ -207,12 +207,12 @@ public class _XCellSeries extends MultiMethodTest {
logger = new LoggingThread((LogWriter)log, tParam);
logger.start();
-
+
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM, com.sun.star.sheet.FillMode.GROWTH, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 16)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
- com.sun.star.sheet.FillMode.GROWTH,
- com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
+ com.sun.star.sheet.FillMode.GROWTH,
+ com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
16);
oSheet.getCellByPosition(4, 0).setFormula("=sum(A1:A4)");
getting = oSheet.getCellByPosition(4, 0).getValue();
@@ -234,11 +234,11 @@ public class _XCellSeries extends MultiMethodTest {
tRes.tested("fillSeries()", res);
}
-
+
/**
* Forces environment recreation.
*/
public void after() {
disposeEnvironment();
- }
+ }
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java b/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java
index 08fc51dc3672..a65b7bdc1784 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.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
@@ -36,7 +36,7 @@ import lib.MultiMethodTest;
public class _XConsolidatable extends MultiMethodTest {
public XConsolidatable oObj = null;
XConsolidationDescriptor xDescriptor = null;
-
+
/**
* Check consolidation
*/
@@ -45,7 +45,7 @@ public class _XConsolidatable extends MultiMethodTest {
oObj.consolidate(xDescriptor);
tRes.tested("consolidate()", true);
}
-
+
/**
* Check the creation of a ConsolidationDescriptor
*/
diff --git a/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java
index f7638dacf5b4..85f149d05a5e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDDELink.java b/qadevOOo/tests/java/ifc/sheet/_XDDELink.java
index 5c475e3c0208..4d096e6c2a1b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDDELink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDDELink.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
index e95aa5870d38..515f77bfe689 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java
index 6e29ad3ceaa4..da332e034100 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.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
@@ -55,11 +55,11 @@ public class _XDataPilotField extends MultiMethodTest {
Object element = xIA.getByIndex(k);
log.println("Element " + k + " = " + element);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- log.println("Unexpected Exception while getting by Index (" + k +
+ log.println("Unexpected Exception while getting by Index (" + k +
")" + e.getMessage());
res &= false;
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("Unexpected Exception while getting by Index (" + k +
+ log.println("Unexpected Exception while getting by Index (" + k +
")" + e.getMessage());
res &= false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java
index 5f17837fdb0d..013abd362f92 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.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 @@ import lib.MultiMethodTest;
public class _XDataPilotFieldGrouping extends MultiMethodTest
{
public XDataPilotFieldGrouping oObj = null;
-
+
public void _createNameGroup() {
boolean result = true;
try {
@@ -56,7 +56,7 @@ public class _XDataPilotFieldGrouping extends MultiMethodTest
}
tRes.tested ("createNameGroup()",result);
}
-
+
public void _createDateGroup() {
boolean result = true;
try {
@@ -69,5 +69,5 @@ public class _XDataPilotFieldGrouping extends MultiMethodTest
result = false;
}
tRes.tested ("createDateGroup()",result);
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java
index a63617672ed8..4f7685b20e8f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
index f3096efc12ab..d5ae775f90ab 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.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
@@ -47,7 +47,7 @@ import lib.MultiMethodTest;
import lib.Status;
import lib.StatusException;
-/**
+/**
* Testing <code>com.sun.star.sheet.XDataPilotTable2</code>
* interface methods :
* <ul>
@@ -56,12 +56,12 @@ import lib.StatusException;
* <li><code> insertDrillDownSheet()</code></li>
* <li><code> getOutputRangeByType</code></li>
* </ul>
- *
+ *
* @see com.sun.star.sheet.XDataPilotTable2
* @see com.sun.star.table.CellAddress
- *
+ *
*/
-public class _XDataPilotTable2 extends MultiMethodTest
+public class _XDataPilotTable2 extends MultiMethodTest
{
private XSpreadsheetDocument xSheetDoc = null;
private XDataPilotTable2 xDPTab2 = null;
@@ -71,13 +71,13 @@ public class _XDataPilotTable2 extends MultiMethodTest
private ArrayList mDataFieldDims = null;
private ArrayList mResultCells = null;
- /**
+ /**
* exception to be thrown when obtaining a result data for a cell fails
* (probably because the cell is not a result cell).
*/
private class ResultCellFailure extends com.sun.star.uno.Exception {}
- protected void before()
+ protected void before()
{
Object o = tEnv.getObjRelation("DATAPILOTTABLE2");
xDPTab2 = (XDataPilotTable2)UnoRuntime.queryInterface(
@@ -101,7 +101,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
}
}
- public void _getDrillDownData()
+ public void _getDrillDownData()
{
boolean testResult = true;
int cellCount = mResultCells.size();
@@ -133,7 +133,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
tRes.tested("getDrillDownData()", testResult);
}
- public void _getPositionData()
+ public void _getPositionData()
{
boolean testResult = false;
@@ -192,7 +192,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
tRes.tested("getPositionData()", testResult);
}
- public void _insertDrillDownSheet()
+ public void _insertDrillDownSheet()
{
boolean testResult = true;
int cellCount = mResultCells.size();
@@ -251,7 +251,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
String name = xNamed.getName();
try
{
- xSheets.removeByName(name);
+ xSheets.removeByName(name);
}
catch (com.sun.star.uno.Exception e)
{
@@ -279,13 +279,13 @@ public class _XDataPilotTable2 extends MultiMethodTest
tRes.tested("insertDrillDownSheet()", testResult);
}
- public void _getOutputRangeByType()
+ public void _getOutputRangeByType()
{
boolean testResult = false;
do
{
- // Let's make sure this doesn't cause a crash. A range returned for an
+ // Let's make sure this doesn't cause a crash. A range returned for an
// out-of-bound condition is undefined.
try
{
@@ -310,7 +310,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
}
// Check to make sure the whole range is not empty.
- if (mRangeWhole.EndColumn - mRangeWhole.StartColumn <= 0 ||
+ if (mRangeWhole.EndColumn - mRangeWhole.StartColumn <= 0 ||
mRangeWhole.EndRow - mRangeWhole.EndColumn <= 0)
{
log.println("whole range is empty");
@@ -359,8 +359,8 @@ public class _XDataPilotTable2 extends MultiMethodTest
else if (posData.PositionType == DataPilotTablePositionType.ROW_HEADER)
posType = "row header";
- log.println(posType + "; member name: " + header.MemberName + "; dimension: " +
- header.Dimension + "; hierarchy: " + header.Hierarchy +
+ log.println(posType + "; member name: " + header.MemberName + "; dimension: " +
+ header.Dimension + "; hierarchy: " + header.Hierarchy +
"; level: " + header.Level);
}
@@ -372,7 +372,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
double val = res.Value;
int flags = res.Flags;
int filterCount = resultData.FieldFilters.length;
- log.println("result; data field index: " + dataId + "; value: " + val + "; flags: " + flags +
+ log.println("result; data field index: " + dataId + "; value: " + val + "; flags: " + flags +
"; filter count: " + filterCount);
for (int i = 0; i < filterCount; ++i)
@@ -436,7 +436,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
Object field = xFields.getByIndex(i);
XPropertySet propSet = (XPropertySet)UnoRuntime.queryInterface(
XPropertySet.class, field);
- DataPilotFieldOrientation orient =
+ DataPilotFieldOrientation orient =
(DataPilotFieldOrientation)propSet.getPropertyValue("Orientation");
if (orient == DataPilotFieldOrientation.DATA)
{
@@ -554,7 +554,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
{
XCellRange xRng = xSheet.getCellRangeByPosition(nCol, nRow, nCol, nRow);
XSheetCellRange xSCR = (XSheetCellRange)UnoRuntime.queryInterface(
- XSheetCellRange.class, xRng);
+ XSheetCellRange.class, xRng);
XSheetCellCursor xCursor = xSheet.createCursorByRange(xSCR);
XCellCursor xCellCursor = (XCellCursor)UnoRuntime.queryInterface(
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java
index 09ee1da76551..da7201829e7a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java
index a291d3513f8f..2bc14b2ce594 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java
index 3b3d3713a5b2..32a1e96ea21a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java
index c5f5307cda41..a1ef293541b0 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
index 084ce09934c7..076eaac66aeb 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.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
@@ -49,7 +49,7 @@ import lib.Status;
import lib.StatusException;
/**
- *
+ *
*/
public class _XDocumentAuditing extends MultiMethodTest {
public XDocumentAuditing oObj = null;
@@ -58,7 +58,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
int elementCount = 0;
String sheetName = null;
Point pos = null;
-
+
public void before() {
Exception ex = null;
// get two sheets
@@ -100,16 +100,16 @@ public class _XDocumentAuditing extends MultiMethodTest {
}
catch(com.sun.star.lang.IndexOutOfBoundsException e) {
} // ignore exceptions, we'll run into next if statement anyway
- catch(com.sun.star.lang.WrappedTargetException e) {
+ catch(com.sun.star.lang.WrappedTargetException e) {
}
}
- if (xDrawPage == null) {
+ if (xDrawPage == null) {
throw new StatusException(Status.failed("'XSheetAuditing.DrawPage' object relation not found."));
}
if (xDrawPage.hasElements()) {
elementCount = xDrawPage.getCount();
}
-
+
// switch off the automatic refresh
PropertyValue[] props = new PropertyValue[1];
props[0] = new PropertyValue();
@@ -136,7 +136,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
throw new StatusException("Could not set formulas on sheets.", e);
}
}
-
+
public void after() {
// switch the automatic refresh back on
PropertyValue[] props = new PropertyValue[1];
@@ -146,10 +146,10 @@ public class _XDocumentAuditing extends MultiMethodTest {
XModel xModel = (XModel)UnoRuntime.queryInterface(XModel.class, oObj);
dispatch(xModel.getCurrentController().getFrame(), (XMultiServiceFactory)tParam.getMSF(), ".uno:AutoRefreshArrows", props);
}
-
+
public void _refreshArrows() {
boolean result = true;
-
+
Point p0 = pos;
try {
@@ -160,7 +160,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
catch(com.sun.star.lang.IndexOutOfBoundsException e) {
throw new StatusException("Could not set formulas on sheets.", e);
}
-
+
result &= hasRightAmountOfShapes(1);
Point p1 = pos;
@@ -169,18 +169,18 @@ public class _XDocumentAuditing extends MultiMethodTest {
result &= res;
if (!res)
log.println("Arrow has been refreshed, but this should have been switched off.");
-
+
oObj.refreshArrows();
result &= hasRightAmountOfShapes(1);
Point p2 = pos;
-
+
// points have to differ
res = (p1.X != p2.X || p1.Y != p2.Y);
result &= res;
if (!res)
log.println("Arrow has not been refreshed.");
-
+
tRes.tested("refreshArrows()", result);
}
@@ -212,7 +212,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
}
return true;
}
-
+
private void dispatch(Object oProvider, XMultiServiceFactory xMSF, String url, PropertyValue[] prop) {
XDispatchProvider xDispatchProvider = (XDispatchProvider)UnoRuntime.queryInterface(XDispatchProvider.class, oProvider);
Object dispatcher = null;
@@ -221,7 +221,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
}
catch(com.sun.star.uno.Exception e) {
}
-
+
XDispatchHelper xDispatchHelper = (XDispatchHelper)UnoRuntime.queryInterface(XDispatchHelper.class, dispatcher);
xDispatchHelper.executeDispatch(xDispatchProvider, url, "", 0, prop);
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java
index 2034bb892047..7277bed21313 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.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
@@ -59,13 +59,13 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest {
protected boolean mouseReleased = false;
protected XEnhancedMouseClickHandler listener = new MyListener();
private XModel docModel = null;
-
+
public void before() {
docModel = (XModel) UnoRuntime.queryInterface(
XModel.class,tEnv.getObjRelation("FirstModel"));
DesktopTools.bringWindowToFront(docModel);
}
-
+
public void _addEnhancedMouseClickHandler() {
oObj.addEnhancedMouseClickHandler(listener);
clickOnSheet();
@@ -92,19 +92,19 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest {
protected boolean clickOnSheet() {
log.println("try to open contex menu...");
AccessibilityTools at = new AccessibilityTools();
-
+
XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)tParam.getMSF(), docModel);
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
XInterface oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL);
-
+
XAccessibleComponent window = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class, oObj);
-
+
Point point = window.getLocationOnScreen();
Rectangle rect = window.getBounds();
-
+
log.println("klick mouse button...");
try {
Robot rob = new Robot();
@@ -122,11 +122,11 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest {
rob.mousePress(InputEvent.BUTTON1_MASK);
System.out.println("Release Button");
rob.mouseRelease(InputEvent.BUTTON1_MASK);
- System.out.println("done "+rob.getAutoDelay());
+ System.out.println("done "+rob.getAutoDelay());
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
return true;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java b/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java
index 3e04690ac47b..4c0fe8e53d7b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.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
@@ -43,16 +43,16 @@ import com.sun.star.uno.UnoRuntime;
* @author sw93809
*/
public class _XFormulaQuery extends MultiMethodTest {
-
+
public XFormulaQuery oObj;
-
+
protected XSpreadsheet oSheet = null;
private XCell mxCell;
private int miQueryThisDependentRange = 1;
private int miQueryThisPrecedentRange = 1;
private int[] miExpectedDependentValues;
private int[] miExpectedPrecedentValues;
-
+
protected void before() {
oSheet = (XSpreadsheet)tEnv.getObjRelation("SHEET");
@@ -78,7 +78,7 @@ public class _XFormulaQuery extends MultiMethodTest {
throw new StatusException(
Status.failed("Couldn't get initial cell"));
}
- }
+ }
o = tEnv.getObjRelation("RANGEINDICES");
if (o != null) {
@@ -98,7 +98,7 @@ public class _XFormulaQuery extends MultiMethodTest {
miExpectedDependentValues[2] = 15;
miExpectedDependentValues[3] = 15;
}
-
+
o = tEnv.getObjRelation("EXPECTEDPRECEDENTVALUES");
if (o != null) {
miExpectedPrecedentValues = (int[])o;
@@ -111,7 +111,7 @@ public class _XFormulaQuery extends MultiMethodTest {
miExpectedPrecedentValues[3] = 15;
}
}
-
+
public void _queryDependents() {
boolean res = true;
@@ -121,15 +121,15 @@ public class _XFormulaQuery extends MultiMethodTest {
oSheet.getCellByPosition(1, 0).setValue(1);
oSheet.getCellByPosition(2, 0).setValue(1);
oSheet.getCellByPosition(3, 0).setValue(1);
-
+
log.println(
"calling oObj.queryDependents(false)");
- XSheetCellRanges getting = oObj.queryDependents(false);
+ XSheetCellRanges getting = oObj.queryDependents(false);
CellRangeAddress[] range = getting.getRangeAddresses();
-
- res = ((range[miQueryThisDependentRange].StartColumn==miExpectedDependentValues[0]) &&
- (range[miQueryThisDependentRange].EndColumn==miExpectedDependentValues[1]) &&
- (range[miQueryThisDependentRange].StartRow==miExpectedDependentValues[2]) &&
+
+ res = ((range[miQueryThisDependentRange].StartColumn==miExpectedDependentValues[0]) &&
+ (range[miQueryThisDependentRange].EndColumn==miExpectedDependentValues[1]) &&
+ (range[miQueryThisDependentRange].StartRow==miExpectedDependentValues[2]) &&
(range[miQueryThisDependentRange].EndRow==miExpectedDependentValues[3]));
if (!res) {
@@ -148,9 +148,9 @@ public class _XFormulaQuery extends MultiMethodTest {
res = false;
}
- tRes.tested("queryDependents()", res);
+ tRes.tested("queryDependents()", res);
}
-
+
public void _queryPrecedents() {
boolean res = true;
@@ -161,15 +161,15 @@ public class _XFormulaQuery extends MultiMethodTest {
oSheet.getCellByPosition(2, 0).setValue(1);
oSheet.getCellByPosition(3, 0).setValue(1);
oSheet.getCellByPosition(1, 2).setFormula("=A16*2");
-
+
log.println(
"calling oObj.queryPrecedents(false)");
XSheetCellRanges getting = oObj.queryPrecedents(false);
CellRangeAddress[] range = getting.getRangeAddresses();
-
- res = ((range[miQueryThisPrecedentRange].StartColumn==miExpectedPrecedentValues[0]) &&
- (range[miQueryThisPrecedentRange].EndColumn==miExpectedPrecedentValues[1]) &&
- (range[miQueryThisPrecedentRange].StartRow==miExpectedPrecedentValues[2]) &&
+
+ res = ((range[miQueryThisPrecedentRange].StartColumn==miExpectedPrecedentValues[0]) &&
+ (range[miQueryThisPrecedentRange].EndColumn==miExpectedPrecedentValues[1]) &&
+ (range[miQueryThisPrecedentRange].StartRow==miExpectedPrecedentValues[2]) &&
(range[miQueryThisPrecedentRange].EndRow==miExpectedPrecedentValues[3]));
if (!res) {
@@ -188,14 +188,14 @@ public class _XFormulaQuery extends MultiMethodTest {
res = false;
}
- tRes.tested("queryPrecedents()", res);
+ tRes.tested("queryPrecedents()", res);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
-
+ }
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java b/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java
index 5f16c7640fec..cb72d09bb32c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
index 24dad9db4bda..b11a550e3ca3 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.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
@@ -70,7 +70,7 @@ public class _XGoalSeek extends MultiMethodTest {
if (ex != null) {
throw new StatusException("Could not get a sheet.", ex);
}
-
+
// set value and formula
try {
xSheet.getCellByPosition(3, 4).setValue(9);
@@ -82,7 +82,7 @@ public class _XGoalSeek extends MultiMethodTest {
throw new StatusException("Could not get set formulas on the sheet.", e);
}
}
-
+
public void _seekGoal() {
boolean result = true;
double divergence = 0.01;
@@ -90,7 +90,7 @@ public class _XGoalSeek extends MultiMethodTest {
log.println("Goal Result: " + goal.Result + " Divergence: " + goal.Divergence);
result &= goal.Divergence < divergence;
result &= goal.Result > 16 - divergence || goal.Result < 16 + divergence;
-
+
goal = oObj.seekGoal(aFormula, aValue, "-4");
log.println("Goal Result: " + goal.Result + " Divergence: " + goal.Divergence);
result &= goal.Divergence > 1/divergence;
@@ -106,7 +106,7 @@ public class _XGoalSeek extends MultiMethodTest {
log.println("Goal Result: " + goal.Result + " Divergence: " + goal.Divergence);
result &= goal.Divergence < divergence;
result &= goal.Result > 16 - divergence || goal.Result < 16 + divergence;
-
+
tRes.tested("seekGoal()", result);
}
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java b/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java
index d3ee84f7cdc2..3e2561c6f268 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java b/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java
index 3bc34fdef5bd..cb58d33dec91 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XLabelRange.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java b/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java
index 9d4d28ff634c..292eb6d1209c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java b/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
index e10ca8d55f2f..3ae800e78d38 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.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
@@ -64,7 +64,7 @@ public class _XMultipleOperation extends MultiMethodTest {
boolean res = true;
XCellRange cellRange = oSheet.getCellRangeByName("$A$17:$A$17");
XCellRangeAddressable CRA = (XCellRangeAddressable) UnoRuntime.queryInterface(
- XCellRangeAddressable.class,
+ XCellRangeAddressable.class,
cellRange);
XCell cell = null;
XCell cell2 = null;
@@ -88,7 +88,7 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter ROW");
- oObj.setTableOperation(CRA.getRangeAddress(), TableOperationMode.ROW,
+ oObj.setTableOperation(CRA.getRangeAddress(), TableOperationMode.ROW,
CA.getCellAddress(), CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -100,8 +100,8 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter COLUMN");
- oObj.setTableOperation(CRA.getRangeAddress(),
- TableOperationMode.COLUMN, CA.getCellAddress(),
+ oObj.setTableOperation(CRA.getRangeAddress(),
+ TableOperationMode.COLUMN, CA.getCellAddress(),
CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -114,8 +114,8 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter BOTH");
- oObj.setTableOperation(CRA.getRangeAddress(),
- TableOperationMode.BOTH,
+ oObj.setTableOperation(CRA.getRangeAddress(),
+ TableOperationMode.BOTH,
CA.getCellAddress(), CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -148,23 +148,23 @@ public class _XMultipleOperation extends MultiMethodTest {
for (int i = 0; i < cellValues.length; i++) {
try {
- boolean locres = oSheet.getCellByPosition(cellCoords[i].X,
+ boolean locres = oSheet.getCellByPosition(cellCoords[i].X,
cellCoords[i].Y)
.getValue() == cellValues[i];
res &= locres;
if (!locres) {
- log.println("Result differs for cell (" +
- cellCoords[i].X + "," + cellCoords[i].Y +
+ log.println("Result differs for cell (" +
+ cellCoords[i].X + "," + cellCoords[i].Y +
")");
log.println("Expected: " + cellValues[i]);
- log.println("Getting: " +
- oSheet.getCellByPosition(cellCoords[i].X,
+ log.println("Getting: " +
+ oSheet.getCellByPosition(cellCoords[i].X,
cellCoords[i].Y)
.getValue());
}
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- log.println("Exception while checking Values " +
+ log.println("Exception while checking Values " +
e.getMessage());
res &= false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java b/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java
index 06c76956adff..909e84afa1be 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XNamedRange.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java b/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java
index 6baffd4bfdfe..4151fdfbc387 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.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
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;
diff --git a/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java b/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java
index bb61dbe55049..9af63c12204c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.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
@@ -60,7 +60,7 @@ import util.AccessibilityTools;
public class _XRangeSelection extends MultiMethodTest {
public XRangeSelection oObj = null;
MyRangeSelectionListener aListener = null;
-
+
public void before() {
aListener = new _XRangeSelection.MyRangeSelectionListener(log);
// workaround for i34499
@@ -72,44 +72,44 @@ public class _XRangeSelection extends MultiMethodTest {
xTopWindow.toFront();
util.utils.shortWait(500);
}
-
-
+
+
public void _abortRangeSelection() {
requiredMethod("removeRangeSelectionChangeListener()");
requiredMethod("removeRangeSelectionListener()");
oObj.abortRangeSelection();
tRes.tested("abortRangeSelection()", true);
}
-
+
public void _addRangeSelectionChangeListener() {
oObj.addRangeSelectionChangeListener(aListener);
tRes.tested("addRangeSelectionChangeListener()", true);
}
-
+
public void _addRangeSelectionListener() {
oObj.addRangeSelectionListener(aListener);
tRes.tested("addRangeSelectionListener()", true);
}
-
+
public void _removeRangeSelectionChangeListener() {
oObj.removeRangeSelectionChangeListener(aListener);
tRes.tested("removeRangeSelectionChangeListener()", true);
}
-
+
public void _removeRangeSelectionListener() {
oObj.removeRangeSelectionListener(aListener);
tRes.tested("removeRangeSelectionListener()", true);
}
-
+
public void _startRangeSelection() {
requiredMethod("addRangeSelectionChangeListener()");
requiredMethod("addRangeSelectionListener()");
-
+
// get the sheet center
Point center = getSheetCenter();;
if (center == null)
throw new StatusException(Status.failed("Couldn't get the sheet center."));
-
+
PropertyValue[] props = new PropertyValue[3];
props[0] = new PropertyValue();
props[0].Name = "InitialValue";
@@ -138,7 +138,7 @@ public class _XRangeSelection extends MultiMethodTest {
util.utils.shortWait(5000);
// System.out.println("X: " + closer.X + " Y: " + closer.Y);
-
+
// just check that we do not have the page instead of the range descriptor
/* int childCount = xRoot.getAccessibleContext().getAccessibleChildCount();
if (childCount > 3) {// too many children: wrong type
@@ -149,10 +149,10 @@ public class _XRangeSelection extends MultiMethodTest {
xAcc = xRoot.getAccessibleContext().getAccessibleChild(1);
}
catch(com.sun.star.lang.IndexOutOfBoundsException e) {
-
+
}
accTools.printAccessibleTree(log, xAcc);
-*/
+*/
// open a new range selection
props[0].Value = "C4:E6";
oObj.startRangeSelection(props);
@@ -160,16 +160,16 @@ public class _XRangeSelection extends MultiMethodTest {
props[0].Value = "C2:E3";
oObj.startRangeSelection(props);
util.utils.shortWait(1000);
-
+
oObj.startRangeSelection(props);
util.utils.shortWait(1000);
oObj.abortRangeSelection();
aListener.reset();
System.out.println("Listener called: " + aListener.bAbortCalled);
-
+
tRes.tested("startRangeSelection()", aListener.listenerCalled());
}
-
+
/**
* Determine the current top window center and return this as a point.
* @ return a point representing the sheet center.
@@ -178,11 +178,11 @@ public class _XRangeSelection extends MultiMethodTest {
log.println("Trying to get AccessibleSpreadsheet");
AccessibilityTools at = new AccessibilityTools();
XComponent xSheetDoc = (XComponent) tEnv.getObjRelation("DOCUMENT");
-
+
XModel xModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xSheetDoc);
System.out.println("Name: " + xModel.getCurrentController().getFrame().getName());
-
+
XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)tParam.getMSF(), xModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -190,10 +190,10 @@ public class _XRangeSelection extends MultiMethodTest {
XAccessibleComponent AccessibleSpreadsheet = (XAccessibleComponent) UnoRuntime.queryInterface(XAccessibleComponent.class,AccessibilityTools.SearchedContext);
- log.println("Got " + util.utils.getImplName(AccessibleSpreadsheet));
+ log.println("Got " + util.utils.getImplName(AccessibleSpreadsheet));
Object toolkit = null;
-
+
try {
toolkit = ((XMultiServiceFactory)tParam.getMSF()).createInstance("com.sun.star.awt.Toolkit");
} catch (com.sun.star.uno.Exception e) {
@@ -203,14 +203,14 @@ public class _XRangeSelection extends MultiMethodTest {
}
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
- XExtendedToolkit.class, toolkit);
-
+ XExtendedToolkit.class, toolkit);
+
XTopWindow tw = null;
-
+
int k = tk.getTopWindowCount();
for (int i=0;i<k;i++) {
try {
- XTopWindow tw_temp = tk.getTopWindow(i);
+ XTopWindow tw_temp = tk.getTopWindow(i);
XAccessible xacc = (XAccessible) UnoRuntime.queryInterface(XAccessible.class, tw_temp);
if (xacc != null) {
if (xacc.getAccessibleContext().getAccessibleName().indexOf("d2")>0) {
@@ -227,7 +227,7 @@ public class _XRangeSelection extends MultiMethodTest {
System.out.println("No TopWindow :-(");
return null;
}
-
+
Point point = AccessibleSpreadsheet.getLocationOnScreen();
Rectangle rect = AccessibleSpreadsheet.getBounds();
Point retPoint = new Point();
@@ -235,7 +235,7 @@ public class _XRangeSelection extends MultiMethodTest {
retPoint.Y = point.Y + (rect.Height / 2);
return retPoint;
}
-
+
/**
* Get the closer button on the right top of the current window.
* @return A point representing the closer button.
@@ -251,12 +251,12 @@ public class _XRangeSelection extends MultiMethodTest {
}
XExtendedToolkit xExtendedToolkit = (XExtendedToolkit)UnoRuntime.queryInterface(XExtendedToolkit.class, aToolkit);
XTopWindow tw = null;
-
+
XAccessibleComponent xAccessibleComponent = null;
int k = xExtendedToolkit.getTopWindowCount();
for (int i=0;i<k;i++) {
try {
- XTopWindow tw_temp = xExtendedToolkit.getTopWindow(i);
+ XTopWindow tw_temp = xExtendedToolkit.getTopWindow(i);
XAccessible xacc = (XAccessible)UnoRuntime.queryInterface(XAccessible.class, tw_temp);
if (xacc != null) {
System.out.println("Name: " + xacc.getAccessibleContext().getAccessibleName());
@@ -269,7 +269,7 @@ public class _XRangeSelection extends MultiMethodTest {
else
System.out.println("########## KLAPPT ########## ");
}
- }
+ }
else {
log.println("\t unknown window");
}
@@ -281,10 +281,10 @@ public class _XRangeSelection extends MultiMethodTest {
System.out.println("No TopWindow :-(");
return null;
}
-
+
XWindow xWindow = (XWindow)UnoRuntime.queryInterface(XWindow.class, tw);
Rectangle posSize = xWindow.getPosSize();
-
+
// compare the center point with the dimensions of the current top window
boolean windowOK = false;
while(!windowOK) {
@@ -302,7 +302,7 @@ public class _XRangeSelection extends MultiMethodTest {
else {
windowOK = true;
}
-
+
}
Point p = xAccessibleComponent.getLocationOnScreen();
@@ -313,8 +313,8 @@ public class _XRangeSelection extends MultiMethodTest {
closer.Y = p.Y + 5;
System.out.println("Closer: " + closer.X + " " + closer.Y);
return closer;
- }
-
+ }
+
protected boolean clickOnSheet(Point point) {
log.println("Clicking in the center of the AccessibleSpreadsheet");
@@ -328,10 +328,10 @@ public class _XRangeSelection extends MultiMethodTest {
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
return true;
}
-
+
/**
*
*/
@@ -344,32 +344,32 @@ public class _XRangeSelection extends MultiMethodTest {
public MyRangeSelectionListener(PrintWriter log) {
this.log = log;
}
-
+
public void aborted(RangeSelectionEvent rangeSelectionEvent) {
log.println("Called 'aborted' with: " + rangeSelectionEvent.RangeDescriptor);
bAbortCalled = true;
}
-
+
public void descriptorChanged(RangeSelectionEvent rangeSelectionEvent) {
log.println("Called 'descriptorChanged' with: " + rangeSelectionEvent.RangeDescriptor);
bChangeCalled = true;
}
-
+
public void done(RangeSelectionEvent rangeSelectionEvent) {
log.println("Called 'done' with: " + rangeSelectionEvent.RangeDescriptor);
bDoneCalled = true;
}
-
+
public boolean listenerCalled() {
return bAbortCalled & bChangeCalled & bDoneCalled;
}
-
+
public void reset() {
bAbortCalled = false;
bChangeCalled = false;
bDoneCalled = false;
}
-
+
/**
* ignore disposing
* @param eventObject The event.
diff --git a/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java b/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java
index 117e7607e1c0..87ac408e0249 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.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
@@ -118,7 +118,7 @@ public class _XRecentFunctions extends MultiMethodTest {
requiredMethod("getMaxRecentFunctions()");
boolean bResult = true;
- int[] IDs = new int[0];
+ int[] IDs = new int[0];
XNameAccess functionList = null;
log.println("First, get the set of available functions.");
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenario.java b/qadevOOo/tests/java/ifc/sheet/_XScenario.java
index ea158b8a2cd1..cb00fb56dd8a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenario.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenario.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
@@ -39,7 +39,7 @@ public class _XScenario extends MultiMethodTest {
CellRangeAddress address = null;
String comment = null;
boolean skipTest = false;
-
+
public void before() {
// testing a scenario containing the whole sheet does not make sense.
// test is skipped until this interface is implemented somewhere else
@@ -54,7 +54,7 @@ public class _XScenario extends MultiMethodTest {
oObj.addRanges(new CellRangeAddress[] {address});
tRes.tested("addRanges()", true);
}
-
+
public void _apply() {
requiredMethod("addRanges()");
if (skipTest) {
@@ -64,7 +64,7 @@ public class _XScenario extends MultiMethodTest {
oObj.apply();
tRes.tested("apply()", true);
}
-
+
public void _getIsScenario() {
requiredMethod("apply()");
if (skipTest) {
@@ -74,7 +74,7 @@ public class _XScenario extends MultiMethodTest {
boolean getIs = oObj.getIsScenario();
tRes.tested("getIsScenario()", getIs);
}
-
+
public void _getScenarioComment() {
if (skipTest) {
tRes.tested("getScenarioComment()",Status.skipped(true));
@@ -83,7 +83,7 @@ public class _XScenario extends MultiMethodTest {
comment = oObj.getScenarioComment();
tRes.tested("getScenarioComment()", true);
}
-
+
public void _setScenarioComment() {
requiredMethod("getScenarioComment()");
if (skipTest) {
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java b/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
index 42fac78d7d81..cdaea811b686 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.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 _XScenarioEnhanced extends MultiMethodTest {
public void before() {
oObj = (XScenarioEnhanced) UnoRuntime.queryInterface(
- XScenarioEnhanced.class,
+ XScenarioEnhanced.class,
tEnv.getObjRelation("ScenarioSheet"));
}
@@ -55,35 +55,35 @@ public class _XScenarioEnhanced extends MultiMethodTest {
if (!(first.Sheet == 1)) {
log.println(
- "wrong RangeAddress is returned, expected Sheet=0 and got " +
+ "wrong RangeAddress is returned, expected Sheet=0 and got " +
first.Sheet);
res = false;
}
if (!(first.StartColumn == 0)) {
log.println(
- "wrong RangeAddress is returned, expected StartColumn=0 and got " +
+ "wrong RangeAddress is returned, expected StartColumn=0 and got " +
first.StartColumn);
res = false;
}
if (!(first.EndColumn == 10)) {
log.println(
- "wrong RangeAddress is returned, expected EndColumn=10 and got " +
+ "wrong RangeAddress is returned, expected EndColumn=10 and got " +
first.EndColumn);
res = false;
}
if (!(first.StartRow == 0)) {
log.println(
- "wrong RangeAddress is returned, expected StartRow=0 and got " +
+ "wrong RangeAddress is returned, expected StartRow=0 and got " +
first.StartRow);
res = false;
}
if (!(first.EndRow == 10)) {
log.println(
- "wrong RangeAddress is returned, expected EndRow=10 and got " +
+ "wrong RangeAddress is returned, expected EndRow=10 and got " +
first.EndRow);
res = false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenarios.java b/qadevOOo/tests/java/ifc/sheet/_XScenarios.java
index efd4dcb458a0..0935e18b59f2 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenarios.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenarios.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java
index f1766b82a7da..286bed8eebff 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java
index a50d63f817f9..865a987458b8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java
index 76a5b97b0aaf..74a0aa4fa42f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.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
@@ -45,14 +45,14 @@ import com.sun.star.uno.UnoRuntime;
*/
public class _XSheetAnnotationAnchor extends MultiMethodTest {
- public XSheetAnnotationAnchor oObj = null;
+ public XSheetAnnotationAnchor oObj = null;
protected XSheetAnnotation anno = null;
public void _getAnnotation() {
anno = oObj.getAnnotation();
tRes.tested("getAnnotation()",checkAnnotation());
}
-
+
protected boolean checkAnnotation() {
boolean res = true;
res &= check_getAuthor();
@@ -62,7 +62,7 @@ public class _XSheetAnnotationAnchor extends MultiMethodTest {
res &= check_setIsVisible();
return res;
}
-
+
/**
* Gets the author of annotation. <p>
* Returns <b>true</b> if not null value returned.
@@ -127,6 +127,6 @@ public class _XSheetAnnotationAnchor extends MultiMethodTest {
}
return bResult;
- }
+ }
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java
index 9b0f3c193b73..9cd3e9823370 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.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
@@ -34,10 +34,10 @@ import lib.MultiMethodTest;
public class _XSheetAnnotationShapeSupplier extends MultiMethodTest
{
public XSheetAnnotationShapeSupplier oObj = null;
-
+
public void _getAnnotationShape() {
XShape xShape = oObj.getAnnotationShape ();
tRes.tested ("getAnnotationShape()",xShape!=null);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java
index d24f2cbf9416..ce53a48b867a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java
index 544d19c8f630..5946d646762d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java
index a721275ed684..d3efe367b0f4 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.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
@@ -54,7 +54,7 @@ public class _XSheetAuditing extends MultiMethodTest {
XCell xDependentAddress = null;
XDrawPage xDrawPage = null;
int elementCount = 0;
-
+
public void before() {
address = (CellAddress)tEnv.getObjRelation("XSheetAuditing.CellAddress");
precedentAddress = (CellAddress)tEnv.getObjRelation("XSheetAuditing.PrecedentCellAddress");
@@ -62,7 +62,7 @@ public class _XSheetAuditing extends MultiMethodTest {
if (address == null || precedentAddress == null || dependentAddress == null) {
throw new StatusException(Status.failed("Necessary CellAddress object relations not found."));
}
-
+
// get the draw page for checking the shapes
xDrawPage = (XDrawPage)tEnv.getObjRelation("XSheetAuditing.DrawPage");
if (xDrawPage == null) { // get from object
@@ -70,18 +70,18 @@ public class _XSheetAuditing extends MultiMethodTest {
UnoRuntime.queryInterface(XDrawPageSupplier.class, oObj);
xDrawPage = (XDrawPage) oDPS.getDrawPage();
}
- if (xDrawPage == null) {
+ if (xDrawPage == null) {
throw new StatusException(Status.failed("'XSheetAuditing.DrawPage' object relation not found."));
}
if (xDrawPage.hasElements()) {
elementCount = xDrawPage.getCount();
}
-
+
// get a sheet for changing the cells
XSpreadsheet xSheet = (XSpreadsheet)tEnv.getObjRelation("XSheetAuditing.Spreadsheet");
if (xSheet == null) // query on ther object
xSheet = (XSpreadsheet)UnoRuntime.queryInterface(XSpreadsheet.class, oObj);
- if (xSheet == null)
+ if (xSheet == null)
throw new StatusException(Status.failed("'XSheetAuditing.Spreadsheet' object relation not found."));
try {
xAddress = xSheet.getCellByPosition(address.Column, address.Row);
@@ -103,26 +103,26 @@ public class _XSheetAuditing extends MultiMethodTest {
erg &= hasRightAmountOfShapes(0);
tRes.tested("clearArrows()", erg);
}
-
+
public void _hideDependents() {
requiredMethod("showDependents()");
oObj.hideDependents(address);
tRes.tested("hideDependents()", hasRightAmountOfShapes(0));
}
-
+
public void _hidePrecedents() {
requiredMethod("showPrecedents()");
// requiredMethod("showPrecedents()");
oObj.hidePrecedents(address);
tRes.tested("hidePrecedents()", hasRightAmountOfShapes(0));
}
-
+
public void _showDependents() {
requiredMethod("hidePrecedents()");
oObj.showDependents(address);
tRes.tested("showDependents()", hasRightAmountOfShapes(1));
}
-
+
public void _showErrors() {
requiredMethod("clearArrows()");
// construct an error: square root from -3
@@ -138,7 +138,7 @@ public class _XSheetAuditing extends MultiMethodTest {
erg &= hasRightAmountOfShapes(2);
tRes.tested("showErrors()", erg);
}
-
+
public void _showInvalid() {
requiredMethod("showErrors()");
boolean result = true;
@@ -167,15 +167,15 @@ public class _XSheetAuditing extends MultiMethodTest {
e.printStackTrace((java.io.PrintWriter)log);
result = false;
}
-
+
tRes.tested("showInvalid()", result);
}
-
+
public void _showPrecedents() {
oObj.showPrecedents(address);
tRes.tested("showPrecedents()", hasRightAmountOfShapes(2));
}
-
+
/**
* Check if the amount of shapes is the right one after displaying that stuff
* 2do improve this: check taht the shapes are the correct ones -> convwatch
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java
index ec484f9bf0d6..7c81f9dc7d29 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java
index 95688c660c91..58b0fa44bd32 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java
index 230306b300cd..a877fcd16159 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.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
@@ -194,12 +194,12 @@ public class _XSheetCellRangeContainer extends MultiMethodTest {
log.println("Elements after removing: " + cnt);
tRes.tested("removeRangeAddresses()" ,result);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java
index c64aeae807c4..cf5ca59929b3 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.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
@@ -81,7 +81,7 @@ public class _XSheetCellRanges extends MultiMethodTest{
*/
public void _getRangeAddressesAsString() {
log.println("Testing getRangeAddressesAsString ...");
- String oRanges = oObj.getRangeAddressesAsString();
+ String oRanges = oObj.getRangeAddressesAsString();
tRes.tested("getRangeAddressesAsString()",oRanges.indexOf("C1:D4")>0);
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java
index 05b0e0f4a3c0..0946511e7ad6 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java
index ba8448366bca..0365a6a5079a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java
index efa3fcc44862..2d8c920b12a5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
index ebb6a0a6db57..306742181734 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
index 385b7a2e150d..bd5ca3fcaf4b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.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
@@ -92,11 +92,11 @@ public class _XSheetFilterable extends MultiMethodTest {
oObj.filter(desc);
XColumnRowRange oColumnRowRange = (XColumnRowRange) UnoRuntime.queryInterface(
- XColumnRowRange.class,
+ XColumnRowRange.class,
oSheet);
XTableRows oRows = (XTableRows) oColumnRowRange.getRows();
XPropertySet rowProp = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class,
+ XPropertySet.class,
oRows.getByIndex(0));
boolean locRes = ((Boolean) rowProp.getPropertyValue("IsVisible")).booleanValue();
@@ -121,11 +121,11 @@ public class _XSheetFilterable extends MultiMethodTest {
log.println("couldn't fill cells " + e.getLocalizedMessage());
res = false;
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("problems geting Property 'isVisible' " +
+ log.println("problems geting Property 'isVisible' " +
e.getLocalizedMessage());
res = false;
} catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("problems geting Property 'isVisible' " +
+ log.println("problems geting Property 'isVisible' " +
e.getLocalizedMessage());
res = false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java
index afb642290b67..eb02619490ad 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.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
@@ -38,10 +38,10 @@ import com.sun.star.uno.UnoRuntime;
/**
* Inteface test for XSheetFilterableEx
*
- * methods:
+ * methods:
*
* createFilterDescriptorByObject
- *
+ *
*/
public class _XSheetFilterableEx extends MultiMethodTest {
public XSheetFilterableEx oObj = null;
@@ -51,7 +51,7 @@ public class _XSheetFilterableEx extends MultiMethodTest {
* a XSheetFilterDescriptor with it.
* Returns OK if the Descriptor isn't null and checkFilterDescriptor returns true
*/
-
+
public void _createFilterDescriptorByObject() {
boolean res = true;
Object parent = tEnv.getTestObject();
@@ -68,11 +68,11 @@ public class _XSheetFilterableEx extends MultiMethodTest {
}
tRes.tested("createFilterDescriptorByObject()",res);
}
-
+
/**
* returns true if the Method getFilterFields() returns a non empty array
* and all Fields can be gained without exception
- */
+ */
public boolean checkFilterDescriptor(XSheetFilterDescriptor desc) {
TableFilterField[] fields = desc.getFilterFields();
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java b/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
index 4972ef7bcc94..f76da13bdb58 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.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
@@ -40,61 +40,61 @@ public class _XSheetLinkable extends MultiMethodTest {
String linkSheetName = null;
String linkUrl = null;
String linkUrl2 = null;
-
+
public void before() {
// get a document for linking.
linkUrl = (String)tEnv.getObjRelation("XSheetLinkable.LinkSheet");
linkUrl = utils.getFullTestURL(linkUrl);
-
+
// get a second sheet for changing the link url: if it's not set,
// this part of the test is omitted.
linkUrl2 = (String)tEnv.getObjRelation("XSheetLinkable.LinkSheet2");
if (linkUrl2 != null)
linkUrl = utils.getFullTestURL(linkUrl);
-
+
// set a name for the sheet.
linkSheetName = "Sheet1";
}
-
- public void _getLinkMode() {
+
+ public void _getLinkMode() {
requiredMethod("link()");
slm = oObj.getLinkMode();
- tRes.tested("getLinkMode()", slm == SheetLinkMode.VALUE);
+ tRes.tested("getLinkMode()", slm == SheetLinkMode.VALUE);
}
-
- public void _getLinkSheetName() {
+
+ public void _getLinkSheetName() {
requiredMethod("link()");
String lSheetName = oObj.getLinkSheetName();
- tRes.tested("getLinkSheetName()", linkSheetName.equals(lSheetName));
+ tRes.tested("getLinkSheetName()", linkSheetName.equals(lSheetName));
}
-
- public void _getLinkUrl() {
+
+ public void _getLinkUrl() {
requiredMethod("link()");
String lUrl = oObj.getLinkUrl();
System.out.println("URL: " + lUrl);
- tRes.tested("getLinkUrl()", lUrl.equals(linkUrl));
+ tRes.tested("getLinkUrl()", lUrl.equals(linkUrl));
}
-
- public void _link() {
+
+ public void _link() {
oObj.link(linkUrl, linkSheetName, "", "", SheetLinkMode.VALUE);
- tRes.tested("link()", true);
+ tRes.tested("link()", true);
}
-
+
public void _setLinkMode() {
requiredMethod("getLinkMode()");
oObj.setLinkMode(SheetLinkMode.NONE);
slm = oObj.getLinkMode();
- tRes.tested("setLinkMode()", slm == SheetLinkMode.NONE);
+ tRes.tested("setLinkMode()", slm == SheetLinkMode.NONE);
}
-
- public void _setLinkSheetName() {
+
+ public void _setLinkSheetName() {
requiredMethod("getLinkSheetName()");
oObj.setLinkSheetName("Sheet2");
linkSheetName = oObj.getLinkSheetName();
- tRes.tested("setLinkSheetName()", linkSheetName.equals("Sheet2"));
+ tRes.tested("setLinkSheetName()", linkSheetName.equals("Sheet2"));
}
-
- public void _setLinkUrl() {
+
+ public void _setLinkUrl() {
requiredMethod("getLinkUrl()");
boolean result = false;
if (linkUrl2 == null) {
@@ -107,6 +107,6 @@ public class _XSheetLinkable extends MultiMethodTest {
linkUrl = oObj.getLinkUrl();
result = linkUrl.equals(linkUrl2);
}
- tRes.tested("setLinkUrl()", result);
+ tRes.tested("setLinkUrl()", result);
}
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java
index e57c50c00714..1eb75f9a3b92 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java b/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java
index 2a69cb7e0404..b48e55d414d1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.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
@@ -44,7 +44,7 @@ public class _XSheetOutline extends MultiMethodTest {
public XSheetOutline oObj = null;
CellRangeAddress address = null;
CellRangeAddress subaddress = null;
-
+
public void before() {
address = (CellRangeAddress)tEnv.getObjRelation("CellRangeAddress");
subaddress = (CellRangeAddress)tEnv.getObjRelation("CellRangeSubAddress");
@@ -53,7 +53,7 @@ public class _XSheetOutline extends MultiMethodTest {
if (subaddress == null)
throw new StatusException(Status.failed("Object relation CellRangeSubAddress not found"));
}
-
+
public void _autoOutline() {
executeMethod("ungroup()");
boolean result = false;
@@ -65,7 +65,7 @@ public class _XSheetOutline extends MultiMethodTest {
result &= !isCellShown(subaddress);
tRes.tested("autoOutline()", result);
}
-
+
public void _clearOutline() {
executeMethod("autoOutline()");
boolean result = false;
@@ -75,13 +75,13 @@ public class _XSheetOutline extends MultiMethodTest {
result &= isCellShown(subaddress);
tRes.tested("clearOutline()", result);
}
-
+
public void _group() {
oObj.group(address, TableOrientation.COLUMNS);
oObj.group(address, TableOrientation.ROWS);
tRes.tested("group()", true);
}
-
+
public void _ungroup() {
executeMethod("showDetail()");
oObj.ungroup(address, TableOrientation.COLUMNS);
@@ -95,13 +95,13 @@ public class _XSheetOutline extends MultiMethodTest {
oObj.hideDetail(address);
tRes.tested("hideDetail()", !isCellShown(address));
}
-
+
public void _showDetail() {
executeMethod("showLevel()");
oObj.showDetail(address);
tRes.tested("showDetail()", isCellShown(address));
}
-
+
public void _showLevel() {
executeMethod("hideDetail()");
boolean result = false;
@@ -110,11 +110,11 @@ public class _XSheetOutline extends MultiMethodTest {
result = isCellShown(address);
oObj.showLevel((short)0, TableOrientation.COLUMNS);
oObj.showLevel((short)0, TableOrientation.ROWS);
-
+
result &= !isCellShown(address);
tRes.tested("showLevel()", result);
}
-
+
private boolean isCellShown(CellRangeAddress range) {
boolean isNotShown = true;
XCellRangesQuery xCellRangesQuery = (XCellRangesQuery)UnoRuntime.queryInterface(XCellRangesQuery.class, oObj);
@@ -131,9 +131,9 @@ public class _XSheetOutline extends MultiMethodTest {
}
return !isNotShown;
}
-
+
private boolean dotIsOutsideRange(int dotRow, int dotColumn, CellRangeAddress range) {
- log.println("Checking dot(" + dotRow + "," + dotColumn + ") against row["
+ log.println("Checking dot(" + dotRow + "," + dotColumn + ") against row["
+ range.StartRow + ":" + range.EndRow + "] column["
+ range.StartColumn + ":" + range.EndColumn + "]");
boolean isInside = true;
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java b/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java
index bcd47dbc861f..bdecb52e2be1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java
index 8e1f6c044513..e2e47e42a12f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
index c3d667deccf8..a534138fb912 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java
index a016214d0cdf..979aa7e5d68d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java
index 1b3682586778..a377c1c0dd9e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java b/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java
index 6d68b74919af..a00a1fdfabb2 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java
index 19c3eefd721a..7b632532631b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java b/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java
index 000239e84117..58c8acd3d9f5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java
index 43bd1f3d5adf..69e0e48a9546 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.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
@@ -33,15 +33,15 @@ import com.sun.star.container.XIndexAccess;
import com.sun.star.sheet.XUniqueCellFormatRangesSupplier;
public class _XUniqueCellFormatRangesSupplier extends MultiMethodTest {
-
+
public XUniqueCellFormatRangesSupplier oObj;
-
+
/**
* call the method getUniqueCellFormatRanges and returns OK result if
* the gained XIndexAccess isn't null and the method checkIndexAccess
* returns true.
- */
-
+ */
+
public void _getUniqueCellFormatRanges() {
boolean res = true;
XIndexAccess xIA = oObj.getUniqueCellFormatRanges();
@@ -51,14 +51,14 @@ public class _XUniqueCellFormatRangesSupplier extends MultiMethodTest {
log.println("The gained IndexAccess is null");
res = false;
}
- tRes.tested("getUniqueCellFormatRanges()",res);
+ tRes.tested("getUniqueCellFormatRanges()",res);
}
-
+
/**
* calls the method getCount at the IndexAccess, returns true is it is >0
* and getByIndex() doesn't throw an exception for Indexes between 0 and count
*/
-
+
protected boolean checkIndexAccess(XIndexAccess xIA) {
boolean res = true;
int count = xIA.getCount();
@@ -78,6 +78,6 @@ public class _XUniqueCellFormatRangesSupplier extends MultiMethodTest {
}
return res;
}
-
-
+
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java b/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java
index 6812704fd80f..e592734fbfe8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.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
@@ -115,7 +115,7 @@ public class _XUsedAreaCursor extends MultiMethodTest {
result &= (sAddr.StartRow == 1);
result &= (sAddr.EndColumn == 4);
result &= (sAddr.EndRow == 5);
-
+
// now testing with false parameter
oObj.gotoStartOfUsedArea(false);
sAddr = oAddr.getRangeAddress();
diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java b/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java
index ded696dcd0d1..72e323858fd0 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewPane.java b/qadevOOo/tests/java/ifc/sheet/_XViewPane.java
index 6fa46876022e..5b24f447c4ba 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XViewPane.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XViewPane.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
diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java b/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java
index 5fbdce6c7cb8..dccee2bb78db 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.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