diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/text')
76 files changed, 160 insertions, 160 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_BaseFrame.java b/qadevOOo/tests/java/ifc/text/_BaseFrame.java index 258a57ef84ca..b676ba7a29e6 100644 --- a/qadevOOo/tests/java/ifc/text/_BaseFrame.java +++ b/qadevOOo/tests/java/ifc/text/_BaseFrame.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java b/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java index be4c027b014d..749f7f37147c 100644 --- a/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java +++ b/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_BaseIndex.java b/qadevOOo/tests/java/ifc/text/_BaseIndex.java index fb19f6d97888..8054893585ba 100644 --- a/qadevOOo/tests/java/ifc/text/_BaseIndex.java +++ b/qadevOOo/tests/java/ifc/text/_BaseIndex.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 @@ -106,7 +106,7 @@ public class _BaseIndex extends MultiPropertyTest { public void _LevelFormat() { log.println( "Testing property 'LevelFormat' with custom property tester"); - testProperty("LevelFormat", + testProperty("LevelFormat", new PropertyTester() { PropertyValue[][] newVal = null; PropertyValue[][] oldVal = null; @@ -147,18 +147,18 @@ public class _BaseIndex extends MultiPropertyTest { return indProp; } - protected void checkResult(String propName, Object oldValue, - Object newValue, Object resValue, + protected void checkResult(String propName, Object oldValue, + Object newValue, Object resValue, Exception exception) throws Exception { PropertyValue[][] res = (PropertyValue[][]) ((XIndexAccess) UnoRuntime.queryInterface( - XIndexAccess.class, + XIndexAccess.class, resValue)).getByIndex(0); log.println("Result:"); printLevelFormatProperty(resValue); - boolean result = (res.length != oldVal.length) || + boolean result = (res.length != oldVal.length) || !util.ValueComparer.equalValue(res, oldVal); tRes.tested(propName, result); @@ -176,7 +176,7 @@ public class _BaseIndex extends MultiPropertyTest { PropertyValue[][] val = null; try { - log.println(" \u0421ollection has " + indProp.getCount() + + log.println(" \u0421ollection has " + indProp.getCount() + " elements : "); for (int i = 0; i < indProp.getCount(); i++) { @@ -188,7 +188,7 @@ public class _BaseIndex extends MultiPropertyTest { log.println(" " + j + " level :"); for (int k = 0; k < val[j].length; k++) { - log.println(" " + val[j][k].Name + "=" + + log.println(" " + val[j][k].Name + "=" + val[j][k].Value); } } diff --git a/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java b/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java index 4ac67721b601..fdebf10f5aff 100644 --- a/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java +++ b/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_CellProperties.java b/qadevOOo/tests/java/ifc/text/_CellProperties.java index e13a2da7d38e..525173019e3e 100644 --- a/qadevOOo/tests/java/ifc/text/_CellProperties.java +++ b/qadevOOo/tests/java/ifc/text/_CellProperties.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 @@ -132,7 +132,7 @@ public class _CellProperties extends MultiPropertyTest { protected Object getNewValue(String propName, Object oldValue) { XNameContainer NC = null; try { - NC = (XNameContainer) + NC = (XNameContainer) AnyConverter.toObject(new Type(XNameContainer.class),oldValue); NC.insertByName("MyAttribute", new AttributeData("","CDATA","Value")); diff --git a/qadevOOo/tests/java/ifc/text/_CellRange.java b/qadevOOo/tests/java/ifc/text/_CellRange.java index adcb2a5baf0e..a0fa2fc8c6de 100644 --- a/qadevOOo/tests/java/ifc/text/_CellRange.java +++ b/qadevOOo/tests/java/ifc/text/_CellRange.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_Defaults.java b/qadevOOo/tests/java/ifc/text/_Defaults.java index 9950ad67797e..3e5375b5142a 100644 --- a/qadevOOo/tests/java/ifc/text/_Defaults.java +++ b/qadevOOo/tests/java/ifc/text/_Defaults.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_DocumentIndex.java b/qadevOOo/tests/java/ifc/text/_DocumentIndex.java index e22f56b11964..985c340ab674 100644 --- a/qadevOOo/tests/java/ifc/text/_DocumentIndex.java +++ b/qadevOOo/tests/java/ifc/text/_DocumentIndex.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java b/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java index b44ca5bd775c..d0b878d7d84b 100644 --- a/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java +++ b/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_DocumentSettings.java b/qadevOOo/tests/java/ifc/text/_DocumentSettings.java index 699fe5195672..76c20431dac8 100644 --- a/qadevOOo/tests/java/ifc/text/_DocumentSettings.java +++ b/qadevOOo/tests/java/ifc/text/_DocumentSettings.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,5 +31,5 @@ import lib.MultiPropertyTest; public class _DocumentSettings extends MultiPropertyTest { - + } diff --git a/qadevOOo/tests/java/ifc/text/_Footnote.java b/qadevOOo/tests/java/ifc/text/_Footnote.java index dd93a3d8f40b..de555015bc38 100644 --- a/qadevOOo/tests/java/ifc/text/_Footnote.java +++ b/qadevOOo/tests/java/ifc/text/_Footnote.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java b/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java index 5795575b6f9a..9c911d171520 100644 --- a/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java +++ b/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java b/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java index feb148e1b5a5..7a06b7dd3180 100644 --- a/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java +++ b/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java b/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java index 1c1c7d79dfef..57b1e21a23d3 100644 --- a/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java +++ b/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_MailMerge.java b/qadevOOo/tests/java/ifc/text/_MailMerge.java index f16eaefd12db..66b01a04189c 100644 --- a/qadevOOo/tests/java/ifc/text/_MailMerge.java +++ b/qadevOOo/tests/java/ifc/text/_MailMerge.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,7 +74,7 @@ public class _MailMerge extends MultiPropertyTest { log.println("set property to a new value..."); oObj.setPropertyValue(propName, newValue); - + log.println("get the new value..."); XResultSet getValue = (XResultSet) UnoRuntime.queryInterface(XResultSet.class,oObj.getPropertyValue(propName)); @@ -91,7 +91,7 @@ public class _MailMerge extends MultiPropertyTest { log.println("Property '" + propName + "' is optional and not supported"); tRes.tested(propName,true); - + } else { log.println("could not get property '"+ propName +"' from XPropertySet!"); tRes.tested(propName, false); @@ -118,7 +118,7 @@ public class _MailMerge extends MultiPropertyTest { log.println("set property to a new value..."); oObj.setPropertyValue(propName, newValue); - + log.println("get the new value..."); XConnection getValue = (XConnection) UnoRuntime.queryInterface(XConnection.class,oObj.getPropertyValue(propName)); @@ -135,7 +135,7 @@ public class _MailMerge extends MultiPropertyTest { log.println("Property '" + propName + "' is optional and not supported"); tRes.tested(propName,true); - + } else { log.println("could not get property '"+ propName +"' from XPropertySet!"); tRes.tested(propName, false); @@ -145,7 +145,7 @@ public class _MailMerge extends MultiPropertyTest { tRes.tested(propName, false); } } - + /** * Tested with custom property tester. */ diff --git a/qadevOOo/tests/java/ifc/text/_NumberingLevel.java b/qadevOOo/tests/java/ifc/text/_NumberingLevel.java index c4255065dfa1..ff7b6b06b8a5 100644 --- a/qadevOOo/tests/java/ifc/text/_NumberingLevel.java +++ b/qadevOOo/tests/java/ifc/text/_NumberingLevel.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,7 +37,7 @@ import share.LogWriter; /** * Testing <code>com.sun.star.text.NumberingLevel</code><p> -* This service is currently konwn as property value of +* This service is currently konwn as property value of * com.sun.star.text.ParagraphProperties.NumberingRules * This test checks only for completnes of implemented properties. * service properties : @@ -70,13 +70,13 @@ import share.LogWriter; * @see ifc.text._ParagraphProperties */ public class _NumberingLevel { - + private static TestParameters tParam = null; private static Hashtable NumberingLevel = new Hashtable(); private static PropertyValue[] PropertyArray = null; private static LogWriter log = null; - - + + /** * returns an instance of _NumberingLevel * @param log the log writer @@ -84,12 +84,12 @@ public class _NumberingLevel { * @param propertyValues a PropertyValue[] which should contain all properties of com.sun.star.text.NumberingLevel */ public _NumberingLevel(LogWriter log, TestParameters tParam, PropertyValue[] propertyValues){ - + this.tParam = tParam; this.PropertyArray = propertyValues; - + this.log = log; - + //key = PropertyName, value = Ooptional NumberingLevel.put("Adjust", new Boolean(false)); NumberingLevel.put("ParentNumbering", new Boolean(true)); @@ -112,23 +112,23 @@ public class _NumberingLevel { NumberingLevel.put("HeadingStyleName", new Boolean(false)); NumberingLevel.put("BulletColor", new Boolean(true)); NumberingLevel.put("BulletRelSize", new Boolean(true)); - + } - + /** - * This methods checks the PropertyValue for completnes. If one or more properties + * This methods checks the PropertyValue for completnes. If one or more properties * are missing the return value is FALSE, else TRUE * @return returns TRUE if PropertyValue[] is complete, else FALSE */ public boolean testPropertieArray(){ - + boolean status = true; try{ - + // iterate over the given property array and remove it from the must list for (int i = 0; i < PropertyArray.length; i++){ String propertyName=PropertyArray[i].Name; - + if ( NumberingLevel.containsKey(propertyName) ) { NumberingLevel.remove(propertyName); } else { @@ -141,17 +141,17 @@ public class _NumberingLevel { status = false; log.println("-> '" + propertyName + "'"); } - + } - + // get rest of properties and check if they are optional if (! NumberingLevel.isEmpty()){ for (Enumeration e = NumberingLevel.keys() ; e.hasMoreElements() ;) { String property = (String) e.nextElement(); - + // if some elements are not optional -> failed if ( ! ((Boolean)NumberingLevel.get(property)).booleanValue() ){ - + if ( status ) { log.println("FAILED: com.sun.star.text.NumberingLevel -> " + "could not find not optional property:"); @@ -166,9 +166,9 @@ public class _NumberingLevel { }catch( Exception e ){ throw new StatusException("ERROR: could not test all properties of com.sun.star.text.NumberingLevel",e); } - + return status; } - - + + } // finish class _NumberingLevel diff --git a/qadevOOo/tests/java/ifc/text/_NumberingRules.java b/qadevOOo/tests/java/ifc/text/_NumberingRules.java index 7b053921eefc..0ae5832bfcd6 100644 --- a/qadevOOo/tests/java/ifc/text/_NumberingRules.java +++ b/qadevOOo/tests/java/ifc/text/_NumberingRules.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java b/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java index 38d512536d36..2cf890d5756a 100644 --- a/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java +++ b/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.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 @@ -30,6 +30,6 @@ package ifc.text; import lib.MultiPropertyTest; public class _PrintPreviewSettings extends MultiPropertyTest -{ - +{ + } diff --git a/qadevOOo/tests/java/ifc/text/_PrintSettings.java b/qadevOOo/tests/java/ifc/text/_PrintSettings.java index 301d0e5ed179..d87a617ebce0 100644 --- a/qadevOOo/tests/java/ifc/text/_PrintSettings.java +++ b/qadevOOo/tests/java/ifc/text/_PrintSettings.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_Text.java b/qadevOOo/tests/java/ifc/text/_Text.java index eade97485e4a..0b0c289a2286 100644 --- a/qadevOOo/tests/java/ifc/text/_Text.java +++ b/qadevOOo/tests/java/ifc/text/_Text.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextColumns.java b/qadevOOo/tests/java/ifc/text/_TextColumns.java index 4c0c09df5249..6ccb1a17b1a2 100644 --- a/qadevOOo/tests/java/ifc/text/_TextColumns.java +++ b/qadevOOo/tests/java/ifc/text/_TextColumns.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextContent.java b/qadevOOo/tests/java/ifc/text/_TextContent.java index af4ec84f10b8..93bc22476c38 100644 --- a/qadevOOo/tests/java/ifc/text/_TextContent.java +++ b/qadevOOo/tests/java/ifc/text/_TextContent.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextDocument.java b/qadevOOo/tests/java/ifc/text/_TextDocument.java index 89535fdc4995..ad8b1cdfc213 100644 --- a/qadevOOo/tests/java/ifc/text/_TextDocument.java +++ b/qadevOOo/tests/java/ifc/text/_TextDocument.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java b/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java index 0d1323507c56..fa8d3b9dc9db 100644 --- a/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java +++ b/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.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 @@ -56,10 +56,10 @@ public class _TextEmbeddedObject extends MultiPropertyTest { "According to the idl-description this property can't be set as soon as the Object is inserted in the document, so setting will be skipped"); result=true; } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception while getting Property 'CLSID' " + + log.println("Exception while getting Property 'CLSID' " + e.getMessage()); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception while getting Property 'CLSID' " + + log.println("Exception while getting Property 'CLSID' " + e.getMessage()); } diff --git a/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java b/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java index a37359621f6d..23561bf7d2ca 100644 --- a/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java +++ b/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextFrame.java b/qadevOOo/tests/java/ifc/text/_TextFrame.java index fc8240a98acc..6e4b176fce77 100644 --- a/qadevOOo/tests/java/ifc/text/_TextFrame.java +++ b/qadevOOo/tests/java/ifc/text/_TextFrame.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java index c73fd3c4a643..43f2b2edc2c9 100644 --- a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java +++ b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.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 @@ -113,7 +113,7 @@ public class _TextGraphicObject extends MultiPropertyTest { try { XIndexContainer imgMap = (XIndexContainer) UnoRuntime.queryInterface( - XIndexContainer.class, + XIndexContainer.class, oObj.getPropertyValue("ImageMap")); int previous = imgMap.getCount(); log.println("Count (previous) " + previous); @@ -122,7 +122,7 @@ public class _TextGraphicObject extends MultiPropertyTest { imgMap.insertByIndex(0, im); oObj.setPropertyValue("ImageMap", imgMap); imgMap = (XIndexContainer) UnoRuntime.queryInterface( - XIndexContainer.class, + XIndexContainer.class, oObj.getPropertyValue("ImageMap")); int after = imgMap.getCount(); diff --git a/qadevOOo/tests/java/ifc/text/_TextPortion.java b/qadevOOo/tests/java/ifc/text/_TextPortion.java index 828609c158a2..d229de57294a 100644 --- a/qadevOOo/tests/java/ifc/text/_TextPortion.java +++ b/qadevOOo/tests/java/ifc/text/_TextPortion.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextSection.java b/qadevOOo/tests/java/ifc/text/_TextSection.java index 10c5aef9ca54..f706e55b823e 100644 --- a/qadevOOo/tests/java/ifc/text/_TextSection.java +++ b/qadevOOo/tests/java/ifc/text/_TextSection.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_TextTable.java b/qadevOOo/tests/java/ifc/text/_TextTable.java index af99d25c6fbd..675ca24e617f 100644 --- a/qadevOOo/tests/java/ifc/text/_TextTable.java +++ b/qadevOOo/tests/java/ifc/text/_TextTable.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 @@ -106,13 +106,13 @@ public class _TextTable extends MultiPropertyTest { testProperty("RelativeWidth"); } - + /** * Forces environment recreation. */ protected void after() { disposeEnvironment(); - } + } } // finish class _TextTable diff --git a/qadevOOo/tests/java/ifc/text/_TextTableRow.java b/qadevOOo/tests/java/ifc/text/_TextTableRow.java index 0da5ba823453..79f5ae3f0d63 100644 --- a/qadevOOo/tests/java/ifc/text/_TextTableRow.java +++ b/qadevOOo/tests/java/ifc/text/_TextTableRow.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_ViewSettings.java b/qadevOOo/tests/java/ifc/text/_ViewSettings.java index dbb721832742..ced902f007da 100644 --- a/qadevOOo/tests/java/ifc/text/_ViewSettings.java +++ b/qadevOOo/tests/java/ifc/text/_ViewSettings.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java b/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java index 5d1ff15a5c4a..01ea59ba5aa1 100644 --- a/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java +++ b/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java b/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java index 379c80e507d1..7526fad9fb06 100644 --- a/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java +++ b/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java index f5b465012f70..cc260f2092cf 100644 --- a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java +++ b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java b/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java index 11e7f7940e6d..4deca55537b5 100644 --- a/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java b/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java index 0c582f849fc6..c2c33ed440d9 100644 --- a/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java b/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java index f8ffc74e9abc..ae120dd8c889 100644 --- a/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java +++ b/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java b/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java index 704750511e56..ffb3a1dd46a1 100644 --- a/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java +++ b/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java b/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java index d1198c87c3e0..5284613c3faf 100644 --- a/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java b/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java index a892a54b2cfb..aa93f31f6c82 100644 --- a/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XFootnote.java b/qadevOOo/tests/java/ifc/text/_XFootnote.java index 00dca02a62f2..d76dad39529f 100644 --- a/qadevOOo/tests/java/ifc/text/_XFootnote.java +++ b/qadevOOo/tests/java/ifc/text/_XFootnote.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java b/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java index 117209de4ded..b0100d541cb9 100644 --- a/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java b/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java index 3263e2b78cfe..68f0b023a581 100644 --- a/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java b/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java index 0f743cc44396..bd69345c015d 100644 --- a/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java +++ b/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java b/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java index 54ed72cb3c15..14dd6f17589f 100644 --- a/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java b/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java index 07908c2ed628..6c761217a4cd 100644 --- a/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java +++ b/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.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 @@ -73,7 +73,7 @@ public class _XMailMergeBroadcaster extends MultiMethodTest { protected XMailMergeListener listener = new MyMailMergeEventListener(); /** - * Tries to query the tested component for object relation + * Tries to query the tested component for object relation * <code>executeArgs</code> [<code>NamedValue</code>] and <code>Job</code> * [<code>XJob</code>] * @throw StatusException If relations are not found @@ -95,12 +95,12 @@ public class _XMailMergeBroadcaster extends MultiMethodTest { */ public void _addMailMergeEventListener() { log.println("Testing addMailMergeEventListener ..."); - + oObj.addMailMergeEventListener( listener ); - + NamedValue[] executeArgs = (NamedValue[]) tEnv.getObjRelation("executeArgs"); XJob Job = (XJob) tEnv.getObjRelation("Job"); - + try { Job.execute(executeArgs); } catch ( com.sun.star.lang.IllegalArgumentException e) { @@ -110,7 +110,7 @@ public class _XMailMergeBroadcaster extends MultiMethodTest { throw new StatusException(Status.failed ("'could not fire event: " + e)) ; } - + shortWait(); tRes.tested("addMailMergeEventListener()", changed); @@ -124,12 +124,12 @@ public class _XMailMergeBroadcaster extends MultiMethodTest { log.println("Testing removeMailMergeEventListener ..."); requiredMethod("addMailMergeEventListener()"); changed = false; - + oObj.removeMailMergeEventListener( listener ); - + NamedValue[] executeArgs = (NamedValue[]) tEnv.getObjRelation("executeArgs"); XJob Job = (XJob) tEnv.getObjRelation("Job"); - + try { Job.execute(executeArgs); } catch ( com.sun.star.lang.IllegalArgumentException e) { diff --git a/qadevOOo/tests/java/ifc/text/_XPageCursor.java b/qadevOOo/tests/java/ifc/text/_XPageCursor.java index ff45e2b2fc45..a2dafb6a8ebd 100644 --- a/qadevOOo/tests/java/ifc/text/_XPageCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XPageCursor.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java index 32868a4c5db1..fcd2c768f1e3 100644 --- a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java +++ b/qadevOOo/tests/java/ifc/text/_XPagePrintable.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 _XPagePrintable extends MultiMethodTest { try { XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); - + String printFile = utils.getOfficeTemp(xMSF) + "XPagePrintable.prt"; log.println("Printing to : "+ printFile); @@ -133,21 +133,21 @@ public class _XPagePrintable extends MultiMethodTest { firstProp.Value = printFile; firstProp.State = com.sun.star.beans.PropertyState.DEFAULT_VALUE; PrintOptions[0] = firstProp; - + if (! util.utils.deleteFile(xMSF, printFile)){ log.println("ERROR: could not remove '" + printFile + "'"); res = false; } - + oObj.printPages(PrintOptions); - + util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT)); - + if (! util.utils.fileExists(xMSF, printFile)){ log.println("ERROR: could not find '" + printFile + "'"); res = false; } - + } catch (com.sun.star.lang.IllegalArgumentException ex) { log.println("Exception while checking 'printPages'"); res = false; diff --git a/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java b/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java index 1ac572fa5097..5ec5a139a59b 100644 --- a/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java b/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java index 9791b127cf1f..3718d8aa7637 100644 --- a/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java b/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java index 76d94a618a69..5de2391035ff 100644 --- a/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java +++ b/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java b/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java index 95e3a852837e..359b13dd0641 100644 --- a/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XSimpleText.java b/qadevOOo/tests/java/ifc/text/_XSimpleText.java index 553aa7bbff96..ebe61831d474 100644 --- a/qadevOOo/tests/java/ifc/text/_XSimpleText.java +++ b/qadevOOo/tests/java/ifc/text/_XSimpleText.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XText.java b/qadevOOo/tests/java/ifc/text/_XText.java index 41d3f6a91db6..e436ce3b2be9 100644 --- a/qadevOOo/tests/java/ifc/text/_XText.java +++ b/qadevOOo/tests/java/ifc/text/_XText.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextColumns.java b/qadevOOo/tests/java/ifc/text/_XTextColumns.java index bc9bc59c814b..64222bb1444d 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextColumns.java +++ b/qadevOOo/tests/java/ifc/text/_XTextColumns.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextContent.java b/qadevOOo/tests/java/ifc/text/_XTextContent.java index 52ca11ab9f8d..d93c95c1fa24 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextContent.java +++ b/qadevOOo/tests/java/ifc/text/_XTextContent.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 @@ -79,14 +79,14 @@ public class _XTextContent extends MultiMethodTest { * @see #_getAnchor() */ public void _attach() { - requiredMethod("getAnchor()"); + requiredMethod("getAnchor()"); try { - XTextContent aContent = (XTextContent) tEnv.getObjRelation("CONTENT"); + XTextContent aContent = (XTextContent) tEnv.getObjRelation("CONTENT"); XTextRange aRange = (XTextRange) tEnv.getObjRelation("RANGE"); - if ( aContent !=null) { + if ( aContent !=null) { aContent.attach(aRange); - } else { + } else { oObj.attach(aRange); } tRes.tested("attach()", true ) ; @@ -100,7 +100,7 @@ public class _XTextContent extends MultiMethodTest { } else { ex.printStackTrace(log); tRes.tested("attach()",false); - } + } } catch (com.sun.star.uno.RuntimeException re) { String noAttach = (String) tEnv.getObjRelation("NoAttach"); if (noAttach != null) { @@ -110,7 +110,7 @@ public class _XTextContent extends MultiMethodTest { } else { re.printStackTrace(log); tRes.tested("attach()",false); - } + } } } } diff --git a/qadevOOo/tests/java/ifc/text/_XTextCursor.java b/qadevOOo/tests/java/ifc/text/_XTextCursor.java index cc91e0d9f8f7..145224d7817c 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XTextCursor.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 @@ -217,7 +217,7 @@ public class _XTextCursor extends MultiMethodTest { * and in the second <code>false</code> */ public void _isCollapsed(){ - boolean bCol = false; + boolean bCol = false; oObj.gotoStart(false); bCol = oObj.isCollapsed(); diff --git a/qadevOOo/tests/java/ifc/text/_XTextDocument.java b/qadevOOo/tests/java/ifc/text/_XTextDocument.java index 5022aba6aecd..b29e786bdc57 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextDocument.java +++ b/qadevOOo/tests/java/ifc/text/_XTextDocument.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java index 7918235a20a5..981a916418d2 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java +++ b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java index cea9db145382..b54c9f60856c 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextField.java b/qadevOOo/tests/java/ifc/text/_XTextField.java index 8cdfc3ce1fa3..2a45604eea38 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextField.java +++ b/qadevOOo/tests/java/ifc/text/_XTextField.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java index eaacd4a5966a..e9a0700780f8 100755 --- a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.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 @@ -58,9 +58,9 @@ public class _XTextFieldsSupplier extends MultiMethodTest { public XTextFieldsSupplier oObj = null; // oObj filled by MultiMethodTest private boolean mDispose = false; private boolean mbCreateFieldMaster = true; - + /** - * Insert some text fields into a cell on the sheet, so this interface test + * Insert some text fields into a cell on the sheet, so this interface test * makes sense. */ protected void before() { @@ -139,10 +139,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest { e.printStackTrace(log); throw new StatusException("Couldn't insert textField.URL", e); } - + } } - + public void _getTextFields() { XEnumerationAccess xEnumAccess = oObj.getTextFields(); XEnumeration xEnum = xEnumAccess.createEnumeration(); @@ -151,15 +151,15 @@ public class _XTextFieldsSupplier extends MultiMethodTest { Object o = xEnum.nextElement(); } catch(com.sun.star.container.NoSuchElementException e) { - setMethodFalse("getTextFields()", e); + setMethodFalse("getTextFields()", e); } catch(com.sun.star.lang.WrappedTargetException e) { - setMethodFalse("getTextFields()", e); + setMethodFalse("getTextFields()", e); } } tRes.tested("getTextFields()", xEnum != null); } - + public void _getTextFieldMasters() { if (mbCreateFieldMaster) { XNameAccess xName = oObj.getTextFieldMasters(); @@ -171,7 +171,7 @@ public class _XTextFieldsSupplier extends MultiMethodTest { tRes.tested("getTextFieldMasters()", true); } } - + /** * Just for convenience: log the exception and set the method false. * @param method The name of the method to set to false. @@ -182,10 +182,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest { e.printStackTrace((PrintWriter)log); tRes.tested(method, false); } - + protected void after() { if (mDispose) disposeEnvironment(); } - + } diff --git a/qadevOOo/tests/java/ifc/text/_XTextFrame.java b/qadevOOo/tests/java/ifc/text/_XTextFrame.java index 99cc4307604a..4a4c916c4a29 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextFrame.java +++ b/qadevOOo/tests/java/ifc/text/_XTextFrame.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java index 342190f9381f..1cb192bf35be 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java index adb93480ff04..1f3c20571951 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextRange.java b/qadevOOo/tests/java/ifc/text/_XTextRange.java index 304bc065e7ab..af95c69edd09 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextRange.java +++ b/qadevOOo/tests/java/ifc/text/_XTextRange.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 @@ -91,8 +91,8 @@ public class _XTextRange extends MultiMethodTest { tRes.tested( "getStart()", oStartRange != null && exp.startsWith("Start")); - - + + oStartRange.setString(""); } @@ -128,7 +128,7 @@ public class _XTextRange extends MultiMethodTest { tRes.tested( "getEnd()", oEndRange != null && exp.endsWith("End")); - + oEndRange.setString(""); } diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java index da7f7c98c0ba..744d993c831d 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java +++ b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.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,9 +109,9 @@ public class _XTextRangeCompare extends MultiMethodTest { /** * One cursor is created and to its position a paragraph * inserted, then the fist five characters was selected. - * A second cursor was created and the last 7 characteres + * A second cursor was created and the last 7 characteres * was selected.<p> - * + * * Has <b>OK</b> status if the compare returns 1, i.e. * the second cursor end is before the first. */ @@ -124,7 +124,7 @@ public class _XTextRangeCompare extends MultiMethodTest { cursor1 = oText.createTextCursor(); oText.insertString(cursor1, nameStr, false); - cursor1.gotoStart(false); + cursor1.gotoStart(false); cursor1.goRight((short)5, true); cursor2 = oText.createTextCursor(); cursor2.gotoEnd(false); @@ -136,7 +136,7 @@ public class _XTextRangeCompare extends MultiMethodTest { log.println("check: oObj.compareRegionStarts(cursor1, cursor2)"); n = oObj.compareRegionEnds(cursor1, cursor2); - + log.println( "Result (short) : " + n ); }catch(com.sun.star.lang.IllegalArgumentException e){ log.println( "Exception: " + e); @@ -150,9 +150,9 @@ public class _XTextRangeCompare extends MultiMethodTest { /** * One cursor is created and to its position a paragraph * inserted, then the fist five characters was selected. - * A second cursor was created and the last 7 characters + * A second cursor was created and the last 7 characters * was selected.<p> - * + * * Has <b>OK</b> status if the compare returns 1, i.e. * the second cursor start is before the first. */ @@ -164,7 +164,7 @@ public class _XTextRangeCompare extends MultiMethodTest { cursor1 = oText.createTextCursor(); oText.insertString(cursor1, nameStr, false); - cursor1.gotoStart(false); + cursor1.gotoStart(false); cursor1.goRight((short)5, true); cursor2 = oText.createTextCursor(); cursor2.gotoEnd(false); @@ -175,7 +175,7 @@ public class _XTextRangeCompare extends MultiMethodTest { log.println("cursor2: '"+cursor2.getString() + "'"); log.println("check: oObj.compareRegionStarts(cursor1, cursor2)"); n = oObj.compareRegionStarts(cursor1, cursor2); - + log.println( "Result (short) : " + n ); }catch(com.sun.star.lang.IllegalArgumentException e){ log.println( "Exception: " + e); diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java b/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java index b6320fb19582..d6bcd9c8e7b3 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java +++ b/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextSection.java b/qadevOOo/tests/java/ifc/text/_XTextSection.java index 030764bd2205..fd7e2e15a6e0 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextSection.java +++ b/qadevOOo/tests/java/ifc/text/_XTextSection.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java index 0146e3c2d5ac..e4f9584d75c9 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextTable.java b/qadevOOo/tests/java/ifc/text/_XTextTable.java index 4dfa9e10e410..bd3dc73567c7 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextTable.java +++ b/qadevOOo/tests/java/ifc/text/_XTextTable.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java b/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java index 993406a821f4..8e013f5de13c 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java index 1a0e4a686ae6..101e1cb0b935 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java index 05792f041086..53de699ae12c 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/ifc/text/_XWordCursor.java b/qadevOOo/tests/java/ifc/text/_XWordCursor.java index 91ed4fadd3d2..72dfc901af5c 100644 --- a/qadevOOo/tests/java/ifc/text/_XWordCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XWordCursor.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 |