summaryrefslogtreecommitdiff
path: root/sc/qa/complex
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:04:08 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:04:08 +0200
commit258f905e8c6b1853884f730ab0e36a544bfd7b76 (patch)
tree812254806beb1a7af7271469e7148b667b2d96de /sc/qa/complex
parentbc212c565cdc252d2a01e5221a75868b3f01d230 (diff)
recreated tag OOO_BUILD_3_2_98_1 which had these commits:
commit aa08e6374f2a8f11105d84c3d651696be34ef78b (tag: refs/tags/OOO_BUILD_3_2_98_1) Author: Petr Mladek <pmladek@walk.suse.cz> Date: Wed Sep 15 19:03:24 2010 +0200 Release ooo-build-3.2.98.1, tag OOO_BUILD_3_2_98_1 (3.3-alpha1) commit eb4914f043304ba7d164733509794104c7ea5b33 Merge: 5ada805 0815e6f Author: Jan Holesovsky <kendy@suse.cz> Date: Tue Sep 7 09:33:00 2010 +0200 Merge commit 'ooo/OOO330_m6' commit 0815e6f3086d4513fb1dfed2a0ff8e83a3589afc (tag: refs/tags/ooo/OOO330_m7, tag: refs/tags/ooo/OOO330_m6) Merge: 51cfacc 1d0dc69 Author: Ivo Hinkelmann <ihi@openoffice.org> Date: Thu Aug 26 13:52:56 2010 +0200 CWS-TOOLING: integrate CWS calc58 commit 51cfacc73ee6162c82dbb735448f5321a2a57269 Merge: 1f33e95 8676b47 Author: Ivo Hinkelmann <ihi@openoffice.org> Date: Wed Aug 25 12:49:35 2010 +0200 CWS-TOOLING: integrate CWS mib18 commit 1d0dc690de7aa8ef1fd93d26578251248fd66d9a Author: Thomas Benisch <tbe@openoffice.org> Date: Fri Aug 20 13:23:46 2010 +0200 calc58: #i113948# office crashes after resizing chart chart2/source/model/main/ChartModel.cxx | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit db48b114e54b6ceaebd4d77fbb0de1d41a0d69ca Author: Thomas Benisch <tbe@openoffice.org> Date: Fri Aug 20 13:03:55 2010 +0200 calc58: #i113946# undo does not work for deleting shapes .../controller/main/ChartController_Tools.cxx | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) commit 3fa83707418cb221c94dcbe32864e5555b618159 Author: Eike Rathke [er] <eike.rathke@oracle.com> Date: Thu Aug 19 17:12:37 2010 +0200 calc58: #i113879# add ScMatrix::CloneIfConst() and regard only temporary matrices created by the interpreter as mutable sc/inc/scmatrix.hxx | 11 ++++++++++- sc/source/core/tool/interpr4.cxx | 7 ++++++- sc/source/core/tool/interpr5.cxx | 21 +++++++++++++-------- sc/source/core/tool/scmatrix.cxx | 5 +++++ 4 files changed, 34 insertions(+), 10 deletions(-) commit baac8ebc6989a5771b5d1903e5e8f4014ecafeac Author: Eike Rathke [er] <eike.rathke@oracle.com> Date: Wed Aug 18 18:56:10 2010 +0200 calc58: #i113739# make N return 0 for all strings again sc/source/core/tool/interpr1.cxx | 23 +++++++---------------- sc/source/core/tool/interpr4.cxx | 6 ++++++ 2 files changed, 13 insertions(+), 16 deletions(-) commit ac9660fc7e47b2a7eecdb0c749ee46f592a70635 Author: Eike Rathke [er] <eike.rathke@oracle.com> Date: Wed Aug 18 16:52:22 2010 +0200 calc58: #i113820# make TEXT treat string results and inline strings identical to referenced cell text sc/source/core/tool/interpr1.cxx | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 8676b47d16a1670a4d6ebbc610e8a00abd2367f7 Merge: 6423ab8 1f33e95 Author: Daniel Rentz <dr@openoffice.org> Date: Fri Aug 13 11:29:46 2010 +0200 mib18: rebase to OOO330m4 commit 6423ab81e71f7090d61e81b8992878ce7de43f27 Merge: 6e0de89 772dd5e Author: Andreas Bregas <ab@openoffice.org> Date: Wed Aug 11 08:28:57 2010 +0200 mib18: Merge commit 772dd5e59b0b28c3e24cac6ae52ea0141b39c240 Author: Daniel Rentz <dr@openoffice.org> Date: Tue Aug 10 20:18:10 2010 +0200 mib18: adjusted service name to match VBA symbol sc/source/ui/vba/vbaglobals.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9725c306fd4502fc6de7d4acf5c302427310a20d Author: Michael E. Bohn <mbn@openoffice.org> Date: Tue Aug 10 18:14:58 2010 +0200 mib18: #163259# implementation of global symbol Excel sc/source/ui/vba/vbaglobals.cxx | 9 +++++++++ sc/source/ui/vba/vbaglobals.hxx | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) commit ff7c55aff1293fb51c8ab268d0f478480b0c5685 Merge: 80722e0 6e0de89 Author: Michael E. Bohn <mbn@openoffice.org> Date: Tue Aug 10 16:57:47 2010 +0200 heads merged commit 80722e0f75ad7d3204f39a580df2f48412e001c3 Author: Michael E. Bohn <mbn@openoffice.org> Date: Tue Aug 10 16:55:52 2010 +0200 mib18: #163120# adding the entrypoint for symbol Debug sc/source/ui/vba/vbaglobals.cxx | 19 +++++++++++++++++++ sc/source/ui/vba/vbaglobals.hxx | 2 +- 2 files changed, 20 insertions(+), 1 deletions(-) commit 6e0de8945fbfbee500e0fc9bfa26aaa67abeafa4 Author: Daniel Rentz <dr@openoffice.org> Date: Tue Aug 10 11:52:54 2010 +0200 mib18: #163243# enable regular expressions in VBA symbol Range.Find sc/source/ui/vba/vbarange.cxx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit d0093c4e1b54648d1e09c16b389519fdf2564f6e Author: Daniel Rentz <dr@openoffice.org> Date: Tue Aug 10 10:27:30 2010 +0200 mib18: #163246# add VBA symbol Worksheet.ProtectScenarios sc/source/ui/vba/vbaworksheet.cxx | 10 ++++++++-- sc/source/ui/vba/vbaworksheet.hxx | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) commit b9876f93ddc6eaa0e5cf4aaf62cd19d3a08776c4 Author: Michael E. Bohn <mbn@openoffice.org> Date: Tue Aug 10 06:57:53 2010 +0200 mib18: #163148# creation og basic modules in library Standard during Workbooks.add sc/source/ui/vba/vbaworkbooks.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 80e4fe02a80b90182180c409d2f4f803562e02b8 Merge: 36f7091 81cec49 Author: Andreas Bregas <ab@openoffice.org> Date: Fri Aug 6 09:39:35 2010 +0200 mib18: Merge commit 81cec496df67c85bb1b64ef7d15c9f73987882a0 Author: Daniel Rentz <dr@openoffice.org> Date: Thu Aug 5 15:43:06 2010 +0200 mib18: #162503# do not create a new Worksheet object in Workbook.ActiveSheet but return existing object supporting VBA module access sc/source/ui/vba/vbaworkbook.cxx | 19 +++++++++++-------- sc/source/ui/vba/vbaworksheets.cxx | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) commit 36f709143ffc8056ece58e93e155a6dab9831cd9 Author: Daniel Rentz <dr@openoffice.org> Date: Wed Aug 4 18:13:02 2010 +0200 mib18: #162938# add VBA symbol Worksheet.AutoFilterMode sc/source/ui/vba/vbaworksheet.cxx | 37 ++++++++++++++++++++++++++++++++++++- sc/source/ui/vba/vbaworksheet.hxx | 5 +++++ 2 files changed, 41 insertions(+), 1 deletions(-) commit c650f967f769e4da07f669f60e1f7a636d7e9614 Author: Daniel Rentz <dr@openoffice.org> Date: Wed Aug 4 16:00:21 2010 +0200 mib18: #163200# full rework of VBA symbols Application.Intersect and Application.Union sc/source/ui/vba/makefile.mk | 92 +++--- sc/source/ui/vba/vbaapplication.cxx | 599 ++++++++++++++--------------------- 2 files changed, 281 insertions(+), 410 deletions(-) commit 5fa3d6e55b2ab5aac185c10293f8c6a1b7264e63 Author: Daniel Rentz <dr@openoffice.org> Date: Wed Aug 4 09:59:00 2010 +0200 mib18: #163198# VBA Names collection must return VBA Name objects sc/source/ui/vba/vbanames.cxx | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit 783c57ec2174b11b06ec29ecb1ae6b9b87996bf6 Author: Daniel Rentz <dr@openoffice.org> Date: Wed Aug 4 09:58:00 2010 +0200 mib18: #163195# set correct parent for range returned by VBA ActiveCell symbol sc/source/ui/vba/vbaapplication.cxx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 32876274fc8fae906bdb52e76059ddedadfa8572 Author: Daniel Rentz <dr@openoffice.org> Date: Wed Aug 4 09:56:54 2010 +0200 mib18: #162937# extract all integer and floating values from an 'Any' for Boolean parameters sc/source/ui/vba/vbarange.cxx | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) commit faa445a0730322e8522999ffb30fdde97bb9b9b9 Author: Daniel Rentz <dr@openoffice.org> Date: Wed Aug 4 09:54:13 2010 +0200 mib18: #162039# clear covered cells when merging via VBA MergeCells symbol sc/source/ui/vba/vbarange.cxx | 27 ++++++++++++++++++++++++--- 1 files changed, 24 insertions(+), 3 deletions(-)
Notes
split repo tag: calc_OOO_BUILD_3_2_98_1
Diffstat (limited to 'sc/qa/complex')
-rwxr-xr-xsc/qa/complex/calcPreview/ViewForwarder.java2
-rwxr-xr-xsc/qa/complex/cellRanges/CheckXCellRangesQuery.java6
-rw-r--r--sc/qa/complex/dataPilot/CheckDataPilot.java2
-rw-r--r--sc/qa/complex/dataPilot/interfaceTests/beans/_XPropertySet.java14
-rw-r--r--sc/qa/complex/dataPilot/interfaceTests/container/_XNamed.java6
-rw-r--r--sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotDescriptor.java2
-rw-r--r--sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotTable.java8
-rw-r--r--sc/qa/complex/sc/CalcRTL.java98
8 files changed, 69 insertions, 69 deletions
diff --git a/sc/qa/complex/calcPreview/ViewForwarder.java b/sc/qa/complex/calcPreview/ViewForwarder.java
index 160dc1ebd20a..56fa3dc82e96 100755
--- a/sc/qa/complex/calcPreview/ViewForwarder.java
+++ b/sc/qa/complex/calcPreview/ViewForwarder.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/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java b/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java
index b23abe2d6a57..0a48e6584903 100755
--- a/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java
+++ b/sc/qa/complex/cellRanges/CheckXCellRangesQuery.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
@@ -48,7 +48,7 @@ import java.io.PrintWriter;
import util.SOfficeFactory;
/**
- * Check the XCellRangesQuery interface on the SheetCell service. test was
+ * Check the XCellRangesQuery interface on the SheetCell service. test was
* created for bug i20044.
*/
public class CheckXCellRangesQuery extends ComplexTestCase {
@@ -65,7 +65,7 @@ public class CheckXCellRangesQuery extends ComplexTestCase {
}
/**
- * Creates Spreadsheet document and the test object,
+ * Creates Spreadsheet document and the test object,
* before the actual test starts.
*/
public void before() {
diff --git a/sc/qa/complex/dataPilot/CheckDataPilot.java b/sc/qa/complex/dataPilot/CheckDataPilot.java
index d013daa24e1f..8774bdd7c33b 100644
--- a/sc/qa/complex/dataPilot/CheckDataPilot.java
+++ b/sc/qa/complex/dataPilot/CheckDataPilot.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/sc/qa/complex/dataPilot/interfaceTests/beans/_XPropertySet.java b/sc/qa/complex/dataPilot/interfaceTests/beans/_XPropertySet.java
index 57d6474f51b8..09e4d7e6eeb1 100644
--- a/sc/qa/complex/dataPilot/interfaceTests/beans/_XPropertySet.java
+++ b/sc/qa/complex/dataPilot/interfaceTests/beans/_XPropertySet.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
@@ -63,7 +63,7 @@ public class _XPropertySet {
* The object that is testsed.
*/
private XPropertySet oObj = null;
-
+
/**
* The test parameters
*/
@@ -79,7 +79,7 @@ public class _XPropertySet {
*/
boolean propertyChanged = false;
-
+
/**
* The own property change listener
*/
@@ -149,7 +149,7 @@ public class _XPropertySet {
this.log = log;
this.param = param;
}
-
+
/**
* Tests method <code>getPropertySetInfo</code>. After test completed
* call {@link #getPropsToTest} method to retrieve different kinds
@@ -250,7 +250,7 @@ public class _XPropertySet {
vetoableChanged = false;
boolean result = true;
-
+
if ( PTT.constrained.equals("none") ) {
log.println("*** No constrained properties found ***");
} else {
@@ -306,7 +306,7 @@ public class _XPropertySet {
Object gValue = null;
Object sValue = null;
-
+
boolean result = true;
if ( PTT.normal.equals("none") ) {
@@ -400,7 +400,7 @@ public class _XPropertySet {
propertyChanged = false;
boolean result = true;
-
+
if ( PTT.bound.equals("none") ) {
log.println("*** No bound properties found ***");
} else {
diff --git a/sc/qa/complex/dataPilot/interfaceTests/container/_XNamed.java b/sc/qa/complex/dataPilot/interfaceTests/container/_XNamed.java
index 97763be2b199..b38659a9729d 100644
--- a/sc/qa/complex/dataPilot/interfaceTests/container/_XNamed.java
+++ b/sc/qa/complex/dataPilot/interfaceTests/container/_XNamed.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,7 +54,7 @@ public class _XNamed {
/**
* The object that is testsed.
*/
- public XNamed oObj = null;
+ public XNamed oObj = null;
/**
* The test parameters
@@ -65,7 +65,7 @@ public class _XNamed {
* The log writer
*/
private LogWriter log = null;
-
+
/**
* Constructor: gets the object to test, a logger and the test parameters
* @param xObj The test object
diff --git a/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotDescriptor.java b/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotDescriptor.java
index 8358e5bb6106..d5651b604379 100644
--- a/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotDescriptor.java
+++ b/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotTable.java b/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotTable.java
index d7f6e81b91e5..9fa0abf0baa3 100644
--- a/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotTable.java
+++ b/sc/qa/complex/dataPilot/interfaceTests/sheet/_XDataPilotTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,7 +62,7 @@ public class _XDataPilotTable {
XCell xCellForCheck = null;
CellAddress OutputRange = null;
int changeValue = 0;
-
+
/**
* The test parameters
*/
@@ -72,14 +72,14 @@ public class _XDataPilotTable {
* The log writer
*/
private LogWriter log = null;
-
+
/**
* Constructor: gets the object to test, a logger and the test parameters
* @param xObj The test object
* @param log A log writer
* @param param The test parameters
*/
- public _XDataPilotTable(XDataPilotTable xObj,
+ public _XDataPilotTable(XDataPilotTable xObj,
LogWriter log, TestParameters param) {
oObj = xObj;
this.log = log;
diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java
index 9528c34b9267..fb39b7ca069c 100644
--- a/sc/qa/complex/sc/CalcRTL.java
+++ b/sc/qa/complex/sc/CalcRTL.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
@@ -76,7 +76,7 @@ public class CalcRTL extends ComplexTestCase {
*/
public String[] getTestMethodNames() {
return new String[] {
- "checkSpreadsheetProperties", "checkShapeProperties",
+ "checkSpreadsheetProperties", "checkShapeProperties",
"checkInfluenceOfSpreadsheetChange"
};
}
@@ -97,19 +97,19 @@ public class CalcRTL extends ComplexTestCase {
XPropertySet set = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, getSpreadsheet());
- assure("Problems when setting property 'IsVisible'",
+ assure("Problems when setting property 'IsVisible'",
changeProperty(set, "IsVisible", Boolean.FALSE));
- assure("Problems when setting property 'IsVisible'",
+ assure("Problems when setting property 'IsVisible'",
changeProperty(set, "IsVisible", Boolean.TRUE));
- assure("Problems when setting property 'PageStyle'",
+ assure("Problems when setting property 'PageStyle'",
changeProperty(set, "PageStyle", "Report"));
- assure("Problems when setting property 'PageStyle'",
+ assure("Problems when setting property 'PageStyle'",
changeProperty(set, "PageStyle", "Default"));
- assure("Problems when setting property 'TableLayout'",
- changeProperty(set, "TableLayout",
+ assure("Problems when setting property 'TableLayout'",
+ changeProperty(set, "TableLayout",
new Short(com.sun.star.text.WritingMode2.RL_TB)));
- assure("Problems when setting property 'TableLayout'",
- changeProperty(set, "TableLayout",
+ assure("Problems when setting property 'TableLayout'",
+ changeProperty(set, "TableLayout",
new Short(com.sun.star.text.WritingMode2.LR_TB)));
assure("Couldn't close document", closeSpreadsheetDocument());
}
@@ -132,17 +132,17 @@ public class CalcRTL extends ComplexTestCase {
XPropertySet.class, getInsertedShape());
try {
- assure("Problems when setting property 'Anchor'",
- changeProperty(set, "Anchor",
+ assure("Problems when setting property 'Anchor'",
+ changeProperty(set, "Anchor",
getSpreadsheet().getCellByPosition(5, 5)));
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
assure("Problems when setting property 'Anchor'", false);
}
- assure("Problems when setting property 'HoriOrientPosition'",
+ assure("Problems when setting property 'HoriOrientPosition'",
changeProperty(set, "HoriOrientPosition", new Integer(1000)));
- assure("Problems when setting property 'VertOrientPosition'",
+ assure("Problems when setting property 'VertOrientPosition'",
changeProperty(set, "VertOrientPosition", new Integer(1000)));
assure("Couldn't close document", closeSpreadsheetDocument());
@@ -158,31 +158,31 @@ public class CalcRTL extends ComplexTestCase {
XPropertySet.class, oShape);
String[] previous = getShapeProps(shapeProps, oShape);
- assure("Problems when setting property 'TableLayout'",
- changeProperty(sheetProps, "TableLayout",
+ assure("Problems when setting property 'TableLayout'",
+ changeProperty(sheetProps, "TableLayout",
new Short(com.sun.star.text.WritingMode2.RL_TB)));
String[] RL_TB = getShapeProps(shapeProps, oShape);
- assure("Problems when setting property 'TableLayout'",
- changeProperty(sheetProps, "TableLayout",
+ assure("Problems when setting property 'TableLayout'",
+ changeProperty(sheetProps, "TableLayout",
new Short(com.sun.star.text.WritingMode2.LR_TB)));
String[] LR_TB = getShapeProps(shapeProps, oShape);
- assure("Anchor has changed",
+ assure("Anchor has changed",
(previous[0].equals(RL_TB[0]) && previous[0].equals(LR_TB[0])));
- assure("HoriOrientPosition has changed",
+ assure("HoriOrientPosition has changed",
(Integer.valueOf(previous[1]).intValue() + Integer.valueOf(
RL_TB[1])
- .intValue() +
+ .intValue() +
Integer.valueOf(LR_TB[1]).intValue() == 2099));
- assure("VertOrientPosition has changed",
+ assure("VertOrientPosition has changed",
(Integer.valueOf(previous[2]).intValue() + Integer.valueOf(
RL_TB[2])
- .intValue() +
+ .intValue() +
Integer.valueOf(LR_TB[2]).intValue() == 3*Integer.valueOf(previous[2]).intValue()));
- assure("x-position hasn't changed",
- (previous[3].equals(LR_TB[3]) &&
- ((Integer.valueOf(previous[3]).intValue() * (-1)) -
+ assure("x-position hasn't changed",
+ (previous[3].equals(LR_TB[3]) &&
+ ((Integer.valueOf(previous[3]).intValue() * (-1)) -
oShape.getSize().Width != Integer.valueOf(LR_TB[2])
.intValue())));
assure("Couldn't close document", closeSpreadsheetDocument());
@@ -203,7 +203,7 @@ public class CalcRTL extends ComplexTestCase {
log.println("\t Anchor :" + reValue[0]);
log.println("\t HoriOrientPosition :" + reValue[1]);
log.println("\t VertOrientPosition :" + reValue[2]);
- log.println("\t Shape Position (x,y) : (" + oShape.getPosition().X +
+ log.println("\t Shape Position (x,y) : (" + oShape.getPosition().X +
"," + oShape.getPosition().Y + ")");
return reValue;
@@ -292,7 +292,7 @@ public class CalcRTL extends ComplexTestCase {
* @param pName : The name of the Property that has to be changed
* @param pValue : The value, the property should be changed too.
*/
- protected boolean changeProperty(XPropertySet set, String pName,
+ protected boolean changeProperty(XPropertySet set, String pName,
Object pValue) {
boolean worked = true;
@@ -322,10 +322,10 @@ public class CalcRTL extends ComplexTestCase {
// checking results
- worked = checkResult(set, pName, oldValue, pValue, resValue,
+ worked = checkResult(set, pName, oldValue, pValue, resValue,
exception);
} catch (Exception e) {
- System.out.println("Exception occured while testing property '" +
+ System.out.println("Exception occured while testing property '" +
pName + "'");
e.printStackTrace();
worked = false;
@@ -344,8 +344,8 @@ public class CalcRTL extends ComplexTestCase {
* @param resValue : the value getPropertyValue returned for the property
* @param exception : the exeption thrown during the change of the property
*/
- protected boolean checkResult(XPropertySet set, String propName,
- Object oldValue, Object newValue,
+ protected boolean checkResult(XPropertySet set, String propName,
+ Object oldValue, Object newValue,
Object resValue, Exception exception)
throws Exception {
XPropertySetInfo info = set.getPropertySetInfo();
@@ -373,7 +373,7 @@ public class CalcRTL extends ComplexTestCase {
return false;
} else if (oldValue == null) {
- log.println(propName +
+ log.println(propName +
" has null value, and therefore can't be changed");
return true;
@@ -411,14 +411,14 @@ public class CalcRTL extends ComplexTestCase {
// if no exception - check that value
// has not changed
if (!ValueComparer.equalValue(resValue, oldValue)) {
- log.println("Read only property '" + propName +
+ log.println("Read only property '" + propName +
"' has changed");
try {
- if (!util.utils.isVoid(oldValue) &&
+ if (!util.utils.isVoid(oldValue) &&
oldValue instanceof Any) {
oldValue = AnyConverter.toObject(
- new Type(((Any) oldValue).getClass()),
+ new Type(((Any) oldValue).getClass()),
oldValue);
}
@@ -430,7 +430,7 @@ public class CalcRTL extends ComplexTestCase {
return false;
} else {
- log.println("Read only property '" + propName +
+ log.println("Read only property '" + propName +
"' hasn't changed");
log.println("Property '" + propName + "' OK");
@@ -441,16 +441,16 @@ public class CalcRTL extends ComplexTestCase {
if (exception == null) {
// if no exception thrown
// check that the new value is set
- if ((!ValueComparer.equalValue(resValue, newValue)) ||
+ if ((!ValueComparer.equalValue(resValue, newValue)) ||
(ValueComparer.equalValue(resValue, oldValue))) {
- log.println("Value for '" + propName +
+ log.println("Value for '" + propName +
"' hasn't changed as expected");
try {
- if (!util.utils.isVoid(oldValue) &&
+ if (!util.utils.isVoid(oldValue) &&
oldValue instanceof Any) {
oldValue = AnyConverter.toObject(
- new Type(((Any) oldValue).getClass()),
+ new Type(((Any) oldValue).getClass()),
oldValue);
}
@@ -461,7 +461,7 @@ public class CalcRTL extends ComplexTestCase {
}
if (resValue != null) {
- if ((!ValueComparer.equalValue(resValue, oldValue)) ||
+ if ((!ValueComparer.equalValue(resValue, oldValue)) ||
(!resValue.equals(oldValue))) {
log.println("But it has changed.");
@@ -478,10 +478,10 @@ public class CalcRTL extends ComplexTestCase {
log.println("Property '" + propName + "' OK");
try {
- if (!util.utils.isVoid(oldValue) &&
+ if (!util.utils.isVoid(oldValue) &&
oldValue instanceof Any) {
oldValue = AnyConverter.toObject(
- new Type(((Any) oldValue).getClass()),
+ new Type(((Any) oldValue).getClass()),
oldValue);
}
@@ -515,9 +515,9 @@ public class CalcRTL extends ComplexTestCase {
if (UnoRuntime.queryInterface(XCellRangeAddressable.class, obj) != null) {
XCellRangeAddressable aCell = (XCellRangeAddressable) UnoRuntime.queryInterface(
- XCellRangeAddressable.class,
+ XCellRangeAddressable.class,
obj);
- value = "Cell in Column " + aCell.getRangeAddress().StartColumn +
+ value = "Cell in Column " + aCell.getRangeAddress().StartColumn +
" and Row " + aCell.getRangeAddress().StartRow;
} else {
return obj;
@@ -536,18 +536,18 @@ public class CalcRTL extends ComplexTestCase {
log.println("getting Drawpages");
XDrawPagesSupplier oDPS = (XDrawPagesSupplier) UnoRuntime.queryInterface(
- XDrawPagesSupplier.class,
+ XDrawPagesSupplier.class,
xSheetDoc);
XDrawPages oDP = (XDrawPages) oDPS.getDrawPages();
XDrawPage firstDrawPage = (XDrawPage) UnoRuntime.queryInterface(
- XDrawPage.class,
+ XDrawPage.class,
oDP.getByIndex(0));
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory) param.getMSF());
XComponent xComp = (XComponent) UnoRuntime.queryInterface(
XComponent.class, xSheetDoc);
- insertedShape = SOF.createShape(xComp, 5000, 3500, 700, 500,
+ insertedShape = SOF.createShape(xComp, 5000, 3500, 700, 500,
"Rectangle");
DrawTools.getShapes(firstDrawPage).add(insertedShape);
} catch (com.sun.star.lang.WrappedTargetException e) {