summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc')
-rw-r--r--qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java28
-rw-r--r--qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCell.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java40
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java18
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java22
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java10
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java8
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java44
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java36
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java8
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScChartObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScChartsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java80
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java78
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java80
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java28
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java30
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java28
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java20
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java30
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_ScenariosEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java4
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScModelObj.java18
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScScenariosObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScShapeObj.java8
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScStyleObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTabViewObj.java50
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java4
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableRowObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java58
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java12
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java8
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java32
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLContentExporter.java4
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLContentImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLExporter.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java8
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java2
126 files changed, 525 insertions, 525 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java
index b7018b7691f7..4d9f25301219 100644
--- a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.java
+++ b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_HeaderFooter.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 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
protected static XMultiServiceFactory msf = null;
protected static XAccessibleAction action = null;
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XAccessibleContext oObj = null;
Object toolkit = null;
@@ -85,7 +85,7 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
Object atw = tk.getActiveTopWindow();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
atw);
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
@@ -93,15 +93,15 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
util.utils.shortWait(Param.getInt("ShortWait"));
AccessibilityTools.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- XAccessibleContext ok_button = AccessibilityTools.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PUSH_BUTTON,
+ XAccessibleContext ok_button = AccessibilityTools.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PUSH_BUTTON,
"Cancel");
oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.PARAGRAPH);
log.println("ImplementationName " + utils.getImplName(oObj));
log.println("AccessibleName " + oObj.getAccessibleName());
- log.println("ParentDescription " +
+ log.println("ParentDescription " +
oObj.getAccessibleParent().getAccessibleContext()
.getAccessibleDescription());
@@ -114,18 +114,18 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
XAccessibleText.class, oObj);
XAccessibleEditableText eText = (XAccessibleEditableText) UnoRuntime.queryInterface(
- XAccessibleEditableText.class,
+ XAccessibleEditableText.class,
oObj);
eText.setText("LEFT");
tEnv.addObjRelation("XAccessibleText.Text", text.getText());
-
- tEnv.addObjRelation("Destroy", "AccessibleEditableTextPara_PreviewCell");
+
+ tEnv.addObjRelation("Destroy", "AccessibleEditableTextPara_PreviewCell");
final XAccessibleEditableText editText = eText;
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
editText.setText("LEFT_EVENT");
@@ -161,7 +161,7 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
try {
SOfficeFactory SOF = SOfficeFactory.getFactory(msf);
- xCalcDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class,
+ xCalcDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class,
SOF.createCalcDoc(
null));
} catch (com.sun.star.uno.Exception e) {
@@ -183,7 +183,7 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
}
public void run() {
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xCalcDoc);
XController xController = aModel.getCurrentController();
@@ -192,10 +192,10 @@ public class AccessibleEditableTextPara_HeaderFooter extends TestCase {
try {
String aSlotID = ".uno:EditHeaderAndFooter";
XDispatchProvider xDispProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
xController);
XURLTransformer xParser = (com.sun.star.util.XURLTransformer) UnoRuntime.queryInterface(
- XURLTransformer.class,
+ XURLTransformer.class,
msf.createInstance(
"com.sun.star.util.URLTransformer"));
diff --git a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
index 4e0276304743..cda222edc858 100644
--- a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
+++ b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.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
@@ -158,20 +158,20 @@ public class AccessibleEditableTextPara_PreviewCell extends TestCase {
AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE_CELL,true);
xRoot = AccessibilityTools.SearchedAccessible;
-
+
//AccessibilityTools.printAccessibleTree(log,xRoot);
oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot,AccessibleRole.PARAGRAPH);
-
+
log.println("ImplementationName " + utils.getImplName(oObj));
log.println("AccessibleName " + oObj.getAccessibleName());
log.println("Parent " + utils.getImplName(oObj.getAccessibleParent()));
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
tEnv.addObjRelation("EditOnly", "AccessibleEditableTextPara_PreviewCell");
tEnv.addObjRelation("Destroy", "AccessibleEditableTextPara_PreviewCell");
-
+
final XCell cell_to_change = xCell;
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer(){
@@ -179,7 +179,7 @@ public class AccessibleEditableTextPara_PreviewCell extends TestCase {
cell_to_change.setFormula("NewString");
}
});
-
+
return tEnv;
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCell.java
index c295e7197eb1..9c648edc8ace 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCell.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
@@ -122,7 +122,7 @@ public class ScAccessibleCell extends TestCase {
log.println("ImplementationName " + utils.getImplName(oObj));
- TestEnvironment tEnv = new TestEnvironment(oObj);
+ TestEnvironment tEnv = new TestEnvironment(oObj);
// relation for XAccessibleEventBroadcaster
XCell xCell = null;
@@ -146,7 +146,7 @@ public class ScAccessibleCell extends TestCase {
XIndexAccess oIndexAccess = (XIndexAccess)
UnoRuntime.queryInterface(XIndexAccess.class, oColumns);
XPropertySet column = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class,oIndexAccess.getByIndex(1));
+ XPropertySet.class,oIndexAccess.getByIndex(1));
column.setPropertyValue("OptimalWidth", new Boolean(true));
} catch(com.sun.star.lang.WrappedTargetException e) {
log.println("Exception ceating relation :");
@@ -163,9 +163,9 @@ public class ScAccessibleCell extends TestCase {
} catch(com.sun.star.lang.IllegalArgumentException e) {
log.println("Exception ceating relation :");
e.printStackTrace(log);
- }
-
- tEnv.addObjRelation("EditOnly",
+ }
+
+ tEnv.addObjRelation("EditOnly",
"This method is only supported if the Cell is in edit mode");
final XCell fCell = xCell ;
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
index 3a18fce51185..b52891687452 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.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/mod/_sc/ScAccessibleCsvGrid.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java
index 15c81df729af..2a7737d53743 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvGrid.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/mod/_sc/ScAccessibleCsvRuler.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java
index 08b7b85b0fdb..84553b082622 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.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
@@ -67,7 +67,7 @@ public class ScAccessibleCsvRuler extends TestCase {
* @see TestEnvironment
* @see #getTestEnvironment()
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -86,18 +86,18 @@ public class ScAccessibleCsvRuler extends TestCase {
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, oObj);
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
- oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Cancel");
accAction = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
- XAccessibleContext acc = AccessibilityTools.getAccessibleObjectForRole(xRoot,
+ XAccessibleContext acc = AccessibilityTools.getAccessibleObjectForRole(xRoot,
AccessibleRole.RADIO_BUTTON);
log.println("Click on: " + acc.getAccessibleName());
@@ -112,15 +112,15 @@ public class ScAccessibleCsvRuler extends TestCase {
//util.dbg.printInterfaces(oObj);
- AccessibilityTools.printAccessibleTree(log, xRoot);
- oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.TEXT,
+ AccessibilityTools.printAccessibleTree(log, xRoot);
+ oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.TEXT,
"Ruler", true);
log.println("ImplementationName " + utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this dialog");
XAccessibleText text = (XAccessibleText) UnoRuntime.queryInterface(
@@ -143,7 +143,7 @@ public class ScAccessibleCsvRuler extends TestCase {
return tEnv;
}
-
+
/**
* Called while disposing a <code>TestEnvironment</code>.
* Disposes calc document.
@@ -175,7 +175,7 @@ public class ScAccessibleCsvRuler extends TestCase {
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
log.println("opening dialog");
-
+
PropertyValue[] args = new PropertyValue[1];
try {
args[0] = new PropertyValue();
@@ -184,13 +184,13 @@ public class ScAccessibleCsvRuler extends TestCase {
"com.sun.star.comp.uui.UUIInteractionHandler");
} catch(com.sun.star.uno.Exception e) {
}
-
+
lThread = new loadThread(SOF, args);
lThread.start();
shortWait();
}
-
+
/**
* Sleeps for 2 sec. to allow StarOffice to react on <code>
* reset</code> call.
@@ -201,10 +201,10 @@ public class ScAccessibleCsvRuler extends TestCase {
} catch (InterruptedException e) {
log.println("While waiting :" + e) ;
}
- }
-
+ }
+
public class loadThread extends Thread {
-
+
private SOfficeFactory SOF = null ;
private PropertyValue[] args = null;
public XComponent xSpreadSheedDoc = null;
@@ -215,15 +215,15 @@ public class ScAccessibleCsvRuler extends TestCase {
}
public void run() {
- try {
+ try {
String url= utils.getFullTestURL("10test.csv");
log.println("loading "+url);
- SOF.loadDocument(url,args);
+ SOF.loadDocument(url,args);
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace();
throw new StatusException( "Couldn't create document ", e );
}
- }
- }
-
+ }
+ }
+
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java
index fd930eedaf01..cbb3917b2e03 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocument.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/mod/_sc/ScAccessibleDocumentPagePreview.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java
index ff6328dc1b92..3835f1a876d4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleDocumentPagePreview.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/mod/_sc/ScAccessiblePageHeader.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java
index 599f8a097ad6..d77ca0f674b1 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeader.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
@@ -166,14 +166,14 @@ public class ScAccessiblePageHeader extends TestCase {
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
XStyleFamiliesSupplier StyleFam = (XStyleFamiliesSupplier)
UnoRuntime.queryInterface(
XStyleFamiliesSupplier.class,
xSpreadsheetDoc );
XNameAccess StyleFamNames = StyleFam.getStyleFamilies();
XStyle StdStyle = null;
-
+
try{
XNameAccess PageStyles = (XNameAccess) AnyConverter.toObject(
new Type(XNameAccess.class),
@@ -212,9 +212,9 @@ public class ScAccessiblePageHeader extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't get HeaderContent", e);
}
-
+
final XHeaderFooterContent RPHC2 = RPHC;
-
+
final XText center = RPHC2.getCenterText();
final XText left = RPHC2.getLeftText();
final XText right = RPHC2.getRightText();
@@ -233,7 +233,7 @@ public class ScAccessiblePageHeader extends TestCase {
} catch (com.sun.star.lang.WrappedTargetException e) {}
}
});
-
+
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java
index 3e387afeb8d3..f0157633ccc4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.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
@@ -157,7 +157,7 @@ public class ScAccessiblePageHeaderArea extends TestCase {
try {
oObj = at.getAccessibleObjectForRole
(xRoot, AccessibleRole.HEADER, "").getAccessibleChild(0);
- XAccessibleContext cont = (XAccessibleContext)
+ XAccessibleContext cont = (XAccessibleContext)
UnoRuntime.queryInterface(XAccessibleContext.class, oObj);
XAccessibleStateSet StateSet = cont.getAccessibleStateSet();
if (StateSet.contains((short)27)) {
@@ -166,26 +166,26 @@ public class ScAccessiblePageHeaderArea extends TestCase {
} catch (com.sun.star.lang.IndexOutOfBoundsException iabe) {
throw new StatusException("Couldn't find needed Child",iabe);
}
-
+
log.println("ImplementationName " + utils.getImplName(oObj));
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
XAccessibleContext zoomIn =
at.getAccessibleObjectForRole(xRoot,AccessibleRole.PUSH_BUTTON, "Zoom In");
-
- final XAccessibleAction pressZoom = (XAccessibleAction)
+
+ final XAccessibleAction pressZoom = (XAccessibleAction)
UnoRuntime.queryInterface(XAccessibleAction.class, zoomIn);
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
- public void fireEvent() {
+ public void fireEvent() {
try {
pressZoom.doAccessibleAction(0);
} catch (com.sun.star.lang.IndexOutOfBoundsException ibe) {}
}
- });
-
+ });
+
return tEnv;
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java
index d6f93c401c77..13f8aeeeb52f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewCell.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/mod/_sc/ScAccessiblePreviewHeaderCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
index d57690852dc9..5662ee0addc9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.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
@@ -125,7 +125,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
* Switchs the document to preview mode and then obtains the
* accessible object for the header cell.
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -146,7 +146,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
throw new StatusException("Couldn't create document", e);
}
- XModel xModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xSheetDoc);
XController xController = xModel.getCurrentController();
@@ -161,7 +161,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
XIndexAccess oIndexSheets = (XIndexAccess) UnoRuntime.queryInterface(
XIndexAccess.class, oSheets);
XSpreadsheet oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexSheets.getByIndex(0));
log.println("Getting a cell from sheet");
@@ -184,14 +184,14 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
//setting property 'PrintHeaders' of the style 'Default'
XStyleFamiliesSupplier xSFS = (XStyleFamiliesSupplier) UnoRuntime.queryInterface(
- XStyleFamiliesSupplier.class,
+ XStyleFamiliesSupplier.class,
xSheetDoc);
XNameAccess xNA = xSFS.getStyleFamilies();
XPropertySet xPropSet = null;
try {
Object oPageStyles = xNA.getByName("PageStyles");
- xNA = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class,
+ xNA = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class,
oPageStyles);
Object oDefStyle = xNA.getByName("Default");
@@ -228,10 +228,10 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
//switching to 'Print Preview' mode
try {
XDispatchProvider xDispProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
xController);
XURLTransformer xParser = (com.sun.star.util.XURLTransformer) UnoRuntime.queryInterface(
- XURLTransformer.class,
+ XURLTransformer.class,
( (XMultiServiceFactory) Param.getMSF())
.createInstance("com.sun.star.util.URLTransformer"));
URL[] aParseURL = new URL[1];
@@ -261,8 +261,8 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
if (oObj == null) {
log.println("Version with a fixed #103863#");
- oObj = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.TABLE_CELL,
+ oObj = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.TABLE_CELL,
true);
}
@@ -270,7 +270,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
index 2c7271f50e86..b12c7c55e362 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.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
@@ -182,9 +182,9 @@ public class ScAccessiblePreviewTable extends TestCase {
XWindow xWindow = at.getCurrentContainerWindow((XMultiServiceFactory)Param.getMSF(), xModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
at.printAccessibleTree(log,xRoot, Param.getBool(PropertyName.DEBUG_IS_ACTIVE));
-
+
at.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE);
oObj = AccessibilityTools.SearchedContext;
@@ -195,9 +195,9 @@ public class ScAccessiblePreviewTable extends TestCase {
XAccessibleContext zoomIn =
at.getAccessibleObjectForRole(xRoot,AccessibleRole.PUSH_BUTTON, "Zoom In");
-
+
log.println("Getting "+ zoomIn.getAccessibleName());
-
+
final XAccessibleAction pressZoom = (XAccessibleAction)
UnoRuntime.queryInterface(XAccessibleAction.class, zoomIn);
tEnv.addObjRelation("EventProducer",
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java
index 0d5fd6c1bb86..3f80a7e5ac24 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleSpreadsheet.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/mod/_sc/ScAnnotationObj.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java
index aa43190a6a42..d2a1a2ef23ce 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationObj.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/mod/_sc/ScAnnotationShapeObj.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java
index 723163c13989..ab06d2977b96 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationShapeObj.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
@@ -202,11 +202,11 @@ public class ScAnnotationShapeObj extends TestCase {
//adding ObjRelation for XText
DefaultDsc tDsc = new DefaultDsc("com.sun.star.text.XTextContent",
"com.sun.star.text.TextField.DateTime");
-
+
log.println( "adding InstCreator object" );
tEnv.addObjRelation(
- "XTEXTINFO", new InstCreator( xSheetDoc, tDsc ) );
-
+ "XTEXTINFO", new InstCreator( xSheetDoc, tDsc ) );
+
return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java
index 94dd58a9c7ff..662f509696a7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationTextCursor.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/mod/_sc/ScAnnotationsObj.java b/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java
index 0ce18e51d13f..1ff4a3f91d11 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAnnotationsObj.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/mod/_sc/ScAreaLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java
index 9ecf4045bfb8..0054823cf1bc 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.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/mod/_sc/ScAreaLinksObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java
index 1c3c64e25b98..edb102225e2b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.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/mod/_sc/ScAutoFormatFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java
index 32f1158bf42c..9fd4c73109b5 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.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/mod/_sc/ScAutoFormatObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java
index 840f2e600cda..4731dac7e335 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.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/mod/_sc/ScAutoFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
index 21590965fbdf..70f051f8f0d6 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.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/mod/_sc/ScCellCursorObj.java b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
index 55ed9e3c3b73..1baa4c21d8a0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.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
@@ -153,7 +153,7 @@ public class ScCellCursorObj extends TestCase {
* retieved from collection)</li>
* </ul>
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
TestEnvironment tEnv = null;
@@ -166,19 +166,19 @@ public class ScCellCursorObj extends TestCase {
log.println("Creating a test environment");
XSpreadsheets oSpreadsheets = ((XSpreadsheetDocument) UnoRuntime.queryInterface(
- XSpreadsheetDocument.class,
+ XSpreadsheetDocument.class,
xSheetDoc)).getSheets();
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oSpreadsheets.getByName(
oSpreadsheets.getElementNames()[0]));
testRange = oSheet.getCellRangeByName("$A$1:$D$4");
XSheetCellRange testSheetRange = (XSheetCellRange) UnoRuntime.queryInterface(
- XSheetCellRange.class,
+ XSheetCellRange.class,
testRange);
oObj = oSheet.createCursorByRange(testSheetRange);
oSheet.getCellByPosition(1, 1).setValue(1);
@@ -207,7 +207,7 @@ public class ScCellCursorObj extends TestCase {
tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("CRDESC",
+ tEnv.addObjRelation("CRDESC",
"Column and RowDescriptions can't be changed for this Object");
tEnv.addObjRelation("SHEET", oSheet);
@@ -221,13 +221,13 @@ public class ScCellCursorObj extends TestCase {
expectedResults[_XCellRangesQuery.QUERYROWDIFFERENCES] = "Sheet1.A2;Sheet1.C2";
expectedResults[_XCellRangesQuery.QUERYVISIBLECELLS] = "Sheet1.A2";
tEnv.addObjRelation("XCellRangesQuery.EXPECTEDRESULTS", expectedResults);
-
- tEnv.addObjRelation("NewData",
- new Object[][]
+
+ tEnv.addObjRelation("NewData",
+ new Object[][]
{
- { "", "", "", "" },
- { "", "2", "3", "4" },
- { "", "2", "3", "4" },
+ { "", "", "", "" },
+ { "", "2", "3", "4" },
+ { "", "2", "3", "4" },
{ "", "2", "3", "4" }
});
@@ -238,7 +238,7 @@ public class ScCellCursorObj extends TestCase {
//Adding relation for util.XSortable
final PrintWriter finalLog = log;
final XCellRange oTable = testRange;
- tEnv.addObjRelation("SORTCHECKER",
+ tEnv.addObjRelation("SORTCHECKER",
new ifc.util._XSortable.XSortChecker() {
PrintWriter out = finalLog;
@@ -257,7 +257,7 @@ public class ScCellCursorObj extends TestCase {
}
}
- public boolean checkSort(boolean isSortNumbering,
+ public boolean checkSort(boolean isSortNumbering,
boolean isSortAscending) {
out.println("Sort checking...");
@@ -281,16 +281,16 @@ public class ScCellCursorObj extends TestCase {
String[] vals = { value[0], value[1], value[2], value[3] };
res = ValueComparer.equalValue(vals, rightVal);
out.println("Expected 3, 4, 23, b");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
} else {
String[] rightVal = { "b", "23", "4", "3" };
String[] vals = { value[0], value[1], value[2], value[3] };
res = ValueComparer.equalValue(vals, rightVal);
out.println("Expected b, 23, 4, 3");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
}
} else {
@@ -298,15 +298,15 @@ public class ScCellCursorObj extends TestCase {
String[] rightVal = { "3", "4", "23", "b" };
res = ValueComparer.equalValue(value, rightVal);
out.println("Expected 3, 4, 23, b");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
} else {
String[] rightVal = { "b", "23", "4", "3" };
res = ValueComparer.equalValue(value, rightVal);
out.println("Expected b, 23, 4, 3");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java
index a2f0d11e3bb5..1b39d32a3c2d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.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/mod/_sc/ScCellFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java
index f91389211354..b410257f7ba9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.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/mod/_sc/ScCellFormatsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java
index c78ac67cf64f..a920559dbc7c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFormatsEnumeration.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/mod/_sc/ScCellFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java
index 68396cbb37de..915891919bc0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellFormatsObj.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/mod/_sc/ScCellObj.java b/qadevOOo/tests/java/mod/_sc/ScCellObj.java
index 7711676f41a3..bd19c78a3da8 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellObj.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/mod/_sc/ScCellRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
index 5d4fdcaae4e4..b7b119c3b3b3 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellRangeObj.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
@@ -138,7 +138,7 @@ public class ScCellRangeObj extends TestCase {
* </ul>
* @see com.sun.star.sheet.XSpreadsheet
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XCellRange testRange;
@@ -149,7 +149,7 @@ public class ScCellRangeObj extends TestCase {
log.println("Creating a test environment");
XSpreadsheets oSpreadsheets = ((XSpreadsheetDocument) UnoRuntime.queryInterface(
- XSpreadsheetDocument.class,
+ XSpreadsheetDocument.class,
xSheetDoc)).getSheets();
XNameAccess oNames = (XNameAccess) UnoRuntime.queryInterface(
XNameAccess.class, oSpreadsheets);
@@ -158,7 +158,7 @@ public class ScCellRangeObj extends TestCase {
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oNames.getByName(oNames.getElementNames()[0]));
oObj = oSheet.getCellRangeByPosition(0, 0, 3, 4);
@@ -182,7 +182,7 @@ public class ScCellRangeObj extends TestCase {
"Error getting cell object from spreadsheet document", e);
}
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
tEnv.addObjRelation("SHEET", oSheet);
@@ -201,7 +201,7 @@ public class ScCellRangeObj extends TestCase {
XPropertySet PropSet = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oObj);
tEnv.addObjRelation("PropSet", PropSet);
-
+
// XSearchable: Add a cell to make a seacrchable entry
try {
tEnv.addObjRelation("XSearchable.MAKEENTRYINCELL", new XCell[] {
@@ -211,7 +211,7 @@ public class ScCellRangeObj extends TestCase {
e.printStackTrace((PrintWriter)log);
log.println("Cannot make required object relation 'XSearchable.MAKEENTRYINCELL'.");
}
-
+
// XCellRangeData
/* Object[][] newData = new Object[5][4];
for (int i=0; i<newData.length; i++) {
@@ -220,11 +220,11 @@ public class ScCellRangeObj extends TestCase {
}
}
tEnv.addObjRelation("NewData", newData); */
-
+
//Adding relation for util.XSortable
final PrintWriter finalLog = log;
final XCellRange oTable = testRange;
- tEnv.addObjRelation("SORTCHECKER",
+ tEnv.addObjRelation("SORTCHECKER",
new ifc.util._XSortable.XSortChecker() {
PrintWriter out = finalLog;
@@ -243,7 +243,7 @@ public class ScCellRangeObj extends TestCase {
}
}
- public boolean checkSort(boolean isSortNumbering,
+ public boolean checkSort(boolean isSortNumbering,
boolean isSortAscending) {
out.println("Sort checking...");
@@ -267,16 +267,16 @@ public class ScCellRangeObj extends TestCase {
String[] vals = { value[0], value[1], value[2], value[3] };
res = ValueComparer.equalValue(vals, rightVal);
out.println("Expected 3, 4, 23, b");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
} else {
String[] rightVal = { "b", "23", "4", "3" };
String[] vals = { value[0], value[1], value[2], value[3] };
res = ValueComparer.equalValue(vals, rightVal);
out.println("Expected b, 23, 4, 3");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
}
} else {
@@ -284,15 +284,15 @@ public class ScCellRangeObj extends TestCase {
String[] rightVal = { "3", "4", "23", "b" };
res = ValueComparer.equalValue(value, rightVal);
out.println("Expected 3, 4, 23, b");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
} else {
String[] rightVal = { "b", "23", "4", "3" };
res = ValueComparer.equalValue(value, rightVal);
out.println("Expected b, 23, 4, 3");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java
index b3c3e4e66e1d..9d4216a0132c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellRangesObj.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
@@ -198,7 +198,7 @@ public class ScCellRangesObj extends TestCase {
for (int j = 0; j < 5; j++) {
oSheet.getCellByPosition(i, j).setFormula("a");
}
- }
+ }
for (int i = 0; i < 10; i++) {
for (int j = 5; j < 10; j++) {
oSheet.getCellByPosition(i, j).setValue(i + j);
@@ -210,7 +210,7 @@ public class ScCellRangesObj extends TestCase {
"Exception occurred while filling cells", e);
}
-
+
TestEnvironment tEnv = new TestEnvironment( oObj );
// NameReplaceIndex : _XNameReplace
@@ -242,7 +242,7 @@ public class ScCellRangesObj extends TestCase {
tEnv.addObjRelation("SHEET", oSheet);
// add expected results for the XCellRangesQuery interface test
String[]expectedResults = new String[7];
- expectedResults[_XCellRangesQuery.QUERYCOLUMNDIFFERENCES] = "Sheet1.I7:J8";
+ expectedResults[_XCellRangesQuery.QUERYCOLUMNDIFFERENCES] = "Sheet1.I7:J8";
expectedResults[_XCellRangesQuery.QUERYCONTENTCELLS] = "";
expectedResults[_XCellRangesQuery.QUERYEMPTYCELLS] = "";
expectedResults[_XCellRangesQuery.QUERYFORMULACELLS] = "";
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java b/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java
index 5e1f6153eb07..60d9cc9f38b2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellSearchObj.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/mod/_sc/ScCellTextCursor.java b/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java
index 05313f90cb00..56a79463d0aa 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellTextCursor.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/mod/_sc/ScCellsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java
index 5b41b5bb2928..f394e1dd9dbb 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.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/mod/_sc/ScCellsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellsObj.java
index 4e83d890427e..dfaf72aa525f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellsObj.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/mod/_sc/ScChartObj.java b/qadevOOo/tests/java/mod/_sc/ScChartObj.java
index 4c0e38aeaab3..ae94cf3358bb 100644
--- a/qadevOOo/tests/java/mod/_sc/ScChartObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScChartObj.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/mod/_sc/ScChartsObj.java b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java
index ffce67b4f173..4541e30cafa3 100644
--- a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScChartsObj.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/mod/_sc/ScConsolidationDescriptor.java b/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java
index 9ca1dfb9c448..d0338dc75653 100644
--- a/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScConsolidationDescriptor.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/mod/_sc/ScDDELinkObj.java b/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java
index a1f3dfb433f4..4b080bee0a75 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDDELinkObj.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/mod/_sc/ScDDELinksObj.java b/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java
index fbcb724c27fd..42d8f75dc78e 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDDELinksObj.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/mod/_sc/ScDataPilotFieldGroupItemObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java
index 7ef352c94d2a..c011619a0687 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj.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
@@ -61,13 +61,13 @@ import util.SOfficeFactory;
public class ScDataPilotFieldGroupItemObj extends TestCase
{
static XSpreadsheetDocument xSheetDoc = null;
-
+
/**
* A field is filled some values. This integer determines the size of the
* field in x and y direction.
*/
private int mMaxFieldIndex = 6;
-
+
/**
* Creates Spreadsheet document.
*/
@@ -75,7 +75,7 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
{
SOfficeFactory SOF = SOfficeFactory.getFactory (
(XMultiServiceFactory) tParam.getMSF ());
-
+
try
{
log.println ("creating a Spreadsheet document");
@@ -88,30 +88,30 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
throw new StatusException ("Couldn't create document", e);
}
}
-
+
/**
* Disposes Spreadsheet document.
*/
protected void cleanup (TestParameters tParam, PrintWriter log)
{
log.println (" disposing xSheetDoc ");
-
+
XComponent oComp = (XComponent) UnoRuntime.queryInterface (
XComponent.class, xSheetDoc);
util.DesktopTools.closeDoc (oComp);
}
-
+
protected synchronized TestEnvironment createTestEnvironment (TestParameters Param,
PrintWriter log)
{
XInterface oObj = null;
XInterface datapilotfield = null;
XInterface groups = null;
-
+
// creation of testobject here
// first we write what we are intend to do to log file
log.println ("Creating a test environment");
-
+
// the cell range
CellRangeAddress sCellRangeAdress = new CellRangeAddress ();
sCellRangeAdress.Sheet = 0;
@@ -119,21 +119,21 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
sCellRangeAdress.StartRow = 0;
sCellRangeAdress.EndColumn = mMaxFieldIndex - 1;
sCellRangeAdress.EndRow = mMaxFieldIndex - 1;
-
+
// position of the data pilot table
CellAddress sCellAdress = new CellAddress ();
sCellAdress.Sheet = 0;
sCellAdress.Column = 7;
sCellAdress.Row = 8;
-
+
log.println ("Getting a sheet");
-
+
XSpreadsheets xSpreadsheets = (XSpreadsheets) xSheetDoc.getSheets ();
XSpreadsheet oSheet = null;
XSpreadsheet oSheet2 = null;
XIndexAccess oIndexAccess = (XIndexAccess) UnoRuntime.queryInterface (
XIndexAccess.class, xSpreadsheets);
-
+
try
{
oSheet = (XSpreadsheet) AnyConverter.toObject (
@@ -158,11 +158,11 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get a spreadsheet", e);
}
-
+
try
{
log.println ("Filling a table");
-
+
for (int i = 1; i < mMaxFieldIndex; i++)
{
oSheet.getCellByPosition (i, 0).setFormula ("Col" + i);
@@ -170,7 +170,7 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
oSheet2.getCellByPosition (i, 0).setFormula ("Col" + i);
oSheet2.getCellByPosition (0, i).setFormula ("Row" + i);
}
-
+
for (int i = 1; i < mMaxFieldIndex; i++)
{
for (int j = 1; j < mMaxFieldIndex; j++)
@@ -179,35 +179,35 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
oSheet2.getCellByPosition (i, j).setValue (i * (j + 2));
}
}
-
+
oSheet.getCellByPosition (1, 1).setFormula ("aName");
oSheet.getCellByPosition (1, 2).setFormula ("otherName");
oSheet.getCellByPosition (1, 3).setFormula ("una");
oSheet.getCellByPosition (1, 4).setFormula ("otherName");
oSheet.getCellByPosition (1, 5).setFormula ("somethingelse");
-
+
}
catch (com.sun.star.lang.IndexOutOfBoundsException e)
{
e.printStackTrace ();
throw new StatusException ("Couldn't fill some cells", e);
}
-
+
// change a value of a cell and check the change in the data pilot
// (for the XDataPilotTable.refresh() test)
Object oChangeCell = null;
Object oCheckCell = null;
Integer aChangeValue = null;
-
+
try
{
// cell of data
oChangeCell = oSheet.getCellByPosition (1, 5);
-
+
int x = sCellAdress.Column;
int y = sCellAdress.Row + 3;
-
-
+
+
// cell of the data pilot output
oCheckCell = oSheet.getCellByPosition (x, y);
aChangeValue = new Integer (27);
@@ -217,20 +217,20 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get cells for changeing.", e);
}
-
-
+
+
// create the test objects
log.println ("Getting test objects");
-
+
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface (
XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables ();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor ();
DPDsc.setSourceRange (sCellRangeAdress);
-
- XPropertySet fieldPropSet = null;
-
+
+ XPropertySet fieldPropSet = null;
+
try
{
Object oDataPilotField = DPDsc.getDataPilotFields ().getByIndex (0);
@@ -276,14 +276,14 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't create a test environment", e);
}
-
+
log.println ("Insert the DataPilotTable");
-
+
if (DPT.hasByName ("DataPilotTable"))
{
DPT.removeByName ("DataPilotTable");
}
-
+
DPT.insertNewByName ("DataPilotTable", sCellAdress, DPDsc);
XIndexAccess xIA = (XIndexAccess) UnoRuntime.queryInterface (XIndexAccess.class,DPTS.getDataPilotTables ());
XIndexAccess IA = null;
@@ -311,7 +311,7 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get data pilot field", e);
}
-
+
try
{
XDataPilotFieldGrouping dpfg = (XDataPilotFieldGrouping) UnoRuntime.queryInterface (XDataPilotFieldGrouping.class, datapilotfield);
@@ -333,7 +333,7 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
{
e.printStackTrace ();
throw new StatusException ("Couldn't get data pilot field", e);
- }
+ }
for (int i=0;i<IA.getCount ();i++)
{
datapilotfield = (XInterface) AnyConverter.toObject (
@@ -348,7 +348,7 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
}
}
groups = dpgi.Groups;
- XIndexAccess groupAccess = (XIndexAccess) UnoRuntime.queryInterface(XIndexAccess.class, groups);
+ XIndexAccess groupAccess = (XIndexAccess) UnoRuntime.queryInterface(XIndexAccess.class, groups);
XNameAccess groupNames = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, groupAccess.getByIndex(0));
oObj = (XInterface) UnoRuntime.queryInterface(XInterface.class, groupNames.getByName("aName"));
}
@@ -356,16 +356,16 @@ public class ScDataPilotFieldGroupItemObj extends TestCase
{
e.printStackTrace ();
}
-
+
log.println ("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
-
+
TestEnvironment tEnv = new TestEnvironment (oObj);
-
+
log.println ("Implementationname: " + util.utils.getImplName (oObj));
-
+
// Other parameters required for interface tests
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java
index 71a699175c85..fab644979093 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupObj.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,13 +60,13 @@ import util.SOfficeFactory;
public class ScDataPilotFieldGroupObj extends TestCase
{
static XSpreadsheetDocument xSheetDoc = null;
-
+
/**
* A field is filled some values. This integer determines the size of the
* field in x and y direction.
*/
private int mMaxFieldIndex = 6;
-
+
/**
* Creates Spreadsheet document.
*/
@@ -74,7 +74,7 @@ public class ScDataPilotFieldGroupObj extends TestCase
{
SOfficeFactory SOF = SOfficeFactory.getFactory (
(XMultiServiceFactory) tParam.getMSF ());
-
+
try
{
log.println ("creating a Spreadsheet document");
@@ -87,30 +87,30 @@ public class ScDataPilotFieldGroupObj extends TestCase
throw new StatusException ("Couldn't create document", e);
}
}
-
+
/**
* Disposes Spreadsheet document.
*/
protected void cleanup (TestParameters tParam, PrintWriter log)
{
log.println (" disposing xSheetDoc ");
-
+
XComponent oComp = (XComponent) UnoRuntime.queryInterface (
XComponent.class, xSheetDoc);
util.DesktopTools.closeDoc (oComp);
}
-
+
protected synchronized TestEnvironment createTestEnvironment (TestParameters Param,
PrintWriter log)
{
XInterface oObj = null;
XInterface datapilotfield = null;
XInterface groups = null;
-
+
// creation of testobject here
// first we write what we are intend to do to log file
log.println ("Creating a test environment");
-
+
// the cell range
CellRangeAddress sCellRangeAdress = new CellRangeAddress ();
sCellRangeAdress.Sheet = 0;
@@ -118,21 +118,21 @@ public class ScDataPilotFieldGroupObj extends TestCase
sCellRangeAdress.StartRow = 0;
sCellRangeAdress.EndColumn = mMaxFieldIndex - 1;
sCellRangeAdress.EndRow = mMaxFieldIndex - 1;
-
+
// position of the data pilot table
CellAddress sCellAdress = new CellAddress ();
sCellAdress.Sheet = 0;
sCellAdress.Column = 7;
sCellAdress.Row = 8;
-
+
log.println ("Getting a sheet");
-
+
XSpreadsheets xSpreadsheets = (XSpreadsheets) xSheetDoc.getSheets ();
XSpreadsheet oSheet = null;
XSpreadsheet oSheet2 = null;
XIndexAccess oIndexAccess = (XIndexAccess) UnoRuntime.queryInterface (
XIndexAccess.class, xSpreadsheets);
-
+
try
{
oSheet = (XSpreadsheet) AnyConverter.toObject (
@@ -157,11 +157,11 @@ public class ScDataPilotFieldGroupObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get a spreadsheet", e);
}
-
+
try
{
log.println ("Filling a table");
-
+
for (int i = 1; i < mMaxFieldIndex; i++)
{
oSheet.getCellByPosition (i, 0).setFormula ("Col" + i);
@@ -169,7 +169,7 @@ public class ScDataPilotFieldGroupObj extends TestCase
oSheet2.getCellByPosition (i, 0).setFormula ("Col" + i);
oSheet2.getCellByPosition (0, i).setFormula ("Row" + i);
}
-
+
for (int i = 1; i < mMaxFieldIndex; i++)
{
for (int j = 1; j < mMaxFieldIndex; j++)
@@ -178,35 +178,35 @@ public class ScDataPilotFieldGroupObj extends TestCase
oSheet2.getCellByPosition (i, j).setValue (i * (j + 2));
}
}
-
+
oSheet.getCellByPosition (1, 1).setFormula ("aName");
oSheet.getCellByPosition (1, 2).setFormula ("otherName");
oSheet.getCellByPosition (1, 3).setFormula ("una");
oSheet.getCellByPosition (1, 4).setFormula ("otherName");
oSheet.getCellByPosition (1, 5).setFormula ("somethingelse");
-
+
}
catch (com.sun.star.lang.IndexOutOfBoundsException e)
{
e.printStackTrace ();
throw new StatusException ("Couldn't fill some cells", e);
}
-
+
// change a value of a cell and check the change in the data pilot
// (for the XDataPilotTable.refresh() test)
Object oChangeCell = null;
Object oCheckCell = null;
Integer aChangeValue = null;
-
+
try
{
// cell of data
oChangeCell = oSheet.getCellByPosition (1, 5);
-
+
int x = sCellAdress.Column;
int y = sCellAdress.Row + 3;
-
-
+
+
// cell of the data pilot output
oCheckCell = oSheet.getCellByPosition (x, y);
aChangeValue = new Integer (27);
@@ -216,20 +216,20 @@ public class ScDataPilotFieldGroupObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get cells for changeing.", e);
}
-
-
+
+
// create the test objects
log.println ("Getting test objects");
-
+
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface (
XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables ();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor ();
DPDsc.setSourceRange (sCellRangeAdress);
-
- XPropertySet fieldPropSet = null;
-
+
+ XPropertySet fieldPropSet = null;
+
try
{
Object oDataPilotField = DPDsc.getDataPilotFields ().getByIndex (0);
@@ -275,14 +275,14 @@ public class ScDataPilotFieldGroupObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't create a test environment", e);
}
-
+
log.println ("Insert the DataPilotTable");
-
+
if (DPT.hasByName ("DataPilotTable"))
{
DPT.removeByName ("DataPilotTable");
}
-
+
DPT.insertNewByName ("DataPilotTable", sCellAdress, DPDsc);
XIndexAccess xIA = (XIndexAccess) UnoRuntime.queryInterface (XIndexAccess.class,DPTS.getDataPilotTables ());
XIndexAccess IA = null;
@@ -310,7 +310,7 @@ public class ScDataPilotFieldGroupObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get data pilot field", e);
}
-
+
try
{
XDataPilotFieldGrouping dpfg = (XDataPilotFieldGrouping) UnoRuntime.queryInterface (XDataPilotFieldGrouping.class, datapilotfield);
@@ -332,7 +332,7 @@ public class ScDataPilotFieldGroupObj extends TestCase
{
e.printStackTrace ();
throw new StatusException ("Couldn't get data pilot field", e);
- }
+ }
for (int i=0;i<IA.getCount ();i++)
{
datapilotfield = (XInterface) AnyConverter.toObject (
@@ -354,16 +354,16 @@ public class ScDataPilotFieldGroupObj extends TestCase
{
e.printStackTrace ();
}
-
+
log.println ("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
-
+
TestEnvironment tEnv = new TestEnvironment (oObj);
-
+
log.println ("Implementationname: " + util.utils.getImplName (oObj));
-
+
// Other parameters required for interface tests
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java
index 152c1d82a09a..5045ed93647a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupsObj.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,13 +60,13 @@ import util.SOfficeFactory;
public class ScDataPilotFieldGroupsObj extends TestCase
{
static XSpreadsheetDocument xSheetDoc = null;
-
+
/**
* A field is filled some values. This integer determines the size of the
* field in x and y direction.
*/
private int mMaxFieldIndex = 6;
-
+
/**
* Creates Spreadsheet document.
*/
@@ -74,7 +74,7 @@ public class ScDataPilotFieldGroupsObj extends TestCase
{
SOfficeFactory SOF = SOfficeFactory.getFactory (
(XMultiServiceFactory) tParam.getMSF ());
-
+
try
{
log.println ("creating a Spreadsheet document");
@@ -87,30 +87,30 @@ public class ScDataPilotFieldGroupsObj extends TestCase
throw new StatusException ("Couldn't create document", e);
}
}
-
+
/**
* Disposes Spreadsheet document.
*/
protected void cleanup (TestParameters tParam, PrintWriter log)
{
log.println (" disposing xSheetDoc ");
-
+
XComponent oComp = (XComponent) UnoRuntime.queryInterface (
XComponent.class, xSheetDoc);
util.DesktopTools.closeDoc (oComp);
}
-
+
protected synchronized TestEnvironment createTestEnvironment (TestParameters Param,
PrintWriter log)
{
XInterface oObj = null;
XInterface datapilotfield = null;
-
-
+
+
// creation of testobject here
// first we write what we are intend to do to log file
log.println ("Creating a test environment");
-
+
// the cell range
CellRangeAddress sCellRangeAdress = new CellRangeAddress ();
sCellRangeAdress.Sheet = 0;
@@ -118,21 +118,21 @@ public class ScDataPilotFieldGroupsObj extends TestCase
sCellRangeAdress.StartRow = 0;
sCellRangeAdress.EndColumn = mMaxFieldIndex - 1;
sCellRangeAdress.EndRow = mMaxFieldIndex - 1;
-
+
// position of the data pilot table
CellAddress sCellAdress = new CellAddress ();
sCellAdress.Sheet = 0;
sCellAdress.Column = 7;
sCellAdress.Row = 8;
-
+
log.println ("Getting a sheet");
-
+
XSpreadsheets xSpreadsheets = (XSpreadsheets) xSheetDoc.getSheets ();
XSpreadsheet oSheet = null;
XSpreadsheet oSheet2 = null;
XIndexAccess oIndexAccess = (XIndexAccess) UnoRuntime.queryInterface (
XIndexAccess.class, xSpreadsheets);
-
+
try
{
oSheet = (XSpreadsheet) AnyConverter.toObject (
@@ -157,11 +157,11 @@ public class ScDataPilotFieldGroupsObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get a spreadsheet", e);
}
-
+
try
{
log.println ("Filling a table");
-
+
for (int i = 1; i < mMaxFieldIndex; i++)
{
oSheet.getCellByPosition (i, 0).setFormula ("Col" + i);
@@ -169,7 +169,7 @@ public class ScDataPilotFieldGroupsObj extends TestCase
oSheet2.getCellByPosition (i, 0).setFormula ("Col" + i);
oSheet2.getCellByPosition (0, i).setFormula ("Row" + i);
}
-
+
for (int i = 1; i < mMaxFieldIndex; i++)
{
for (int j = 1; j < mMaxFieldIndex; j++)
@@ -178,35 +178,35 @@ public class ScDataPilotFieldGroupsObj extends TestCase
oSheet2.getCellByPosition (i, j).setValue (i * (j + 2));
}
}
-
+
oSheet.getCellByPosition (1, 1).setFormula ("aName");
oSheet.getCellByPosition (1, 2).setFormula ("otherName");
oSheet.getCellByPosition (1, 3).setFormula ("una");
oSheet.getCellByPosition (1, 4).setFormula ("otherName");
oSheet.getCellByPosition (1, 5).setFormula ("somethingelse");
-
+
}
catch (com.sun.star.lang.IndexOutOfBoundsException e)
{
e.printStackTrace ();
throw new StatusException ("Couldn't fill some cells", e);
}
-
+
// change a value of a cell and check the change in the data pilot
// (for the XDataPilotTable.refresh() test)
Object oChangeCell = null;
Object oCheckCell = null;
Integer aChangeValue = null;
-
+
try
{
// cell of data
oChangeCell = oSheet.getCellByPosition (1, 5);
-
+
int x = sCellAdress.Column;
int y = sCellAdress.Row + 3;
-
-
+
+
// cell of the data pilot output
oCheckCell = oSheet.getCellByPosition (x, y);
aChangeValue = new Integer (27);
@@ -216,20 +216,20 @@ public class ScDataPilotFieldGroupsObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get cells for changeing.", e);
}
-
-
+
+
// create the test objects
log.println ("Getting test objects");
-
+
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface (
XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables ();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor ();
DPDsc.setSourceRange (sCellRangeAdress);
-
- XPropertySet fieldPropSet = null;
-
+
+ XPropertySet fieldPropSet = null;
+
try
{
Object oDataPilotField = DPDsc.getDataPilotFields ().getByIndex (0);
@@ -275,14 +275,14 @@ public class ScDataPilotFieldGroupsObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't create a test environment", e);
}
-
+
log.println ("Insert the DataPilotTable");
-
+
if (DPT.hasByName ("DataPilotTable"))
{
DPT.removeByName ("DataPilotTable");
}
-
+
DPT.insertNewByName ("DataPilotTable", sCellAdress, DPDsc);
XIndexAccess xIA = (XIndexAccess) UnoRuntime.queryInterface (XIndexAccess.class,DPTS.getDataPilotTables ());
XIndexAccess IA = null;
@@ -310,7 +310,7 @@ public class ScDataPilotFieldGroupsObj extends TestCase
e.printStackTrace ();
throw new StatusException ("Couldn't get data pilot field", e);
}
-
+
try
{
XDataPilotFieldGrouping dpfg = (XDataPilotFieldGrouping) UnoRuntime.queryInterface (XDataPilotFieldGrouping.class, datapilotfield);
@@ -332,7 +332,7 @@ public class ScDataPilotFieldGroupsObj extends TestCase
{
e.printStackTrace ();
throw new StatusException ("Couldn't get data pilot field", e);
- }
+ }
for (int i=0;i<IA.getCount ();i++)
{
datapilotfield = (XInterface) AnyConverter.toObject (
@@ -352,16 +352,16 @@ public class ScDataPilotFieldGroupsObj extends TestCase
{
e.printStackTrace ();
}
-
+
log.println ("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
-
+
TestEnvironment tEnv = new TestEnvironment (oObj);
-
+
log.println ("Implementationname: " + util.utils.getImplName (oObj));
-
+
// Other parameters required for interface tests
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
index c19e8dab3b36..27f2da2a8a6b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.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
@@ -124,7 +124,7 @@ public class ScDataPilotFieldObj extends TestCase {
* @see com.sun.star.sheet.XDataPilotTablesSupplier
* @see com.sun.star.sheet.XDataPilotDescriptor
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -157,10 +157,10 @@ public class ScDataPilotFieldObj extends TestCase {
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(0));
oSheet2 = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(1));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -220,7 +220,7 @@ public class ScDataPilotFieldObj extends TestCase {
log.println("Getting test objects");
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface(
- XDataPilotTablesSupplier.class,
+ XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor();
@@ -241,9 +241,9 @@ public class ScDataPilotFieldObj extends TestCase {
}
try {
- fieldPropSet.setPropertyValue("Function",
+ fieldPropSet.setPropertyValue("Function",
com.sun.star.sheet.GeneralFunction.SUM);
- fieldPropSet.setPropertyValue("Orientation",
+ fieldPropSet.setPropertyValue("Orientation",
com.sun.star.sheet.DataPilotFieldOrientation.DATA);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -284,7 +284,7 @@ public class ScDataPilotFieldObj extends TestCase {
throw new StatusException("Couldn't get data pilot field", e);
}
- log.println("Creating object - " +
+ log.println("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
TestEnvironment tEnv = new TestEnvironment(oObj);
@@ -318,7 +318,7 @@ public class ScDataPilotFieldObj extends TestCase {
return;
}
- XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
field);
String name = named.getName();
@@ -333,35 +333,35 @@ public class ScDataPilotFieldObj extends TestCase {
try {
switch (cnt % 5) {
case 0:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.COLUMN);
log.println(" Column");
break;
case 1:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.ROW);
log.println(" Row");
break;
case 2:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.DATA);
log.println(" Data");
break;
case 3:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.HIDDEN);
log.println(" Hidden");
break;
case 4:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.PAGE);
log.println(" Page");
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java
index a8de7196baba..8ef56fbc041d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldsObj.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/mod/_sc/ScDataPilotItemObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java
index c50a32775416..b2c0b6c4bff9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.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
@@ -125,7 +125,7 @@ public class ScDataPilotItemObj extends TestCase {
* @see com.sun.star.sheet.XDataPilotTablesSupplier
* @see com.sun.star.sheet.XDataPilotDescriptor
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -158,10 +158,10 @@ public class ScDataPilotItemObj extends TestCase {
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(0));
oSheet2 = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(1));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -221,7 +221,7 @@ public class ScDataPilotItemObj extends TestCase {
log.println("Getting test objects");
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface(
- XDataPilotTablesSupplier.class,
+ XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor();
@@ -242,9 +242,9 @@ public class ScDataPilotItemObj extends TestCase {
}
try {
- fieldPropSet.setPropertyValue("Function",
+ fieldPropSet.setPropertyValue("Function",
com.sun.star.sheet.GeneralFunction.SUM);
- fieldPropSet.setPropertyValue("Orientation",
+ fieldPropSet.setPropertyValue("Orientation",
com.sun.star.sheet.DataPilotFieldOrientation.DATA);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -285,7 +285,7 @@ public class ScDataPilotItemObj extends TestCase {
throw new StatusException("Couldn't get data pilot field", e);
}
- log.println("Creating object - " +
+ log.println("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
XDataPilotField xDataPilotField = (XDataPilotField) UnoRuntime.queryInterface(
@@ -294,7 +294,7 @@ public class ScDataPilotItemObj extends TestCase {
XIndexAccess xIA = xDataPilotField.getItems();
try {
- oObj = (XInterface) UnoRuntime.queryInterface(XInterface.class,
+ oObj = (XInterface) UnoRuntime.queryInterface(XInterface.class,
xIA.getByIndex(0));
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("Couldn't get DataPilotItemObj");
@@ -336,7 +336,7 @@ public class ScDataPilotItemObj extends TestCase {
return;
}
- XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
field);
String name = named.getName();
@@ -351,35 +351,35 @@ public class ScDataPilotItemObj extends TestCase {
try {
switch (cnt % 5) {
case 0:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.COLUMN);
log.println(" Column");
break;
case 1:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.ROW);
log.println(" Row");
break;
case 2:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.DATA);
log.println(" Data");
break;
case 3:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.HIDDEN);
log.println(" Hidden");
break;
case 4:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.PAGE);
log.println(" Page");
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java
index ac9971b3c778..c3d0df45cbe2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.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
@@ -125,7 +125,7 @@ public class ScDataPilotItemsObj extends TestCase {
* @see com.sun.star.sheet.XDataPilotTablesSupplier
* @see com.sun.star.sheet.XDataPilotDescriptor
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -158,10 +158,10 @@ public class ScDataPilotItemsObj extends TestCase {
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(0));
oSheet2 = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(1));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -221,7 +221,7 @@ public class ScDataPilotItemsObj extends TestCase {
log.println("Getting test objects");
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface(
- XDataPilotTablesSupplier.class,
+ XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor();
@@ -242,9 +242,9 @@ public class ScDataPilotItemsObj extends TestCase {
}
try {
- fieldPropSet.setPropertyValue("Function",
+ fieldPropSet.setPropertyValue("Function",
com.sun.star.sheet.GeneralFunction.SUM);
- fieldPropSet.setPropertyValue("Orientation",
+ fieldPropSet.setPropertyValue("Orientation",
com.sun.star.sheet.DataPilotFieldOrientation.DATA);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -285,7 +285,7 @@ public class ScDataPilotItemsObj extends TestCase {
throw new StatusException("Couldn't get data pilot field", e);
}
- log.println("Creating object - " +
+ log.println("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
XDataPilotField xDataPilotField = (XDataPilotField) UnoRuntime.queryInterface(
@@ -324,7 +324,7 @@ public class ScDataPilotItemsObj extends TestCase {
return;
}
- XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
field);
String name = named.getName();
@@ -339,35 +339,35 @@ public class ScDataPilotItemsObj extends TestCase {
try {
switch (cnt % 5) {
case 0:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.COLUMN);
log.println(" Column");
break;
case 1:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.ROW);
log.println(" Row");
break;
case 2:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.DATA);
log.println(" Data");
break;
case 3:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.HIDDEN);
log.println(" Hidden");
break;
case 4:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.PAGE);
log.println(" Page");
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java
index 290c2d9c07b2..015b94b7f31f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotTableObj.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
@@ -282,13 +282,13 @@ public class ScDataPilotTableObj extends TestCase {
return tEnv;
}
- /**
+ /**
* Create a new DataPilot table output for use with testing XDataPilotTable2
- * interface.
- *
+ * interface.
+ *
* @param oSheet current sheet instance
* @param srcRange source range
- * @param tEnv test environment instance
+ * @param tEnv test environment instance
*/
private void createTable2(XSpreadsheet oSheet, CellRangeAddress srcRange, TestEnvironment tEnv)
{
@@ -303,7 +303,7 @@ public class ScDataPilotTableObj extends TestCase {
int fieldCount = xIA.getCount() - 1; // skip the last field because it's always hidden.
try
{
- for (int i = 0; i < fieldCount; ++i)
+ for (int i = 0; i < fieldCount; ++i)
{
Object o = xIA.getByIndex(i);
XPropertySet fieldPropSet = (XPropertySet)UnoRuntime.queryInterface(
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java
index 27ce48595b7c..73a174902fb9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotTablesObj.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/mod/_sc/ScDatabaseRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java
index 0b9a71c860a3..d10a1a792340 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj.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
@@ -128,7 +128,7 @@ public class ScDatabaseRangeObj extends TestCase {
* @see com.sun.star.sheet.DatabaseRange
* @see com.sun.star.table.CellRangeAddress
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -149,10 +149,10 @@ public class ScDatabaseRangeObj extends TestCase {
try {
Object sheet = sheets.getByName(names[0]);
- xImp = (XImportable) UnoRuntime.queryInterface(XImportable.class,
+ xImp = (XImportable) UnoRuntime.queryInterface(XImportable.class,
sheet);
dbRanges = (XDatabaseRanges) AnyConverter.toObject(
- new Type(XDatabaseRanges.class),
+ new Type(XDatabaseRanges.class),
docProps.getPropertyValue("DatabaseRanges"));
_doImport(xImp);
} catch (com.sun.star.lang.WrappedTargetException e) {
@@ -184,20 +184,20 @@ public class ScDatabaseRangeObj extends TestCase {
try {
String[] dbNames = dbrNA.getElementNames();
- xNamed = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ xNamed = (XNamed) UnoRuntime.queryInterface(XNamed.class,
dbrNA.getByName(
dbNames[0]));
xNamed.setName("dbRange");
XCellRangeReferrer aReferrer = (XCellRangeReferrer) UnoRuntime.queryInterface(
- XCellRangeReferrer.class,
+ XCellRangeReferrer.class,
dbrNA.getByName("dbRange"));
XCellRangeAddressable aRangeA = (XCellRangeAddressable) UnoRuntime.queryInterface(
- XCellRangeAddressable.class,
+ XCellRangeAddressable.class,
aReferrer.getReferredCells());
aRange = aRangeA.getRangeAddress();
oObj = (XInterface) AnyConverter.toObject(
- new Type(XInterface.class),
+ new Type(XInterface.class),
dbrNA.getByName("dbRange"));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace(log);
@@ -228,12 +228,12 @@ public class ScDatabaseRangeObj extends TestCase {
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace(log);
throw new StatusException(
- "Error getting of first spreadsheet from spreadsheet" +
+ "Error getting of first spreadsheet from spreadsheet" +
" document", e);
} catch (com.sun.star.container.NoSuchElementException e) {
e.printStackTrace(log);
throw new StatusException(
- "Error getting of first spreadsheet from spreadsheet" +
+ "Error getting of first spreadsheet from spreadsheet" +
" document", e);
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
index 1125628c357e..06b8d3e17c74 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.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/mod/_sc/ScDocumentConfiguration.java b/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java
index afcae57deb47..f15d109ce413 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration.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
@@ -68,10 +68,10 @@ public class ScDocumentConfiguration extends TestCase {
DesktopTools.closeDoc(xSheetDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
XMultiServiceFactory docMSF = (XMultiServiceFactory) UnoRuntime.queryInterface(
- XMultiServiceFactory.class,
+ XMultiServiceFactory.class,
xSheetDoc);
Object oObj = null;
diff --git a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
index a01dd8441fc9..4a6e1eaea16c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.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/mod/_sc/ScDrawPagesObj.java b/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java
index ce766e056f66..ec1ccf069fc5 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDrawPagesObj.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/mod/_sc/ScFilterDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java
index 2477eb8230d1..abcdb81ab116 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFilterDescriptorBase.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/mod/_sc/ScFunctionDescriptionObj.java b/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java
index 9360a2301205..719a55ded4f7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFunctionDescriptionObj.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/mod/_sc/ScFunctionListObj.java b/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
index 19762e3897e3..3b171bde6432 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.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/mod/_sc/ScHeaderFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
index e8180fa2f255..5f3ce09f8f61 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.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/mod/_sc/ScHeaderFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java
index 25cbc68fa9c4..97fcf84ad8d2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj.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/mod/_sc/ScHeaderFooterContentObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java
index 2d3719cf8fa4..a71077cd26d6 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterContentObj.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/mod/_sc/ScHeaderFooterTextCursor.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java
index 521d754da79a..13083444297e 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor.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/mod/_sc/ScHeaderFooterTextObj.java b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java
index 38495bbc8673..a70cef7b7304 100644
--- a/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextObj.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/mod/_sc/ScImportDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java
index a3bd6160657c..ef70232f14a9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScImportDescriptorBase.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/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java
index 33066b04432c..1224cc0cbb8c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAnnotationsEnumeration.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/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java
index 787c0e33881d..1f98b8e902c8 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.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/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java
index 0406f914622c..9034de739054 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DDELinksEnumeration.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/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java
index 955fb407b22e..3b1d914205f7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotFieldsEnumeration.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/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java
index 5755966c0ed2..3474f22f84f4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotItemsEnumeration.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
@@ -127,7 +127,7 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
* @see com.sun.star.sheet.XDataPilotTablesSupplier
* @see com.sun.star.sheet.XDataPilotDescriptor
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -160,10 +160,10 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(0));
oSheet2 = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(1));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -223,7 +223,7 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
log.println("Getting test objects");
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface(
- XDataPilotTablesSupplier.class,
+ XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor();
@@ -244,9 +244,9 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
}
try {
- fieldPropSet.setPropertyValue("Function",
+ fieldPropSet.setPropertyValue("Function",
com.sun.star.sheet.GeneralFunction.SUM);
- fieldPropSet.setPropertyValue("Orientation",
+ fieldPropSet.setPropertyValue("Orientation",
com.sun.star.sheet.DataPilotFieldOrientation.DATA);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -287,14 +287,14 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
throw new StatusException("Couldn't get data pilot field", e);
}
- log.println("Creating object - " +
+ log.println("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
XDataPilotField xDataPilotField = (XDataPilotField) UnoRuntime.queryInterface(
XDataPilotField.class, oObj);
XEnumerationAccess xEnumerationAccess = (XEnumerationAccess) UnoRuntime.queryInterface(
- XEnumerationAccess.class,
+ XEnumerationAccess.class,
xDataPilotField.getItems());
oObj = xEnumerationAccess.createEnumeration();
@@ -330,7 +330,7 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
return;
}
- XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
field);
String name = named.getName();
@@ -345,35 +345,35 @@ public class ScIndexEnumeration_DataPilotItemsEnumeration
try {
switch (cnt % 5) {
case 0:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.COLUMN);
log.println(" Column");
break;
case 1:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.ROW);
log.println(" Row");
break;
case 2:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.DATA);
log.println(" Data");
break;
case 3:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.HIDDEN);
log.println(" Hidden");
break;
case 4:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.PAGE);
log.println(" Page");
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java
index 652623f2ef74..0b7bdabaf6b7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DataPilotTablesEnumeration.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/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java
index 314c5884952b..bf1b874d92ca 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_DatabaseRangesEnumeration.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/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
index 017920b57d02..03f890e1b28b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.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/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
index 6a07462a0df9..594868d0e65a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.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/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java
index 080a454fac51..b66cb993eb97 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_NamedRangesEnumeration.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/mod/_sc/ScIndexEnumeration_ScenariosEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_ScenariosEnumeration.java
index f8ca5d66c8b3..3f17dd472e8b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_ScenariosEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_ScenariosEnumeration.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/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java
index 5001a02da185..9094469f690d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetCellRangesEnumeration.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/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
index e91b153dcbab..769f031a53cc 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.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
@@ -108,7 +108,7 @@ public class ScIndexEnumeration_SheetLinksEnumeration extends TestCase {
XSheetLinkable SL = (XSheetLinkable)
UnoRuntime.queryInterface(XSheetLinkable.class, oSheet);
- // creating link.
+ // creating link.
String aSourceArea = util.utils.getFullTestURL("calcshapes.sxc");
SL.link(aSourceArea, "Sheet1", "", "",
com.sun.star.sheet.SheetLinkMode.VALUE);
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java
index d369c81ec336..22779ea482f6 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.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/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java
index 325472ed724a..439d22b55cc9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SpreadsheetsEnumeration.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/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java
index 83c3b22e9f70..6659a68f8965 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SubTotalFieldsEnumeration.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/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java
index a399e095fed8..8212b7828f1a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.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/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java
index f1beaf8ad87b..25097fd9d9f0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableChartsEnumeration.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/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java
index d6e3267daf0f..a5a018cea24f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.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/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java
index 13c5a2939703..9dd0e2f21410 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.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/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java
index 52e362fab9aa..0892f58acc16 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableRowsEnumeration.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/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java
index 6f1c23f614ce..95065d5d72f4 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.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/mod/_sc/ScLabelRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java
index 59e7850f15fc..bafb8cd3d68f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScLabelRangeObj.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/mod/_sc/ScLabelRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java
index c1e3b57e2b63..6808d2f6401a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScLabelRangesObj.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/mod/_sc/ScModelObj.java b/qadevOOo/tests/java/mod/_sc/ScModelObj.java
index 6dd93942ff6b..52223953c94a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScModelObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScModelObj.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
@@ -97,7 +97,7 @@ public class ScModelObj extends TestCase {
XComponent.class, xSpreadsheetDoc);
util.DesktopTools.closeDoc(oComp);
- oComp = (XComponent) UnoRuntime.queryInterface(XComponent.class,
+ oComp = (XComponent) UnoRuntime.queryInterface(XComponent.class,
xSecondsheetDoc);
util.DesktopTools.closeDoc(oComp);
}
@@ -124,7 +124,7 @@ public class ScModelObj extends TestCase {
* </ul>
* @see
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
// creation of the testobject here
// first we write what we are intend to do to log file
@@ -155,9 +155,9 @@ public class ScModelObj extends TestCase {
throw new StatusException("Couldn't create document ", e);
}
- XModel model1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel model1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xSpreadsheetDoc);
- XModel model2 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel model2 = (XModel) UnoRuntime.queryInterface(XModel.class,
xSecondsheetDoc);
XInterface oObj = model1;
@@ -180,7 +180,7 @@ public class ScModelObj extends TestCase {
XIndexAccess oIndexSheets = (XIndexAccess) UnoRuntime.queryInterface(
XIndexAccess.class, oSheets);
XSpreadsheet oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexSheets.getByIndex(0));
log.println("Getting a cell from sheet");
@@ -190,7 +190,7 @@ public class ScModelObj extends TestCase {
oSheet.getCellByPosition(5, 5).setValue(10);
oSheet.getCellByPosition(6, 5).setFormula("= E6 * F6");
xCalculatableCells = new XCell[]{
- oSheet.getCellByPosition(4, 5),
+ oSheet.getCellByPosition(4, 5),
oSheet.getCellByPosition(5, 5),
oSheet.getCellByPosition(6, 5)
};
@@ -225,8 +225,8 @@ public class ScModelObj extends TestCase {
}
_XPrintJobBroadcaster.MyPrintJobListener listener = new _XPrintJobBroadcaster.MyPrintJobListener(oObj, fileName);
tEnv.addObjRelation("XPrintJobBroadcaster.XPrintJobListener", listener);
-
+
return tEnv;
}
-
+
} // finish class ScModelObj
diff --git a/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java b/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java
index 9be7b474161a..2fcac156fca3 100644
--- a/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScNamedRangeObj.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/mod/_sc/ScNamedRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java
index b7ed2add02c6..ef9ad060e0dc 100644
--- a/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScNamedRangesObj.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/mod/_sc/ScRecentFunctionsObj.java b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java
index 30f9de40250f..aeaa0a4eab65 100644
--- a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.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/mod/_sc/ScScenariosObj.java b/qadevOOo/tests/java/mod/_sc/ScScenariosObj.java
index aae4b08ba19e..51f284453e77 100644
--- a/qadevOOo/tests/java/mod/_sc/ScScenariosObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScScenariosObj.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/mod/_sc/ScShapeObj.java b/qadevOOo/tests/java/mod/_sc/ScShapeObj.java
index 1257498a53fd..e8953bb3efdf 100644
--- a/qadevOOo/tests/java/mod/_sc/ScShapeObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScShapeObj.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,7 +45,7 @@ import com.sun.star.uno.XInterface;
public class ScShapeObj extends TestCase {
static XComponent xSheetDoc;
-
+
protected void initialize( TestParameters tParam, PrintWriter log ) {
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
@@ -107,9 +107,9 @@ public class ScShapeObj extends TestCase {
// create test environment here
TestEnvironment tEnv = new TestEnvironment( oShape );
-
+
log.println("Implementation name: "+util.utils.getImplName(oObj));
- tEnv.addObjRelation("DOCUMENT",xSheetDoc);
+ tEnv.addObjRelation("DOCUMENT",xSheetDoc);
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
index 1a6fa837dbce..8af7acd39fa6 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.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/mod/_sc/ScSheetLinksObj.java b/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
index ada0b9d5cd1c..9f7fb9a2d32f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.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/mod/_sc/ScSortDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java
index c193eef05d1c..74ffdf1a8928 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSortDescriptorBase.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/mod/_sc/ScSpreadsheetSettings.java b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java
index eb5b9760a8ee..98a7d7658353 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.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/mod/_sc/ScSpreadsheetSettingsObj.java b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java
index 98016c8b5cf9..a38071cb4041 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj.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/mod/_sc/ScStyleFamiliesObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java
index a9601a671554..fd5d58a5039a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScStyleFamiliesObj.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/mod/_sc/ScStyleFamilyObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java
index 3c90df65111e..128acaa84d4c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.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/mod/_sc/ScStyleObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleObj.java
index 44181500ce9f..7937aebb549f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScStyleObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScStyleObj.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/mod/_sc/ScSubTotalDescriptorBase.java b/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java
index f353d6a2f547..eb821d2fabbe 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSubTotalDescriptorBase.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
@@ -140,10 +140,10 @@ public class ScSubTotalDescriptorBase extends TestCase {
column.Column = 3;
column.Function = GeneralFunction.SUM;
columns[0] = column;
-
+
XSubTotalDescriptor desc = xSTC.createSubTotalDescriptor(true);
desc.addNew(columns, 1);
-
+
XInterface oObj = desc;
TestEnvironment tEnv = new TestEnvironment(oObj);
diff --git a/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java
index ffe5db10607b..0282e18c11f0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSubTotalFieldObj.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/mod/_sc/ScTabViewObj.java b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java
index d90f91b43ab0..6431bcaeeb66 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.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
@@ -95,15 +95,15 @@ import com.sun.star.uno.XInterface;
public class ScTabViewObj extends TestCase {
public static XSpreadsheetDocument xSpreadsheetDoc;
public static XSpreadsheetDocument xSpreadsheetDoc2;
-
+
/**
* Creates Spreadsheet document.
*/
public void initialize( TestParameters Param, PrintWriter log ) {
// get a soffice factory object
-
+
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
-
+
try {
log.println("creating two spreadsheet documents");
xSpreadsheetDoc = SOF.createCalcDoc(null);
@@ -116,7 +116,7 @@ public class ScTabViewObj extends TestCase {
throw new StatusException( "Couldn't create document ", e );
}
}
-
+
/**
* Disposes Spreadsheet document.
*/
@@ -129,7 +129,7 @@ public class ScTabViewObj extends TestCase {
UnoRuntime.queryInterface(XComponent.class, xSpreadsheetDoc2) ;
util.DesktopTools.closeDoc(oComp2);
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Retieves the current controller of the spreadsheet document using the
@@ -147,18 +147,18 @@ public class ScTabViewObj extends TestCase {
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
XDrawPage oDrawPage = null;
-
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xSpreadsheetDoc);
-
+
XModel aSecondModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xSpreadsheetDoc2);
-
+
XInterface oObj = aModel.getCurrentController();
-
+
log.println("getting sheets");
XSpreadsheets xSpreadsheets = (XSpreadsheets)xSpreadsheetDoc.getSheets();
-
+
log.println("getting a sheet");
XSpreadsheet oSheet = null;
XIndexAccess oIndexAccess = (XIndexAccess)
@@ -176,17 +176,17 @@ public class ScTabViewObj extends TestCase {
e.printStackTrace(log);
throw new StatusException( "Couldn't get a spreadsheet", e);
}
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("XDispatchProvider.URL", ".uno:Copy") ;
-
+
log.println("adding 'Sheet' as ObjRelation");
tEnv.addObjRelation("Sheet", oSheet);
tEnv.addObjRelation("Frame",aModel.getCurrentController().getFrame());
tEnv.addObjRelation("SecondModel",aSecondModel);
tEnv.addObjRelation("FirstModel",aModel);
-
+
//Relation for XControlAccess
tEnv.addObjRelation("DOCUMENT", UnoRuntime.queryInterface(XComponent.class,xSpreadsheetDoc));
tEnv.addObjRelation("XControlAccess.isSheet", Boolean.TRUE);
@@ -204,10 +204,10 @@ public class ScTabViewObj extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't get some cell", e);
}
-
+
Object[] selections = {oSheet, cellRange, cell_1, cell_2};
tEnv.addObjRelation("Selections", selections);
-
+
tEnv.addObjRelation("Comparer", new Comparator() {
public int compare(Object o1, Object o2) {
XCellRangeAddressable adr1 = (XCellRangeAddressable)
@@ -222,26 +222,26 @@ public class ScTabViewObj extends TestCase {
public boolean equals(Object obj) {
return compare(this, obj) == 0;
} });
-
+
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
// XForm for com.sun.star.view.XFormLayerAccess
-
+
XForm myForm = null;
String kindOfControl="CommandButton";
XShape aShape = null;
try{
log.println("adding contol shape '" + kindOfControl + "'");
XComponent oComp = (XComponent) UnoRuntime.queryInterface(XComponent.class, xSpreadsheetDoc) ;
-
+
aShape = FormTools.createControlShape(oComp, 3000, 4500, 15000, 10000, kindOfControl);
-
+
} catch (Exception e){
e.printStackTrace(log);
throw new StatusException("Couldn't create following control shape : '" +
kindOfControl + "': ", e);
}
-
+
log.println("adding relation for com.sun.star.view.XFormLayerAccess: XForm");
try {
log.println( "getting Drawpages" );
@@ -254,7 +254,7 @@ public class ScTabViewObj extends TestCase {
new Type(XDrawPage.class),oDP.getByIndex(0));
if (oDrawPage == null)
log.println("ERROR: could not get DrawPage: null");
-
+
oDrawPage.add(aShape);
log.println("getting XForm");
XNameContainer xForm = FormTools.getForms(oDrawPage);
@@ -279,5 +279,5 @@ public class ScTabViewObj extends TestCase {
}
return tEnv;
}
-
+
} // finish class ScTabViewObj
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java b/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java
index e3f0f54d0e94..541de2ee0c9c 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableColumnObj.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/mod/_sc/ScTableColumnsObj.java b/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java
index 6dca3b67d4bb..c93b5fcf8f51 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableColumnsObj.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
@@ -109,7 +109,7 @@ public class ScTableColumnsObj extends TestCase {
* @see com.sun.star.table.TableColumns
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
-
+
XInterface oObj = null;
// creation of the testobject here
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java b/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java
index b427536b3dba..ad91ad4b5712 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableConditionalEntry.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/mod/_sc/ScTableConditionalFormat.java b/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
index c873ba5e4367..9dc73573ef9d 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.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/mod/_sc/ScTableRowObj.java b/qadevOOo/tests/java/mod/_sc/ScTableRowObj.java
index 077cbf26c4c1..f4db946d2a3a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableRowObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableRowObj.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/mod/_sc/ScTableRowsObj.java b/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java
index 17e45dc1fb59..46ac8fddc1ab 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableRowsObj.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/mod/_sc/ScTableSheetObj.java b/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java
index f6355fe0de86..d50e80008079 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.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
@@ -190,7 +190,7 @@ public class ScTableSheetObj extends TestCase {
* </ul>
* @see com.sun.star.sheet.XArrayFormulaRange
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -206,7 +206,7 @@ public class ScTableSheetObj extends TestCase {
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(0));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace(log);
@@ -241,38 +241,38 @@ public class ScTableSheetObj extends TestCase {
log.println("creating a new environment for object");
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
// do not execute com::sun::star::sheets::XCellSeries::fillAuto()
tEnv.addObjRelation("XCELLSERIES_FILLAUTO", new Boolean(false));
// set the adress ranges of the cells (see values set above): for e.g. XSheetOutline test
- tEnv.addObjRelation("CellRangeAddress",
+ tEnv.addObjRelation("CellRangeAddress",
new CellRangeAddress((short)0, 6, 6, 8, 8));
- tEnv.addObjRelation("CellRangeSubAddress",
+ tEnv.addObjRelation("CellRangeSubAddress",
new CellRangeAddress((short)0, 6, 6, 7, 8));
// pick a cell with a formula for XSheetAuditing, a dependent cell and a precedent cell
tEnv.addObjRelation("XSheetAuditing.CellAddress", new CellAddress((short)0, 8, 6));
tEnv.addObjRelation("XSheetAuditing.PrecedentCellAddress", new CellAddress((short)0, 7, 6));
tEnv.addObjRelation("XSheetAuditing.DependentCellAddress", new CellAddress((short)0, 9, 6));
-
+
// add an existing sheet for linking
tEnv.addObjRelation("XSheetLinkable.LinkSheet", "ScSheetLinksObj.sdc");
-
+
//adding Scenario and with that a ScenarioSheet-Relation for Scenario and XScenarioEnhanced
XScenariosSupplier scene = (XScenariosSupplier) UnoRuntime.queryInterface(
- XScenariosSupplier.class,
+ XScenariosSupplier.class,
tEnv.getTestObject());
scene.getScenarios()
- .addNewByName("Scenario",
+ .addNewByName("Scenario",
new CellRangeAddress[] {
new CellRangeAddress((short) 0, 0, 0, 10, 10)
}, "Comment");
XSpreadsheet sSheet = null;
-
+
try {
sSheet = (XSpreadsheet) UnoRuntime.queryInterface(
- XSpreadsheet.class,
+ XSpreadsheet.class,
xSpreadsheets.getByName("Scenario"));
} catch (com.sun.star.container.NoSuchElementException e) {
log.println("Couldn't get Scenario");
@@ -282,7 +282,7 @@ public class ScTableSheetObj extends TestCase {
tEnv.addObjRelation("ScenarioSheet", sSheet);
- log.println("adding ObjRelation 'noArray' to avoid the test" +
+ log.println("adding ObjRelation 'noArray' to avoid the test" +
" 'XArrayFormulaRange'");
tEnv.addObjRelation("noArray", "ScTableSheetObj");
@@ -300,17 +300,17 @@ public class ScTableSheetObj extends TestCase {
expectedResults[_XCellRangesQuery.QUERYINTERSECTION] = "Sheet1.D4";
expectedResults[_XCellRangesQuery.QUERYROWDIFFERENCES] = "Sheet1.A5;Sheet1.C1";
expectedResults[_XCellRangesQuery.QUERYVISIBLECELLS] = "Sheet1.A2";
- tEnv.addObjRelation("XCellRangesQuery.EXPECTEDRESULTS",
+ tEnv.addObjRelation("XCellRangesQuery.EXPECTEDRESULTS",
expectedResults);
// for XFormulaQuery interface test
try {
- tEnv.addObjRelation("MAKEENTRYINCELL",
+ tEnv.addObjRelation("MAKEENTRYINCELL",
oSheet.getCellByPosition(15, 15));
tEnv.addObjRelation("RANGEINDICES", new int[] { 0, 0 });
- tEnv.addObjRelation("EXPECTEDDEPENDENTVALUES",
+ tEnv.addObjRelation("EXPECTEDDEPENDENTVALUES",
new int[] { 0, 255, 0, 65535 });
- tEnv.addObjRelation("EXPECTEDPRECEDENTVALUES",
+ tEnv.addObjRelation("EXPECTEDPRECEDENTVALUES",
new int[] { 0, 255, 0, 65535 });
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println(
@@ -319,9 +319,9 @@ public class ScTableSheetObj extends TestCase {
// XSearchable interface test
try {
- tEnv.addObjRelation("XSearchable.MAKEENTRYINCELL",
+ tEnv.addObjRelation("XSearchable.MAKEENTRYINCELL",
new XCell[] {
- oSheet.getCellByPosition(15, 15),
+ oSheet.getCellByPosition(15, 15),
oSheet.getCellByPosition(15, 16)
});
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
@@ -333,7 +333,7 @@ public class ScTableSheetObj extends TestCase {
//Adding relation for util.XSortable
final PrintWriter finalLog = log;
final XCellRange oTable = oSheet;
- tEnv.addObjRelation("SORTCHECKER",
+ tEnv.addObjRelation("SORTCHECKER",
new ifc.util._XSortable.XSortChecker() {
PrintWriter out = finalLog;
@@ -352,7 +352,7 @@ public class ScTableSheetObj extends TestCase {
}
}
- public boolean checkSort(boolean isSortNumbering,
+ public boolean checkSort(boolean isSortNumbering,
boolean isSortAscending) {
out.println("Sort checking...");
@@ -376,16 +376,16 @@ public class ScTableSheetObj extends TestCase {
String[] vals = { value[0], value[1], value[2], value[3] };
res = ValueComparer.equalValue(vals, rightVal);
out.println("Expected 3, 4, 23, b");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
} else {
String[] rightVal = { "b", "23", "4", "3" };
String[] vals = { value[0], value[1], value[2], value[3] };
res = ValueComparer.equalValue(vals, rightVal);
out.println("Expected b, 23, 4, 3");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
}
} else {
@@ -393,15 +393,15 @@ public class ScTableSheetObj extends TestCase {
String[] rightVal = { "3", "4", "23", "b" };
res = ValueComparer.equalValue(value, rightVal);
out.println("Expected 3, 4, 23, b");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
} else {
String[] rightVal = { "b", "23", "4", "3" };
res = ValueComparer.equalValue(value, rightVal);
out.println("Expected b, 23, 4, 3");
- out.println("getting: " + value[0] + ", " +
- value[1] + ", " + value[2] + ", " +
+ out.println("getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] + ", " +
value[3]);
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java b/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java
index c31f692b8e51..4559c6fc0765 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableSheetsObj.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/mod/_sc/ScTableValidationObj.java b/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java
index 972e1e010f55..63b78fc806af 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableValidationObj.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/mod/_sc/ScUniqueCellFormatsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
index 1068af55b063..1d6e96564b6f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.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
@@ -75,12 +75,12 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
* Disposes Spreadsheet document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
- //add this lines after synchronisation
+ //add this lines after synchronisation
//log.println(" disposing xSheetDoc ");
//DesktopTools.closeDoc(xSheetDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("Getting the first sheet");
@@ -107,11 +107,11 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
changeColor("D1:D10", 0, 255, 0);
XUniqueCellFormatRangesSupplier xUCRS = (XUniqueCellFormatRangesSupplier) UnoRuntime.queryInterface(
- XUniqueCellFormatRangesSupplier.class,
+ XUniqueCellFormatRangesSupplier.class,
oSheet);
XEnumerationAccess xEnum = (XEnumerationAccess) UnoRuntime.queryInterface(
- XEnumerationAccess.class,
+ XEnumerationAccess.class,
xUCRS.getUniqueCellFormatRanges());
XInterface oObj = xEnum.createEnumeration();
log.println("Implementationname: " + util.utils.getImplName(oObj));
@@ -119,7 +119,7 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
tEnv.addObjRelation("ExpectedCount", new Integer(4));
-
+
return tEnv;
}
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
index e85fcb2bb4c5..049f3f672ef2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.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
@@ -74,12 +74,12 @@ public class ScUniqueCellFormatsObj extends TestCase {
* Disposes Spreadsheet document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
- //add this lines after synchronisation
+ //add this lines after synchronisation
//log.println(" disposing xSheetDoc ");
//DesktopTools.closeDoc(xSheetDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("Getting the first sheet");
@@ -106,7 +106,7 @@ public class ScUniqueCellFormatsObj extends TestCase {
changeColor("D1:D10", 0, 255, 0);
XUniqueCellFormatRangesSupplier xUCRS = (XUniqueCellFormatRangesSupplier) UnoRuntime.queryInterface(
- XUniqueCellFormatRangesSupplier.class,
+ XUniqueCellFormatRangesSupplier.class,
oSheet);
XInterface oObj = xUCRS.getUniqueCellFormatRanges();
diff --git a/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java b/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java
index cf8bbce0843b..88e2a0fd87d2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScViewPaneObj.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
@@ -75,14 +75,14 @@ public class ScViewPaneObj extends TestCase {
static private XSpreadsheetDocument xSpreadsheetDoc;
static private SOfficeFactory SOF;
static private XInterface oObj;
-
+
/**
* Creates Spreadsheet document.
*/
public void initialize( TestParameters Param, PrintWriter log ) {
// get a soffice factory object
SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
-
+
try {
log.println("creating a spreadsheetdocument");
xSpreadsheetDoc = SOF.createCalcDoc(null);
@@ -91,7 +91,7 @@ public class ScViewPaneObj extends TestCase {
throw new StatusException( "Couldn't create document ", e );
}
}
-
+
/**
* Disposes Spreadsheet document.
*/
@@ -101,7 +101,7 @@ public class ScViewPaneObj extends TestCase {
UnoRuntime.queryInterface(XComponent.class, xSpreadsheetDoc);
util.DesktopTools.closeDoc(oComp);
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Retieves the current controller of the spreadsheet document using the
@@ -119,7 +119,7 @@ public class ScViewPaneObj extends TestCase {
*/
protected TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
XDrawPage oDrawPage;
-
+
XModel xm = (XModel)
UnoRuntime.queryInterface(XModel.class, xSpreadsheetDoc);
XController xc = xm.getCurrentController();
@@ -138,36 +138,36 @@ public class ScViewPaneObj extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't get by index", e);
}
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
//Relation for XControlAccess
tEnv.addObjRelation("DOCUMENT", UnoRuntime.queryInterface(XComponent.class,xSpreadsheetDoc));
tEnv.addObjRelation("XControlAccess.isSheet", Boolean.TRUE);
-
+
XViewPane VP = (XViewPane)
UnoRuntime.queryInterface(XViewPane.class, oObj);
CellRangeAddress dataArea = VP.getVisibleRange();
tEnv.addObjRelation("DATAAREA", dataArea);
-
+
// XForm for com.sun.star.view.XFormLayerAccess
log.println("adding relation for com.sun.star.view.XFormLayerAccess: XForm");
-
+
XForm myForm = null;
String kindOfControl="CommandButton";
XShape aShape = null;
try{
log.println("adding contol shape '" + kindOfControl + "'");
XComponent oComp = (XComponent) UnoRuntime.queryInterface(XComponent.class, xSpreadsheetDoc) ;
-
+
aShape = FormTools.createControlShape(oComp, 3000, 4500, 15000, 10000, kindOfControl);
-
+
} catch (Exception e){
e.printStackTrace(log);
throw new StatusException("Couldn't create following control shape : '" +
kindOfControl + "': ", e);
}
-
+
try {
log.println( "getting Drawpages" );
XDrawPagesSupplier oDPS = (XDrawPagesSupplier)
@@ -179,7 +179,7 @@ public class ScViewPaneObj extends TestCase {
new Type(XDrawPage.class),oDP.getByIndex(0));
if (oDrawPage == null)
log.println("ERROR: could not get DrawPage: null");
-
+
oDrawPage.add(aShape);
log.println("getting XForm");
XNameContainer xForm = FormTools.getForms(oDrawPage);
@@ -202,7 +202,7 @@ public class ScViewPaneObj extends TestCase {
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: could not add ObjectRelation 'XFormLayerAccess.XForm': " + ex.toString());
}
-
+
return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java b/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java
index 56a9ec8e6579..4defeb81b290 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLContentExporter.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
@@ -147,7 +147,7 @@ public class XMLContentExporter extends TestCase {
new Type(XSpreadsheet.class),xSheetsIndexArray.getByIndex(0));
XCell xCell = xSheet.getCellByPosition(0, 0);
xCell.setFormula(CELL_TEXT);
-
+
log.println("fill sheet 1 with contnet...");
util.CalcTools.fillCalcSheetWithContent(xSheetDoc, 1, 1, 1, 5, 5);
diff --git a/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java b/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java
index 26c8851c741d..9026c664d90a 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLContentImporter.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/mod/_sc/XMLExporter.java b/qadevOOo/tests/java/mod/_sc/XMLExporter.java
index f7a038f5dd88..1e2454c52bb0 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLExporter.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
@@ -145,10 +145,10 @@ public class XMLExporter extends TestCase {
XNamed xSheetNamed = (XNamed)
UnoRuntime.queryInterface(XNamed.class, xSheet);
xSheetNamed.setName(SHEET_NAME);
-
+
log.println("fill sheet with contnet...");
util.CalcTools.fillCalcSheetWithContent(xSheet, 3, 3, 50, 50);
-
+
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Can't create component.", e) ;
diff --git a/qadevOOo/tests/java/mod/_sc/XMLImporter.java b/qadevOOo/tests/java/mod/_sc/XMLImporter.java
index 64e9225bed02..3f6c9d69c51e 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLImporter.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/mod/_sc/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java
index 02c5cfb566f7..c6ae9c78bd46 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.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
@@ -148,10 +148,10 @@ public class XMLMetaExporter extends TestCase {
XPropertySet docInfo = (XPropertySet) UnoRuntime.queryInterface
(XPropertySet.class, infoSup.getDocumentInfo()) ;
docInfo.setPropertyValue("Title", "TestDocument");
-
+
log.println("fill sheet 1 with contnet...");
util.CalcTools.fillCalcSheetWithContent(xSheetDoc,1, 3, 3, 50, 50);
-
+
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Can't create environment.", e) ;
diff --git a/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java
index 29deca17e424..9ddce92e1766 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.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/mod/_sc/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java
index 04c3cbc76c2a..9126221adf69 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.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
@@ -141,9 +141,9 @@ public class XMLSettingsExporter extends TestCase {
XPropertySet xPropSet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xController);
xPropSet.setPropertyValue("ShowGrid", "false");
-
+
util.CalcTools.fillCalcSheetWithContent(xSheetDoc,1, 3, 3, 50, 50);
-
+
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Can't create component.", e) ;
diff --git a/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java
index 72954a3aa93f..68b2df5b5f0f 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.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/mod/_sc/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
index f0f5f387e0ef..51671d8d279c 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.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
@@ -147,7 +147,7 @@ public class XMLStylesExporter extends TestCase {
XStyleFamiliesSupplier.class, xSheetDoc);
XNameAccess StyleFamilies = styleSup.getStyleFamilies();
String[] styleFamiliesNames = StyleFamilies.getElementNames();
- XNameContainer StyleFamilyName = (XNameContainer)
+ XNameContainer StyleFamilyName = (XNameContainer)
AnyConverter.toObject(new Type(XNameContainer.class),
StyleFamilies.getByName(styleFamiliesNames[0]));
Object SC = SOF.createInstance(
@@ -155,10 +155,10 @@ public class XMLStylesExporter extends TestCase {
XStyle StyleCell = (XStyle)
UnoRuntime.queryInterface(XStyle.class,SC);
StyleFamilyName.insertByName(newName, StyleCell);
-
+
log.println("fill sheet 1 with contnet...");
util.CalcTools.fillCalcSheetWithContent(xSheetDoc, 1, 3, 3, 50, 100);
-
+
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
throw new StatusException("Can't create environment.", e);
diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java
index 7454ff849e42..a9bec3a769fc 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLStylesImporter.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