summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod')
-rw-r--r--qadevOOo/tests/java/mod/_acceptor.uno/Acceptor.java2
-rw-r--r--qadevOOo/tests/java/mod/_acceptor/Acceptor.java2
-rw-r--r--qadevOOo/tests/java/mod/_adabas/ODriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_ado/ODriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_basctl/AccessibleShape.java48
-rw-r--r--qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_bridgefac.uno/BridgeFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_cached/CachedContentResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_cached/CachedContentResultSetStubFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_cmdmail/SimpleCommandMail.java2
-rw-r--r--qadevOOo/tests/java/mod/_cnt/ChaosContentProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_cnt/CntUnoDataContainer.java2
-rw-r--r--qadevOOo/tests/java/mod/_cnt/PropertyMatcherFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_connector.uno/Connector.java2
-rw-r--r--qadevOOo/tests/java/mod/_connectr/Connector.java2
-rw-r--r--qadevOOo/tests/java/mod/_corefl/CoreReflection.java2
-rw-r--r--qadevOOo/tests/java/mod/_corereflection.uno/CoreReflection.java2
-rw-r--r--qadevOOo/tests/java/mod/_cpld/DLLComponentLoader.java4
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/ConnectionLineAccessibility.java84
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/DBContentLoader.java2
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/JoinViewAccessibility.java64
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/OCommandDefinition.java2
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/ODatabaseContext.java8
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java26
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/ODatasourceAdministrationDialog.java2
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java18
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/OInteractionHandler.java2
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java58
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/ORowSet.java22
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java10
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/OSingleSelectQueryComposer.java30
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java28
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java76
-rw-r--r--qadevOOo/tests/java/mod/_dbpool/OConnectionPool.java2
-rw-r--r--qadevOOo/tests/java/mod/_defreg/NestedRegistry.java4
-rw-r--r--qadevOOo/tests/java/mod/_dtrans/generic.java2
-rw-r--r--qadevOOo/tests/java/mod/_dynamicloader/Dynamic.java2
-rw-r--r--qadevOOo/tests/java/mod/_file/calc/ODriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_file/dbase/ODriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_file/flat/ODriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_fileacc/SimpleFileAccess.java2
-rw-r--r--qadevOOo/tests/java/mod/_fop/FolderPicker.java2
-rw-r--r--qadevOOo/tests/java/mod/_forms/GenericModelTest.java126
-rw-r--r--qadevOOo/tests/java/mod/_forms/OButtonControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OButtonModel.java22
-rw-r--r--qadevOOo/tests/java/mod/_forms/OCheckBoxControl.java4
-rw-r--r--qadevOOo/tests/java/mod/_forms/OCheckBoxModel.java14
-rw-r--r--qadevOOo/tests/java/mod/_forms/OComboBoxControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OComboBoxModel.java22
-rw-r--r--qadevOOo/tests/java/mod/_forms/OCurrencyControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OCurrencyModel.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/ODatabaseForm.java96
-rw-r--r--qadevOOo/tests/java/mod/_forms/ODateControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/ODateModel.java28
-rw-r--r--qadevOOo/tests/java/mod/_forms/OEditControl.java22
-rw-r--r--qadevOOo/tests/java/mod/_forms/OEditModel.java24
-rw-r--r--qadevOOo/tests/java/mod/_forms/OFileControlModel.java38
-rw-r--r--qadevOOo/tests/java/mod/_forms/OFixedTextModel.java22
-rw-r--r--qadevOOo/tests/java/mod/_forms/OFormattedControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OFormattedFieldWrapper.java20
-rw-r--r--qadevOOo/tests/java/mod/_forms/OFormsCollection.java2
-rw-r--r--qadevOOo/tests/java/mod/_forms/OGridControlModel.java44
-rw-r--r--qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OGroupBoxModel.java20
-rw-r--r--qadevOOo/tests/java/mod/_forms/OHiddenModel.java40
-rw-r--r--qadevOOo/tests/java/mod/_forms/OImageButtonControl.java16
-rw-r--r--qadevOOo/tests/java/mod/_forms/OImageButtonModel.java14
-rw-r--r--qadevOOo/tests/java/mod/_forms/OImageControlControl.java14
-rw-r--r--qadevOOo/tests/java/mod/_forms/OImageControlModel.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OListBoxControl.java10
-rw-r--r--qadevOOo/tests/java/mod/_forms/OListBoxModel.java46
-rw-r--r--qadevOOo/tests/java/mod/_forms/ONavigationBarControl.java16
-rw-r--r--qadevOOo/tests/java/mod/_forms/ONavigationBarModel.java22
-rw-r--r--qadevOOo/tests/java/mod/_forms/ONumericControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/ONumericModel.java20
-rw-r--r--qadevOOo/tests/java/mod/_forms/OPatternControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OPatternModel.java20
-rw-r--r--qadevOOo/tests/java/mod/_forms/ORadioButtonControl.java16
-rw-r--r--qadevOOo/tests/java/mod/_forms/ORadioButtonModel.java24
-rw-r--r--qadevOOo/tests/java/mod/_forms/OScrollBarModel.java22
-rw-r--r--qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java26
-rw-r--r--qadevOOo/tests/java/mod/_forms/OTimeControl.java18
-rw-r--r--qadevOOo/tests/java/mod/_forms/OTimeModel.java32
-rw-r--r--qadevOOo/tests/java/mod/_fps/FilePicker.java2
-rw-r--r--qadevOOo/tests/java/mod/_ftransl/DataFormatTranslator.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/ControlMenuController.java14
-rw-r--r--qadevOOo/tests/java/mod/_fwk/Desktop.java2
-rw-r--r--qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java4
-rw-r--r--qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java2
-rw-r--r--qadevOOo/tests/java/mod/_fwk/DocumentProperties.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/FontMenuController.java8
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java8
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/FooterMenuController.java8
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/FormatMenuController.java8
-rw-r--r--qadevOOo/tests/java/mod/_fwk/Frame.java4
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/HeaderMenuController.java8
-rw-r--r--qadevOOo/tests/java/mod/_fwk/JobExecutor.java10
-rw-r--r--qadevOOo/tests/java/mod/_fwk/JobHandler.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/LayoutManager.java10
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/MacrosMenuController.java8
-rw-r--r--qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/MenuBarFactory.java6
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/ModuleManager.java36
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java52
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java10
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/ObjectMenuController.java6
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java16
-rw-r--r--qadevOOo/tests/java/mod/_fwk/ServiceHandler.java2
-rw-r--r--qadevOOo/tests/java/mod/_fwk/SoundHandler.java6
-rw-r--r--qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java6
-rw-r--r--qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java8
-rw-r--r--qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java8
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/UICommandDescription.java8
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java28
-rwxr-xr-xqadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java8
-rw-r--r--qadevOOo/tests/java/mod/_fwk/URLTransformer.java2
-rw-r--r--qadevOOo/tests/java/mod/_fwl/ContentHandlerFactory.java8
-rw-r--r--qadevOOo/tests/java/mod/_fwl/FilterFactory.java24
-rw-r--r--qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java6
-rw-r--r--qadevOOo/tests/java/mod/_fwl/PathSettings.java24
-rw-r--r--qadevOOo/tests/java/mod/_fwl/SubstituteVariables.java2
-rw-r--r--qadevOOo/tests/java/mod/_fwl/TypeDetection.java24
-rw-r--r--qadevOOo/tests/java/mod/_i18n/BreakIterator.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/CalendarImpl.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/ChapterCollator.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/CharacterClassification.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/Collator.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/LocaleData.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/TextSearch.java2
-rw-r--r--qadevOOo/tests/java/mod/_i18n/Transliteration.java2
-rw-r--r--qadevOOo/tests/java/mod/_implreg.uno/ImplementationRegistration.java2
-rw-r--r--qadevOOo/tests/java/mod/_impreg/ImplementationRegistration.java2
-rw-r--r--qadevOOo/tests/java/mod/_insp/Introspection.java2
-rw-r--r--qadevOOo/tests/java/mod/_introspection.uno/Introspection.java2
-rw-r--r--qadevOOo/tests/java/mod/_inv/Invocation.java2
-rw-r--r--qadevOOo/tests/java/mod/_invadp/InvocationAdapterFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_invocadapt.uno/InvocationAdapterFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_invocation.uno/Invocation.java2
-rw-r--r--qadevOOo/tests/java/mod/_javaloader.uno/JavaComponentLoader.java2
-rw-r--r--qadevOOo/tests/java/mod/_javaloader/JavaComponentLoader.java4
-rw-r--r--qadevOOo/tests/java/mod/_javavm.uno/JavaVirtualMachine.java2
-rw-r--r--qadevOOo/tests/java/mod/_jdbc/JDBCDriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_jen/JavaVirtualMachine.java2
-rw-r--r--qadevOOo/tests/java/mod/_lng/DicList.java2
-rw-r--r--qadevOOo/tests/java/mod/_lng/LinguProps.java2
-rw-r--r--qadevOOo/tests/java/mod/_lng/LngSvcMgr.java2
-rw-r--r--qadevOOo/tests/java/mod/_lnn/Hyphenator.java2
-rw-r--r--qadevOOo/tests/java/mod/_lnn/SpellChecker.java4
-rw-r--r--qadevOOo/tests/java/mod/_lnn/Thesaurus.java2
-rw-r--r--qadevOOo/tests/java/mod/_mcnttype/MimeContentTypeFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_mozab/MozabDriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_namingservice.uno/NamingService.java2
-rw-r--r--qadevOOo/tests/java/mod/_namingservice/NamingService.java2
-rw-r--r--qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java2
-rw-r--r--qadevOOo/tests/java/mod/_odbc/ODBCDriver.java2
-rw-r--r--qadevOOo/tests/java/mod/_pcr/ObjectInspector.java84
-rw-r--r--qadevOOo/tests/java/mod/_pcr/ObjectInspectorModel.java46
-rw-r--r--qadevOOo/tests/java/mod/_proxyfac.uno/ProxyFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_proxyset/SOffice52ProxySettings.java2
-rw-r--r--qadevOOo/tests/java/mod/_proxyset/SystemProxySettings.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_qadevOOo/SelfTest.java2
-rw-r--r--qadevOOo/tests/java/mod/_rdbtdp/RegistryTypeDescriptionProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_regtypeprov.uno/RegistryTypeDescriptionProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_remotebridge.uno/various.java2
-rw-r--r--qadevOOo/tests/java/mod/_remotebridge/various.java4
-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
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccArea.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccAxis.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccDataPoint.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccDataSeries.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccDiagram.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccFloor.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccGrid.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccLegend.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccLegendEntry.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccTitle.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccWall.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccessibleDocumentView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXChartAxis.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXChartData.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXChartDataArray.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXChartDocument.java6
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXChartView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXDataPoint.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXDataRow.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChXDiagram.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChartArea.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChartGrid.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChartLegend.java2
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChartLine.java4
-rw-r--r--qadevOOo/tests/java/mod/_sch/ChartTitle.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/AccessibleDrawDocumentView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/AccessibleOutlineView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/AccessibleSlideView.java4
-rw-r--r--qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java6
-rw-r--r--qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java16
-rw-r--r--qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java16
-rw-r--r--qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java16
-rw-r--r--qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java16
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdDocLinkTargets.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdDrawPage.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdDrawPagesAccess.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdGenericDrawPage.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdLayer.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdLayerManager.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdMasterPage.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdMasterPagesAccess.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdUnoDrawView.java12
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java8
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdUnoPresView.java14
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdUnoSlideView.java10
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdXCustomPresentation.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdXCustomPresentationAccess.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdXImpressDocument.java42
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdXPresentation.java2
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdXShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_servicemgr.uno/OServiceManager.java2
-rw-r--r--qadevOOo/tests/java/mod/_sfx/AppDispatchProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_sfx/DocumentTemplates.java2
-rw-r--r--qadevOOo/tests/java/mod/_sfx/FrameLoader.java2
-rw-r--r--qadevOOo/tests/java/mod/_sfx/SfxMacroLoader.java2
-rw-r--r--qadevOOo/tests/java/mod/_sfx/StandaloneDocumentInfo.java2
-rw-r--r--qadevOOo/tests/java/mod/_shlibloader.uno/DLLComponentLoader.java2
-rw-r--r--qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java2
-rw-r--r--qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/SmEditAccessible.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java10
-rw-r--r--qadevOOo/tests/java/mod/_sm/SmModel.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/XMLExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/XMLImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_smgr/OServiceManager.java2
-rw-r--r--qadevOOo/tests/java/mod/_smplmail/SimpleSystemMail.java2
-rw-r--r--qadevOOo/tests/java/mod/_srtrs/SortedDynamicResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/DataInputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/DataOutputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/MarkableInputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/ObjectInputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/Pipe.java2
-rw-r--r--qadevOOo/tests/java/mod/_stm/Pump.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/DataInputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/DataOutputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/MarkableInputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/ObjectInputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/ObjectOutputStream.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/Pipe.java2
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/Pump.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java80
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java8
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java74
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java44
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java14
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java6
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java18
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java2
-rw-r--r--qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java36
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessibleControlShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessibleEditableTextPara.java20
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessibleGraphicShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessibleOLEShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessiblePageShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessiblePresentationGraphicShape.java4
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessiblePresentationOLEShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessiblePresentationShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessibleShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/GraphicExporter.java16
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxDrawPage.java12
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxGraphCtrlAccessibleContext.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapeCircle.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapeCollection.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapeConnector.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapeControl.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapeDimensioning.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapeGroup.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygon.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygonBezier.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoNumberingRules.java10
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoText.java10
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextContentEnum.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextCursor.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextField.java4
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextRange.java2
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextRangeEnumeration.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_sw/CharacterStyle.java6
-rwxr-xr-xqadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java12
-rw-r--r--qadevOOo/tests/java/mod/_sw/DocumentSettings.java2
-rwxr-xr-xqadevOOo/tests/java/mod/_sw/PageStyle.java14
-rwxr-xr-xqadevOOo/tests/java/mod/_sw/ParagraphStyle.java14
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java32
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java8
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleParagraphView.java22
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleTableCellView.java14
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleTableView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleTextEmbeddedObject.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleTextFrameView.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleTextGraphicObject.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXAutoTextEntry.java42
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXAutoTextGroup.java42
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXBodyText.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXBookmark.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXBookmarks.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXCell.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXCellRange.java6
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java14
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXDocumentIndex.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXDocumentIndexMark.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXDocumentIndexes.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXDrawPage.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFieldEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFootnote.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFootnoteProperties.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFootnoteText.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFootnotes.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXFrames.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXHeadFootText.java4
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXMailMerge.java140
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXModule.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java10
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXParagraph.java54
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXParagraphEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXPrintSettings.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXPropertySet.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXPropertySetInfo.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXReferenceMark.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXReferenceMarks.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXShape.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXStyle.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java4
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTableCellText.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTableColumns.java4
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTableRows.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextColumns.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextCursor.java54
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextDefaults.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextDocument.java66
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java6
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObjects.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextField.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextFieldMasters.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextFieldTypes.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextFrame.java14
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextFrameText.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java6
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextGraphicObjects.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextPortion.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextPortionEnumeration.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextRange.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextRanges.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextSearch.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextSection.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextSections.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextTable.java40
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextTableCursor.java4
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextTableRow.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextTables.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextView.java28
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXViewSettings.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLContentExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLContentImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLSettingsImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_sysdtrans/SystemClipboard.java2
-rw-r--r--qadevOOo/tests/java/mod/_syssh/SystemShellExecute.java2
-rw-r--r--qadevOOo/tests/java/mod/_tcv/TypeConverter.java2
-rw-r--r--qadevOOo/tests/java/mod/_tdmgr/TypeDescriptionManager.java2
-rw-r--r--qadevOOo/tests/java/mod/_text/DefaultNumberingProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleCheckBox.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java28
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownComboBox.java12
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java12
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java16
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleFixedText.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleList.java28
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java24
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleMenu.java12
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleMenuBar.java12
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java12
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleMenuSeparator.java8
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessiblePopupMenu.java24
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java52
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleScrollBar.java10
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBar.java6
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBarItem.java16
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleTabControl.java26
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleTabPage.java28
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java46
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleToolBoxItem.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleWindow.java14
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java30
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java46
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/TabController.java18
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/TabControllerModel.java16
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/Toolkit.java16
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlButton.java14
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlButtonModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java16
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBoxModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlComboBoxModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlContainer.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlContainerModel.java8
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyField.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyFieldModel.java8
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlDateField.java16
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlDateFieldModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlDialog.java26
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlDialogModel.java30
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlEdit.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlEditModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFileControl.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFileControlModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFixedLineModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFixedText.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFixedTextModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedField.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedFieldModel.java6
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBox.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBoxModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlImageControl.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlImageControlModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlListBox.java24
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlListBoxModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlNumericField.java26
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlNumericFieldModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlPatternField.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlPatternFieldModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlProgressBarModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButtonModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlScrollBarModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlTimeField.java22
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlTimeFieldModel.java4
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java32
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControl.java20
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControlModel.java6
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java118
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoTreeModel.java20
-rw-r--r--qadevOOo/tests/java/mod/_typeconverter.uno/TypeConverter.java2
-rw-r--r--qadevOOo/tests/java/mod/_typemgr.uno/TypeDescriptionManager.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucb/UcbContentProviderProxyFactory.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucb/UcbPropertiesManager.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucb/UcbStore.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucb/UniversalContentBroker.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucpchelp/CHelpContentProvider.java6
-rw-r--r--qadevOOo/tests/java/mod/_ucpdav/WebDAVContentProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucpfile/FileProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucpftp/FTPContentProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucphier/HierarchyContentProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucphier/HierarchyDataSource.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucppkg/PackageContentProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucprmt/ContentProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucprmt/ProviderAcceptor.java2
-rw-r--r--qadevOOo/tests/java/mod/_ucprmt/ProxyProvider.java2
-rw-r--r--qadevOOo/tests/java/mod/_uui/UUIInteractionHandler.java2
-rw-r--r--qadevOOo/tests/java/mod/_uuresolver.uno/UnoUrlResolver.java2
-rw-r--r--qadevOOo/tests/java/mod/_uuresolver/UnoUrlResolver.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java4
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java2
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java2
645 files changed, 3102 insertions, 3102 deletions
diff --git a/qadevOOo/tests/java/mod/_acceptor.uno/Acceptor.java b/qadevOOo/tests/java/mod/_acceptor.uno/Acceptor.java
index 64ce14d88417..9351ff0e145b 100644
--- a/qadevOOo/tests/java/mod/_acceptor.uno/Acceptor.java
+++ b/qadevOOo/tests/java/mod/_acceptor.uno/Acceptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_acceptor/Acceptor.java b/qadevOOo/tests/java/mod/_acceptor/Acceptor.java
index af6812b3304a..4ab9809c9bb4 100644
--- a/qadevOOo/tests/java/mod/_acceptor/Acceptor.java
+++ b/qadevOOo/tests/java/mod/_acceptor/Acceptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_adabas/ODriver.java b/qadevOOo/tests/java/mod/_adabas/ODriver.java
index da34026594e9..76dce8f9553c 100644
--- a/qadevOOo/tests/java/mod/_adabas/ODriver.java
+++ b/qadevOOo/tests/java/mod/_adabas/ODriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ado/ODriver.java b/qadevOOo/tests/java/mod/_ado/ODriver.java
index 9d59cf8e6be8..11a00fb7c8fd 100644
--- a/qadevOOo/tests/java/mod/_ado/ODriver.java
+++ b/qadevOOo/tests/java/mod/_ado/ODriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_basctl/AccessibleShape.java b/qadevOOo/tests/java/mod/_basctl/AccessibleShape.java
index 1dd3feb3e4ec..c59a731d8838 100644
--- a/qadevOOo/tests/java/mod/_basctl/AccessibleShape.java
+++ b/qadevOOo/tests/java/mod/_basctl/AccessibleShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,10 +54,10 @@ import util.WriterTools;
import util.utils;
public class AccessibleShape extends TestCase {
-
+
XTextDocument xTextDoc = null;
XInterface oObj = null;
-
+
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println("Cleaning up");
DesktopTools.closeDoc(xTextDoc);
@@ -70,7 +70,7 @@ public class AccessibleShape extends TestCase {
log.println("Couldn't close IDE");
}
}
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
log.println( "creating a test environment" );
@@ -79,7 +79,7 @@ public class AccessibleShape extends TestCase {
XModel xModel = (XModel) UnoRuntime.queryInterface(XModel.class, xTextDoc);
XFrame xFrame = xModel.getCurrentController().getFrame();
XDispatchProvider xDPP = (XDispatchProvider) UnoRuntime.queryInterface(XDispatchProvider.class, xFrame);
-
+
log.println( "opening the basic dialog editor" );
try {
Object o = xMSF.createInstance("com.sun.star.frame.DispatchHelper");
@@ -101,9 +101,9 @@ public class AccessibleShape extends TestCase {
} catch (Exception e) {
throw new StatusException("Couldn't open Basic Dialog",e);
}
-
+
utils.shortWait(3000);
-
+
try {
oObj = (XInterface) ((XMultiServiceFactory)tParam.getMSF()).createInstance
("com.sun.star.awt.Toolkit") ;
@@ -114,42 +114,42 @@ public class AccessibleShape extends TestCase {
}
AccessibilityTools at = new AccessibilityTools();
-
+
final XWindow basicIDE = xFrame.getContainerWindow();
-
+
XAccessible xRoot = at.getAccessibleObject(basicIDE);
-
+
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.SHAPE);
-
+
// create test environment here
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
log.println("Implementation Name: " + utils.getImplName(oObj));
-
+
tEnv.addObjRelation("Destroy", Boolean.TRUE);
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
- public void fireEvent() {
+ public void fireEvent() {
Rectangle oldPosSize = basicIDE.getPosSize();
Rectangle newPosSize = new Rectangle();
newPosSize.Width = oldPosSize.Width/2;
newPosSize.Height = oldPosSize.Height/2;
newPosSize.X = oldPosSize.X + 20;
newPosSize.Y = oldPosSize.Y + 20;
- basicIDE.setPosSize(newPosSize.X, newPosSize.Y, newPosSize.Width,
- newPosSize.Height, PosSize.POSSIZE);
+ basicIDE.setPosSize(newPosSize.X, newPosSize.Y, newPosSize.Width,
+ newPosSize.Height, PosSize.POSSIZE);
utils.shortWait(1000);
- basicIDE.setPosSize(oldPosSize.X, oldPosSize.Y, oldPosSize.Width,
- oldPosSize.Height, PosSize.POSSIZE);
+ basicIDE.setPosSize(oldPosSize.X, oldPosSize.Y, oldPosSize.Width,
+ oldPosSize.Height, PosSize.POSSIZE);
}
});
-
+
return tEnv;
}
-
-
-
+
+
+
}
diff --git a/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java b/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
index e1672dcef9d7..1a287789a9ea 100644
--- a/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
+++ b/qadevOOo/tests/java/mod/_brdgfctr/BridgeFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_bridgefac.uno/BridgeFactory.java b/qadevOOo/tests/java/mod/_bridgefac.uno/BridgeFactory.java
index ef012eb4543a..c4203e07cff5 100644
--- a/qadevOOo/tests/java/mod/_bridgefac.uno/BridgeFactory.java
+++ b/qadevOOo/tests/java/mod/_bridgefac.uno/BridgeFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cached/CachedContentResultSetFactory.java b/qadevOOo/tests/java/mod/_cached/CachedContentResultSetFactory.java
index 09623ec23b3b..cb83a6c2ff1c 100644
--- a/qadevOOo/tests/java/mod/_cached/CachedContentResultSetFactory.java
+++ b/qadevOOo/tests/java/mod/_cached/CachedContentResultSetFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cached/CachedContentResultSetStubFactory.java b/qadevOOo/tests/java/mod/_cached/CachedContentResultSetStubFactory.java
index 60da66c6bdde..ad908857fd75 100644
--- a/qadevOOo/tests/java/mod/_cached/CachedContentResultSetStubFactory.java
+++ b/qadevOOo/tests/java/mod/_cached/CachedContentResultSetStubFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cached/CachedDynamicResultSetFactory.java b/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetFactory.java
index 3bfdaf319523..ccd8956994ec 100644
--- a/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetFactory.java
+++ b/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cached/CachedDynamicResultSetStubFactory.java b/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java
index 93b1060d6f3f..6bffda511898 100644
--- a/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java
+++ b/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cmdmail/SimpleCommandMail.java b/qadevOOo/tests/java/mod/_cmdmail/SimpleCommandMail.java
index 061cd8b02a48..3918dc67341e 100644
--- a/qadevOOo/tests/java/mod/_cmdmail/SimpleCommandMail.java
+++ b/qadevOOo/tests/java/mod/_cmdmail/SimpleCommandMail.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cnt/ChaosContentProvider.java b/qadevOOo/tests/java/mod/_cnt/ChaosContentProvider.java
index 6908f752d591..b22b2a9b3f7b 100644
--- a/qadevOOo/tests/java/mod/_cnt/ChaosContentProvider.java
+++ b/qadevOOo/tests/java/mod/_cnt/ChaosContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cnt/CntUnoDataContainer.java b/qadevOOo/tests/java/mod/_cnt/CntUnoDataContainer.java
index 431102a3348f..dbf57e5782ae 100644
--- a/qadevOOo/tests/java/mod/_cnt/CntUnoDataContainer.java
+++ b/qadevOOo/tests/java/mod/_cnt/CntUnoDataContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cnt/PropertyMatcherFactory.java b/qadevOOo/tests/java/mod/_cnt/PropertyMatcherFactory.java
index a64fd1446fe6..56609c37c0ff 100644
--- a/qadevOOo/tests/java/mod/_cnt/PropertyMatcherFactory.java
+++ b/qadevOOo/tests/java/mod/_cnt/PropertyMatcherFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_connector.uno/Connector.java b/qadevOOo/tests/java/mod/_connector.uno/Connector.java
index 19436e0cdc68..06fec0390fa5 100644
--- a/qadevOOo/tests/java/mod/_connector.uno/Connector.java
+++ b/qadevOOo/tests/java/mod/_connector.uno/Connector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_connectr/Connector.java b/qadevOOo/tests/java/mod/_connectr/Connector.java
index 5bbaae1d200b..118729c01863 100644
--- a/qadevOOo/tests/java/mod/_connectr/Connector.java
+++ b/qadevOOo/tests/java/mod/_connectr/Connector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_corefl/CoreReflection.java b/qadevOOo/tests/java/mod/_corefl/CoreReflection.java
index e33462780f0c..cada4acf14d4 100644
--- a/qadevOOo/tests/java/mod/_corefl/CoreReflection.java
+++ b/qadevOOo/tests/java/mod/_corefl/CoreReflection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_corereflection.uno/CoreReflection.java b/qadevOOo/tests/java/mod/_corereflection.uno/CoreReflection.java
index 250ddfc1cf71..362311ce7cfc 100644
--- a/qadevOOo/tests/java/mod/_corereflection.uno/CoreReflection.java
+++ b/qadevOOo/tests/java/mod/_corereflection.uno/CoreReflection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_cpld/DLLComponentLoader.java b/qadevOOo/tests/java/mod/_cpld/DLLComponentLoader.java
index ee30bdc2c67a..bc200665e9c5 100644
--- a/qadevOOo/tests/java/mod/_cpld/DLLComponentLoader.java
+++ b/qadevOOo/tests/java/mod/_cpld/DLLComponentLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class DLLComponentLoader extends TestCase {
// adding object relation for XImplementationLoader ifc test
tEnv.addObjRelation("ImplementationLoader",
- "com.sun.star.loader.SharedLibrary") ;
+ "com.sun.star.loader.SharedLibrary") ;
String os = (String) Param.get("OS");
if (os == null || os == "")
throw new StatusException(
diff --git a/qadevOOo/tests/java/mod/_dbaccess/ConnectionLineAccessibility.java b/qadevOOo/tests/java/mod/_dbaccess/ConnectionLineAccessibility.java
index c515ffaf8c01..c2494f6c0541 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/ConnectionLineAccessibility.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/ConnectionLineAccessibility.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public class ConnectionLineAccessibility extends TestCase
XComponent QueryComponent = null;
String user = "";
String password="";
-
+
/**
* Creates a new DataSource and stores it.
* Creates a connection and using it
@@ -105,13 +105,13 @@ public class ConnectionLineAccessibility extends TestCase
PrintWriter log)
{
XInterface oObj = null;
-
+
Object oDBContext = null;
Object oDBSource = null;
Object newQuery = null;
Object toolkit = null;
XStorable store = null;
-
+
try
{
oDBContext = ((XMultiServiceFactory) Param.getMSF())
@@ -128,24 +128,24 @@ public class ConnectionLineAccessibility extends TestCase
e.printStackTrace(log);
throw new StatusException(Status.failed("Couldn't create instance"));
}
-
+
String mysqlURL = (String) Param.get("mysql.url");
-
+
if (mysqlURL == null)
{
throw new StatusException(Status.failed(
"Couldn't get 'mysql.url' from ini-file"));
}
-
+
user = (String) Param.get("jdbc.user");
password = (String) Param.get("jdbc.password");
-
+
if ((user == null) || (password == null))
{
throw new StatusException(Status.failed(
"Couldn't get 'jdbc.user' or 'jdbc.password' from ini-file"));
}
-
+
PropertyValue[] info = new PropertyValue[2];
info[0] = new PropertyValue();
info[0].Name = "user";
@@ -153,10 +153,10 @@ public class ConnectionLineAccessibility extends TestCase
info[1] = new PropertyValue();
info[1].Name = "password";
info[1].Value = password;
-
+
XPropertySet propSetDBSource = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oDBSource);
-
+
try
{
propSetDBSource.setPropertyValue("URL", mysqlURL);
@@ -186,7 +186,7 @@ public class ConnectionLineAccessibility extends TestCase
throw new StatusException(Status.failed(
"Couldn't set property value"));
}
-
+
try
{
log.println("writing database file ...");
@@ -194,7 +194,7 @@ public class ConnectionLineAccessibility extends TestCase
UnoRuntime.queryInterface(XDocumentDataSource.class, oDBSource);
store = (XStorable) UnoRuntime.queryInterface(XStorable.class,
xDDS.getDatabaseDocument());
-
+
aFile = utils.getOfficeTemp((XMultiServiceFactory) Param.getMSF())+"ConnectionLine.odb";
log.println("... filename will be "+aFile);
store.storeAsURL(aFile,new PropertyValue[]
@@ -206,19 +206,19 @@ public class ConnectionLineAccessibility extends TestCase
e.printStackTrace(log);
throw new StatusException(Status.failed("Couldn't register object"));
}
-
+
isolConnection = (XIsolatedConnection) UnoRuntime.queryInterface(
XIsolatedConnection.class,
oDBSource);
-
+
XConnection connection = null;
XStatement statement = null;
-
+
final String tbl_name1 = "tst_table1";
final String tbl_name2 = "tst_table2";
final String col_name1 = "id1";
final String col_name2 = "id2";
-
+
try
{
connection = isolConnection.getIsolatedConnection(user, password);
@@ -251,16 +251,16 @@ public class ConnectionLineAccessibility extends TestCase
throw new StatusException(Status.failed("SQLException"));
}
}
-
+
XQueryDefinitionsSupplier querySuppl = (XQueryDefinitionsSupplier) UnoRuntime.queryInterface(
XQueryDefinitionsSupplier.class,
oDBSource);
-
+
XNameAccess defContainer = querySuppl.getQueryDefinitions();
-
+
XPropertySet queryProp = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, newQuery);
-
+
try
{
final String query = "select * from " + tbl_name1 + ", " +
@@ -293,11 +293,11 @@ public class ConnectionLineAccessibility extends TestCase
throw new StatusException(Status.failed(
"Couldn't set property value"));
}
-
+
XNameContainer queryContainer = (XNameContainer) UnoRuntime.queryInterface(
XNameContainer.class,
defContainer);
-
+
try
{
queryContainer.insertByName("Query1", newQuery);
@@ -329,43 +329,43 @@ public class ConnectionLineAccessibility extends TestCase
e.printStackTrace(log);
throw new StatusException(Status.failed("Couldn't insert query"));
}
-
+
PropertyValue[] loadProps = new PropertyValue[3];
loadProps[0] = new PropertyValue();
loadProps[0].Name = "QueryDesignView";
loadProps[0].Value = Boolean.TRUE;
-
+
loadProps[1] = new PropertyValue();
loadProps[1].Name = "CurrentQuery";
loadProps[1].Value = "Query1";
-
+
loadProps[2] = new PropertyValue();
loadProps[2].Name = "DataSource";
loadProps[2].Value = oDBSource;
-
+
QueryComponent = DesktopTools.loadDoc((XMultiServiceFactory) Param.getMSF(),".component:DB/QueryDesign",loadProps);
-
+
util.utils.shortWait(1000);
-
+
xWindow = UnoRuntime.queryInterface(XModel.class, QueryComponent).
getCurrentController().getFrame().getContainerWindow();
-
+
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
-
+
AccessibilityTools.printAccessibleTree (log,xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
+
oObj = AccessibilityTools.getAccessibleObjectForRoleIgnoreShowing(xRoot, AccessibleRole.UNKNOWN, "", "ConnectionLine");
-
+
log.println("ImplementationName " + util.utils.getImplName(oObj));
-
+
log.println("creating TestEnvironment");
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
shortWait();
-
+
final XWindow queryWin = xWindow;
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer()
{
@@ -375,10 +375,10 @@ public class ConnectionLineAccessibility extends TestCase
queryWin.setPosSize(rect.X, rect.Y, rect.Height-5, rect.Width-5, PosSize.POSSIZE);
}
});
-
+
return tEnv;
} // finish method getTestEnvironment
-
+
/**
* Closes the DatasourceAdministration dialog and Query Dialog.
*/
@@ -386,7 +386,7 @@ public class ConnectionLineAccessibility extends TestCase
{
try
{
-
+
log.println("closing QueryComponent ...");
DesktopTools.closeDoc(QueryComponent);
log.println("... done");
@@ -402,7 +402,7 @@ public class ConnectionLineAccessibility extends TestCase
e.printStackTrace();
}
}
-
+
/**
* Sleeps for 1.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
diff --git a/qadevOOo/tests/java/mod/_dbaccess/DBContentLoader.java b/qadevOOo/tests/java/mod/_dbaccess/DBContentLoader.java
index 85ba95cc5ef2..c79c189addac 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/DBContentLoader.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/DBContentLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_dbaccess/JoinViewAccessibility.java b/qadevOOo/tests/java/mod/_dbaccess/JoinViewAccessibility.java
index 8ec0c0db1bfa..b882e0242558 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/JoinViewAccessibility.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/JoinViewAccessibility.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -85,7 +85,7 @@ public class JoinViewAccessibility extends TestCase {
XComponent QueryComponent = null;
String user = "";
String password="";
-
+
/**
* Creates a new DataSource and stores it.
* Creates a connection and using it
@@ -104,13 +104,13 @@ public class JoinViewAccessibility extends TestCase {
PrintWriter log)
{
XInterface oObj = null;
-
+
Object oDBContext = null;
Object oDBSource = null;
Object newQuery = null;
Object toolkit = null;
XStorable store = null;
-
+
try
{
oDBContext = ((XMultiServiceFactory) Param.getMSF ())
@@ -126,24 +126,24 @@ public class JoinViewAccessibility extends TestCase {
e.printStackTrace (log);
throw new StatusException (Status.failed ("Couldn't create instance"));
}
-
+
String mysqlURL = (String) Param.get ("mysql.url");
-
+
if (mysqlURL == null)
{
throw new StatusException (Status.failed (
"Couldn't get 'mysql.url' from ini-file"));
}
-
+
user = (String) Param.get ("jdbc.user");
password = (String) Param.get ("jdbc.password");
-
+
if ((user == null) || (password == null))
{
throw new StatusException (Status.failed (
"Couldn't get 'jdbc.user' or 'jdbc.password' from ini-file"));
}
-
+
PropertyValue[] info = new PropertyValue[2];
info[0] = new PropertyValue ();
info[0].Name = "user";
@@ -151,10 +151,10 @@ public class JoinViewAccessibility extends TestCase {
info[1] = new PropertyValue ();
info[1].Name = "password";
info[1].Value = password;
-
+
XPropertySet propSetDBSource = (XPropertySet) UnoRuntime.queryInterface (
XPropertySet.class, oDBSource);
-
+
try
{
propSetDBSource.setPropertyValue ("URL", mysqlURL);
@@ -180,7 +180,7 @@ public class JoinViewAccessibility extends TestCase {
throw new StatusException (Status.failed (
"Couldn't set property value"));
}
-
+
try
{
log.println ("writing database file ...");
@@ -198,19 +198,19 @@ public class JoinViewAccessibility extends TestCase {
e.printStackTrace (log);
throw new StatusException (Status.failed ("Couldn't register object"));
}
-
+
isolConnection = (XIsolatedConnection) UnoRuntime.queryInterface (
XIsolatedConnection.class,
oDBSource);
-
+
XConnection connection = null;
XStatement statement = null;
-
+
final String tbl_name1 = "tst_table1";
final String tbl_name2 = "tst_table2";
final String col_name1 = "id1";
final String col_name2 = "id2";
-
+
try
{
connection = isolConnection.getIsolatedConnection (user, password);
@@ -241,16 +241,16 @@ public class JoinViewAccessibility extends TestCase {
throw new StatusException (Status.failed ("SQLException"));
}
}
-
+
XQueryDefinitionsSupplier querySuppl = (XQueryDefinitionsSupplier) UnoRuntime.queryInterface (
XQueryDefinitionsSupplier.class,
oDBSource);
-
+
XNameAccess defContainer = querySuppl.getQueryDefinitions ();
-
+
XPropertySet queryProp = (XPropertySet) UnoRuntime.queryInterface (
XPropertySet.class, newQuery);
-
+
try
{
final String query = "select * from " + tbl_name1 + ", " +
@@ -279,11 +279,11 @@ public class JoinViewAccessibility extends TestCase {
throw new StatusException (Status.failed (
"Couldn't set property value"));
}
-
+
XNameContainer queryContainer = (XNameContainer) UnoRuntime.queryInterface (
XNameContainer.class,
defContainer);
-
+
try
{
queryContainer.insertByName ("Query1", newQuery);
@@ -310,27 +310,27 @@ public class JoinViewAccessibility extends TestCase {
e.printStackTrace (log);
throw new StatusException (Status.failed ("Couldn't insert query"));
}
-
+
PropertyValue[] loadProps = new PropertyValue[3];
loadProps[0] = new PropertyValue ();
loadProps[0].Name = "QueryDesignView";
loadProps[0].Value = Boolean.TRUE;
-
+
loadProps[1] = new PropertyValue ();
loadProps[1].Name = "CurrentQuery";
loadProps[1].Value = "Query1";
-
+
loadProps[2] = new PropertyValue ();
loadProps[2].Name = "DataSource";
loadProps[2].Value = oDBSource;
-
+
QueryComponent = DesktopTools.loadDoc ((XMultiServiceFactory) Param.getMSF (),".component:DB/QueryDesign",loadProps);
-
+
xWindow = UnoRuntime.queryInterface(XModel.class, QueryComponent).
getCurrentController().getFrame().getContainerWindow();
-
+
XAccessible xRoot = AccessibilityTools.getAccessibleObject (xWindow);
-
+
AccessibilityTools.printAccessibleTree (log,xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.VIEW_PORT);
@@ -345,7 +345,7 @@ public class JoinViewAccessibility extends TestCase {
final XWindow queryWin = xWindow;
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
Rectangle rect = queryWin.getPosSize();
@@ -359,10 +359,10 @@ public class JoinViewAccessibility extends TestCase {
/**
* Closes the DatasourceAdministration dialog and Query Dialog.
*/
- protected void cleanup(TestParameters Param, PrintWriter log) {
+ protected void cleanup(TestParameters Param, PrintWriter log) {
try
{
-
+
log.println ("closing QueryComponent ...");
DesktopTools.closeDoc (QueryComponent);
log.println ("... done");
diff --git a/qadevOOo/tests/java/mod/_dbaccess/OCommandDefinition.java b/qadevOOo/tests/java/mod/_dbaccess/OCommandDefinition.java
index 0d06f813396d..82c9a2afd9c0 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/OCommandDefinition.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/OCommandDefinition.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_dbaccess/ODatabaseContext.java b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseContext.java
index 0cec0c8b1b28..d7741e30d6d4 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseContext.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseContext.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -120,15 +120,15 @@ public class ODatabaseContext extends TestCase {
UnoRuntime.queryInterface(XPropertySet.class, oInterface) ;
xDSProps.setPropertyValue("URL", "sdbc:dbase:file:///.") ;
-
+
XDocumentDataSource xDDS = (XDocumentDataSource)
UnoRuntime.queryInterface(XDocumentDataSource.class, oInterface);
XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class,
xDDS.getDatabaseDocument ());
String aFile = utils.getOfficeTemp ((XMultiServiceFactory) Param.getMSF ())+"DatabaseContext.odb";
log.println("store to '" + aFile + "'");
- store.storeAsURL(aFile,new PropertyValue[]{});
-
+ store.storeAsURL(aFile,new PropertyValue[]{});
+
tEnv.addObjRelation("XNamingService.RegisterObject", oInterface) ;
tEnv.addObjRelation("INSTANCE", oInterface);
diff --git a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java
index 05ddc216df88..616fe4965cb3 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -98,13 +98,13 @@ public class ODatabaseSource extends TestCase {
protected void initialize ( TestParameters Param, PrintWriter log) {
uniqueSuffix = uniqueSuffixStat++ ;
}
-
+
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing not longer needed docs... ");
DesktopTools.closeDoc(xDBDoc);
}
-
-
+
+
/**
* Creating a Testenvironment for the interfaces to be tested.
@@ -133,7 +133,7 @@ public class ODatabaseSource extends TestCase {
try{
oInterface = xMSF.createInstance( "com.sun.star.sdb.DatabaseContext" );
- if (oInterface == null)
+ if (oInterface == null)
throw new StatusException("Could not get service 'com.sun.star.sdb.DatabaseContext'", new Exception());
}catch( Exception e ) {
@@ -153,8 +153,8 @@ public class ODatabaseSource extends TestCase {
try{
XInterface oDatabaseDoc = (XInterface) xMSF.createInstance
("com.sun.star.sdb.OfficeDatabaseDocument") ;
-
- if (oDatabaseDoc == null)
+
+ if (oDatabaseDoc == null)
throw new StatusException("Could not get service 'com.sun.star.sdb.OfficeDatabaseDocument'", new Exception());
xDBDoc = (XOfficeDatabaseDocument) UnoRuntime.queryInterface(
@@ -169,12 +169,12 @@ public class ODatabaseSource extends TestCase {
oObj = (XInterface) xDBDoc.getDataSource();
log.println("ImplementationName: " + utils.getImplName(oObj));
-
+
// Creating new DBase data source in the TEMP directory
XPropertySet xSrcProp = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, oObj);
-
+
try{
xSrcProp.setPropertyValue("URL", tmpDatabaseUrl) ;
} catch ( UnknownPropertyException e){
@@ -198,7 +198,7 @@ public class ODatabaseSource extends TestCase {
// registering source in DatabaseContext
XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class, xDBDoc);
- String aFile = utils.getOfficeTemp ((XMultiServiceFactory) Param.getMSF ())+"DataSource.odb";
+ String aFile = utils.getOfficeTemp ((XMultiServiceFactory) Param.getMSF ())+"DataSource.odb";
try{
store.storeAsURL(aFile,new PropertyValue[]{});
} catch (IOException e){
@@ -210,16 +210,16 @@ public class ODatabaseSource extends TestCase {
e.printStackTrace ();
throw new StatusException("Could not save ", e) ;
}
-
+
try{
- xDBContextNameServ.registerObject(databaseName, oObj) ;
+ xDBContextNameServ.registerObject(databaseName, oObj) ;
} catch (Exception e){
log.println("Could not register data source" );
e.printStackTrace ();
throw new StatusException("Could not register ", e) ;
}
-
+
log.println( " creating a new environment for object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
diff --git a/qadevOOo/tests/java/mod/_dbaccess/ODatasourceAdministrationDialog.java b/qadevOOo/tests/java/mod/_dbaccess/ODatasourceAdministrationDialog.java
index ed64db1081eb..92a5004dcac5 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/ODatasourceAdministrationDialog.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/ODatasourceAdministrationDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_dbaccess/ODatasourceBrowser.java b/qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java
index 867888684ee2..c13fc05bacc3 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/ODatasourceBrowser.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -107,7 +107,7 @@ public class ODatasourceBrowser extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory)Param.getMSF()));
System.setProperty("hideMe", "false");
@@ -182,7 +182,7 @@ public class ODatasourceBrowser extends TestCase {
* @see com.sun.star.frame.XController
* @see com.sun.star.frame.XDispatchProvider
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
log.println("creating a test environment");
@@ -214,7 +214,7 @@ public class ODatasourceBrowser extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
@@ -273,15 +273,15 @@ public class ODatasourceBrowser extends TestCase {
shortWait();
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"CommandButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel shapeModel = aShape.getControl();
XControlAccess xCtrlAccess = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
secondController);
XControl xCtrl = null;
@@ -292,7 +292,7 @@ public class ODatasourceBrowser extends TestCase {
e.printStackTrace(log);
}
- XWindow docWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow docWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
xCtrl);
log.println("creating a new environment for ODatasourceBrowser object");
@@ -312,7 +312,7 @@ public class ODatasourceBrowser extends TestCase {
// Addig relation for XDispatchProvider
- tEnv.addObjRelation("XDispatchProvider.URL",
+ tEnv.addObjRelation("XDispatchProvider.URL",
".uno:DataSourceBrowser/FormLetter");
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_dbaccess/OInteractionHandler.java b/qadevOOo/tests/java/mod/_dbaccess/OInteractionHandler.java
index 947fa6b1c9fe..93652025b748 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/OInteractionHandler.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/OInteractionHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_dbaccess/OQueryDesign.java b/qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java
index 73850dbaf64b..6f1e677d7d8b 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,12 +89,12 @@ public class OQueryDesign extends TestCase {
XMultiServiceFactory xMSF = (XMultiServiceFactory) Param.getMSF();
XNameAccess xNameAccess = null;
-
+
// we use the first datasource
- XDataSource xDS = null;
+ XDataSource xDS = null;
try {
xNameAccess = (XNameAccess) UnoRuntime.queryInterface(
- XNameAccess.class,
+ XNameAccess.class,
xMSF.createInstance("com.sun.star.sdb.DatabaseContext"));
} catch (Exception ex) {
ex.printStackTrace( log );
@@ -112,13 +112,13 @@ public class OQueryDesign extends TestCase {
}
try {
xNameAccess = (XNameAccess) UnoRuntime.queryInterface(
- XNameAccess.class,
+ XNameAccess.class,
xMSF.createInstance("com.sun.star.sdb.DatabaseContext"));
} catch (Exception ex) {
ex.printStackTrace( log );
throw new StatusException( "Could not get DatabaseConext", ex );
}
-
+
log.println("check XMultiServiceFactory");
try {
@@ -149,14 +149,14 @@ public class OQueryDesign extends TestCase {
shortWait();
Object oDBC = null;
-
+
try {
oDBC = xMSF.createInstance( "com.sun.star.sdb.DatabaseContext" );
}
catch( com.sun.star.uno.Exception e ) {
throw new StatusException("Could not instantiate DatabaseContext", e) ;
}
-
+
Object oDataSource = null;
try{
XNameAccess xNA = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, oDBC);
@@ -168,11 +168,11 @@ public class OQueryDesign extends TestCase {
}
XDocumentDataSource xDDS = (XDocumentDataSource) UnoRuntime.queryInterface(XDocumentDataSource.class, oDataSource);
// XModel xMod = (XModel) UnoRuntime.queryInterface(XModel.class, xDDS.getDatabaseDocument ());
-
+
// Frame = xMod.getCurrentController().getFrame();
-
+
xFrame = DesktopTools.getCurrentFrame(xMSF);
-
+
// get an instance of Frame
Object oFrame = null;
SOfficeFactory SOF = null;
@@ -187,9 +187,9 @@ public class OQueryDesign extends TestCase {
}
XModel xDocMod = (XModel) UnoRuntime.queryInterface(XModel.class, xTextDoc);
-
+
XFrame xTextFrame = xDocMod.getCurrentController().getFrame();
-
+
Object[] params = new Object[3];
param1 = new PropertyValue();
param1.Name = "DataSourceName";
@@ -204,9 +204,9 @@ public class OQueryDesign extends TestCase {
param3.Value = new Boolean(true);
params[2] = param3;
-
+
oObj = xFrame.getController();
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
//Adding ObjRelations for XInitialization
@@ -227,12 +227,12 @@ public class OQueryDesign extends TestCase {
PropertyValue ExceptionParam3 = new PropertyValue();
ExceptionParam3.Name = "QueryDesignView";
ExceptionParam3.Value = new Integer(17);//new Boolean(true);
- ExceptionParams[2] = ExceptionParam3;
+ ExceptionParams[2] = ExceptionParam3;
tEnv.addObjRelation("XInitialization.ExceptionArgs", ExceptionParams);
tEnv.addObjRelation("Frame", xFrame);
-
+
tEnv.addObjRelation("XInitialization.xIni", getUnititializedObj(Param));
log.println("ImplementationName: "+util.utils.getImplName(oObj));
@@ -240,14 +240,14 @@ public class OQueryDesign extends TestCase {
return tEnv;
} // finish method getTestEnvironment
-
+
private XInitialization getUnititializedObj(TestParameters Param){
// creating an object wihch ist not initialized
-
+
// get a model of a DataSource
Object oDBC = null;
XMultiServiceFactory xMSF;
-
+
try {
xMSF = (XMultiServiceFactory)Param.getMSF();
oDBC = xMSF.createInstance( "com.sun.star.sdb.DatabaseContext" );
@@ -255,7 +255,7 @@ public class OQueryDesign extends TestCase {
catch( com.sun.star.uno.Exception e ) {
throw new StatusException("Could not instantiate DatabaseContext", e) ;
}
-
+
Object oDataSource = null;
try{
XNameAccess xNA = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, oDBC);
@@ -265,7 +265,7 @@ public class OQueryDesign extends TestCase {
} catch ( com.sun.star.lang.WrappedTargetException e){
throw new StatusException("could not get '" + sDataSourceName + "'" , e) ;
}
-
+
XDocumentDataSource xDDS = (XDocumentDataSource) UnoRuntime.queryInterface(XDocumentDataSource.class, oDataSource);
XModel xMod = (XModel) UnoRuntime.queryInterface(XModel.class, xDDS.getDatabaseDocument ());
@@ -276,9 +276,9 @@ public class OQueryDesign extends TestCase {
}catch( com.sun.star.uno.Exception e ) {
throw new StatusException("Could not instantiate QueryDesign", e) ;
}
-
+
XController xCont = (XController) UnoRuntime.queryInterface(XController.class, oQueryDesign);
-
+
// marry them all
xCont.attachModel(xMod);
xMod.connectController(xCont);
@@ -287,13 +287,13 @@ public class OQueryDesign extends TestCase {
} catch (com.sun.star.container.NoSuchElementException e){
throw new StatusException("Could not set controller", e) ;
}
-
+
//xCont.attachFrame(xFrame);
-
+
return (XInitialization) UnoRuntime.queryInterface(XInitialization.class, oQueryDesign);
-
+
}
-
+
@Override
protected void cleanup(TestParameters tParam, PrintWriter log) {
try {
@@ -306,7 +306,7 @@ public class OQueryDesign extends TestCase {
} catch (com.sun.star.lang.DisposedException e) {
log.println("Connection was already closed. It's OK.") ;
}
-
+
}
/**
diff --git a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java
index c349d5dcdb28..a7a9cac89c50 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -255,7 +255,7 @@ public class ORowSet extends TestCase {
XMultiServiceFactory orb = (XMultiServiceFactory)Param.getMSF();
uniqueSuffix++;
boolean envCreatedOK = false ;
-
+
//initialize test table
if (isMySQLDB)
{
@@ -296,7 +296,7 @@ public class ORowSet extends TestCase {
while ( !utils.tryOverwriteFile( orb, oldF, newF ) );
m_tableFile = newF;
}
-
+
try
{
m_rowSet = orb.createInstance("com.sun.star.sdb.RowSet");
@@ -310,7 +310,7 @@ public class ORowSet extends TestCase {
rowSetProps.setPropertyValue("CommandType",
new Integer(CommandType.TABLE));
- final XRowSet rowSet = UnoRuntime.queryInterface( XRowSet.class, m_rowSet);
+ final XRowSet rowSet = UnoRuntime.queryInterface( XRowSet.class, m_rowSet);
rowSet.execute();
m_connection = UnoRuntime.queryInterface( XConnection.class, rowSetProps.getPropertyValue("ActiveConnection") );
@@ -578,16 +578,16 @@ public class ORowSet extends TestCase {
public class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
private boolean handlerWasUsed = false;
private PrintWriter log = new PrintWriter(System.out);
-
+
public boolean checkInteractionHandler() {
return handlerWasUsed;
}
-
+
public void handle(XInteractionRequest xInteractionRequest) {
log.println("### _XCompletedExecution.InteractionHandlerImpl: handle called.");
ParametersRequest req = null;
boolean abort = false;
-
+
Object o = xInteractionRequest.getRequest();
if (o instanceof ParametersRequest) {
req = (ParametersRequest)o;
@@ -602,7 +602,7 @@ public class ORowSet extends TestCase {
log.println("### This is not implemented in ORowSet.InteractionHandlerImpl test -> abort.");
abort = true;
}
-
+
XInteractionContinuation[]xCont = xInteractionRequest.getContinuations();
XInteractionSupplyParameters xParamCallback = null;
for(int i=0; i<xCont.length; i++) {
@@ -631,14 +631,14 @@ public class ORowSet extends TestCase {
xParamCallback.select();
}
else { // we should never reach this: abort has to be true first.
- log.println("### _XCompletedExecution.InteractionHandlerImpl: Got no " +
+ log.println("### _XCompletedExecution.InteractionHandlerImpl: Got no " +
"'XInteractionSupplyParameters' and no 'XInteractionAbort'.");
}
}
-
+
public void setLog(PrintWriter log) {
this.log = log;
}
-
+
}
}
diff --git a/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java b/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java
index 0b4ce3886df9..c4efa6a963b6 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -112,7 +112,7 @@ public class OSQLMessageDialog extends TestCase {
log.println("could not create instacne of 'com.sun.star.awt.Toolkit'" );
throw new StatusException("could not create instacne of 'com.sun.star.awt.Toolkit'", e) ;
}
-
+
// Describe the properties of the container window.
com.sun.star.awt.WindowDescriptor aDescriptor =
new com.sun.star.awt.WindowDescriptor();
@@ -131,7 +131,7 @@ public class OSQLMessageDialog extends TestCase {
com.sun.star.awt.XWindowPeer xPeer = null;
try{
-
+
xPeer = xToolkit.createWindow(aDescriptor) ;
} catch (com.sun.star.lang.IllegalArgumentException e){
@@ -140,8 +140,8 @@ public class OSQLMessageDialog extends TestCase {
}
com.sun.star.awt.XWindow xWindow = (com.sun.star.awt.XWindow)UnoRuntime.queryInterface (
- com.sun.star.awt.XWindow .class, xPeer);
-
+ com.sun.star.awt.XWindow .class, xPeer);
+
log.println( " creating a new environment for object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
diff --git a/qadevOOo/tests/java/mod/_dbaccess/OSingleSelectQueryComposer.java b/qadevOOo/tests/java/mod/_dbaccess/OSingleSelectQueryComposer.java
index 3fc9815fc904..d2b05478873c 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/OSingleSelectQueryComposer.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/OSingleSelectQueryComposer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -188,15 +188,15 @@ public class OSingleSelectQueryComposer extends TestCase {
xMSF = (XMultiServiceFactory)Param.getMSF();
XNameAccess xNameAccess = (XNameAccess)UnoRuntime.queryInterface(
- XNameAccess.class,
+ XNameAccess.class,
xMSF.createInstance("com.sun.star.sdb.DatabaseContext"));
// we use the first datasource
XDataSource xDS = (XDataSource)UnoRuntime.queryInterface(
- XDataSource.class, xNameAccess.getByName( "Bibliography" ));
-
+ XDataSource.class, xNameAccess.getByName( "Bibliography" ));
+
log.println("check XMultiServiceFactory");
XMultiServiceFactory xConn = (XMultiServiceFactory)
- UnoRuntime.queryInterface(XMultiServiceFactory.class,
+ UnoRuntime.queryInterface(XMultiServiceFactory.class,
xDS.getConnection(new String(),new String()));
log.println("check getAvailableServiceNames");
@@ -205,7 +205,7 @@ public class OSingleSelectQueryComposer extends TestCase {
{
log.println("Service 'SingleSelectQueryComposer' not supported");
}
-
+
oInterface = (XInterface) xConn.createInstance( sServiceNames[0]);
if (oInterface == null) {
@@ -229,26 +229,26 @@ public class OSingleSelectQueryComposer extends TestCase {
oRowSet) ;
xORowSet.execute() ;
-
+
XColumnsSupplier xColSup = (XColumnsSupplier)
UnoRuntime.queryInterface(XColumnsSupplier.class, oRowSet);
-
+
XNameAccess xCols = xColSup.getColumns();
-
+
XPropertySet xCol = (XPropertySet) AnyConverter.toObject(
new Type(XPropertySet.class),
xCols.getByName(xCols.getElementNames()[0]));
-
+
XSingleSelectQueryAnalyzer xQueryAna = (XSingleSelectQueryAnalyzer)
UnoRuntime.queryInterface(XSingleSelectQueryAnalyzer.class,
oInterface);
-
+
// XSingleSelectQueryComposer
XSingleSelectQueryComposer xComposer = (XSingleSelectQueryComposer)
UnoRuntime.queryInterface(XSingleSelectQueryComposer.class,
xQueryAna);
xQueryAna.setQuery("SELECT * FROM \"biblio\"");
-
+
oObj = (XInterface) oInterface;
log.println("ImplementationName: " + utils.getImplName(oObj));
@@ -257,13 +257,13 @@ public class OSingleSelectQueryComposer extends TestCase {
// for XSingleSelectQueryAnalyzer
tEnv.addObjRelation("xComposer", xComposer);
-
+
// for XSingleSelectQueryComposer
tEnv.addObjRelation("xQueryAna", xQueryAna);
-
+
tEnv.addObjRelation("xProp", xCol);
tEnv.addObjRelation("colName", xCols.getElementNames()[0]);
-
+
envCreatedOK = true ;
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java b/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java
index 020b58594957..01c1713199f9 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -168,12 +168,12 @@ public class SbaXGridControl 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);
- XInterface button = AccessibilityTools.getAccessibleObjectForRole(xRoot,
+ XInterface button = AccessibilityTools.getAccessibleObjectForRole(xRoot,
AccessibleRole.PUSH_BUTTON);
XAccessibleAction action = (XAccessibleAction) UnoRuntime.queryInterface(
@@ -234,7 +234,7 @@ public class SbaXGridControl extends TestCase {
* inserted into collection. Is a column instance.</li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -258,7 +258,7 @@ public class SbaXGridControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
try {
@@ -321,7 +321,7 @@ public class SbaXGridControl extends TestCase {
// creating another window
- aShape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
+ aShape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
10000, "TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
@@ -331,7 +331,7 @@ public class SbaXGridControl extends TestCase {
//Try to query XControlAccess
the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the TextControl
@@ -353,11 +353,11 @@ public class SbaXGridControl extends TestCase {
//Relations for XSelectionSupplier
- tEnv.addObjRelation("Selections",
+ tEnv.addObjRelation("Selections",
new Object[] {
new Object[] { new Integer(0) }, new Object[] { new Integer(1) }
});
- tEnv.addObjRelation("Comparer",
+ tEnv.addObjRelation("Comparer",
new Comparator() {
public int compare(Object o1, Object o2) {
return ((Integer) o1).compareTo((Integer)o2);
@@ -407,7 +407,7 @@ public class SbaXGridControl extends TestCase {
final XLoadable formLoaderF = formLoader;
final XPropertySet ps = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, aControl2);
- tEnv.addObjRelation("XUpdateBroadcaster.Checker",
+ tEnv.addObjRelation("XUpdateBroadcaster.Checker",
new ifc.form._XUpdateBroadcaster.UpdateChecker() {
private String lastText = "";
@@ -424,7 +424,7 @@ public class SbaXGridControl extends TestCase {
XBoundComponent bound = (XBoundComponent) UnoRuntime.queryInterface(
XBoundComponent.class, ctrl);
XResultSetUpdate update = (XResultSetUpdate) UnoRuntime.queryInterface(
- XResultSetUpdate.class,
+ XResultSetUpdate.class,
formLoaderF);
bound.commit();
@@ -441,7 +441,7 @@ public class SbaXGridControl extends TestCase {
return tEnv;
} // finish method getTestEnvironment
- public static XControlShape createGrid(XComponent oDoc, int height,
+ public static XControlShape createGrid(XComponent oDoc, int height,
int width, int x, int y) {
Size size = new Size();
Point position = new Point();
@@ -450,7 +450,7 @@ public class SbaXGridControl extends TestCase {
//get MSF
XMultiServiceFactory oDocMSF = (XMultiServiceFactory) UnoRuntime.queryInterface(
- XMultiServiceFactory.class,
+ XMultiServiceFactory.class,
oDoc);
try {
@@ -460,7 +460,7 @@ public class SbaXGridControl extends TestCase {
"com.sun.star.form.component.GridControl");
XPropertySet model_props = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, aCon);
- model_props.setPropertyValue("DefaultControl",
+ model_props.setPropertyValue("DefaultControl",
"com.sun.star.form.control.InteractionGridControl");
aControl = (XControlModel) UnoRuntime.queryInterface(
XControlModel.class, aCon);
diff --git a/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java b/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
index 4c39c1590890..7b5827a2475e 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +95,14 @@ public class TableWindowAccessibility extends TestCase {
* Creates a new query and adds it to DefinitionContainer.
* Opens the QueryComponent.with loadComponentFromURL
* and gets the object with the role PANEL and the implementation
- * name that contains TabelViewAccessibility
+ * name that contains TabelViewAccessibility
* @param Param test parameters
* @param log writer to log information while testing
* @return
* @throws StatusException
* @see TestEnvironment
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -110,7 +110,7 @@ public class TableWindowAccessibility extends TestCase {
Object oDBSource = null;
Object newQuery = null;
Object toolkit = null;
- XStorable store = null;
+ XStorable store = null;
try {
oDBContext = ((XMultiServiceFactory) Param.getMSF())
@@ -189,7 +189,7 @@ public class TableWindowAccessibility extends TestCase {
}
isolConnection = (XIsolatedConnection) UnoRuntime.queryInterface(
- XIsolatedConnection.class,
+ XIsolatedConnection.class,
oDBSource);
XConnection connection = null;
@@ -205,21 +205,21 @@ public class TableWindowAccessibility extends TestCase {
statement = connection.createStatement();
statement.executeUpdate("drop table if exists " + tbl_name1);
statement.executeUpdate("drop table if exists " + tbl_name2);
- statement.executeUpdate("create table " + tbl_name1 + " (" +
+ statement.executeUpdate("create table " + tbl_name1 + " (" +
col_name1 + " int)");
- statement.executeUpdate("create table " + tbl_name2 + " (" +
+ statement.executeUpdate("create table " + tbl_name2 + " (" +
col_name2 + " int)");
} catch (com.sun.star.sdbc.SQLException e) {
try {
shortWait();
- connection = isolConnection.getIsolatedConnection(user,
+ connection = isolConnection.getIsolatedConnection(user,
password);
statement = connection.createStatement();
statement.executeUpdate("drop table if exists " + tbl_name1);
statement.executeUpdate("drop table if exists " + tbl_name2);
- statement.executeUpdate("create table " + tbl_name1 + " (" +
+ statement.executeUpdate("create table " + tbl_name1 + " (" +
col_name1 + " int)");
- statement.executeUpdate("create table " + tbl_name2 + " (" +
+ statement.executeUpdate("create table " + tbl_name2 + " (" +
col_name2 + " int)");
} catch (com.sun.star.sdbc.SQLException e2) {
e2.printStackTrace(log);
@@ -228,7 +228,7 @@ public class TableWindowAccessibility extends TestCase {
}
XQueryDefinitionsSupplier querySuppl = (XQueryDefinitionsSupplier) UnoRuntime.queryInterface(
- XQueryDefinitionsSupplier.class,
+ XQueryDefinitionsSupplier.class,
oDBSource);
XNameAccess defContainer = querySuppl.getQueryDefinitions();
@@ -237,9 +237,9 @@ public class TableWindowAccessibility extends TestCase {
XPropertySet.class, newQuery);
try {
- final String query = "select * from " + tbl_name1 + ", " +
- tbl_name2 + " where " + tbl_name1 + "." +
- col_name1 + "=" + tbl_name2 + "." +
+ final String query = "select * from " + tbl_name1 + ", " +
+ tbl_name2 + " where " + tbl_name1 + "." +
+ col_name1 + "=" + tbl_name2 + "." +
col_name2;
queryProp.setPropertyValue("Command", query);
} catch (com.sun.star.lang.WrappedTargetException e) {
@@ -261,7 +261,7 @@ public class TableWindowAccessibility extends TestCase {
}
XNameContainer queryContainer = (XNameContainer) UnoRuntime.queryInterface(
- XNameContainer.class,
+ XNameContainer.class,
defContainer);
try {
@@ -284,34 +284,34 @@ public class TableWindowAccessibility extends TestCase {
e.printStackTrace(log);
throw new StatusException(Status.failed("Couldn't insert query"));
}
-
+
PropertyValue[] loadProps = new PropertyValue[3];
loadProps[0] = new PropertyValue();
loadProps[0].Name = "QueryDesignView";
loadProps[0].Value = Boolean.TRUE;
-
+
loadProps[1] = new PropertyValue();
loadProps[1].Name = "CurrentQuery";
- loadProps[1].Value = "Query1";
-
+ loadProps[1].Value = "Query1";
+
loadProps[2] = new PropertyValue();
loadProps[2].Name = "DataSource";
- loadProps[2].Value = oDBSource;
-
+ loadProps[2].Value = oDBSource;
+
QueryComponent = DesktopTools.loadDoc((XMultiServiceFactory) Param.getMSF (),".component:DB/QueryDesign",loadProps);
-
+
xWindow = UnoRuntime.queryInterface(XModel.class, QueryComponent).
getCurrentController().getFrame().getContainerWindow();
- XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
-
+ XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
+
AccessibilityTools.printAccessibleTree (log,xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL, "",
- "TableWindowAccessibility");
-
+ oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL, "",
+ "TableWindowAccessibility");
+
log.println("ImplementationName " + util.utils.getImplName(oObj));
-
+
log.println("creating TestEnvironment ... done");
TestEnvironment tEnv = new TestEnvironment(oObj);
@@ -319,21 +319,21 @@ public class TableWindowAccessibility extends TestCase {
shortWait();
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
-
+
final Point point = accComp.getLocationOnScreen();
-
- tEnv.addObjRelation("EventProducer",
+
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
- try {
+ try {
Robot rob = new Robot();
rob.mouseMove(point.X + 2, point.Y + 7);
- rob.mousePress(InputEvent.BUTTON1_MASK);
+ rob.mousePress(InputEvent.BUTTON1_MASK);
rob.mouseMove(point.X + 400, point.Y);
- rob.mouseRelease (InputEvent.BUTTON1_MASK);
+ rob.mouseRelease (InputEvent.BUTTON1_MASK);
} catch (java.awt.AWTException e) {
System.out.println("desired child doesn't exist");
}
@@ -346,10 +346,10 @@ public class TableWindowAccessibility extends TestCase {
/**
* Closes all open documents.
*/
- protected void cleanup(TestParameters Param, PrintWriter log) {
+ protected void cleanup(TestParameters Param, PrintWriter log) {
try
{
-
+
log.println ("closing QueryComponent ...");
DesktopTools.closeDoc (QueryComponent);
log.println ("... done");
@@ -364,7 +364,7 @@ public class TableWindowAccessibility extends TestCase {
e.printStackTrace ();
}
}
-
+
/**
* Sleeps for 1.5 sec. to allow StarOffice to react on <code>
diff --git a/qadevOOo/tests/java/mod/_dbpool/OConnectionPool.java b/qadevOOo/tests/java/mod/_dbpool/OConnectionPool.java
index 1ee00f74753f..eb00a417afd0 100644
--- a/qadevOOo/tests/java/mod/_dbpool/OConnectionPool.java
+++ b/qadevOOo/tests/java/mod/_dbpool/OConnectionPool.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_defreg/NestedRegistry.java b/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java
index baa1d5488be0..6f2e850c5ffe 100644
--- a/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java
+++ b/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +91,7 @@ public class NestedRegistry extends TestCase {
*/
protected void copyFile(String src, String dst, PrintWriter log)
throws java.io.IOException {
- log.println("Copy File "+src+" to "+dst);
+ log.println("Copy File "+src+" to "+dst);
File srcF = new File(src) ;
File dstF = new File(dst) ;
diff --git a/qadevOOo/tests/java/mod/_dtrans/generic.java b/qadevOOo/tests/java/mod/_dtrans/generic.java
index 6af6f1f1a2e8..cbcba7a9b4b2 100644
--- a/qadevOOo/tests/java/mod/_dtrans/generic.java
+++ b/qadevOOo/tests/java/mod/_dtrans/generic.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_dynamicloader/Dynamic.java b/qadevOOo/tests/java/mod/_dynamicloader/Dynamic.java
index f0577f6ba628..b947b237298c 100644
--- a/qadevOOo/tests/java/mod/_dynamicloader/Dynamic.java
+++ b/qadevOOo/tests/java/mod/_dynamicloader/Dynamic.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_file/calc/ODriver.java b/qadevOOo/tests/java/mod/_file/calc/ODriver.java
index 0bb05fd82670..8ffd03254d4c 100644
--- a/qadevOOo/tests/java/mod/_file/calc/ODriver.java
+++ b/qadevOOo/tests/java/mod/_file/calc/ODriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_file/dbase/ODriver.java b/qadevOOo/tests/java/mod/_file/dbase/ODriver.java
index 14884a39b193..572b2b637855 100644
--- a/qadevOOo/tests/java/mod/_file/dbase/ODriver.java
+++ b/qadevOOo/tests/java/mod/_file/dbase/ODriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_file/flat/ODriver.java b/qadevOOo/tests/java/mod/_file/flat/ODriver.java
index e6d293474a85..fb28efebd2f5 100644
--- a/qadevOOo/tests/java/mod/_file/flat/ODriver.java
+++ b/qadevOOo/tests/java/mod/_file/flat/ODriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fileacc/SimpleFileAccess.java b/qadevOOo/tests/java/mod/_fileacc/SimpleFileAccess.java
index 3c4a33d2bbc5..d2a19f1418f9 100644
--- a/qadevOOo/tests/java/mod/_fileacc/SimpleFileAccess.java
+++ b/qadevOOo/tests/java/mod/_fileacc/SimpleFileAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fop/FolderPicker.java b/qadevOOo/tests/java/mod/_fop/FolderPicker.java
index fc400efb1783..8f3ed5536ea8 100644
--- a/qadevOOo/tests/java/mod/_fop/FolderPicker.java
+++ b/qadevOOo/tests/java/mod/_fop/FolderPicker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_forms/GenericModelTest.java b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
index dce88234885f..8ddbbc293a06 100644
--- a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
+++ b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +138,19 @@ public class GenericModelTest extends TestCase {
private static DBTools.DataSourceInfo m_srcInf = null;
/**
* This is the name of the Data Base which the test uses: "APITestDatabase"
- */
+ */
protected final static String m_dbSourceName = "APITestDatabase";
protected final static String m_TestDB = "TestDB";
private DBTools m_dbTools = null;
-
+
private static boolean m_ConnectionColsed = false;
-
+
/**
* descibes the kind of the shape which should be created.
* Example: m_kindOfshape=DateFiled
- */
+ */
public static String m_kindOfControl = null;
-
+
/**
* If your object needs some special propery values you can specify them with this
* <CODE>ArrayList</CODE>. You have to add a <CODE>NamedValue</CODE> to this list.
@@ -159,9 +159,9 @@ public class GenericModelTest extends TestCase {
* myProp.Name = "Test";
* myProp.Value = "My special Value";
* m_propertiesToSet.add(myProp);
- */
+ */
public static ArrayList m_propertiesToSet = new ArrayList();
-
+
/**
* This variable contains the name of the property which should be changed while
* interface <CODE>com::sun::star::form::XUpdateBroadcaster</CODE> is tested. The
@@ -169,7 +169,7 @@ public class GenericModelTest extends TestCase {
* "XUpdateBroadcaster.Checker" which is a <CODE>ifc.form._XUpdateBroadcaster.UpdateChecker</CODE>.
* @see ifc.form._XUpdateBroadcaster.UpdateChecker
* @see ifc.form._XUpdateBroadcaster
- */
+ */
public static String m_ChangePropertyName = null;
/**
* This variable contains the value the property should be set while
@@ -180,28 +180,28 @@ public class GenericModelTest extends TestCase {
* the value of the property. If the current of this property is NULL the
* <CODE>ValueChanger</CODE> is unable to change the value. In this case the value
* of this variable was used.
- */
+ */
public static Object m_ChangePropertyValue = null;
-
+
/**
* This variable contains the implelemtation name of the object.
- */
+ */
public static String m_ObjectName = null;
-
+
/**
* For local implementaions of <CODE>Checker</CODE> this variable contains the
* <CODE>FormLoader</CODE>
- */
+ */
protected static XLoadable m_XFormLoader = null;
/**
* For local implementaions of <CODE>Checker</CODE> this variable contains the
* <CODE>XPropertySet</CODE>
- */
+ */
protected static XPropertySet m_XPS = null;
/**
* For local implementaions of <CODE>Checker</CODE> this variable contains the
* <CODE>Control</CODE>
- */
+ */
protected static XInterface m_XCtrl = null;
/**
* The insterface test of <CODE>ifc.form._DataWareControlModel</CODE> expects an
@@ -211,16 +211,16 @@ public class GenericModelTest extends TestCase {
* @see ifc.form._DataAwareControlModel
*/
protected static String m_LCShape_Type = null;
-
+
protected static String m_XPropertyAccess_propertyToChange = "HelpText";
-
+
protected static String m_XPropertyContainer_propertyNotRemovable = "HelpText";
/**
- * If this variable is true some more debug info was logged. It was setted by the parameter variable
+ * If this variable is true some more debug info was logged. It was setted by the parameter variable
* <code>debug_is_active</code>
*/
protected static boolean debug = false;
-
+
/**
* Creates Writer document where controls are placed.
* @param tParam the test paremter
@@ -244,19 +244,19 @@ public class GenericModelTest extends TestCase {
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println("closing connection...");
-
+
// some interface tests call cleanup to reset the environment. If such
// a test is the last one cleanup was called twice. The second call
// causes then nasty exceptions...
if (m_ConnectionColsed) return;
-
+
try {
- XForm myForm = (XForm) AnyConverter.toObject(new Type(XForm.class),
+ XForm myForm = (XForm) AnyConverter.toObject(new Type(XForm.class),
(FormTools.getForms(
WriterTools.getDrawPage(
m_xTextDoc)))
.getByName("Standard"));
-
+
if (debug){
if (myForm == null){
log.println("ERROR: could not get 'Standard' from drawpage!");
@@ -266,18 +266,18 @@ public class GenericModelTest extends TestCase {
for (int i = 0; i< elements.length; i++){
log.println("Element[" + i + "] :" + elements[i]);
}
-
+
}
-
+
XPropertySet xSetProp = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, myForm);
XConnection connection = (XConnection) AnyConverter.toObject(
- new Type(XConnection.class),
+ new Type(XConnection.class),
xSetProp.getPropertyValue("ActiveConnection"));
if (debug && connection == null){
log.println("ERROR: could not get property 'ActiveConnection' from the XForm");
}
-
+
connection.close();
} catch (Exception e) {
log.println("ERROR: Can't close the connection: " + e.toString());
@@ -306,7 +306,7 @@ public class GenericModelTest extends TestCase {
} catch (Exception e) {
log.println("ERROR: couldn't close data source: " + e.toString());
}
-
+
log.println("disposing data source...");
try {
XComponent dataSourceComp = (XComponent)UnoRuntime.queryInterface(
@@ -316,7 +316,7 @@ public class GenericModelTest extends TestCase {
catch (Exception e) {
log.println("couldn't dispose the data source");
}
-
+
log.println("closing document...");
try {
@@ -338,7 +338,7 @@ public class GenericModelTest extends TestCase {
} catch (com.sun.star.uno.Exception e) {
log.println("ERROR: Error while object test cleaning up: " + e.toString());
}
-
+
m_ConnectionColsed = true;
}
@@ -377,40 +377,40 @@ public class GenericModelTest extends TestCase {
* @param log the log writer
* @return a test environment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XControlShape aShape = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory) Param.getMSF();
-
+
try{
log.println("adding contol shape '" + m_kindOfControl + "'");
- aShape = FormTools.createControlShape(m_xTextDoc, 3000,
- 4500, 15000, 10000,
+ aShape = FormTools.createControlShape(m_xTextDoc, 3000,
+ 4500, 15000, 10000,
m_kindOfControl);
} catch (Exception e){
e.printStackTrace(log);
- throw new StatusException("Couldn't create following control shape (m_kindOfControl): '" +
+ throw new StatusException("Couldn't create following control shape (m_kindOfControl): '" +
m_kindOfControl + "': ", e);
-
+
}
WriterTools.getDrawPage(m_xTextDoc).add((XShape) aShape);
oObj = aShape.getControl();
-
+
log.println("Implementation name: " + util.utils.getImplName(oObj));
try {
String sourceTestDB = utils.getFullURL(utils.getFullTestDocName("TestDB/testDB.dbf"));
String destTestDB = utils.getOfficeTemp(xMSF);
destTestDB = utils.getFullURL(destTestDB + "testDB.dbf");
-
+
log.println("copy '"+sourceTestDB + "' -> '" + destTestDB + "'");
utils.copyFile(xMSF, sourceTestDB, destTestDB);
-
+
m_dbTools = new DBTools( xMSF, log );
String tmpDir = utils.getOfficeTemp((xMSF));
-
+
m_srcInf = m_dbTools.newDataSourceInfo();
m_srcInf.URL = "sdbc:dbase:" + DBTools.dirToUrl(tmpDir);
log.println("data source: " + m_srcInf.URL);
@@ -418,7 +418,7 @@ public class GenericModelTest extends TestCase {
m_dbSrc = m_srcInf.getDataSourceService();
m_dbTools.reRegisterDB(m_dbSourceName, m_dbSrc);
- m_XFormLoader = FormTools.bindForm(m_xTextDoc, m_dbSourceName,
+ m_XFormLoader = FormTools.bindForm(m_xTextDoc, m_dbSourceName,
m_TestDB);
} catch (com.sun.star.uno.Exception e) {
log.println("!!! Can't access TestDB !!!");
@@ -429,25 +429,25 @@ public class GenericModelTest extends TestCase {
log.println("creating a new environment for object");
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("OBJNAME", m_ObjectName);
-
+
log.println("adding shape '" + m_LCShape_Type +"' for DataAwareControlModel test");
- aShape = FormTools.createControlShape(m_xTextDoc, 6000, 4500, 15000,
+ aShape = FormTools.createControlShape(m_xTextDoc, 6000, 4500, 15000,
10000, m_LCShape_Type);
WriterTools.getDrawPage(m_xTextDoc).add((XShape) aShape);
m_XPS = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oObj);
-
+
int i = 0;
NamedValue prop = null;
try {
for (i = 0; i < m_propertiesToSet.size(); i++){
prop = (NamedValue) m_propertiesToSet.get(i);
-
+
log.println("setting property: '"+prop.Name+"' to value '"+prop.Value.toString()+"'");
-
+
m_XPS.setPropertyValue(prop.Name, prop.Value);
}
} catch (com.sun.star.lang.WrappedTargetException e) {
@@ -475,12 +475,12 @@ public class GenericModelTest extends TestCase {
// adding relation for XUpdateBroadcaster
m_XCtrl = oObj;
-
- tEnv.addObjRelation("XUpdateBroadcaster.Checker",
+
+ tEnv.addObjRelation("XUpdateBroadcaster.Checker",
new Checker(m_XFormLoader, m_XPS, m_XCtrl, m_ChangePropertyName, m_ChangePropertyValue));
// adding relation for DataAwareControlModel service
- tEnv.addObjRelation("DataAwareControlModel.NewFieldName",
+ tEnv.addObjRelation("DataAwareControlModel.NewFieldName",
DBTools.TST_DATE_F);
//adding ObjRelation for XPersistObject
@@ -490,18 +490,18 @@ public class GenericModelTest extends TestCase {
java.util.HashSet exclude = new java.util.HashSet();
exclude.add("FormatKey");
tEnv.addObjRelation("XFastPropertySet.ExcludeProps", exclude);
-
+
PropertyValue propVal = new PropertyValue();
propVal.Name = m_XPropertyAccess_propertyToChange;
propVal.Value = "Text since XPropertyAccess";
tEnv.addObjRelation("XPropertyAccess.propertyToChange", propVal);
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", m_XPropertyContainer_propertyNotRemovable);
-
+
return tEnv;
} // finish method getTestEnvironment
-
-
+
+
static class Checker implements ifc.form._XUpdateBroadcaster.UpdateChecker {
private Object lastValue = null;
XLoadable formLoaderF = null;
@@ -509,7 +509,7 @@ public class GenericModelTest extends TestCase {
XInterface ctrl = null;
String ChangePropertyName = null;
Object ChangePropertyValue = null;
-
+
public Checker(XLoadable xl, XPropertySet ps, XInterface ctrl, String ChangePropertyName, Object ChangePropertyValue) {
formLoaderF = xl;
this.ps = ps;
@@ -517,26 +517,26 @@ public class GenericModelTest extends TestCase {
this.ChangePropertyName=ChangePropertyName;
this.ChangePropertyValue=ChangePropertyValue;
}
-
+
public void update() throws com.sun.star.uno.Exception {
if (!formLoaderF.isLoaded()) {
formLoaderF.load();
}
lastValue = util.ValueChanger.changePValue(ps.getPropertyValue(ChangePropertyName));
-
+
if (lastValue == null){
if (ChangePropertyValue != null){
-
+
lastValue = ChangePropertyValue;
-
+
} else {
-
+
String msg = "The initial value of the property '" + ChangePropertyName + "' is NULL\n";
msg += "The member variable 'm_ChangePropertyValue' is NULL\n";
msg += "Could not change Property.";
-
+
throw new StatusException(Status.failed(msg));
}
}
@@ -547,7 +547,7 @@ public class GenericModelTest extends TestCase {
XBoundComponent bound = (XBoundComponent) UnoRuntime.queryInterface(
XBoundComponent.class, ctrl);
XResultSetUpdate update = (XResultSetUpdate) UnoRuntime.queryInterface(
- XResultSetUpdate.class,
+ XResultSetUpdate.class,
formLoaderF);
bound.commit();
diff --git a/qadevOOo/tests/java/mod/_forms/OButtonControl.java b/qadevOOo/tests/java/mod/_forms/OButtonControl.java
index d6bff70496db..7d21c2deead6 100644
--- a/qadevOOo/tests/java/mod/_forms/OButtonControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OButtonControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -119,7 +119,7 @@ public class OButtonControl extends TestCase {
} catch (com.sun.star.util.CloseVetoException e) {
log.println("couldn't close document");
} catch (com.sun.star.lang.DisposedException e) {
- log.println("couldn't close document");
+ log.println("couldn't close document");
}
}
@@ -152,7 +152,7 @@ public class OButtonControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -162,16 +162,16 @@ public class OButtonControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"CommandButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -180,7 +180,7 @@ public class OButtonControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OButtonControl
@@ -212,7 +212,7 @@ public class OButtonControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_forms/OButtonModel.java b/qadevOOo/tests/java/mod/_forms/OButtonModel.java
index 5c5618f5167e..b648236a9533 100644
--- a/qadevOOo/tests/java/mod/_forms/OButtonModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ import lib.TestParameters;
* @see ifc.lang._XComponent
*/
public class OButtonModel extends GenericModelTest {
-
+
/**
* Set some member variable of the super class <CODE>GenericModelTest</CODE>:
* <pre>
@@ -98,17 +98,17 @@ public class OButtonModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="CommandButton";
-
+
super.m_ObjectName = "stardiv.one.form.component.CommandButton";
-
+
super.m_LCShape_Type = "CommandButton";
-
+
}
/**
* calls <CODE>cleanup()</CODE> from it's super class
@@ -118,8 +118,8 @@ public class OButtonModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
-
+
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
* @param Param the test parameter
@@ -130,5 +130,5 @@ public class OButtonModel extends GenericModelTest {
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
-
+
} // finish class OButtonModelold
diff --git a/qadevOOo/tests/java/mod/_forms/OCheckBoxControl.java b/qadevOOo/tests/java/mod/_forms/OCheckBoxControl.java
index fc01ddfc9c04..70ee585e3083 100644
--- a/qadevOOo/tests/java/mod/_forms/OCheckBoxControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OCheckBoxControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 OCheckBoxControl extends TestCase {
} catch (com.sun.star.util.CloseVetoException e) {
log.println("couldn't close document");
} catch (com.sun.star.lang.DisposedException e) {
- log.println("couldn't close document");
+ log.println("couldn't close document");
}
}
diff --git a/qadevOOo/tests/java/mod/_forms/OCheckBoxModel.java b/qadevOOo/tests/java/mod/_forms/OCheckBoxModel.java
index 9a569c833470..342e6d6aff48 100644
--- a/qadevOOo/tests/java/mod/_forms/OCheckBoxModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OCheckBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -115,13 +115,13 @@ public class OCheckBoxModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl= "CheckBox";
-
+
super.m_ObjectName = "stardiv.one.form.component.CheckBox";
-
+
super.m_LCShape_Type = "FixedText";
}
@@ -133,7 +133,7 @@ public class OCheckBoxModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -141,7 +141,7 @@ public class OCheckBoxModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OComboBoxControl.java b/qadevOOo/tests/java/mod/_forms/OComboBoxControl.java
index bc9c315e9443..5e21356f623b 100644
--- a/qadevOOo/tests/java/mod/_forms/OComboBoxControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OComboBoxControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -164,7 +164,7 @@ public class OComboBoxControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -174,16 +174,16 @@ public class OComboBoxControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"ComboBox");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -192,7 +192,7 @@ public class OComboBoxControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OButtonControl
@@ -225,14 +225,14 @@ public class OComboBoxControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/OComboBoxModel.java b/qadevOOo/tests/java/mod/_forms/OComboBoxModel.java
index 4f3b256fa982..326ccda4554d 100644
--- a/qadevOOo/tests/java/mod/_forms/OComboBoxModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OComboBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -123,22 +123,22 @@ public class OComboBoxModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "Text";
-
+
super.m_kindOfControl="ComboBox";
-
+
super.m_ObjectName = "stardiv.one.form.component.ComboBox";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_STRING_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_STRING_F;
super.m_propertiesToSet.add(DataField);
-
+
super.m_LCShape_Type = "FixedText";
-
+
}
/**
* calls <CODE>cleanup()</CODE> from it's super class
@@ -148,7 +148,7 @@ public class OComboBoxModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -156,7 +156,7 @@ public class OComboBoxModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OCurrencyControl.java b/qadevOOo/tests/java/mod/_forms/OCurrencyControl.java
index 6cbcb2de6bce..c3977ec7eb63 100644
--- a/qadevOOo/tests/java/mod/_forms/OCurrencyControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OCurrencyControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -167,7 +167,7 @@ public class OCurrencyControl extends TestCase {
* can have only numeric values the relation must be specified. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -177,16 +177,16 @@ public class OCurrencyControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"CurrencyField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -195,7 +195,7 @@ public class OCurrencyControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OCurrencyControl
@@ -232,14 +232,14 @@ public class OCurrencyControl extends TestCase {
tEnv.addObjRelation("XTextComponent.onlyNumbers", new Object());
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/OCurrencyModel.java b/qadevOOo/tests/java/mod/_forms/OCurrencyModel.java
index 319e1a90a502..c1c98761239b 100644
--- a/qadevOOo/tests/java/mod/_forms/OCurrencyModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OCurrencyModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -118,23 +118,23 @@ public class OCurrencyModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ObjectName = "stardiv.one.form.component.CurrencyField";
super.m_kindOfControl="CurrencyField";
-
- NamedValue myProp = new NamedValue();
+
+ NamedValue myProp = new NamedValue();
myProp.Name = "DataField";
- myProp.Value = "Identifier";
+ myProp.Value = "Identifier";
super.m_propertiesToSet.add(myProp);
super.m_ChangePropertyName = "Value";
super.m_ChangePropertyValue = new Double(0);
-
+
super.m_LCShape_Type = "FixedText";
-
+
}
/**
* calls <CODE>cleanup()</CODE> from it's super class
@@ -144,7 +144,7 @@ public class OCurrencyModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -152,7 +152,7 @@ public class OCurrencyModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
index 4b360e20fd10..a060245ddfde 100644
--- a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
+++ b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -283,7 +283,7 @@ public class ODatabaseForm extends TestCase {
} catch (com.sun.star.uno.Exception e) {
log.println("Error while object test initialization :");
e.printStackTrace(log);
- throw new StatusException("Error while object test" +
+ throw new StatusException("Error while object test" +
" initialization", e);
}
} else {
@@ -291,9 +291,9 @@ public class ODatabaseForm extends TestCase {
try {
String myDbUrl = "sdbc:dbase:" + DBTools.dirToUrl(tmpDir);
srcInf.URL = myDbUrl;
-
+
log.println("try to register '"+myDbUrl+"' as '"+dbSourceName+"'");
-
+
dbSrc = srcInf.getDataSourceService();
dbTools.reRegisterDB(dbSourceName, dbSrc);
} catch (com.sun.star.uno.Exception e) {
@@ -309,9 +309,9 @@ public class ODatabaseForm extends TestCase {
do {
tableName = "ODatabaseForm_tmp" + uniqueSuffix;
oldF = utils.getFullURL(origDB);
- newF = utils.getOfficeTemp((XMultiServiceFactory) tParam.getMSF()) + tableName +
+ newF = utils.getOfficeTemp((XMultiServiceFactory) tParam.getMSF()) + tableName +
".dbf";
- } while (!utils.tryOverwriteFile(((XMultiServiceFactory) tParam.getMSF()), oldF, newF) &&
+ } while (!utils.tryOverwriteFile(((XMultiServiceFactory) tParam.getMSF()), oldF, newF) &&
(uniqueSuffix++ < 50));
}
}
@@ -319,7 +319,7 @@ public class ODatabaseForm extends TestCase {
/**
* * creating a Testenvironment for the interfaces to be tested
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
if (xTextDoc != null) {
try {
@@ -383,10 +383,10 @@ public class ODatabaseForm extends TestCase {
XLoadable formLoader = null;
try {
- formLoader = FormTools.bindForm(xTextDoc, "MyForm", dbSourceName,
+ formLoader = FormTools.bindForm(xTextDoc, "MyForm", dbSourceName,
tableName);
} catch (com.sun.star.uno.Exception e) {
- log.println("Cann't bind the form to source '" + dbSourceName +
+ log.println("Cann't bind the form to source '" + dbSourceName +
"', table '" + tableName + "' :");
e.printStackTrace(log);
throw new StatusException("Cann't bind a form", e);
@@ -409,12 +409,12 @@ public class ODatabaseForm extends TestCase {
log.println("Elements in the 'MyForm' :");
XIndexAccess formElements1 = (XIndexAccess) UnoRuntime.queryInterface(
- XIndexAccess.class,
+ XIndexAccess.class,
forms.getByName("MyForm"));
for (int i = 0; i < formElements1.getCount(); i++) {
XNamed elemName = (XNamed) UnoRuntime.queryInterface(
- XNamed.class,
+ XNamed.class,
formElements1.getByIndex(i));
log.println(" '" + elemName.getName() + "'");
}
@@ -424,14 +424,14 @@ public class ODatabaseForm extends TestCase {
//put something on the drawpage
log.println("inserting some ControlShapes");
oShapes = DrawTools.getShapes(WriterTools.getDrawPage(xTextDoc));
- shape1 = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
+ shape1 = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
1000, "CommandButton");
- shape2 = FormTools.createControlShape(xTextDoc, 5000, 3500, 7500,
+ shape2 = FormTools.createControlShape(xTextDoc, 5000, 3500, 7500,
5000, "TextField");
- XControlShape shape3 = FormTools.createControlShape(xTextDoc, 2000,
- 1500, 1000,
- 1000,
+ XControlShape shape3 = FormTools.createControlShape(xTextDoc, 2000,
+ 1500, 1000,
+ 1000,
"CheckBox");
oShapes.add((XShape) shape1);
oShapes.add((XShape) shape2);
@@ -451,12 +451,12 @@ public class ODatabaseForm extends TestCase {
log.println("Elements in the 'MyForm' :");
XIndexAccess formElements1 = (XIndexAccess) UnoRuntime.queryInterface(
- XIndexAccess.class,
+ XIndexAccess.class,
forms.getByName("MyForm"));
for (int i = 0; i < formElements1.getCount(); i++) {
XNamed elemName = (XNamed) UnoRuntime.queryInterface(
- XNamed.class,
+ XNamed.class,
formElements1.getByIndex(i));
log.println(" '" + elemName.getName() + "'");
}
@@ -467,7 +467,7 @@ public class ODatabaseForm extends TestCase {
formLoader.load();
try {
- oObj = (XForm) AnyConverter.toObject(new Type(XForm.class),
+ oObj = (XForm) AnyConverter.toObject(new Type(XForm.class),
(FormTools.getForms(
WriterTools.getDrawPage(
xTextDoc)))
@@ -476,7 +476,7 @@ public class ODatabaseForm extends TestCase {
XPropertySet xSetProp = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oObj);
connection = (XConnection) AnyConverter.toObject(
- new Type(XConnection.class),
+ new Type(XConnection.class),
xSetProp.getPropertyValue("ActiveConnection"));
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't get Form");
@@ -498,7 +498,7 @@ public class ODatabaseForm extends TestCase {
// adding relation for XSubmit
XControlModel the_Model = shape2.getControl();
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
XControl cntrl = null;
@@ -520,7 +520,7 @@ public class ODatabaseForm extends TestCase {
} catch (SQLException e) {
log.println("Cann't move cursor to the first row.");
e.printStackTrace();
- throw new StatusException("Can't move cursor to the first row.", e);
+ throw new StatusException("Can't move cursor to the first row.", e);
}
tEnv.addObjRelation("Model1", shape1.getControl());
@@ -555,9 +555,9 @@ public class ODatabaseForm extends TestCase {
}
for (int n = 1; n < (2 * (THRCNT + 1)); n++) {
- log.println("adding INSTANCE" + n +
+ log.println("adding INSTANCE" + n +
" as obj relation to environment");
- tEnv.addObjRelation("INSTANCE" + n,
+ tEnv.addObjRelation("INSTANCE" + n,
FormTools.createControl(xTextDoc, "CheckBox"));
}
@@ -577,12 +577,12 @@ public class ODatabaseForm extends TestCase {
final XResultSet xResSet = (XResultSet) UnoRuntime.queryInterface(
XResultSet.class, oObj);
final XResultSetUpdate xResSetUpdate = (XResultSetUpdate) UnoRuntime.queryInterface(
- XResultSetUpdate.class,
+ XResultSetUpdate.class,
oObj);
final XRowSet xRowSet = (XRowSet) UnoRuntime.queryInterface(
XRowSet.class, oObj);
final PrintWriter logF = log;
- tEnv.addObjRelation("XRowSetApproveBroadcaster.ApproveChecker",
+ tEnv.addObjRelation("XRowSetApproveBroadcaster.ApproveChecker",
new ifc.sdb._XRowSetApproveBroadcaster.RowSetApproveChecker() {
public void moveCursor() {
try {
@@ -657,12 +657,12 @@ public class ODatabaseForm extends TestCase {
// Adding relation for XCompletedExecution
tEnv.addObjRelation("InteractionHandlerChecker", new InteractionHandlerImpl());
-
+
// Adding for XWarningSupplier
tEnv.addObjRelation("CheckWarningsSupplier", new Boolean(isMySQLDB));
// Adding relation for XDatabaseParameterBroadcaster
- tEnv.addObjRelation("ParameterListenerChecker", new ODatabaseForm.ParameterListenerImpl());
+ tEnv.addObjRelation("ParameterListenerChecker", new ODatabaseForm.ParameterListenerImpl());
XPropertySet xSetProp = (XPropertySet) UnoRuntime.queryInterface
(XPropertySet.class, oObj) ;
try {
@@ -673,7 +673,7 @@ public class ODatabaseForm extends TestCase {
else {
xSetProp.setPropertyValue("Command", "SELECT \"_TEXT\" FROM \"ODatabaseForm_tmp0\" WHERE ( ( \"_TEXT\" = :param1 ) )");
}
-
+
xSetProp.setPropertyValue("CommandType",
new Integer(CommandType.COMMAND)) ;
}
@@ -685,7 +685,7 @@ public class ODatabaseForm extends TestCase {
XRowUpdate.class, oObj);
final XRow xRow = (XRow) UnoRuntime.queryInterface(XRow.class, oObj);
- tEnv.addObjRelation("XResultSetUpdate.UpdateTester",
+ tEnv.addObjRelation("XResultSetUpdate.UpdateTester",
new ifc.sdbc._XResultSetUpdate.UpdateTester() {
String lastUpdate = null;
@@ -731,15 +731,15 @@ public class ODatabaseForm extends TestCase {
XRow row = (XRow) UnoRuntime.queryInterface(XRow.class, oObj);
tEnv.addObjRelation("XRowUpdate.XRow", row);
-
+
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "Cycle");
PropertyValue propVal = new PropertyValue();
propVal.Name = "Name";
propVal.Value = "Text since XPropertyAccess";
-
+
tEnv.addObjRelation("XPropertyAccess.propertyToChange", propVal);
-
+
return tEnv;
} // finish method getTestEnvironment
@@ -768,8 +768,8 @@ public class ODatabaseForm extends TestCase {
} catch (com.sun.star.lang.DisposedException e) {
log.println("couldn't close data source");
}
-
-
+
+
log.println("closing document...");
try {
@@ -792,7 +792,7 @@ public class ODatabaseForm extends TestCase {
throw new StatusException("Error while object test cleaning up", e);
}
}
-
+
/**
* Implementation of interface _XDatabaseParameterBroadcaster.CheckParameterListener
* for the XDatabaseParameterBroadcaster test
@@ -801,15 +801,15 @@ public class ODatabaseForm extends TestCase {
public class ParameterListenerImpl implements _XDatabaseParameterBroadcaster.CheckParameterListener {
boolean listenerWasCalled = false;
PrintWriter log = new PrintWriter(System.out);
-
- /**
+
+ /**
* Return true, if the listener was called, false otherwise.
* @return True, if any other method of the listener was called.
*/
public boolean checkListener() {
return listenerWasCalled;
}
-
+
/**
* Take the DataBaseParameterEvent and fill it with a meaningful value.
* @param e The database parameter that will be filled with a value.
@@ -835,7 +835,7 @@ public class ODatabaseForm extends TestCase {
}
return true;
}
-
+
/**
* Dummy implemetnation. Do nothing, just log
* @param o Ignore.
@@ -843,7 +843,7 @@ public class ODatabaseForm extends TestCase {
public void disposing(EventObject o) {
log.println("### _XDatabaseParameterBroadcaster.ParameterListenerImpl: disposing");
}
-
+
/**
* Set a log writer, so messages go to log instead of Standard.out
* @param log The log messages get printed to.
@@ -851,10 +851,10 @@ public class ODatabaseForm extends TestCase {
public void setLog(PrintWriter log) {
this.log = log;
}
-
+
}
-
-
+
+
/**
* Implementation of interface _XCompletedExecution.CheckInteractionHandler
* for the XCompletedExecution test
@@ -863,11 +863,11 @@ public class ODatabaseForm extends TestCase {
public class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
private boolean handlerWasUsed = false;
private PrintWriter log = new PrintWriter(System.out);
-
+
public boolean checkInteractionHandler() {
return handlerWasUsed;
}
-
+
public void handle(XInteractionRequest xInteractionRequest) {
log.println("### _XCompletedExecution.InteractionHandlerImpl: handle called.");
handlerWasUsed = true;
@@ -892,10 +892,10 @@ public class ODatabaseForm extends TestCase {
eI.printStackTrace(log);
}
}
-
+
public void setLog(PrintWriter log) {
this.log = log;
}
-
+
}
} // finish class ODatabaseForm
diff --git a/qadevOOo/tests/java/mod/_forms/ODateControl.java b/qadevOOo/tests/java/mod/_forms/ODateControl.java
index e143929fa19d..4b37ec21c2cf 100644
--- a/qadevOOo/tests/java/mod/_forms/ODateControl.java
+++ b/qadevOOo/tests/java/mod/_forms/ODateControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -163,7 +163,7 @@ public class ODateControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -173,16 +173,16 @@ public class ODateControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"DateField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -191,7 +191,7 @@ public class ODateControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the ODateControl
@@ -224,14 +224,14 @@ public class ODateControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
anotherCtrl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/ODateModel.java b/qadevOOo/tests/java/mod/_forms/ODateModel.java
index 297c5088937e..d692bb27d6bf 100644
--- a/qadevOOo/tests/java/mod/_forms/ODateModel.java
+++ b/qadevOOo/tests/java/mod/_forms/ODateModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -133,25 +133,25 @@ public class ODateModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "Date";
-
+
super.m_kindOfControl="DateField";
-
+
super.m_ObjectName = "stardiv.one.form.component.DateField";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_DATE_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_DATE_F;
super.m_propertiesToSet.add(DataField);
-
- NamedValue Date = new NamedValue();
- Date.Name = "Date";
- Date.Value = new Integer(DBTools.TST_DATE);
+
+ NamedValue Date = new NamedValue();
+ Date.Name = "Date";
+ Date.Value = new Integer(DBTools.TST_DATE);
super.m_propertiesToSet.add(Date);
-
+
super.m_LCShape_Type = "FixedText";
}
@@ -163,7 +163,7 @@ public class ODateModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -171,7 +171,7 @@ public class ODateModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OEditControl.java b/qadevOOo/tests/java/mod/_forms/OEditControl.java
index ac56d9f0cf93..4204606d087e 100644
--- a/qadevOOo/tests/java/mod/_forms/OEditControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OEditControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -173,7 +173,7 @@ public class OEditControl extends TestCase {
* of another component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XControl aControl = null;
@@ -183,16 +183,16 @@ public class OEditControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -201,7 +201,7 @@ public class OEditControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OEditControl
@@ -234,11 +234,11 @@ public class OEditControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// relations for XChangeBroadcaster
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
- tEnv.addObjRelation("Win1",
- (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ tEnv.addObjRelation("Win1",
+ (XWindow) UnoRuntime.queryInterface(XWindow.class,
oObj));
tEnv.addObjRelation("Win2", forObjRel);
tEnv.addObjRelation("CONTROL", aControl);
@@ -249,7 +249,7 @@ public class OEditControl extends TestCase {
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/OEditModel.java b/qadevOOo/tests/java/mod/_forms/OEditModel.java
index 4004b68d13a1..bcecd77550df 100644
--- a/qadevOOo/tests/java/mod/_forms/OEditModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OEditModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -129,22 +129,22 @@ public class OEditModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="TextField";
-
+
super.m_ObjectName = "stardiv.one.form.component.Edit";
- NamedValue myProp = new NamedValue();
- myProp.Name = "DataField";
- myProp.Value = DBTools.TST_STRING_F;
+ NamedValue myProp = new NamedValue();
+ myProp.Name = "DataField";
+ myProp.Value = DBTools.TST_STRING_F;
super.m_propertiesToSet.add(myProp);
-
+
super.m_LCShape_Type = "FixedText";
-
+
super.m_ChangePropertyName = "Text";
}
/**
@@ -155,7 +155,7 @@ public class OEditModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -163,7 +163,7 @@ public class OEditModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OFileControlModel.java b/qadevOOo/tests/java/mod/_forms/OFileControlModel.java
index 3ece2f3a359e..b83e9ce007ee 100644
--- a/qadevOOo/tests/java/mod/_forms/OFileControlModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OFileControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -100,13 +100,13 @@ import com.sun.star.util.XCloseable;
*/
public class OFileControlModel extends TestCase {
XComponent xDrawDoc;
-
+
/**
* Creates Draw document where controls are placed.
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
SOfficeFactory SOF = SOfficeFactory.getFactory(((XMultiServiceFactory) tParam.getMSF()));
-
+
try {
log.println("creating a draw document");
xDrawDoc = SOF.createDrawDoc(null);
@@ -116,13 +116,13 @@ public class OFileControlModel extends TestCase {
throw new StatusException(Status.failed("Can't create a document"));
}
}
-
+
/**
* Disposes Draw document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xDrawDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xDrawDoc);
@@ -133,7 +133,7 @@ public class OFileControlModel extends TestCase {
log.println("couldn't close document");
}
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates FileControl in the Form. <p>
@@ -147,26 +147,26 @@ public class OFileControlModel extends TestCase {
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
-
-
+
+
// creation of testobject here
// first we write what we are intend to do to log file
log.println("creating a test environment");
-
+
//get FileControlModel
String objName = "FileControl";
-
+
XControlShape aShape = null;
-
+
Size size = new Size();
Point position = new Point();
XControlModel aControl = null;
-
+
//get MSF
XMultiServiceFactory oDocMSF = (XMultiServiceFactory) UnoRuntime.queryInterface(
XMultiServiceFactory.class,
xDrawDoc);
-
+
try {
Object oInt = oDocMSF.createInstance(
"com.sun.star.drawing.ControlShape");
@@ -187,16 +187,16 @@ public class OFileControlModel extends TestCase {
log.println("Couldn't create a component " + e);
throw new StatusException(Status.failed("Can't create component"));
}
-
+
aShape.setControl(aControl);
-
+
DrawTools.getDrawPage(xDrawDoc, 0).add((XShape) aShape);
oObj = aShape.getControl();
-
+
log.println("creating a new environment for drawpage object");
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("OBJNAME", "stardiv.one.form.component." +
objName);
PropertyValue prop = new PropertyValue();
@@ -204,7 +204,7 @@ public class OFileControlModel extends TestCase {
prop.Value = "new Help Text since XPropertyAccess";
tEnv.addObjRelation("XPropertyAccess.propertyToChange", prop);
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "HelpText");
-
+
return tEnv;
} // finish method getTestEnvironment
} // finish class OFileControlModel
diff --git a/qadevOOo/tests/java/mod/_forms/OFixedTextModel.java b/qadevOOo/tests/java/mod/_forms/OFixedTextModel.java
index 5753da62d75a..c3a172eb746a 100644
--- a/qadevOOo/tests/java/mod/_forms/OFixedTextModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OFixedTextModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,7 +80,7 @@ import lib.TestParameters;
*/
public class OFixedTextModel extends GenericModelTest {
-
+
/**
* Set some member variable of the super class <CODE>GenericModelTest</CODE>:
* <pre>
@@ -92,17 +92,17 @@ public class OFixedTextModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="FixedText";
-
+
super.m_ObjectName = "stardiv.one.form.component.FixedText";
-
+
super.m_LCShape_Type = "FixedText";
-
+
}
/**
* calls <CODE>cleanup()</CODE> from it's super class
@@ -112,8 +112,8 @@ public class OFixedTextModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
-
+
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
* @param Param the test parameter
@@ -124,5 +124,5 @@ public class OFixedTextModel extends GenericModelTest {
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
-
+
} // finish class OFixedTextModel
diff --git a/qadevOOo/tests/java/mod/_forms/OFormattedControl.java b/qadevOOo/tests/java/mod/_forms/OFormattedControl.java
index 4888caba5441..5a1a4c3d6bb1 100644
--- a/qadevOOo/tests/java/mod/_forms/OFormattedControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OFormattedControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -160,7 +160,7 @@ public class OFormattedControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -170,16 +170,16 @@ public class OFormattedControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"FormattedField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -188,7 +188,7 @@ public class OFormattedControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OFormattedControl
@@ -221,14 +221,14 @@ public class OFormattedControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
anotherCtrl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/OFormattedFieldWrapper.java b/qadevOOo/tests/java/mod/_forms/OFormattedFieldWrapper.java
index b51b4b575932..73d174eae99f 100644
--- a/qadevOOo/tests/java/mod/_forms/OFormattedFieldWrapper.java
+++ b/qadevOOo/tests/java/mod/_forms/OFormattedFieldWrapper.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -123,20 +123,20 @@ public class OFormattedFieldWrapper extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "Text";
-
+
super.m_kindOfControl="DatabaseFormattedField";
-
+
super.m_ObjectName = "stardiv.one.form.component.Edit";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_STRING_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_STRING_F;
super.m_propertiesToSet.add(DataField);
-
+
super.m_LCShape_Type = "FixedText";
} /**
@@ -147,7 +147,7 @@ public class OFormattedFieldWrapper extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -155,7 +155,7 @@ public class OFormattedFieldWrapper extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OFormsCollection.java b/qadevOOo/tests/java/mod/_forms/OFormsCollection.java
index af94a546b004..a04e06bbf1a5 100644
--- a/qadevOOo/tests/java/mod/_forms/OFormsCollection.java
+++ b/qadevOOo/tests/java/mod/_forms/OFormsCollection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_forms/OGridControlModel.java b/qadevOOo/tests/java/mod/_forms/OGridControlModel.java
index 65131dae1c46..92655bf9e2eb 100644
--- a/qadevOOo/tests/java/mod/_forms/OGridControlModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OGridControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -136,7 +136,7 @@ import com.sun.star.util.XCloseable;
*/
public class OGridControlModel extends GenericModelTest {
-
+
/**
* Set some member variable of the super class <CODE>GenericModelTest</CODE>:
* <pre>
@@ -148,17 +148,17 @@ public class OGridControlModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="GridControl";
-
+
super.m_ObjectName = "stardiv.one.form.component.Grid";
-
+
super.m_LCShape_Type = "GridControl";
-
+
}
/**
* calls <CODE>cleanup()</CODE> from it's super class
@@ -168,8 +168,8 @@ public class OGridControlModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
-
+
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
* @param Param the test parameter
@@ -179,7 +179,7 @@ public class OGridControlModel extends GenericModelTest {
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
TestEnvironment tEnv = super.createTestEnvironment(Param, log);
-
+
XInterface oObj = tEnv.getTestObject();
XPropertySet aControl = null;
@@ -187,7 +187,7 @@ public class OGridControlModel extends GenericModelTest {
XPropertySet aControl3 = null;
XPropertySet aControl4 = null;
XPropertySet aControl5 = null;
-
+
try {
XGridColumnFactory columns = (XGridColumnFactory) UnoRuntime.queryInterface(
XGridColumnFactory.class, oObj);
@@ -234,8 +234,8 @@ public class OGridControlModel extends GenericModelTest {
tEnv.addObjRelation("INSTANCE1", aControl4);
tEnv.addObjRelation("INSTANCE2", aControl5);
-
- tEnv.addObjRelation("Comparer",
+
+ tEnv.addObjRelation("Comparer",
new Comparator() {
public int compare(Object o1, Object o2) {
XNamed named1 = (XNamed) UnoRuntime.queryInterface(
@@ -257,14 +257,14 @@ public class OGridControlModel extends GenericModelTest {
// HashSet exclude = new HashSet();
-//
+//
// exclude.add("FormatKey");
//
-// tEnv.addObjRelation("XUpdateBroadcaster.Checker",
+// tEnv.addObjRelation("XUpdateBroadcaster.Checker",
// new Checker(m_XFormLoader, m_XPS, m_XCtrl, m_ChangePropertyName, m_ChangePropertyValue));
return tEnv;
}
-
+
} // finish class OButtonModelold
@@ -324,7 +324,7 @@ class OGridControlModelold extends TestCase {
* {@link ifc.container._XContainer} : a column instance. </li>
* </ul>
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XInterface oInstance = null;
@@ -342,8 +342,8 @@ class OGridControlModelold extends TestCase {
//get GridControlModel
String objName = "Grid";
- XControlShape shape = FormTools.insertControlShape(xDrawDoc, 5000,
- 7000, 2000, 2000,
+ XControlShape shape = FormTools.insertControlShape(xDrawDoc, 5000,
+ 7000, 2000, 2000,
"GridControl");
oObj = shape.getControl();
@@ -389,7 +389,7 @@ class OGridControlModelold extends TestCase {
tEnv.addObjRelation("Selections", new Object[] { aControl, aControl2 });
// COMPARER
-
+
int THRCNT = 1;
String count = (String)Param.get("THRCNT");
if (count != null)
@@ -401,7 +401,7 @@ class OGridControlModelold extends TestCase {
try {
for (int n = 1; n < (3 * THRCNT + 1); n++) {
- log.println("adding INSTANCE" + n +
+ log.println("adding INSTANCE" + n +
" as obj relation to environment");
oInstance = columns.createColumn("TextField");
tEnv.addObjRelation("INSTANCE" + n, oInstance);
diff --git a/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java b/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java
index 7b4a6adea8be..c3707748fdf5 100644
--- a/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -142,7 +142,7 @@ public class OGroupBoxControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -152,16 +152,16 @@ public class OGroupBoxControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 5000,
- 7000, 2000, 2000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 5000,
+ 7000, 2000, 2000,
"GroupBox");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -170,7 +170,7 @@ public class OGroupBoxControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OGroupBoxControl
@@ -205,8 +205,8 @@ public class OGroupBoxControl extends TestCase {
// Adding relation for XWindow
- tEnv.addObjRelation("XWindow.AnotherWindow",
- UnoRuntime.queryInterface(XWindow.class,
+ tEnv.addObjRelation("XWindow.AnotherWindow",
+ UnoRuntime.queryInterface(XWindow.class,
anotherCtrl));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_forms/OGroupBoxModel.java b/qadevOOo/tests/java/mod/_forms/OGroupBoxModel.java
index 8f8f227457c6..feb425c693df 100644
--- a/qadevOOo/tests/java/mod/_forms/OGroupBoxModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OGroupBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +79,7 @@ import lib.TestParameters;
* @see ifc.lang._XComponent
*/
public class OGroupBoxModel extends GenericModelTest {
-
+
/**
* Set some member variable of the super class <CODE>GenericModelTest</CODE>:
* <pre>
@@ -91,17 +91,17 @@ public class OGroupBoxModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="GroupBox";
-
+
super.m_ObjectName = "stardiv.one.form.component.GroupBox";
-
+
super.m_LCShape_Type = "FixedText";
-
+
super.m_ChangePropertyName = "Text";
}
/**
@@ -112,8 +112,8 @@ public class OGroupBoxModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
-
+
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
* @param Param the test parameter
diff --git a/qadevOOo/tests/java/mod/_forms/OHiddenModel.java b/qadevOOo/tests/java/mod/_forms/OHiddenModel.java
index de2f93bc494c..f7557ca671d8 100644
--- a/qadevOOo/tests/java/mod/_forms/OHiddenModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OHiddenModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,13 +96,13 @@ import com.sun.star.util.XCloseable;
*/
public class OHiddenModel extends TestCase {
XComponent xDrawDoc;
-
+
/**
* Creates Drawing document.
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
SOfficeFactory SOF = SOfficeFactory.getFactory(((XMultiServiceFactory) tParam.getMSF()));
-
+
try {
log.println("creating a draw document");
xDrawDoc = SOF.createDrawDoc(null);
@@ -112,13 +112,13 @@ public class OHiddenModel extends TestCase {
throw new StatusException("Couldn't create document", e);
}
}
-
+
/**
* Disposes drawing document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xDrawDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xDrawDoc);
@@ -129,7 +129,7 @@ public class OHiddenModel extends TestCase {
log.println("couldn't close document");
}
}
-
+
/**
* Creates hidden component, then adds Form into draw page,
* and inserts the component into Form components' collection.
@@ -143,28 +143,28 @@ public class OHiddenModel extends TestCase {
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
-
-
+
+
// creation of testobject here
// first we write what we are intend to do to log file
log.println("creating a test environment");
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(((XMultiServiceFactory) Param.getMSF()));
String objName = "HiddenControl";
XInterface ctrl = SOF.createControl(xDrawDoc, objName);
-
+
try {
XDrawPage oDP = DrawTools.getDrawPage(xDrawDoc, 0);
-
+
XNameContainer nc = FormTools.getForms(oDP);
FormTools.insertForm(xDrawDoc, nc, "OHiddenModelForm");
-
+
Object frm = nc.getByName("OHiddenModelForm");
-
+
XNameContainer frmNC = (XNameContainer) UnoRuntime.queryInterface(
XNameContainer.class, frm);
-
+
frmNC.insertByName("OHiddenModel", ctrl);
oObj = (XInterface) AnyConverter.toObject(
new Type(XInterface.class),
@@ -182,22 +182,22 @@ public class OHiddenModel extends TestCase {
e.printStackTrace(log);
throw new StatusException("Can't create and add control", e);
}
-
+
log.println("creating a new environment for drawpage object");
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
util.dbg.getSuppServices(oObj);
-
+
log.println("adding DrawDocument as obj relation to environment");
tEnv.addObjRelation("OBJNAME", "stardiv.one.form.component.Hidden");
-
+
PropertyValue prop = new PropertyValue();
prop.Name = "Name";
prop.Value = "new Text since XPropertyAccess";
tEnv.addObjRelation("XPropertyAccess.propertyToChange", prop);
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "Name");
-
+
return tEnv;
} // finish method getTestEnvironment
} // finish class OHiddenModel
diff --git a/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java b/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java
index 8d8744ed7377..60f208825863 100644
--- a/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 OImageButtonControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -157,16 +157,16 @@ public class OImageButtonControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"ImageButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -175,7 +175,7 @@ public class OImageButtonControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OImageButtonControl
@@ -209,7 +209,7 @@ public class OImageButtonControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
anotherCtrl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_forms/OImageButtonModel.java b/qadevOOo/tests/java/mod/_forms/OImageButtonModel.java
index 9920e26feea9..3b5dbcded56f 100644
--- a/qadevOOo/tests/java/mod/_forms/OImageButtonModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OImageButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,13 +96,13 @@ public class OImageButtonModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="ImageButton";
-
+
super.m_ObjectName = "stardiv.one.form.component.ImageButton";
super.m_LCShape_Type = "ImageButton";
@@ -116,7 +116,7 @@ public class OImageButtonModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -124,7 +124,7 @@ public class OImageButtonModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OImageControlControl.java b/qadevOOo/tests/java/mod/_forms/OImageControlControl.java
index f8771e086ec2..4dcec1573015 100644
--- a/qadevOOo/tests/java/mod/_forms/OImageControlControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OImageControlControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +148,7 @@ public class OImageControlControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -159,15 +159,15 @@ public class OImageControlControl extends TestCase {
//Insert a ControlShape and get the ControlModel
XControlShape aShape = FormTools.createControlShapeWithDefaultControl(
- xTextDoc, 3000, 4500, 15000, 10000,
+ xTextDoc, 3000, 4500, 15000, 10000,
"DatabaseImageControl");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -176,7 +176,7 @@ public class OImageControlControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OImageControlControl
@@ -210,7 +210,7 @@ public class OImageControlControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_forms/OImageControlModel.java b/qadevOOo/tests/java/mod/_forms/OImageControlModel.java
index 461b60fa52cd..0525f6ff6778 100644
--- a/qadevOOo/tests/java/mod/_forms/OImageControlModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OImageControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +124,18 @@ public class OImageControlModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_kindOfControl= "DatabaseImageControl";
-
+
super.m_ObjectName = "stardiv.one.form.component.ImageControl";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_BINARY_STREAM_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_BINARY_STREAM_F;
super.m_propertiesToSet.add(DataField);
-
+
super.m_LCShape_Type = "FixedText";
} /**
@@ -146,7 +146,7 @@ public class OImageControlModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -154,7 +154,7 @@ public class OImageControlModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OListBoxControl.java b/qadevOOo/tests/java/mod/_forms/OListBoxControl.java
index 66dfaa38d777..5d014aa759ee 100644
--- a/qadevOOo/tests/java/mod/_forms/OListBoxControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OListBoxControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,7 +80,7 @@ public class OListBoxControl extends TestCase {
} catch (com.sun.star.util.CloseVetoException e) {
log.println("couldn't close document");
} catch (com.sun.star.lang.DisposedException e) {
- log.println("couldn't close document");
+ log.println("couldn't close document");
}
}
@@ -146,16 +146,16 @@ public class OListBoxControl extends TestCase {
// Adding relation for XWindow
XWindow forObjRel = (XWindow)
UnoRuntime.queryInterface(XWindow.class, anotherCtrl);
-
+
XWindow objWin = (XWindow)
UnoRuntime.queryInterface(XWindow.class, oObj);
tEnv.addObjRelation("XWindow.AnotherWindow",forObjRel);
tEnv.addObjRelation("XWindow.ControlShape",aShape);
-
+
tEnv.addObjRelation("Win1",objWin);
tEnv.addObjRelation("Win2",forObjRel);
-
+
tEnv.addObjRelation("CONTROL",anotherCtrl);
// adding relation for XChangeBroadcaster
diff --git a/qadevOOo/tests/java/mod/_forms/OListBoxModel.java b/qadevOOo/tests/java/mod/_forms/OListBoxModel.java
index ebfe3bf5a47f..c5aa052abbc0 100644
--- a/qadevOOo/tests/java/mod/_forms/OListBoxModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OListBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -126,10 +126,10 @@ public class OListBoxModel extends GenericModelTest {
* DataField.Value = DBTools.TST_DATE_F;
* super.m_propertiesToSet.add(DataField);
*
- * NamedValue ListSource = new NamedValue();
- * ListSource.Name = "ListSource";
+ * NamedValue ListSource = new NamedValue();
+ * ListSource.Name = "ListSource";
* ListSource.Value = new String[] {
- * "OListBoxModel1", "OListBoxModel2", "OListBoxModel3"};
+ * "OListBoxModel1", "OListBoxModel2", "OListBoxModel3"};
* super.m_propertiesToSet.add(ListSource);
* super.m_LCShape_Type = "FixedText";
* </pre>
@@ -138,26 +138,26 @@ public class OListBoxModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "SelectedItems";
-
+
super.m_kindOfControl="ListBox";
-
+
super.m_ObjectName = "stardiv.one.form.component.ListBox";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_STRING_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_STRING_F;
super.m_propertiesToSet.add(DataField);
-
- NamedValue ListSource = new NamedValue();
- ListSource.Name = "ListSource";
+
+ NamedValue ListSource = new NamedValue();
+ ListSource.Name = "ListSource";
ListSource.Value = new String[] {
- "OListBoxModel1", "OListBoxModel2", "OListBoxModel3"};
+ "OListBoxModel1", "OListBoxModel2", "OListBoxModel3"};
super.m_propertiesToSet.add(ListSource);
-
+
super.m_LCShape_Type = "FixedText";
}
@@ -169,7 +169,7 @@ public class OListBoxModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -180,15 +180,15 @@ public class OListBoxModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
TestEnvironment tEnv = super.createTestEnvironment(Param, log);
- tEnv.addObjRelation("XUpdateBroadcaster.Checker",
+ tEnv.addObjRelation("XUpdateBroadcaster.Checker",
new Checker(m_XFormLoader, m_XPS, m_XCtrl, m_ChangePropertyName, m_ChangePropertyValue));
return tEnv;
}
-
+
static class Checker implements UpdateChecker {
private short lastItem = (short) 0;
XLoadable formLoaderF = null;
@@ -196,7 +196,7 @@ public class OListBoxModel extends GenericModelTest {
XInterface ctrl = null;
String ChangePropertyName = null;
Object ChangePropertyValue = null;
-
+
public Checker(XLoadable xl, XPropertySet ps, XInterface ctrl, String ChangePropertyName, Object ChangePropertyValue) {
formLoaderF = xl;
this.ps = ps;
@@ -204,7 +204,7 @@ public class OListBoxModel extends GenericModelTest {
this.ChangePropertyName=ChangePropertyName;
this.ChangePropertyValue=ChangePropertyValue;
}
-
+
public void update() throws Exception {
if (!formLoaderF.isLoaded()) {
formLoaderF.load();
@@ -217,7 +217,7 @@ public class OListBoxModel extends GenericModelTest {
XBoundComponent bound = (XBoundComponent) UnoRuntime.queryInterface(
XBoundComponent.class, ctrl);
XResultSetUpdate update = (XResultSetUpdate) UnoRuntime.queryInterface(
- XResultSetUpdate.class,
+ XResultSetUpdate.class,
formLoaderF);
bound.commit();
@@ -232,5 +232,5 @@ public class OListBoxModel extends GenericModelTest {
return (getS.length > 0) && (lastItem == getS[0]);
}
}
-
+
} // finish class OListBoxModel
diff --git a/qadevOOo/tests/java/mod/_forms/ONavigationBarControl.java b/qadevOOo/tests/java/mod/_forms/ONavigationBarControl.java
index f965a9c8af3f..eac8ce39cb4e 100644
--- a/qadevOOo/tests/java/mod/_forms/ONavigationBarControl.java
+++ b/qadevOOo/tests/java/mod/_forms/ONavigationBarControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 ONavigationBarControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -119,16 +119,16 @@ public class ONavigationBarControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"NavigationToolBar");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -137,7 +137,7 @@ public class ONavigationBarControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OButtonControl
@@ -169,7 +169,7 @@ public class ONavigationBarControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_forms/ONavigationBarModel.java b/qadevOOo/tests/java/mod/_forms/ONavigationBarModel.java
index ffe624ed8f5d..75b8c2089c45 100644
--- a/qadevOOo/tests/java/mod/_forms/ONavigationBarModel.java
+++ b/qadevOOo/tests/java/mod/_forms/ONavigationBarModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,7 +32,7 @@ import lib.TestEnvironment;
import lib.TestParameters;
public class ONavigationBarModel extends GenericModelTest {
-
+
/**
* Set some member variable of the super class <CODE>GenericModelTest</CODE>:
* <pre>
@@ -44,17 +44,17 @@ public class ONavigationBarModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
-
+
super.m_kindOfControl="NavigationToolBar";
-
+
super.m_ObjectName = "com.sun.star.form.component.NavigationToolBar";
-
+
super.m_LCShape_Type = "NavigationToolBar";
-
+
}
/**
* calls <CODE>cleanup()</CODE> from it's super class
@@ -64,8 +64,8 @@ public class ONavigationBarModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
-
+
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
* @param Param the test parameter
@@ -76,6 +76,6 @@ public class ONavigationBarModel extends GenericModelTest {
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
-
+
} // finish class ONavigationBarModel
diff --git a/qadevOOo/tests/java/mod/_forms/ONumericControl.java b/qadevOOo/tests/java/mod/_forms/ONumericControl.java
index ce03616582b0..3a89d4639814 100644
--- a/qadevOOo/tests/java/mod/_forms/ONumericControl.java
+++ b/qadevOOo/tests/java/mod/_forms/ONumericControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -163,7 +163,7 @@ public class ONumericControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -173,16 +173,16 @@ public class ONumericControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"NumericField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -191,7 +191,7 @@ public class ONumericControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the ONumericControl
@@ -224,14 +224,14 @@ public class ONumericControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
anotherCtrl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/ONumericModel.java b/qadevOOo/tests/java/mod/_forms/ONumericModel.java
index 8a2ba304283f..2e4a32bf9aa0 100644
--- a/qadevOOo/tests/java/mod/_forms/ONumericModel.java
+++ b/qadevOOo/tests/java/mod/_forms/ONumericModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -121,20 +121,20 @@ public class ONumericModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "Value";
-
+
super.m_kindOfControl="NumericField";
-
+
super.m_ObjectName = "stardiv.one.form.component.NumericField";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_DOUBLE_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_DOUBLE_F;
super.m_propertiesToSet.add(DataField);
-
+
super.m_LCShape_Type = "FixedText";
} /**
@@ -145,7 +145,7 @@ public class ONumericModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -153,7 +153,7 @@ public class ONumericModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/OPatternControl.java b/qadevOOo/tests/java/mod/_forms/OPatternControl.java
index 34d325498c79..31046fab2eb0 100644
--- a/qadevOOo/tests/java/mod/_forms/OPatternControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OPatternControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -163,7 +163,7 @@ public class OPatternControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -173,16 +173,16 @@ public class OPatternControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"PatternField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -191,7 +191,7 @@ public class OPatternControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OPatternControl
@@ -224,14 +224,14 @@ public class OPatternControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
anotherCtrl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/OPatternModel.java b/qadevOOo/tests/java/mod/_forms/OPatternModel.java
index cc80327ff20d..070ed5a9e870 100644
--- a/qadevOOo/tests/java/mod/_forms/OPatternModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OPatternModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -126,20 +126,20 @@ public class OPatternModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "Text";
-
+
super.m_kindOfControl="PatternField";
-
+
super.m_ObjectName = "stardiv.one.form.component.PatternField";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_STRING_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_STRING_F;
super.m_propertiesToSet.add(DataField);
-
+
super.m_LCShape_Type = "FixedText";
} /**
@@ -150,7 +150,7 @@ public class OPatternModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -158,7 +158,7 @@ public class OPatternModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
return super.createTestEnvironment(Param, log);
}
diff --git a/qadevOOo/tests/java/mod/_forms/ORadioButtonControl.java b/qadevOOo/tests/java/mod/_forms/ORadioButtonControl.java
index e013cb29cff8..52ff5ffb189e 100644
--- a/qadevOOo/tests/java/mod/_forms/ORadioButtonControl.java
+++ b/qadevOOo/tests/java/mod/_forms/ORadioButtonControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -151,7 +151,7 @@ public class ORadioButtonControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -161,16 +161,16 @@ public class ORadioButtonControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"RadioButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -179,7 +179,7 @@ public class ORadioButtonControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the ORadioButtonControl
@@ -212,7 +212,7 @@ public class ORadioButtonControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_forms/ORadioButtonModel.java b/qadevOOo/tests/java/mod/_forms/ORadioButtonModel.java
index 36e3927f46af..f846b3a8132d 100644
--- a/qadevOOo/tests/java/mod/_forms/ORadioButtonModel.java
+++ b/qadevOOo/tests/java/mod/_forms/ORadioButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,21 +122,21 @@ public class ORadioButtonModel extends GenericModelTest {
* @param tParam the test parameter
* @param log the log writer
*/
-
+
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "State";
-
+
super.m_kindOfControl="RadioButton";
-
+
super.m_ObjectName = "stardiv.one.form.component.RadioButton";
- NamedValue myProp = new NamedValue();
+ NamedValue myProp = new NamedValue();
myProp.Name = "DataField";
- myProp.Value = DBTools.TST_STRING_F;
+ myProp.Value = DBTools.TST_STRING_F;
super.m_propertiesToSet.add(myProp);
-
+
super.m_LCShape_Type = "GroupBox";
}
@@ -148,7 +148,7 @@ public class ORadioButtonModel extends GenericModelTest {
protected void cleanup(TestParameters tParam, PrintWriter log) {
super.cleanup(tParam, log);
}
-
+
/**
* calls <CODE>createTestEnvironment()</CODE> from it's super class
@@ -156,17 +156,17 @@ public class ORadioButtonModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
TestEnvironment tEnv = super.createTestEnvironment(Param, log);
- tEnv.addObjRelation("DataAwareControlModel.NewFieldName",
+ tEnv.addObjRelation("DataAwareControlModel.NewFieldName",
DBTools.TST_INT_F);
PropertyValue prop = new PropertyValue();
prop.Name = "HelpText";
prop.Value = "new Help Text since XPropertyAccess";
tEnv.addObjRelation("XPropertyAccess.propertyToChange", prop);
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "HelpText");
-
+
return tEnv;
}
diff --git a/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java b/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java
index a847bfff055d..1104c65abd75 100644
--- a/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,9 +43,9 @@ import util.FormTools;
import util.WriterTools;
public class OScrollBarModel extends TestCase {
-
+
XTextDocument xTextDoc;
-
+
/**
* Creates Writer document.
*/
@@ -53,8 +53,8 @@ public class OScrollBarModel extends TestCase {
log.println( "creating a textdocument" );
xTextDoc = WriterTools.createTextDoc(((XMultiServiceFactory) tParam.getMSF()));
- }
-
+ }
+
/**
* Disposes the Writer document.
*/
@@ -68,10 +68,10 @@ public class OScrollBarModel extends TestCase {
} catch (com.sun.star.util.CloseVetoException e) {
log.println("couldn't close document");
} catch (com.sun.star.lang.DisposedException e) {
- log.println("couldn't close document");
+ log.println("couldn't close document");
}
- }
-
+ }
+
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
XInterface oObj = null;
@@ -83,9 +83,9 @@ public class OScrollBarModel extends TestCase {
oObj = aShape.getControl();
log.println( "creating a new environment for OScrollBarModel object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
System.out.println("Implementation Name: "+util.utils.getImplName(oObj));
-
+
String objName = "ScrollBar";
tEnv.addObjRelation("OBJNAME", "com.sun.star.form.component." + objName);
PropertyValue prop = new PropertyValue();
@@ -95,5 +95,5 @@ public class OScrollBarModel extends TestCase {
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "HelpText");
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java b/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java
index bde3fd640e52..c4a574755192 100644
--- a/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,24 +43,24 @@ import util.FormTools;
import util.WriterTools;
public class OSpinButtonModel extends TestCase {
-
+
XTextDocument xTextDoc;
-
+
/**
* Creates a Writer document.
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+
log.println( "creating a textdocument" );
xTextDoc = WriterTools.createTextDoc(((XMultiServiceFactory) tParam.getMSF()));
}
-
+
/**
* Disposes the Writer document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -71,19 +71,19 @@ public class OSpinButtonModel extends TestCase {
log.println("couldn't close document");
}
}
-
-
+
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Adds spin button into text and retrieves it's control model.
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
-
+
XInterface oObj = null;
-
+
XControlShape aShape = FormTools.createControlShape(
xTextDoc,3000,4500,15000,10000,"SpinButton");
-
+
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
oObj = aShape.getControl();
log.println( "creating a new environment for OButtonModel object" );
@@ -94,9 +94,9 @@ public class OSpinButtonModel extends TestCase {
prop.Value = "new Help Text since XPropertyAccess";
tEnv.addObjRelation("XPropertyAccess.propertyToChange", prop);
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "HelpText");
-
+
System.out.println("Implementation name: "+util.utils.getImplName(oObj));
return tEnv;
} // finish method getTestEnvironment
-
+
}
diff --git a/qadevOOo/tests/java/mod/_forms/OTimeControl.java b/qadevOOo/tests/java/mod/_forms/OTimeControl.java
index f23d635de7df..30c457630c4c 100644
--- a/qadevOOo/tests/java/mod/_forms/OTimeControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OTimeControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -164,7 +164,7 @@ public class OTimeControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -174,16 +174,16 @@ public class OTimeControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"TimeField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -192,7 +192,7 @@ public class OTimeControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OTimeControl
@@ -224,14 +224,14 @@ public class OTimeControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_forms/OTimeModel.java b/qadevOOo/tests/java/mod/_forms/OTimeModel.java
index de1e17332d7f..e77eff500152 100644
--- a/qadevOOo/tests/java/mod/_forms/OTimeModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OTimeModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -135,20 +135,20 @@ public class OTimeModel extends GenericModelTest {
* @param log the log writer
*/
protected void initialize(TestParameters tParam, PrintWriter log) {
-
+
super.initialize(tParam, log);
super.m_ChangePropertyName = "Time";
-
+
super.m_kindOfControl="TimeField";
-
+
super.m_ObjectName = "stardiv.one.form.component.TimeField";
- NamedValue DataField = new NamedValue();
- DataField.Name = "DataField";
- DataField.Value = DBTools.TST_INT_F;
+ NamedValue DataField = new NamedValue();
+ DataField.Name = "DataField";
+ DataField.Value = DBTools.TST_INT_F;
super.m_propertiesToSet.add(DataField);
-
+
super.m_LCShape_Type = "FixedText";
} /**
@@ -169,19 +169,19 @@ public class OTimeModel extends GenericModelTest {
* @param log the log writer
* @return lib.TestEnvironment
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
TestEnvironment tEnv = super.createTestEnvironment(Param, log);
HashSet exclude = new HashSet();
-
+
exclude.add("FormatKey");
- tEnv.addObjRelation("XUpdateBroadcaster.Checker",
+ tEnv.addObjRelation("XUpdateBroadcaster.Checker",
new Checker(m_XFormLoader, m_XPS, m_XCtrl, m_ChangePropertyName, m_ChangePropertyValue));
return tEnv;
}
-
+
static class Checker implements UpdateChecker {
private short lastItem = (short) 0;
XLoadable formLoaderF = null;
@@ -189,7 +189,7 @@ public class OTimeModel extends GenericModelTest {
XInterface ctrl = null;
String ChangePropertyName = null;
Object ChangePropertyValue = null;
-
+
public Checker(XLoadable xl, XPropertySet ps, XInterface ctrl, String ChangePropertyName, Object ChangePropertyValue) {
formLoaderF = xl;
this.ps = ps;
@@ -197,7 +197,7 @@ public class OTimeModel extends GenericModelTest {
this.ChangePropertyName=ChangePropertyName;
this.ChangePropertyValue=ChangePropertyValue;
}
-
+
private int lastTime = 0;
public void update() throws com.sun.star.uno.Exception {
@@ -218,7 +218,7 @@ public class OTimeModel extends GenericModelTest {
XBoundComponent bound = (XBoundComponent) UnoRuntime.queryInterface(
XBoundComponent.class, ctrl);
XResultSetUpdate update = (XResultSetUpdate) UnoRuntime.queryInterface(
- XResultSetUpdate.class,
+ XResultSetUpdate.class,
formLoaderF);
bound.commit();
@@ -230,7 +230,7 @@ public class OTimeModel extends GenericModelTest {
Integer getT = (Integer) ps.getPropertyValue("Time");
- return (getT != null) &&
+ return (getT != null) &&
(Math.abs(getT.intValue() - lastTime) < 100);
}
}
diff --git a/qadevOOo/tests/java/mod/_fps/FilePicker.java b/qadevOOo/tests/java/mod/_fps/FilePicker.java
index b4e31924062b..810e71c425f4 100644
--- a/qadevOOo/tests/java/mod/_fps/FilePicker.java
+++ b/qadevOOo/tests/java/mod/_fps/FilePicker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ftransl/DataFormatTranslator.java b/qadevOOo/tests/java/mod/_ftransl/DataFormatTranslator.java
index 0180503fe9f2..7ba8bee180dd 100644
--- a/qadevOOo/tests/java/mod/_ftransl/DataFormatTranslator.java
+++ b/qadevOOo/tests/java/mod/_ftransl/DataFormatTranslator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/ControlMenuController.java b/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java
index cd469b9ed269..db2a50b0e622 100755
--- a/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,7 +52,7 @@ public class ControlMenuController extends TestCase {
*
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -66,7 +66,7 @@ public class ControlMenuController extends TestCase {
/**
* Create test environment.
- */
+ */
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -77,7 +77,7 @@ public class ControlMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'ControlMenuController'", e);
}
-
+
/* log.println("Creating instance...");
@@ -93,7 +93,7 @@ public class ControlMenuController extends TestCase {
XModel xModel = (XModel)UnoRuntime.queryInterface(XModel.class, xTextDoc);
// the supplier is available from the model
- XUIConfigurationManagerSupplier xSupplier =
+ XUIConfigurationManagerSupplier xSupplier =
(XUIConfigurationManagerSupplier)UnoRuntime.queryInterface(
XUIConfigurationManagerSupplier.class, xModel);
@@ -102,9 +102,9 @@ public class ControlMenuController extends TestCase {
// just to make sure, it's the right one.
log.println("TestObject: " + util.utils.getImplName(xManager));
tEnv = new TestEnvironment(xManager); */
- log.println("TestObject: " + utils.getImplName(oObj));
+ log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/Desktop.java b/qadevOOo/tests/java/mod/_fwk/Desktop.java
index f777b58a9e27..c0ce8bd1fe80 100644
--- a/qadevOOo/tests/java/mod/_fwk/Desktop.java
+++ b/qadevOOo/tests/java/mod/_fwk/Desktop.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/DispatchRecorder.java b/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java
index 46c31dde8850..f552f185cda6 100644
--- a/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java
+++ b/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -90,7 +90,7 @@ public class DispatchRecorder extends TestCase {
}
catch (InterruptedException ex) {
}
-
+
XModel model = (XModel) UnoRuntime.queryInterface(XModel.class, oDoc);
xFrame = model.getCurrentController().getFrame();
diff --git a/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java b/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java
index 739c3d5709de..50323a5b055e 100644
--- a/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java
+++ b/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/DocumentProperties.java b/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java
index 22e36b48a8ed..59e760bad0b2 100644
--- a/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java
+++ b/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/FontMenuController.java b/qadevOOo/tests/java/mod/_fwk/FontMenuController.java
index 9231cecfb0cf..da86e8276b18 100755
--- a/qadevOOo/tests/java/mod/_fwk/FontMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/FontMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class FontMenuController extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class FontMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'FontMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java b/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java
index c0d99302af6c..a27f0d60ec63 100755
--- a/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class FontSizeMenuController extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class FontSizeMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'FontSizeMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java b/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java
index 1b8184072ca2..c84a6c1f8f4b 100755
--- a/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class FooterMenuController extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class FooterMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'FooterMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java b/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java
index 426d1790fb16..bce5015156e1 100755
--- a/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class FormatMenuController extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class FormatMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'FormatMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/Frame.java b/qadevOOo/tests/java/mod/_fwk/Frame.java
index 1dbcd3adc62c..6e9b3d8ad780 100644
--- a/qadevOOo/tests/java/mod/_fwk/Frame.java
+++ b/qadevOOo/tests/java/mod/_fwk/Frame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,7 +96,7 @@ public class Frame extends TestCase {
log.println(util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
tEnv.addObjRelation("XDispatchProvider.URL",
".uno:SwitchControlDesignMode");
diff --git a/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java b/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java
index f39f184720c1..d4baffdc4500 100755
--- a/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class HeaderMenuController extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class HeaderMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'HeaderMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/JobExecutor.java b/qadevOOo/tests/java/mod/_fwk/JobExecutor.java
index 32ee88d123f4..2f16d9922295 100644
--- a/qadevOOo/tests/java/mod/_fwk/JobExecutor.java
+++ b/qadevOOo/tests/java/mod/_fwk/JobExecutor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -176,7 +176,7 @@ public class JobExecutor extends TestCase {
UnoRuntime.queryInterface(XSingleServiceFactory.class, events);
Object oNewEvent = eventsFac.createInstance();
- XNameAccess xNewEventNA = (XNameAccess)
+ XNameAccess xNewEventNA = (XNameAccess)
UnoRuntime.queryInterface(XNameAccess.class, oNewEvent);
Object oJobList = xNewEventNA.getByName("JobList");
XSingleServiceFactory jobListFac = (XSingleServiceFactory)
@@ -187,10 +187,10 @@ public class JobExecutor extends TestCase {
oJobList);
log.println("\tAdding TimeStamps to Events ...");
Object oNewJobTimeStamps = jobListFac.createInstance();
-
+
jobListNC.insertByName("TestJob", oNewJobTimeStamps);
-
-
+
+
XNameContainer xEventsNC = (XNameContainer)
UnoRuntime.queryInterface(XNameContainer.class, events);
xEventsNC.insertByName("TestEvent", oNewEvent);
diff --git a/qadevOOo/tests/java/mod/_fwk/JobHandler.java b/qadevOOo/tests/java/mod/_fwk/JobHandler.java
index 6a6cacf2c83d..abfaf198f64e 100644
--- a/qadevOOo/tests/java/mod/_fwk/JobHandler.java
+++ b/qadevOOo/tests/java/mod/_fwk/JobHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/LayoutManager.java b/qadevOOo/tests/java/mod/_fwk/LayoutManager.java
index d967ff287a38..6ba1b97fce76 100755
--- a/qadevOOo/tests/java/mod/_fwk/LayoutManager.java
+++ b/qadevOOo/tests/java/mod/_fwk/LayoutManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -57,7 +57,7 @@ public class LayoutManager extends TestCase {
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -111,12 +111,12 @@ public class LayoutManager extends TestCase {
}
// just to make sure, it's the right one.
- log.println("TestObject: " + util.utils.getImplName(xManager));
+ log.println("TestObject: " + util.utils.getImplName(xManager));
tEnv = new TestEnvironment(xManager);
-
+
tEnv.addObjRelation("XLayoutManager.TextDoc", xTextDoc);
tEnv.addObjRelation("XLayoutManager.Frame",xFrame);
-
+
return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java b/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java
index 015db63832e4..22f3fcb269e7 100755
--- a/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class MacrosMenuController extends TestCase{
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class MacrosMenuController extends TestCase{
e.printStackTrace(log);
throw new StatusException("Could not create object 'MacrosMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
- }
+ }
}
diff --git a/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java b/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java
index afaf35486841..fc5e84c0532d 100644
--- a/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java
+++ b/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/MenuBarFactory.java b/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java
index f7d11d422046..d8ca9a58a85d 100755
--- a/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java
+++ b/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,13 +39,13 @@ import lib.TestParameters;
*/
public class MenuBarFactory extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
try {
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
oObj = (XInterface)xMSF.createInstance("com.sun.star.comp.framework.MenuBarFactory");
-
+
tEnv = new TestEnvironment(oObj);
}
catch(com.sun.star.uno.Exception e) {
diff --git a/qadevOOo/tests/java/mod/_fwk/ModuleManager.java b/qadevOOo/tests/java/mod/_fwk/ModuleManager.java
index 790ad94ddcfc..026faf8c1012 100755
--- a/qadevOOo/tests/java/mod/_fwk/ModuleManager.java
+++ b/qadevOOo/tests/java/mod/_fwk/ModuleManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -90,17 +90,17 @@ public class ModuleManager extends TestCase {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory) Param.getMSF());
-
+
// get text document interfaces
try {
log.println("creating a text document");
xTextDoc = SOF.createTextDoc(null);
-
+
} catch (Exception e) {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xTextMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xTextMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController xTextController = xTextMode1.getCurrentController();
XFrame xTextFrame = xTextController.getFrame();
@@ -110,12 +110,12 @@ public class ModuleManager extends TestCase {
try {
log.println("creating a web document");
xWebDoc = SOF.loadDocument("private:factory/swriter/web");
-
+
} catch (Exception e) {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xWebMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xWebMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xWebDoc);
XController xWebController = xWebMode1.getCurrentController();
XFrame xWebFrame = xWebController.getFrame();
@@ -124,12 +124,12 @@ public class ModuleManager extends TestCase {
try {
log.println("creating a global document");
xGlobalDoc = SOF.loadDocument("private:factory/swriter/GlobalDocument");
-
+
} catch (Exception e) {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xGlobalMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xGlobalMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xGlobalDoc);
XController xGlobalController = xGlobalMode1.getCurrentController();
XFrame xGlobalFrame = xGlobalController.getFrame();
@@ -142,7 +142,7 @@ public class ModuleManager extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xSheetMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xSheetMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xSheetDoc);
XController xSheetController = xSheetMode1.getCurrentController();
@@ -155,11 +155,11 @@ public class ModuleManager extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xDrawMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xDrawMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xDrawDoc);
XController xDrawController = xDrawMode1.getCurrentController();
XFrame xDrawFrame = xDrawController.getFrame();
-
+
// get impress interfaces
try {
log.println("creating a impress document");
@@ -168,11 +168,11 @@ public class ModuleManager extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xImpressMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xImpressMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xImpressDoc);
XController xImpressController = xImpressMode1.getCurrentController();
XFrame xImpressFrame = xImpressController.getFrame();
-
+
// get math interfaces
try {
log.println("creating a math document");
@@ -181,11 +181,11 @@ public class ModuleManager extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document ", e);
}
- XModel xMathMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel xMathMode1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xMathDoc);
XController xMathController = xMathMode1.getCurrentController();
XFrame xMathFrame = xMathController.getFrame();
-
+
PropertyValue[] xFrameSeq = new PropertyValue[7];
xFrameSeq[0] = new PropertyValue();
xFrameSeq[0].Name = "com.sun.star.text.TextDocument";
@@ -254,10 +254,10 @@ public class ModuleManager extends TestCase {
xModelSeq[6] = new PropertyValue();
xModelSeq[6].Name = "com.sun.star.formula.FormulaProperties";
xModelSeq[6].Value = xMathMode1;
-
+
TestEnvironment tEnv = new TestEnvironment( oObj );
-
-
+
+
tEnv.addObjRelation("XModuleManager.XFrame", xFrameSeq);
tEnv.addObjRelation("XModuleManager.XController", xControllerSeq);
tEnv.addObjRelation("XModuleManager.XModel", xModelSeq);
diff --git a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java
index 7b30a94b3293..4f4f950e0ed6 100755
--- a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java
+++ b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -92,23 +92,23 @@ public class ModuleUIConfigurationManager extends TestCase {
*/
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
-
+
try {
xMSF = (XMultiServiceFactory)tParam.getMSF();
-
+
log.println("Creating instance...");
xTextDoc = WriterTools.createTextDoc(xMSF);
-
+
Object o = (XInterface)xMSF.createInstance("com.sun.star.ui.ModuleUIConfigurationManagerSupplier");
XModuleUIConfigurationManagerSupplier xMUICMS = (XModuleUIConfigurationManagerSupplier)
UnoRuntime.queryInterface(XModuleUIConfigurationManagerSupplier.class, o);
-
+
util.dbg.printInterfaces(xMUICMS);
oObj = xMUICMS.getUIConfigurationManager("com.sun.star.text.TextDocument");
- log.println("TestObject: " + utils.getImplName(oObj));
+ log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
-
+
XNameAccess xMM = (XNameAccess)UnoRuntime.queryInterface(XNameAccess.class, xMSF.createInstance("com.sun.star.comp.framework.ModuleManager"));
String[] names = xMM.getElementNames();
@@ -116,13 +116,13 @@ public class ModuleUIConfigurationManager extends TestCase {
XSingleServiceFactory xStorageService = (XSingleServiceFactory)
UnoRuntime.queryInterface(XSingleServiceFactory.class, o);
Object[]props = new Object[2];
-
+
String aFile = util.utils.getOfficeTempDir(xMSF) + "dummyFile.dat";
log.println("storage file : '"+ aFile + "'");
-
+
props[0] = aFile;
props[1] = new Integer(ElementModes.READWRITE);
- xStore = (XStorage)UnoRuntime.queryInterface(XStorage.class, xStorageService.createInstanceWithArguments(props));
+ xStore = (XStorage)UnoRuntime.queryInterface(XStorage.class, xStorageService.createInstanceWithArguments(props));
PropertyValue[] initProps = new PropertyValue[4];
PropertyValue propVal = new PropertyValue();
@@ -131,8 +131,8 @@ public class ModuleUIConfigurationManager extends TestCase {
initProps[0] = propVal;
propVal = new PropertyValue();
propVal.Name = "UserConfigStorage";
- propVal.Value = xStore;
- initProps[1] = propVal;
+ propVal.Value = xStore;
+ initProps[1] = propVal;
propVal = new PropertyValue();
propVal.Name = "ModuleIdentifier";
propVal.Value = "swriter";
@@ -140,24 +140,24 @@ public class ModuleUIConfigurationManager extends TestCase {
propVal = new PropertyValue();
propVal.Name = "UserRootCommit";
propVal.Value = (XTransactedObject)UnoRuntime.queryInterface(XTransactedObject.class, xStore);
- initProps[3] = propVal;
-
-
+ initProps[3] = propVal;
+
+
tEnv.addObjRelation("XInitialization.args", initProps);
-
+
// the short cut manager service name
- // 2do: correct the service name when it's no longer in
- tEnv.addObjRelation("XConfigurationManager.ShortCutManager",
+ // 2do: correct the service name when it's no longer in
+ tEnv.addObjRelation("XConfigurationManager.ShortCutManager",
"com.sun.star.ui.ModuleAcceleratorConfiguration");
-
+
// the resourceURL
tEnv.addObjRelation("XModuleUIConfigurationManager.ResourceURL",
"private:resource/menubar/menubar");
- tEnv.addObjRelation("XUIConfiguration.XUIConfigurationListenerImpl",
- new ConfigurationListener(log,
+ tEnv.addObjRelation("XUIConfiguration.XUIConfigurationListenerImpl",
+ new ConfigurationListener(log,
(XUIConfigurationManager)UnoRuntime.queryInterface(
XUIConfigurationManager.class, oObj), xMSF));
- tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName",
+ tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName",
"com.sun.star.comp.framework.ModuleUIConfigurationManager");
}
catch(com.sun.star.uno.Exception e) {
@@ -166,7 +166,7 @@ public class ModuleUIConfigurationManager extends TestCase {
}
return tEnv;
}
-
+
/**
* An implementation of the _XUIConfiguration.XUIConfigurationListenerImpl
* interface to trigger the event for a listener call.
@@ -177,7 +177,7 @@ public class ModuleUIConfigurationManager extends TestCase {
private PrintWriter log = null;
private XUIConfigurationManager xUIManager = null;
private XMultiServiceFactory xMSF = null;
-
+
public ConfigurationListener(PrintWriter _log, XUIConfigurationManager xUIManager, XMultiServiceFactory xMSF) {
log = _log;
this.xUIManager = xUIManager;
@@ -193,7 +193,7 @@ public class ModuleUIConfigurationManager extends TestCase {
PropertyValue[]prop = _XUIConfigurationManager.createMenuBarEntry(
"Trigger Event", xMenuBarSettings, xMSF, log);
- _XUIConfigurationManager.createMenuBarItem("Click for Macro",
+ _XUIConfigurationManager.createMenuBarItem("Click for Macro",
(XIndexContainer)UnoRuntime.queryInterface(
XIndexContainer.class, prop[3].Value), log);
XIndexContainer x = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class, xMenuBarSettings);
@@ -241,5 +241,5 @@ public class ModuleUIConfigurationManager extends TestCase {
log.println("_XUIConfiguration.XUIConfigurationListenerImpl.elementReplaced.");
}
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java
index 0d3ba82f9115..9da4e7fa8d59 100755
--- a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java
+++ b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,14 +40,14 @@ import lib.TestParameters;
*/
public class ModuleUIConfigurationManagerSupplier extends TestCase{
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
try {
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
oObj = (XInterface)xMSF.createInstance("com.sun.star.ui.ModuleUIConfigurationManagerSupplier");
tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigurationManager",
+ tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigurationManager",
"com.sun.star.frame.StartModule");
tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName", "com.sun.star.comp.framework.ModuleUIConfigurationManager");
}
@@ -55,6 +55,6 @@ public class ModuleUIConfigurationManagerSupplier extends TestCase{
throw new StatusException("Cannot create test object", e);
}
return tEnv;
- }
-
+ }
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java b/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java
index 3fd6a3d8ed0c..2b1da80a87d5 100755
--- a/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,7 +53,7 @@ public class ObjectMenuController extends TestCase {
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -88,7 +88,7 @@ public class ObjectMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'ControlMenuController'", e);
}
- log.println("TestObject: " + utils.getImplName(oObj));
+ log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
diff --git a/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java b/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java
index e45cd14ad452..91ac2fbd8e70 100755
--- a/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java
+++ b/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,7 +55,7 @@ public class PopupMenuControllerFactory extends TestCase {
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -67,7 +67,7 @@ public class PopupMenuControllerFactory extends TestCase {
}
}
-
+
/**
* Create test environment:
* @param tParam The test parameters.
@@ -83,7 +83,7 @@ public class PopupMenuControllerFactory extends TestCase {
xTextDoc = WriterTools.createTextDoc(xMSF);
util.dbg.printInterfaces(xTextDoc);
-
+
try {
xInst = (XInterface)xMSF.createInstance(
"com.sun.star.comp.framework.PopupMenuControllerFactory");
@@ -91,7 +91,7 @@ public class PopupMenuControllerFactory extends TestCase {
catch(com.sun.star.uno.Exception e) {
throw new StatusException("Couldn't create test object", e);
}
-
+
log.println("TestObject: " + util.utils.getImplName(xInst));
tEnv = new TestEnvironment(xInst);
XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xMSF);
@@ -108,15 +108,15 @@ public class PopupMenuControllerFactory extends TestCase {
log.println("Cannot get the 'DefaultContext' for XMultiComponentFactory test.");
e.printStackTrace(log);
}
-
+
// register one controller, so it can be instantiated
XUIControllerRegistration xReg = (XUIControllerRegistration)
UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
-
+
xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
-
+
return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java b/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java
index 391e01f4cb42..9caa75de4d4f 100644
--- a/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java
+++ b/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwk/SoundHandler.java b/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
index 3b74f8015a43..d94c3d57a123 100644
--- a/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
+++ b/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,9 +70,9 @@ public class SoundHandler extends TestCase {
}
TestEnvironment tEnv = new TestEnvironment( oObj );
- URL dispURL = utils.parseURL((XMultiServiceFactory)Param.getMSF(),
+ URL dispURL = utils.parseURL((XMultiServiceFactory)Param.getMSF(),
utils.getFullTestURL("ok.wav"));
- System.out.println("DISPATCHURL: "+ dispURL.Complete);
+ System.out.println("DISPATCHURL: "+ dispURL.Complete);
tEnv.addObjRelation("XDispatch.URL", dispURL);
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java b/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java
index bc3cfa588aa7..a7d09a818331 100644
--- a/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java
+++ b/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,13 +41,13 @@ import lib.TestParameters;
*/
public class StatusBarControllerFactory extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
try {
oObj = (XInterface)xMSF.createInstance("com.sun.star.comp.framework.StatusBarControllerFactory");
-
+
tEnv = new TestEnvironment(oObj);
}
catch(com.sun.star.uno.Exception e) {
diff --git a/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java b/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java
index 5472043e4e88..a27761f0389c 100644
--- a/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java
+++ b/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class ToolBarsMenuController extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class ToolBarsMenuController extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'ToolBarsMenuController'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java b/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java
index 9f7492a497b8..2adf240b8db4 100644
--- a/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java
+++ b/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
*/
public class UICategoryDescription extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -51,10 +51,10 @@ public class UICategoryDescription extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'UICategoryDescription'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java b/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java
index 19277d71621c..7b506972e5f0 100755
--- a/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java
+++ b/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,7 +41,7 @@ import util.utils;
*/
public class UICommandDescription extends TestCase {
XInterface oObj = null;
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
@@ -52,10 +52,10 @@ public class UICommandDescription extends TestCase {
e.printStackTrace(log);
throw new StatusException("Could not create object 'UICommandDescription'", e);
}
-
+
log.println("TestObject: " + utils.getImplName(oObj));
tEnv = new TestEnvironment(oObj);
return tEnv;
- }
+ }
}
diff --git a/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java b/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java
index 0ab78ad40bab..235e8a4be8ab 100755
--- a/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java
+++ b/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,8 +53,8 @@ import util.utils;
*/
public class UIConfigurationManager extends TestCase {
XUIConfigurationManager xManager = null;
-
-
+
+
/**
* Create test environment:
* <ul>
@@ -70,9 +70,9 @@ public class UIConfigurationManager extends TestCase {
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
-
+
log.println("Creating instance...");
-
+
try {
xManager = (XUIConfigurationManager)UnoRuntime.queryInterface(
XUIConfigurationManager.class, xMSF.createInstance(
@@ -83,7 +83,7 @@ public class UIConfigurationManager extends TestCase {
// just to make sure, it's the right one.
log.println("TestObject: " + utils.getImplName(xManager));
tEnv = new TestEnvironment(xManager);
-
+
// create a configuration storage
try {
String sourceDeleteCfg = util.utils.getFullTestURL("delete.cfg");
@@ -98,7 +98,7 @@ public class UIConfigurationManager extends TestCase {
props[1] = new Integer(ElementModes.READWRITE);
XStorage xRootStorage = (XStorage)UnoRuntime.queryInterface(XStorage.class, xSSF.createInstanceWithArguments(props));
xSubStorage = xRootStorage.openStorageElement("Configurations2", ElementModes.READWRITE);
-
+
XUIConfigurationStorage xConfigStorage =(XUIConfigurationStorage)UnoRuntime.queryInterface(XUIConfigurationStorage.class, xManager);
xConfigStorage.setStorage(xSubStorage);
tEnv.addObjRelation("XUIConfigurationStorage.Storage", xSubStorage);
@@ -107,17 +107,17 @@ public class UIConfigurationManager extends TestCase {
log.println("Could not create storage: " + e.toString());
}
util.dbg.printInterfaces(xManager);
-
+
tEnv.addObjRelation("XUIConfiguration.XUIConfigurationListenerImpl",
new ConfigurationListener(log, xManager, xMSF));
// the short cut manager service name
- // 2do: correct the service name when it's no longer in
- tEnv.addObjRelation("XConfigurationManager.ShortCutManager",
+ // 2do: correct the service name when it's no longer in
+ tEnv.addObjRelation("XConfigurationManager.ShortCutManager",
"com.sun.star.ui.DocumentAcceleratorConfiguration");
return tEnv;
}
-
+
/**
* An implementation of the _XUIConfiguration.XUIConfigurationListenerImpl
* interface to trigger the event for a listener call.
@@ -129,7 +129,7 @@ public class UIConfigurationManager extends TestCase {
private XUIConfigurationManager xUIManager = null;
private XMultiServiceFactory xMSF = null;
private static int iUniqueCounter;
-
+
public ConfigurationListener(PrintWriter _log, XUIConfigurationManager xUIManager, XMultiServiceFactory xMSF) {
log = _log;
this.xUIManager = xUIManager;
@@ -146,7 +146,7 @@ public class UIConfigurationManager extends TestCase {
PropertyValue[][]props = xUIManager.getUIElementsInfo(UIElementType.UNKNOWN);
XIndexAccess xMenuBarSettings = xUIManager.getSettings(
"private:resource/menubar/menubar", true);
-
+
PropertyValue[]prop = _XUIConfigurationManager.createMenuBarEntry(
"Trigger Event", xMenuBarSettings, xMSF, log);
_XUIConfigurationManager.createMenuBarItem("Click for Macro",
@@ -199,7 +199,7 @@ public class UIConfigurationManager extends TestCase {
log.println("_XUIConfiguration.XUIConfigurationListenerImpl.elementReplaced.");
}
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java b/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java
index aef3ad663ae1..7c26c3b18b87 100755
--- a/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java
+++ b/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,7 +53,7 @@ public class UIElementFactoryManager extends TestCase {
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -90,10 +90,10 @@ public class UIElementFactoryManager extends TestCase {
throw new StatusException("Cannot create test object.", e);
}
log.println("TestObject: " + util.utils.getImplName(oObj));
-
+
tEnv = new TestEnvironment((XInterface)oObj);
-
+
return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_fwk/URLTransformer.java b/qadevOOo/tests/java/mod/_fwk/URLTransformer.java
index 56fee3181ae0..f9984b93308e 100644
--- a/qadevOOo/tests/java/mod/_fwk/URLTransformer.java
+++ b/qadevOOo/tests/java/mod/_fwk/URLTransformer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwl/ContentHandlerFactory.java b/qadevOOo/tests/java/mod/_fwl/ContentHandlerFactory.java
index 109611657bab..e50998ab1b26 100644
--- a/qadevOOo/tests/java/mod/_fwl/ContentHandlerFactory.java
+++ b/qadevOOo/tests/java/mod/_fwl/ContentHandlerFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +97,14 @@ public class ContentHandlerFactory extends TestCase {
(XNameAccess.class, oObj);
tEnv.addObjRelation("XMSF.serviceNames", xNA.getElementNames());
String[] dummy = xNA.getElementNames();
-
+
// com.sun.star.container.XContainerQuery
- NamedValue[] querySequenze = new NamedValue[1];
+ NamedValue[] querySequenze = new NamedValue[1];
NamedValue query = new NamedValue();
query.Name = "Name";
query.Value = "com.sun.star.comp.framework.SoundHandler";
querySequenze[0] = query;
-
+
tEnv.addObjRelation("XContainerQuery.createSubSetEnumerationByProperties",
querySequenze);
diff --git a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java
index 42c05bd24f41..f274282c45cb 100644
--- a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java
+++ b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -102,7 +102,7 @@ public class FilterFactory extends TestCase {
XNameAccess xNA = (XNameAccess) UnoRuntime.queryInterface
(XNameAccess.class, oObj);
String[] filterNames = xNA.getElementNames();
-
+
// XNameContainer; XNameReplace
String filterName = filterNames[0];
Object[] instance = null;;
@@ -119,14 +119,14 @@ public class FilterFactory extends TestCase {
throw new StatusException(
Status.failed("Couldn't get elements from object"));
}
-
+
log.println("adding INSTANCE 1 as obj relation to environment");
-
+
log.println("fill property 'TemplateName' with 'INSTANCE1'");
setPropertyValueValue((PropertyValue[])instance, "TemplateName", "INSTANCE1");
tEnv.addObjRelation("INSTANCE" +1, instance);
-
-
+
+
// XMSF
Vector vFTypes = new Vector();
Vector vFArgs = new Vector();
@@ -163,16 +163,16 @@ public class FilterFactory extends TestCase {
vFArgs.toArray(new Object[vFArgs.size()][]));
// com.sun.star.container.XContainerQuery
- NamedValue[] querySequenze = new NamedValue[1];
+ NamedValue[] querySequenze = new NamedValue[1];
NamedValue query = new NamedValue();
query.Name = "Name";
query.Value = "Rich Text Format";
querySequenze[0] = query;
-
+
tEnv.addObjRelation("XContainerQuery.createSubSetEnumerationByProperties",
querySequenze);
-
-
+
+
return tEnv;
} // finish method getTestEnvironment
@@ -182,7 +182,7 @@ public class FilterFactory extends TestCase {
i++;
}
return i < props.length ? props[i].Value : null;
-
+
}
protected void setPropertyValueValue(PropertyValue[] props, String pName, Object pValue) {
@@ -199,7 +199,7 @@ public class FilterFactory extends TestCase {
i++;
}
return i < props.length ? props[i] : null;
-
+
}
}
diff --git a/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java b/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java
index da819d91fe3c..dc83d96dd928 100644
--- a/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java
+++ b/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +97,12 @@ public class FrameLoaderFactory extends TestCase {
tEnv.addObjRelation("XMSF.serviceNames", xNA.getElementNames());
// com.sun.star.container.XContainerQuery
- NamedValue[] querySequenze = new NamedValue[1];
+ NamedValue[] querySequenze = new NamedValue[1];
NamedValue query = new NamedValue();
query.Name = "Name";
query.Value = "com.sun.star.frame.Bibliography";
querySequenze[0] = query;
-
+
tEnv.addObjRelation("XContainerQuery.createSubSetEnumerationByProperties",
querySequenze);
diff --git a/qadevOOo/tests/java/mod/_fwl/PathSettings.java b/qadevOOo/tests/java/mod/_fwl/PathSettings.java
index dbedc87bd374..7bfe808b43f9 100644
--- a/qadevOOo/tests/java/mod/_fwl/PathSettings.java
+++ b/qadevOOo/tests/java/mod/_fwl/PathSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 PathSettings extends TestCase {
private static NamedValue[] m_Properties;
private static XPropertySet xPS;
-
+
/**
* restores the old values of the path settings
* @param tParam the test parameter
@@ -82,10 +82,10 @@ public class PathSettings extends TestCase {
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println("restore old values of path settings...");
-
+
for (int i=0; i < m_Properties.length; i++){
try{
-
+
xPS.setPropertyValue(m_Properties[i].Name, m_Properties[i].Value);
} catch (com.sun.star.beans.UnknownPropertyException e){
@@ -94,7 +94,7 @@ public class PathSettings extends TestCase {
} catch (WrappedTargetException e){
}
}
- }
+ }
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates an instance of the service
@@ -130,25 +130,25 @@ public class PathSettings extends TestCase {
exclProps.add("UIConfig");
tEnv.addObjRelation("XFastPropertySet.ExcludeProps", exclProps);
tEnv.addObjRelation("XMultiPropertySet.ExcludeProps", exclProps);
-
+
saveAllPropertyValues(oObj);
return tEnv;
} // finish method getTestEnvironment
-
+
private void saveAllPropertyValues(XInterface oObj){
-
+
xPS = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oObj);
-
+
XPropertySetInfo xPSI = xPS.getPropertySetInfo();
-
+
Property[] allProperties = xPSI.getProperties();
m_Properties = new NamedValue[allProperties.length];
-
+
for (int i=0; i < allProperties.length; i++){
try{
- m_Properties[i] = new NamedValue(allProperties[i].Name,
+ m_Properties[i] = new NamedValue(allProperties[i].Name,
xPS.getPropertyValue(allProperties[i].Name));
} catch (com.sun.star.beans.UnknownPropertyException e){
diff --git a/qadevOOo/tests/java/mod/_fwl/SubstituteVariables.java b/qadevOOo/tests/java/mod/_fwl/SubstituteVariables.java
index ba69d3d86035..1cda9fdcbf1c 100644
--- a/qadevOOo/tests/java/mod/_fwl/SubstituteVariables.java
+++ b/qadevOOo/tests/java/mod/_fwl/SubstituteVariables.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_fwl/TypeDetection.java b/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
index 4a298e8bc637..80d42dcd297f 100644
--- a/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
+++ b/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ import util.SOfficeFactory;
* @see ifc.util.XFlushable
*/
public class TypeDetection extends TestCase {
-
+
/**
* Disposes text document.
*/
@@ -88,7 +88,7 @@ public class TypeDetection extends TestCase {
}
XTextDocument xTextDoc = null;
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates an instance of the service
@@ -133,35 +133,35 @@ public class TypeDetection extends TestCase {
throw new StatusException(
Status.failed("Couldn't get elements from object"));
}
-
+
log.println("adding INSTANCE 1 as obj relation to environment");
-
+
setPropertyValueValue((PropertyValue[])instance, "Preferred", "INSTANCE1");
tEnv.addObjRelation("INSTANCE" +1, instance);
// com.sun.star.container.XContainerQuery
- NamedValue[] querySequenze = new NamedValue[1];
+ NamedValue[] querySequenze = new NamedValue[1];
NamedValue query = new NamedValue();
query.Name = "Name";
query.Value = "writer_Text";
querySequenze[0] = query;
-
-
+
+
log.println("create text document with bookmarks");
- SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF() );
+ SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF() );
String fileURL = null;
try {
xTextDoc = SOF.createTextDoc( null );
XInterface xBookMark = SOF.createBookmark( xTextDoc );
SOF.insertTextContent( xTextDoc, (XTextContent) xBookMark );
-
+
fileURL = utils.getOfficeTemp((XMultiServiceFactory)Param.getMSF() );
fileURL = fileURL + "bookmarks.oot";
XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class, xTextDoc);
System.out.println(fileURL);
store.storeToURL(fileURL, new PropertyValue[0]);
-
+
} catch( com.sun.star.uno.Exception e ) {
e.printStackTrace( log );
throw new StatusException( "Couldn't create Bookmark", e );
@@ -174,7 +174,7 @@ public class TypeDetection extends TestCase {
return tEnv;
} // finish method getTestEnvironment
-
+
protected void setPropertyValueValue(PropertyValue[] props, String pName, Object pValue) {
int i = 0;
while (i < props.length && !props[i].Name.equals(pName)) {
diff --git a/qadevOOo/tests/java/mod/_i18n/BreakIterator.java b/qadevOOo/tests/java/mod/_i18n/BreakIterator.java
index caad1aade8d1..6ef935db601c 100644
--- a/qadevOOo/tests/java/mod/_i18n/BreakIterator.java
+++ b/qadevOOo/tests/java/mod/_i18n/BreakIterator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/CalendarImpl.java b/qadevOOo/tests/java/mod/_i18n/CalendarImpl.java
index 2ebbb1a38281..6ff2b549b76c 100644
--- a/qadevOOo/tests/java/mod/_i18n/CalendarImpl.java
+++ b/qadevOOo/tests/java/mod/_i18n/CalendarImpl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/ChapterCollator.java b/qadevOOo/tests/java/mod/_i18n/ChapterCollator.java
index 423c8b8cde28..0b22deed7a93 100644
--- a/qadevOOo/tests/java/mod/_i18n/ChapterCollator.java
+++ b/qadevOOo/tests/java/mod/_i18n/ChapterCollator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/CharacterClassification.java b/qadevOOo/tests/java/mod/_i18n/CharacterClassification.java
index d3267a6117e8..1044442ca56d 100644
--- a/qadevOOo/tests/java/mod/_i18n/CharacterClassification.java
+++ b/qadevOOo/tests/java/mod/_i18n/CharacterClassification.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/Collator.java b/qadevOOo/tests/java/mod/_i18n/Collator.java
index a887a86df3ff..a6d7b81ed063 100644
--- a/qadevOOo/tests/java/mod/_i18n/Collator.java
+++ b/qadevOOo/tests/java/mod/_i18n/Collator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/IndexEntrySupplier.java b/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java
index 9f2990cc3ba5..c0299087ed8d 100644
--- a/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java
+++ b/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/LocaleData.java b/qadevOOo/tests/java/mod/_i18n/LocaleData.java
index f71dcbcb8501..935a534fbeb9 100644
--- a/qadevOOo/tests/java/mod/_i18n/LocaleData.java
+++ b/qadevOOo/tests/java/mod/_i18n/LocaleData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/NumberFormatCodeMapper.java b/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java
index 7b46c973f683..86a676380c7e 100644
--- a/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java
+++ b/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/TextSearch.java b/qadevOOo/tests/java/mod/_i18n/TextSearch.java
index 835e0a3c1a90..20b678d4b155 100644
--- a/qadevOOo/tests/java/mod/_i18n/TextSearch.java
+++ b/qadevOOo/tests/java/mod/_i18n/TextSearch.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_i18n/Transliteration.java b/qadevOOo/tests/java/mod/_i18n/Transliteration.java
index 1f89d930d39f..808311032e4c 100644
--- a/qadevOOo/tests/java/mod/_i18n/Transliteration.java
+++ b/qadevOOo/tests/java/mod/_i18n/Transliteration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_implreg.uno/ImplementationRegistration.java b/qadevOOo/tests/java/mod/_implreg.uno/ImplementationRegistration.java
index 7805a66c3042..0c85c74d1eab 100644
--- a/qadevOOo/tests/java/mod/_implreg.uno/ImplementationRegistration.java
+++ b/qadevOOo/tests/java/mod/_implreg.uno/ImplementationRegistration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_impreg/ImplementationRegistration.java b/qadevOOo/tests/java/mod/_impreg/ImplementationRegistration.java
index 184aaff2db8c..cc48e6e314c7 100644
--- a/qadevOOo/tests/java/mod/_impreg/ImplementationRegistration.java
+++ b/qadevOOo/tests/java/mod/_impreg/ImplementationRegistration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_insp/Introspection.java b/qadevOOo/tests/java/mod/_insp/Introspection.java
index f3b9956dcc3f..891d182df31d 100644
--- a/qadevOOo/tests/java/mod/_insp/Introspection.java
+++ b/qadevOOo/tests/java/mod/_insp/Introspection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_introspection.uno/Introspection.java b/qadevOOo/tests/java/mod/_introspection.uno/Introspection.java
index 2c0ddac78ba8..ba4b9431df42 100644
--- a/qadevOOo/tests/java/mod/_introspection.uno/Introspection.java
+++ b/qadevOOo/tests/java/mod/_introspection.uno/Introspection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_inv/Invocation.java b/qadevOOo/tests/java/mod/_inv/Invocation.java
index 06de72e30c5a..98d5e91b4ea3 100644
--- a/qadevOOo/tests/java/mod/_inv/Invocation.java
+++ b/qadevOOo/tests/java/mod/_inv/Invocation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_invadp/InvocationAdapterFactory.java b/qadevOOo/tests/java/mod/_invadp/InvocationAdapterFactory.java
index 91a91ab3f28a..2b13633d8b2f 100644
--- a/qadevOOo/tests/java/mod/_invadp/InvocationAdapterFactory.java
+++ b/qadevOOo/tests/java/mod/_invadp/InvocationAdapterFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_invocadapt.uno/InvocationAdapterFactory.java b/qadevOOo/tests/java/mod/_invocadapt.uno/InvocationAdapterFactory.java
index 46dd600d0cf3..6b1e5e47d7eb 100644
--- a/qadevOOo/tests/java/mod/_invocadapt.uno/InvocationAdapterFactory.java
+++ b/qadevOOo/tests/java/mod/_invocadapt.uno/InvocationAdapterFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_invocation.uno/Invocation.java b/qadevOOo/tests/java/mod/_invocation.uno/Invocation.java
index f112fe07ab34..6b376a3618d4 100644
--- a/qadevOOo/tests/java/mod/_invocation.uno/Invocation.java
+++ b/qadevOOo/tests/java/mod/_invocation.uno/Invocation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_javaloader.uno/JavaComponentLoader.java b/qadevOOo/tests/java/mod/_javaloader.uno/JavaComponentLoader.java
index 7e9a5f68f5a7..17ba5818306f 100644
--- a/qadevOOo/tests/java/mod/_javaloader.uno/JavaComponentLoader.java
+++ b/qadevOOo/tests/java/mod/_javaloader.uno/JavaComponentLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_javaloader/JavaComponentLoader.java b/qadevOOo/tests/java/mod/_javaloader/JavaComponentLoader.java
index 8d20e4e2ffc7..81ee0485888c 100644
--- a/qadevOOo/tests/java/mod/_javaloader/JavaComponentLoader.java
+++ b/qadevOOo/tests/java/mod/_javaloader/JavaComponentLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -88,7 +88,7 @@ public class JavaComponentLoader extends TestCase {
// adding object relation for XImplementationLoader ifc test
tEnv.addObjRelation("ImplementationLoader",
"com.sun.star.loader.JavaComponentLoader") ;
-
+
String implURL = utils.getFullTestURL("qadevlibs/MyPersistObjectImpl.jar");
tEnv.addObjRelation("ImplementationUrl", implURL) ;
log.println("looking for shared lib: " + implURL);
diff --git a/qadevOOo/tests/java/mod/_javavm.uno/JavaVirtualMachine.java b/qadevOOo/tests/java/mod/_javavm.uno/JavaVirtualMachine.java
index 63e60fa95976..09192967bce0 100644
--- a/qadevOOo/tests/java/mod/_javavm.uno/JavaVirtualMachine.java
+++ b/qadevOOo/tests/java/mod/_javavm.uno/JavaVirtualMachine.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_jdbc/JDBCDriver.java b/qadevOOo/tests/java/mod/_jdbc/JDBCDriver.java
index fd056e877f6b..c7fbc712ed91 100644
--- a/qadevOOo/tests/java/mod/_jdbc/JDBCDriver.java
+++ b/qadevOOo/tests/java/mod/_jdbc/JDBCDriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_jen/JavaVirtualMachine.java b/qadevOOo/tests/java/mod/_jen/JavaVirtualMachine.java
index 136eed306ebe..ba25eb21342e 100644
--- a/qadevOOo/tests/java/mod/_jen/JavaVirtualMachine.java
+++ b/qadevOOo/tests/java/mod/_jen/JavaVirtualMachine.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_lng/DicList.java b/qadevOOo/tests/java/mod/_lng/DicList.java
index 13b0998babe3..806b38290c93 100644
--- a/qadevOOo/tests/java/mod/_lng/DicList.java
+++ b/qadevOOo/tests/java/mod/_lng/DicList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_lng/LinguProps.java b/qadevOOo/tests/java/mod/_lng/LinguProps.java
index c209f4b2367b..77e951568f38 100644
--- a/qadevOOo/tests/java/mod/_lng/LinguProps.java
+++ b/qadevOOo/tests/java/mod/_lng/LinguProps.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_lng/LngSvcMgr.java b/qadevOOo/tests/java/mod/_lng/LngSvcMgr.java
index 609cfe4101a3..f2433f0cf3a4 100644
--- a/qadevOOo/tests/java/mod/_lng/LngSvcMgr.java
+++ b/qadevOOo/tests/java/mod/_lng/LngSvcMgr.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_lnn/Hyphenator.java b/qadevOOo/tests/java/mod/_lnn/Hyphenator.java
index 431cdaafd994..7e313385d07b 100644
--- a/qadevOOo/tests/java/mod/_lnn/Hyphenator.java
+++ b/qadevOOo/tests/java/mod/_lnn/Hyphenator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_lnn/SpellChecker.java b/qadevOOo/tests/java/mod/_lnn/SpellChecker.java
index 293c80a07c1c..55cc7e143099 100644
--- a/qadevOOo/tests/java/mod/_lnn/SpellChecker.java
+++ b/qadevOOo/tests/java/mod/_lnn/SpellChecker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -98,7 +98,7 @@ public class SpellChecker extends TestCase {
String Iname = util.utils.getImplName(oObj);
log.println("Implementation Name: "+Iname);
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
XLinguServiceManager xLinguServiceManager = (XLinguServiceManager) UnoRuntime.queryInterface(XLinguServiceManager.class, LinguServiceManager);
tEnv.addObjRelation("AlternativeChecker",xLinguServiceManager.getSpellChecker());
diff --git a/qadevOOo/tests/java/mod/_lnn/Thesaurus.java b/qadevOOo/tests/java/mod/_lnn/Thesaurus.java
index 566bbbaf4561..65c5939798f1 100644
--- a/qadevOOo/tests/java/mod/_lnn/Thesaurus.java
+++ b/qadevOOo/tests/java/mod/_lnn/Thesaurus.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_mcnttype/MimeContentTypeFactory.java b/qadevOOo/tests/java/mod/_mcnttype/MimeContentTypeFactory.java
index 523ed4cd0e2d..42ded566f92d 100644
--- a/qadevOOo/tests/java/mod/_mcnttype/MimeContentTypeFactory.java
+++ b/qadevOOo/tests/java/mod/_mcnttype/MimeContentTypeFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_mozab/MozabDriver.java b/qadevOOo/tests/java/mod/_mozab/MozabDriver.java
index 1ff1c8492fb8..a50398eff832 100644
--- a/qadevOOo/tests/java/mod/_mozab/MozabDriver.java
+++ b/qadevOOo/tests/java/mod/_mozab/MozabDriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_namingservice.uno/NamingService.java b/qadevOOo/tests/java/mod/_namingservice.uno/NamingService.java
index 0c2a3128e0ff..73ff7815b9f7 100644
--- a/qadevOOo/tests/java/mod/_namingservice.uno/NamingService.java
+++ b/qadevOOo/tests/java/mod/_namingservice.uno/NamingService.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_namingservice/NamingService.java b/qadevOOo/tests/java/mod/_namingservice/NamingService.java
index b6d02e0a2ac8..d7bffd85e347 100644
--- a/qadevOOo/tests/java/mod/_namingservice/NamingService.java
+++ b/qadevOOo/tests/java/mod/_namingservice/NamingService.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_nestedreg.uno/NestedRegistry.java b/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java
index 6c5f7dc53997..b1c9c8642254 100644
--- a/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java
+++ b/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_odbc/ODBCDriver.java b/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
index 6289f863dce7..0705d424cd57 100644
--- a/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
+++ b/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_pcr/ObjectInspector.java b/qadevOOo/tests/java/mod/_pcr/ObjectInspector.java
index 52635c813eb9..aabee75977bc 100644
--- a/qadevOOo/tests/java/mod/_pcr/ObjectInspector.java
+++ b/qadevOOo/tests/java/mod/_pcr/ObjectInspector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +67,13 @@ import util.utils;
* @see com.sun.star.frame.XController
*/
public class ObjectInspector extends TestCase {
-
+
/**
* module variable which holds the Desktop
* @see com.sun.star.frame.Desktop
*/
protected static Object StarDesktop = null;
-
+
/**
* assign to the module variable <CODE>StarDesktop</CODE> the desktop
* @param Param the test parameters
@@ -89,7 +89,7 @@ public class ObjectInspector extends TestCase {
throw new StatusException("Could not get a Desktop: null", null);
}
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates an instance of the service
@@ -105,88 +105,88 @@ public class ObjectInspector extends TestCase {
* @see helper.PropertyHandlerImpl
*/
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
-
+
this.cleanup(tParam, log);
-
+
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
-
+
try {
XInterface oInspector = (XInterface) xMSF.createInstance("com.sun.star.inspection.ObjectInspector");
-
+
XObjectInspector xInspector = (XObjectInspector) UnoRuntime.queryInterface(XObjectInspector.class, oInspector);
-
+
log.println("ImplementationName '" + utils.getImplName(xInspector) + "'");
-
+
XInterface oInspectorModel = (XInterface) xMSF.createInstance("com.sun.star.inspection.ObjectInspectorModel");
-
+
XObjectInspectorModel xInspectorModel = (XObjectInspectorModel)
UnoRuntime.queryInterface(XObjectInspectorModel.class, oInspectorModel);
-
+
XInterface oInspectorModelToSet = (XInterface) xMSF.createInstance("com.sun.star.inspection.ObjectInspectorModel");
-
+
XObjectInspectorModel xInspectorModelToSet = (XObjectInspectorModel)
UnoRuntime.queryInterface(XObjectInspectorModel.class, oInspectorModelToSet);
-
-
+
+
log.println("create a floating frame...");
-
+
XWindow xWindow = null;
try{
-
+
XWindowPeer xWindowPeer = DesktopTools.createFloatingWindow(xMSF);
-
+
xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xWindowPeer);
-
+
} catch (StatusException e){
throw new StatusException("Coud not create test object", e);
}
-
+
XInterface oFrame = (XInterface) xMSF.createInstance("com.sun.star.frame.Frame");
-
+
XFrame xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
-
+
xFrame.setName("ObjectInspector");
xFrame.initialize(xWindow);
-
+
XFramesSupplier xFramesSup = (XFramesSupplier) UnoRuntime.queryInterface(XFramesSupplier.class, StarDesktop);
-
+
XFrames xFrames = xFramesSup.getFrames();
xFrames.append(xFrame);
-
-
+
+
log.println("attach ObjectInspector to floating frame...");
-
+
XInitialization xOII = (XInitialization) UnoRuntime.queryInterface(XInitialization.class, xInspectorModel);
-
+
xOII.initialize(new Object[0]);
-
+
xInspector.setInspectorModel(xInspectorModel);
-
+
// for debug purposes the following lines could commented out. But in
// this case the com.sun.star.frame.XController would be failed!
//xInspector.attachFrame(xFrame);
//xWindow.setVisible(true);
-
+
Object[] oInspect = new Object[1];
oInspect[0] = new PropertyHandlerImpl();
-
+
TestEnvironment tEnv = new TestEnvironment(xInspector);
-
+
// com.sun.star.frame.XController
tEnv.addObjRelation("Frame",xFrame);
-
+
tEnv.addObjRelation("XObjectInspector.toInspect", oInspect);
-
+
tEnv.addObjRelation("XObjectInspector.InspectorModelToSet", xInspectorModelToSet);
-
+
return tEnv;
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
throw new StatusException("Unexpected exception", e);
}
-
+
}
-
+
/**
* Closes the ObjectOnspector using <CODE>XCloseable</CODE>
* @see com.sun.star.util.XCloseable
@@ -195,13 +195,13 @@ public class ObjectInspector extends TestCase {
*/
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println(" Closing dialog if one exists ... ");
-
+
XFrame existentInspector = null;
-
+
XFrame xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, StarDesktop);
-
+
existentInspector = xFrame.findFrame( "ObjectInspector", 255 );
-
+
if ( existentInspector != null ){
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, existentInspector);
diff --git a/qadevOOo/tests/java/mod/_pcr/ObjectInspectorModel.java b/qadevOOo/tests/java/mod/_pcr/ObjectInspectorModel.java
index f6044a3926d8..2330de06ee7d 100644
--- a/qadevOOo/tests/java/mod/_pcr/ObjectInspectorModel.java
+++ b/qadevOOo/tests/java/mod/_pcr/ObjectInspectorModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,13 +59,13 @@ import util.utils;
* @see com.sun.star.inspection.XObjectInspectorModel
*/
public class ObjectInspectorModel extends TestCase {
-
+
/**
* module variable which holds the Desktop
* @see com.sun.star.frame.Desktop
*/
protected static Object StarDesktop = null;
-
+
/**
* assign to the module variable <CODE>StarDesktop</CODE> the desktop
* @param Param the test parameters
@@ -81,7 +81,7 @@ public class ObjectInspectorModel extends TestCase {
throw new StatusException("Could not get a Desktop: null", null);
}
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates an instance of the service
@@ -95,21 +95,21 @@ public class ObjectInspectorModel extends TestCase {
* @see helper.PropertyHandlerImpl
*/
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
-
+
this.cleanup(tParam, log);
-
+
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
-
+
XPropertySet xMSFProp = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xMSF);
XComponentContext xDefaultContext = null;
try{
// Get the default context from the office server.
Object oDefaultContext = xMSFProp.getPropertyValue("DefaultContext");
-
+
// Query for the interface XComponentContext.
xDefaultContext = (XComponentContext) UnoRuntime.queryInterface(
XComponentContext.class, oDefaultContext);
-
+
} catch (UnknownPropertyException e){
throw new StatusException("could not get DefaultContext from xMSF", e);
} catch (WrappedTargetException e){
@@ -117,35 +117,35 @@ public class ObjectInspectorModel extends TestCase {
} catch (Exception e){
throw new StatusException("could not get DefaultContext from xMSF", e);
}
-
+
try {
-
+
Object[] oHandlerFactories = new Object[1];
oHandlerFactories[0] = new PropertyHandlerFactroy();
-
+
int minHelpTextLines = 200;
int maxHelpTextLines = 400;
-
+
XObjectInspectorModel oInspectorModel = com.sun.star.inspection.ObjectInspectorModel.
createWithHandlerFactoriesAndHelpSection(xDefaultContext, oHandlerFactories,
minHelpTextLines, maxHelpTextLines);
-
+
log.println("ImplementationName '" + utils.getImplName(oInspectorModel) + "'");
-
+
TestEnvironment tEnv = new TestEnvironment(oInspectorModel);
-
+
// com.sun.star.inspection.XObjectInspectorModel
tEnv.addObjRelation("minHelpTextLines", new Integer(minHelpTextLines));
tEnv.addObjRelation("maxHelpTextLines", new Integer(maxHelpTextLines));
-
+
return tEnv;
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
throw new StatusException("Unexpected exception", e);
}
-
+
}
-
+
/**
* Closes the ObjectOnspector using <CODE>XCloseable</CODE>
* @see com.sun.star.util.XCloseable
@@ -154,13 +154,13 @@ public class ObjectInspectorModel extends TestCase {
*/
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println(" Closing dialog if one exists ... ");
-
+
XFrame existentInspector = null;
-
+
XFrame xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, StarDesktop);
-
+
existentInspector = xFrame.findFrame( "ObjectInspector", 255 );
-
+
if ( existentInspector != null ){
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, existentInspector);
diff --git a/qadevOOo/tests/java/mod/_proxyfac.uno/ProxyFactory.java b/qadevOOo/tests/java/mod/_proxyfac.uno/ProxyFactory.java
index ccd1286f697e..b3ee9aeb8e53 100644
--- a/qadevOOo/tests/java/mod/_proxyfac.uno/ProxyFactory.java
+++ b/qadevOOo/tests/java/mod/_proxyfac.uno/ProxyFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_proxyfac/ProxyFactory.java b/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java
index 75857eecc44d..15ce8a8ef4df 100644
--- a/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java
+++ b/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_proxyset/SOffice52ProxySettings.java b/qadevOOo/tests/java/mod/_proxyset/SOffice52ProxySettings.java
index 8ac66de12de6..41c467479a8e 100644
--- a/qadevOOo/tests/java/mod/_proxyset/SOffice52ProxySettings.java
+++ b/qadevOOo/tests/java/mod/_proxyset/SOffice52ProxySettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_proxyset/SystemProxySettings.java b/qadevOOo/tests/java/mod/_proxyset/SystemProxySettings.java
index 50ece587ff33..80068cfadf71 100644
--- a/qadevOOo/tests/java/mod/_proxyset/SystemProxySettings.java
+++ b/qadevOOo/tests/java/mod/_proxyset/SystemProxySettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_qadevOOo/SelfTest.java b/qadevOOo/tests/java/mod/_qadevOOo/SelfTest.java
index adca07f799d6..0bbe59be86df 100755
--- a/qadevOOo/tests/java/mod/_qadevOOo/SelfTest.java
+++ b/qadevOOo/tests/java/mod/_qadevOOo/SelfTest.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_rdbtdp/RegistryTypeDescriptionProvider.java b/qadevOOo/tests/java/mod/_rdbtdp/RegistryTypeDescriptionProvider.java
index 9785b9fd484e..0e6d823d20d5 100644
--- a/qadevOOo/tests/java/mod/_rdbtdp/RegistryTypeDescriptionProvider.java
+++ b/qadevOOo/tests/java/mod/_rdbtdp/RegistryTypeDescriptionProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_regtypeprov.uno/RegistryTypeDescriptionProvider.java b/qadevOOo/tests/java/mod/_regtypeprov.uno/RegistryTypeDescriptionProvider.java
index 6030cf18d99a..840e6e5a2df8 100644
--- a/qadevOOo/tests/java/mod/_regtypeprov.uno/RegistryTypeDescriptionProvider.java
+++ b/qadevOOo/tests/java/mod/_regtypeprov.uno/RegistryTypeDescriptionProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_remotebridge.uno/various.java b/qadevOOo/tests/java/mod/_remotebridge.uno/various.java
index 0bcaecc361db..8cdd56280b97 100644
--- a/qadevOOo/tests/java/mod/_remotebridge.uno/various.java
+++ b/qadevOOo/tests/java/mod/_remotebridge.uno/various.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_remotebridge/various.java b/qadevOOo/tests/java/mod/_remotebridge/various.java
index 88491ab7a186..c2cb26046a03 100644
--- a/qadevOOo/tests/java/mod/_remotebridge/various.java
+++ b/qadevOOo/tests/java/mod/_remotebridge/various.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +166,7 @@ public class various extends TestCase {
ex = e ;
} catch (com.sun.star.connection.AlreadyAcceptingException e) {
ex = e ;
- }
+ }
}
}
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
diff --git a/qadevOOo/tests/java/mod/_sch/AccArea.java b/qadevOOo/tests/java/mod/_sch/AccArea.java
index b371f1950558..3c2a0553b53b 100644
--- a/qadevOOo/tests/java/mod/_sch/AccArea.java
+++ b/qadevOOo/tests/java/mod/_sch/AccArea.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccAxis.java b/qadevOOo/tests/java/mod/_sch/AccAxis.java
index 2cdecae03aca..f566c2178d7d 100644
--- a/qadevOOo/tests/java/mod/_sch/AccAxis.java
+++ b/qadevOOo/tests/java/mod/_sch/AccAxis.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccDataPoint.java b/qadevOOo/tests/java/mod/_sch/AccDataPoint.java
index 3e94364a0559..2be986c8dd6e 100644
--- a/qadevOOo/tests/java/mod/_sch/AccDataPoint.java
+++ b/qadevOOo/tests/java/mod/_sch/AccDataPoint.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccDataSeries.java b/qadevOOo/tests/java/mod/_sch/AccDataSeries.java
index 2d5ec4fde1d5..7d0869150f63 100644
--- a/qadevOOo/tests/java/mod/_sch/AccDataSeries.java
+++ b/qadevOOo/tests/java/mod/_sch/AccDataSeries.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccDiagram.java b/qadevOOo/tests/java/mod/_sch/AccDiagram.java
index 9b7f90766fdd..cafb821be171 100644
--- a/qadevOOo/tests/java/mod/_sch/AccDiagram.java
+++ b/qadevOOo/tests/java/mod/_sch/AccDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccFloor.java b/qadevOOo/tests/java/mod/_sch/AccFloor.java
index 37d56815983d..d41d88a73509 100644
--- a/qadevOOo/tests/java/mod/_sch/AccFloor.java
+++ b/qadevOOo/tests/java/mod/_sch/AccFloor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccGrid.java b/qadevOOo/tests/java/mod/_sch/AccGrid.java
index 268f53ec8b3d..0cf1cbb2ed49 100644
--- a/qadevOOo/tests/java/mod/_sch/AccGrid.java
+++ b/qadevOOo/tests/java/mod/_sch/AccGrid.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccLegend.java b/qadevOOo/tests/java/mod/_sch/AccLegend.java
index aa46cdb8407d..f04b8f8916bb 100644
--- a/qadevOOo/tests/java/mod/_sch/AccLegend.java
+++ b/qadevOOo/tests/java/mod/_sch/AccLegend.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccLegendEntry.java b/qadevOOo/tests/java/mod/_sch/AccLegendEntry.java
index 61c221df57e0..89f5adf86b99 100644
--- a/qadevOOo/tests/java/mod/_sch/AccLegendEntry.java
+++ b/qadevOOo/tests/java/mod/_sch/AccLegendEntry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccStatisticsObject.java b/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
index aafe91fdd3d4..79c820d74ebe 100644
--- a/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
+++ b/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccTitle.java b/qadevOOo/tests/java/mod/_sch/AccTitle.java
index 0639f19ca4cc..17ad8808d6e8 100644
--- a/qadevOOo/tests/java/mod/_sch/AccTitle.java
+++ b/qadevOOo/tests/java/mod/_sch/AccTitle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccWall.java b/qadevOOo/tests/java/mod/_sch/AccWall.java
index 66779421cc0b..96b2aed3ca50 100644
--- a/qadevOOo/tests/java/mod/_sch/AccWall.java
+++ b/qadevOOo/tests/java/mod/_sch/AccWall.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/AccessibleDocumentView.java b/qadevOOo/tests/java/mod/_sch/AccessibleDocumentView.java
index 9031680f93f1..d52e5a37ff2e 100644
--- a/qadevOOo/tests/java/mod/_sch/AccessibleDocumentView.java
+++ b/qadevOOo/tests/java/mod/_sch/AccessibleDocumentView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXChartAxis.java b/qadevOOo/tests/java/mod/_sch/ChXChartAxis.java
index f796d5530a9c..786456d27381 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXChartAxis.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXChartAxis.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXChartData.java b/qadevOOo/tests/java/mod/_sch/ChXChartData.java
index 3236e345b8e6..861cd2b807c6 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXChartData.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXChartData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXChartDataArray.java b/qadevOOo/tests/java/mod/_sch/ChXChartDataArray.java
index 14caeefff8c1..b9db27d44582 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXChartDataArray.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXChartDataArray.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXChartDocument.java b/qadevOOo/tests/java/mod/_sch/ChXChartDocument.java
index deafa9922043..423a9f473457 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXChartDocument.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXChartDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -115,7 +115,7 @@ public class ChXChartDocument extends TestCase {
* @see com.sun.star.chart.XChartData
* @see com.sun.star.chart.ChartDocument
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
@@ -159,7 +159,7 @@ public class ChXChartDocument extends TestCase {
tEnv.addObjRelation("CONT2", cont2);
log.println("adding another Diagram as mod relation to environment");
- tEnv.addObjRelation("DIAGRAM",
+ tEnv.addObjRelation("DIAGRAM",
SOF.createDiagram(xChartDoc, "PieDiagram"));
log.println("adding another ChartData as mod relation to environment");
diff --git a/qadevOOo/tests/java/mod/_sch/ChXChartView.java b/qadevOOo/tests/java/mod/_sch/ChXChartView.java
index f5476f2d0643..9a8ada525fa3 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXChartView.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXChartView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXDataPoint.java b/qadevOOo/tests/java/mod/_sch/ChXDataPoint.java
index 0c1647684c75..078571d5df9c 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXDataPoint.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXDataPoint.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXDataRow.java b/qadevOOo/tests/java/mod/_sch/ChXDataRow.java
index 69139ea5d902..5bb8d83ac3a8 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXDataRow.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXDataRow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChXDiagram.java b/qadevOOo/tests/java/mod/_sch/ChXDiagram.java
index 908b947c4898..901467a89d33 100644
--- a/qadevOOo/tests/java/mod/_sch/ChXDiagram.java
+++ b/qadevOOo/tests/java/mod/_sch/ChXDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChartArea.java b/qadevOOo/tests/java/mod/_sch/ChartArea.java
index 614327f94a1e..017a1be8a4f3 100644
--- a/qadevOOo/tests/java/mod/_sch/ChartArea.java
+++ b/qadevOOo/tests/java/mod/_sch/ChartArea.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChartGrid.java b/qadevOOo/tests/java/mod/_sch/ChartGrid.java
index 73a44b810436..f863d134bceb 100644
--- a/qadevOOo/tests/java/mod/_sch/ChartGrid.java
+++ b/qadevOOo/tests/java/mod/_sch/ChartGrid.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChartLegend.java b/qadevOOo/tests/java/mod/_sch/ChartLegend.java
index a0dd4fe3ec64..429e30d325ed 100644
--- a/qadevOOo/tests/java/mod/_sch/ChartLegend.java
+++ b/qadevOOo/tests/java/mod/_sch/ChartLegend.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sch/ChartLine.java b/qadevOOo/tests/java/mod/_sch/ChartLine.java
index 950885060f5f..495bda11c4b7 100644
--- a/qadevOOo/tests/java/mod/_sch/ChartLine.java
+++ b/qadevOOo/tests/java/mod/_sch/ChartLine.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -137,7 +137,7 @@ public class ChartLine extends TestCase {
e.printStackTrace( log );
throw new StatusException( "Couldn't get Line", e );
}
-
+
log.println( "creating a new environment for chartdocument object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
diff --git a/qadevOOo/tests/java/mod/_sch/ChartTitle.java b/qadevOOo/tests/java/mod/_sch/ChartTitle.java
index f88c938693bc..004599065969 100644
--- a/qadevOOo/tests/java/mod/_sch/ChartTitle.java
+++ b/qadevOOo/tests/java/mod/_sch/ChartTitle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/AccessibleDrawDocumentView.java b/qadevOOo/tests/java/mod/_sd/AccessibleDrawDocumentView.java
index b6f6bc4c881d..383e8eadcf16 100644
--- a/qadevOOo/tests/java/mod/_sd/AccessibleDrawDocumentView.java
+++ b/qadevOOo/tests/java/mod/_sd/AccessibleDrawDocumentView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/AccessibleOutlineView.java b/qadevOOo/tests/java/mod/_sd/AccessibleOutlineView.java
index a486bada5987..a5feffd8612a 100644
--- a/qadevOOo/tests/java/mod/_sd/AccessibleOutlineView.java
+++ b/qadevOOo/tests/java/mod/_sd/AccessibleOutlineView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/AccessibleSlideView.java b/qadevOOo/tests/java/mod/_sd/AccessibleSlideView.java
index 31c00288a561..0c78c06c592e 100644
--- a/qadevOOo/tests/java/mod/_sd/AccessibleSlideView.java
+++ b/qadevOOo/tests/java/mod/_sd/AccessibleSlideView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class AccessibleSlideView extends TestCase {
XDrawPagesSupplier oDPS = (XDrawPagesSupplier)
UnoRuntime.queryInterface(XDrawPagesSupplier.class, aModel);
XDrawPages oDPn = oDPS.getDrawPages();
-
+
oDPn.insertNewByIndex(0);
shortWait();
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java b/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java
index be510ff1f98c..b8aa29b0c0c7 100644
--- a/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java
+++ b/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -262,7 +262,7 @@ public class DrawController_DrawView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = aController2.getFrame();
tEnv.addObjRelation("Frame", the_frame);
@@ -283,7 +283,7 @@ public class DrawController_DrawView extends TestCase {
UnoRuntime.queryInterface(XModifiable.class,xDrawDoc);
tEnv.addObjRelation("Modifiable",modify);
-
+
tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc);
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java b/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java
index 40244836da1e..486a42d72402 100644
--- a/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java
+++ b/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 DrawController_HandoutView extends TestCase {
* wait to allow frames to be loaded. Retrieves
* the collection of the draw pages
* from the first document and takes one of them. Inserts some shapes to the
- * retrieved draw page.
+ * retrieved draw page.
* Switch to the <b>HandoutMode</b>.
* Obtains a current controller from the first document
* using the interface <code>XModel</code>. The obtained controller is the
@@ -223,7 +223,7 @@ public class DrawController_HandoutView extends TestCase {
}
utils.shortWait(500);
-
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xDrawDoc);
@@ -231,7 +231,7 @@ public class DrawController_HandoutView extends TestCase {
log.println("bring first document to front...");
DesktopTools.bringWindowToFront(aModel);
-
+
XModel aModel2 = (XModel)
UnoRuntime.queryInterface(XModel.class, xSecondDrawDoc);
@@ -265,7 +265,7 @@ public class DrawController_HandoutView extends TestCase {
xShapes1.add(shape3);
xShapes2.add(shape1);
shortWait();
-
+
tEnv.addObjRelation("Selections", new Object[] {
oDrawPage, oShapeCol1, oShapeCol2});
tEnv.addObjRelation("Comparer", new Comparator() {
@@ -292,7 +292,7 @@ public class DrawController_HandoutView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
@@ -316,10 +316,10 @@ public class DrawController_HandoutView extends TestCase {
UnoRuntime.queryInterface(XModifiable.class,xDrawDoc);
tEnv.addObjRelation("Modifiable",modify);
-
+
tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc);
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java b/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java
index 73445b3d33c7..4164342158ec 100644
--- a/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java
+++ b/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 DrawController_NotesView extends TestCase {
* wait to allow frames to be loaded. Retrieves
* the collection of the draw pages
* from the first document and takes one of them. Inserts some shapes to the
- * retrieved draw page.
+ * retrieved draw page.
* Switch to the <b>NotesMode</b>.
* Obtains a current controller from the first document
* using the interface <code>XModel</code>. The obtained controller is the
@@ -220,7 +220,7 @@ public class DrawController_NotesView extends TestCase {
}
utils.shortWait(500);
-
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xDrawDoc);
@@ -228,7 +228,7 @@ public class DrawController_NotesView extends TestCase {
log.println("bring first document to front...");
DesktopTools.bringWindowToFront(aModel);
-
+
XModel aModel2 = (XModel)
UnoRuntime.queryInterface(XModel.class, xSecondDrawDoc);
@@ -262,7 +262,7 @@ public class DrawController_NotesView extends TestCase {
xShapes1.add(shape3);
xShapes2.add(shape1);
shortWait();
-
+
tEnv.addObjRelation("Selections", new Object[] {
oDrawPage, oShapeCol1, oShapeCol2});
tEnv.addObjRelation("Comparer", new Comparator() {
@@ -289,7 +289,7 @@ public class DrawController_NotesView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
@@ -313,10 +313,10 @@ public class DrawController_NotesView extends TestCase {
UnoRuntime.queryInterface(XModifiable.class,xDrawDoc);
tEnv.addObjRelation("Modifiable",modify);
-
+
tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc);
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java b/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java
index a6398884c7f6..4a39c3049eb5 100644
--- a/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java
+++ b/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 DrawController_OutlineView extends TestCase {
* wait to allow frames to be loaded. Retrieves
* the collection of the draw pages
* from the first document and takes one of them. Inserts some shapes to the
- * retrieved draw page.
+ * retrieved draw page.
* Switch to the <b>OutlineMode</b>.
* Obtains a current controller from the first document
* using the interface <code>XModel</code>. The obtained controller is the
@@ -220,7 +220,7 @@ public class DrawController_OutlineView extends TestCase {
}
utils.shortWait(500);
-
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xDrawDoc);
@@ -228,7 +228,7 @@ public class DrawController_OutlineView extends TestCase {
log.println("bring first document to front...");
DesktopTools.bringWindowToFront(aModel);
-
+
XModel aModel2 = (XModel)
UnoRuntime.queryInterface(XModel.class, xSecondDrawDoc);
@@ -262,7 +262,7 @@ public class DrawController_OutlineView extends TestCase {
xShapes1.add(shape3);
xShapes2.add(shape1);
shortWait();
-
+
tEnv.addObjRelation("Selections", new Object[] {
oDrawPage, oShapeCol1, oShapeCol2});
tEnv.addObjRelation("Comparer", new Comparator() {
@@ -289,7 +289,7 @@ public class DrawController_OutlineView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
@@ -313,10 +313,10 @@ public class DrawController_OutlineView extends TestCase {
UnoRuntime.queryInterface(XModifiable.class,xDrawDoc);
tEnv.addObjRelation("Modifiable",modify);
-
+
tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc);
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java
index ad4634cc7324..c86d45878656 100644
--- a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java
+++ b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 DrawController_PresentationView extends TestCase {
* wait to allow frames to be loaded. Retrieves
* the collection of the draw pages
* from the first document and takes one of them. Inserts some shapes to the
- * retrieved draw page.
+ * retrieved draw page.
* Switch to the <b>DiaMode</b>.
* Obtains a current controller from the first document
* using the interface <code>XModel</code>. The obtained controller is the
@@ -220,7 +220,7 @@ public class DrawController_PresentationView extends TestCase {
}
utils.shortWait(500);
-
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xDrawDoc);
@@ -228,7 +228,7 @@ public class DrawController_PresentationView extends TestCase {
log.println("bring first document to front...");
DesktopTools.bringWindowToFront(aModel);
-
+
XModel aModel2 = (XModel)
UnoRuntime.queryInterface(XModel.class, xSecondDrawDoc);
@@ -262,7 +262,7 @@ public class DrawController_PresentationView extends TestCase {
xShapes1.add(shape3);
xShapes2.add(shape1);
shortWait();
-
+
tEnv.addObjRelation("Selections", new Object[] {
oDrawPage, oShapeCol1, oShapeCol2});
tEnv.addObjRelation("Comparer", new Comparator() {
@@ -289,7 +289,7 @@ public class DrawController_PresentationView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
@@ -313,10 +313,10 @@ public class DrawController_PresentationView extends TestCase {
UnoRuntime.queryInterface(XModifiable.class,xDrawDoc);
tEnv.addObjRelation("Modifiable",modify);
-
+
tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc);
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sd/SdDocLinkTargets.java b/qadevOOo/tests/java/mod/_sd/SdDocLinkTargets.java
index 2ba3b56430dd..bc24b11b4325 100644
--- a/qadevOOo/tests/java/mod/_sd/SdDocLinkTargets.java
+++ b/qadevOOo/tests/java/mod/_sd/SdDocLinkTargets.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdDrawPage.java b/qadevOOo/tests/java/mod/_sd/SdDrawPage.java
index 1cd742919727..876615f0b30a 100644
--- a/qadevOOo/tests/java/mod/_sd/SdDrawPage.java
+++ b/qadevOOo/tests/java/mod/_sd/SdDrawPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdDrawPagesAccess.java b/qadevOOo/tests/java/mod/_sd/SdDrawPagesAccess.java
index f994b318b2be..690706c4fc57 100644
--- a/qadevOOo/tests/java/mod/_sd/SdDrawPagesAccess.java
+++ b/qadevOOo/tests/java/mod/_sd/SdDrawPagesAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdGenericDrawPage.java b/qadevOOo/tests/java/mod/_sd/SdGenericDrawPage.java
index e0a1344435a9..c1950fb9b789 100644
--- a/qadevOOo/tests/java/mod/_sd/SdGenericDrawPage.java
+++ b/qadevOOo/tests/java/mod/_sd/SdGenericDrawPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdLayer.java b/qadevOOo/tests/java/mod/_sd/SdLayer.java
index 7407a20ba17c..a8d8d513d259 100644
--- a/qadevOOo/tests/java/mod/_sd/SdLayer.java
+++ b/qadevOOo/tests/java/mod/_sd/SdLayer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdLayerManager.java b/qadevOOo/tests/java/mod/_sd/SdLayerManager.java
index cf8a0644ce8a..7604ae36c922 100644
--- a/qadevOOo/tests/java/mod/_sd/SdLayerManager.java
+++ b/qadevOOo/tests/java/mod/_sd/SdLayerManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdMasterPage.java b/qadevOOo/tests/java/mod/_sd/SdMasterPage.java
index 20cfce2a5da7..3ab99f2ebeca 100644
--- a/qadevOOo/tests/java/mod/_sd/SdMasterPage.java
+++ b/qadevOOo/tests/java/mod/_sd/SdMasterPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdMasterPagesAccess.java b/qadevOOo/tests/java/mod/_sd/SdMasterPagesAccess.java
index a0eb65b9301a..ba314d66dfef 100644
--- a/qadevOOo/tests/java/mod/_sd/SdMasterPagesAccess.java
+++ b/qadevOOo/tests/java/mod/_sd/SdMasterPagesAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdPageLinkTargets.java b/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java
index 1cb240b76de7..7a729cd11121 100644
--- a/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java
+++ b/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdUnoDrawView.java b/qadevOOo/tests/java/mod/_sd/SdUnoDrawView.java
index 0d01141653af..fc90ba4166f7 100644
--- a/qadevOOo/tests/java/mod/_sd/SdUnoDrawView.java
+++ b/qadevOOo/tests/java/mod/_sd/SdUnoDrawView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -229,7 +229,7 @@ public class SdUnoDrawView extends TestCase {
tEnv.addObjRelation("Selections", new Object[] {
- shape1, shape2, shape3});
+ shape1, shape2, shape3});
tEnv.addObjRelation("Pages", the_pages);
@@ -238,7 +238,7 @@ public class SdUnoDrawView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
@@ -262,9 +262,9 @@ public class SdUnoDrawView extends TestCase {
UnoRuntime.queryInterface(XModifiable.class,xDrawDoc);
tEnv.addObjRelation("Modifiable",modify);
-
+
tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc);
-
+
tEnv.addObjRelation("Comparer", new Comparator() {
public int compare(Object o1, Object o2) {
XIndexAccess indAc1 = (XIndexAccess)
@@ -292,7 +292,7 @@ public class SdUnoDrawView extends TestCase {
} catch (InterruptedException e) {
System.out.println("While waiting :" + e) ;
}
- }
+ }
} // finish class SdUnoDrawView
diff --git a/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java b/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
index 73ff1f41799f..ccd05a7f7ac9 100644
--- a/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
+++ b/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -151,7 +151,7 @@ public class SdUnoOutlineView extends TestCase {
e.printStackTrace( log );
throw new StatusException("Couldn't create document", e);
}
-
+
XDrawPagesSupplier oDPS = (XDrawPagesSupplier)
UnoRuntime.queryInterface(XDrawPagesSupplier.class, xImpressDoc);
XDrawPages the_pages = oDPS.getDrawPages();
@@ -200,7 +200,7 @@ public class SdUnoOutlineView extends TestCase {
XWindow.class,aModel2.getCurrentController());
oObj = aModel.getCurrentController();
-
+
log.println( "creating a new environment for impress view object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
@@ -213,7 +213,7 @@ public class SdUnoOutlineView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
diff --git a/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java b/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java
index 47a46180ba03..08dd749f4403 100644
--- a/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java
+++ b/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -185,7 +185,7 @@ public class SdUnoPresView extends TestCase {
the_pages.insertNewByIndex(0);
the_pages.insertNewByIndex(0);
secondDrawPage = (XDrawPage) AnyConverter.toObject(
- new Type(XDrawPage.class),oDPi.getByIndex(3));
+ new Type(XDrawPage.class),oDPi.getByIndex(3));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace( log );
throw new StatusException("Couldn't get DrawPage", e);
@@ -204,7 +204,7 @@ public class SdUnoPresView extends TestCase {
XShape shape1 = SOF.createShape(
xImpressDoc, 5000, 3500, 7500, 5000, "Rectangle");
oShapes.add(shape1);
-
+
oShapes = (XShapes)
UnoRuntime.queryInterface(XShapes.class, secondDrawPage);
shape1 = SOF.createShape(
@@ -228,10 +228,10 @@ public class SdUnoPresView extends TestCase {
if (anotherWindow != null) {
tEnv.addObjRelation("XWindow.AnotherWindow",anotherWindow);
}
-
+
tEnv.addObjRelation("Selections", new Object[] {
oDrawPage, secondDrawPage});
-
+
tEnv.addObjRelation("Comparer", new Comparator() {
public int compare(Object o1, Object o2) {
XIndexAccess indAc1 = (XIndexAccess)
@@ -246,7 +246,7 @@ public class SdUnoPresView extends TestCase {
}
public boolean equals(Object obj) {
return compare(this, obj) == 0;
- } });
+ } });
tEnv.addObjRelation("FirstPage", oDrawPage);
tEnv.addObjRelation("SecondPage", secondDrawPage);
@@ -260,7 +260,7 @@ public class SdUnoPresView extends TestCase {
tEnv.addObjRelation("FirstModel", aModel);
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
XFrame the_frame = the_Desk.getCurrentFrame();
tEnv.addObjRelation("Frame", the_frame);
diff --git a/qadevOOo/tests/java/mod/_sd/SdUnoSlideView.java b/qadevOOo/tests/java/mod/_sd/SdUnoSlideView.java
index 03849535157b..74c619841d3a 100644
--- a/qadevOOo/tests/java/mod/_sd/SdUnoSlideView.java
+++ b/qadevOOo/tests/java/mod/_sd/SdUnoSlideView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +190,19 @@ public class SdUnoSlideView extends TestCase {
tEnv.addObjRelation("SecondController", secondController);
tEnv.addObjRelation("XDispatchProvider.URL",
"slot:27069");
-
+
tEnv.addObjRelation("XUserInputInterception.XModel", aModel);
-
+
//creating obj-relation for the XSelectionSupplier
try {
- Object[] selections =
+ Object[] selections =
new Object[]{xDP.getByIndex(0),xDP.getByIndex(1),xDP.getByIndex(2)};
tEnv.addObjRelation("Selections", selections);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
e.printStackTrace(log);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace(log);
- }
+ }
log.println("Implementation Name: " + utils.getImplName(oObj));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_sd/SdXCustomPresentation.java b/qadevOOo/tests/java/mod/_sd/SdXCustomPresentation.java
index b26ae478216c..ffe835f3e543 100644
--- a/qadevOOo/tests/java/mod/_sd/SdXCustomPresentation.java
+++ b/qadevOOo/tests/java/mod/_sd/SdXCustomPresentation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdXCustomPresentationAccess.java b/qadevOOo/tests/java/mod/_sd/SdXCustomPresentationAccess.java
index 9118dbb337d9..c34d0c67c5f2 100644
--- a/qadevOOo/tests/java/mod/_sd/SdXCustomPresentationAccess.java
+++ b/qadevOOo/tests/java/mod/_sd/SdXCustomPresentationAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdXImpressDocument.java b/qadevOOo/tests/java/mod/_sd/SdXImpressDocument.java
index 6e7652e13afd..39960d7e63a8 100644
--- a/qadevOOo/tests/java/mod/_sd/SdXImpressDocument.java
+++ b/qadevOOo/tests/java/mod/_sd/SdXImpressDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,7 +96,7 @@ import util.utils;
public class SdXImpressDocument extends TestCase {
XComponent xImpressDoc;
XComponent xImpressDoc2;
-
+
/**
* Called while disposing a <code>TestEnvironment</code>.
* Disposes Impress document.
@@ -109,7 +109,7 @@ public class SdXImpressDocument extends TestCase {
util.DesktopTools.closeDoc(xImpressDoc);;
util.DesktopTools.closeDoc(xImpressDoc2);;
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates new impress document that is the instance of the service
@@ -120,11 +120,11 @@ public class SdXImpressDocument extends TestCase {
PrintWriter log)
throws StatusException {
log.println("creating a test environment");
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory) Param.getMSF());
-
+
try {
log.println("creating two impress documents");
xImpressDoc2 = SOF.createImpressDoc(null);
@@ -133,27 +133,27 @@ public class SdXImpressDocument extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create documents", e);
}
-
+
XModel xModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xImpressDoc);
XModel xModel2 = (XModel) UnoRuntime.queryInterface(XModel.class,
xImpressDoc2);
-
+
XController cont1 = xModel1.getCurrentController();
XController cont2 = xModel2.getCurrentController();
-
+
cont1.getFrame().setName("cont1");
cont2.getFrame().setName("cont2");
-
+
XSelectionSupplier sel = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, cont1);
-
+
XShape aShape = SOF.createShape(xImpressDoc, 5000, 3500, 7500, 5000,
"Rectangle");
-
-
+
+
XPropertySet xShapeProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, aShape);
-
+
try {
xShapeProps.setPropertyValue("FillStyle", com.sun.star.drawing.FillStyle.SOLID);
xShapeProps.setPropertyValue("FillTransparence", new Integer(50));
@@ -170,20 +170,20 @@ public class SdXImpressDocument extends TestCase {
ex.printStackTrace(log);
throw new StatusException("Couldn't make shape transparent", ex);
}
-
+
DrawTools.getDrawPage(xImpressDoc, 0).add(aShape);
-
+
log.println("creating a new environment for drawpage object");
-
+
TestEnvironment tEnv = new TestEnvironment(xImpressDoc);
-
+
log.println("adding Controller as ObjRelation for XModel");
tEnv.addObjRelation("CONT2", cont2);
-
+
log.println("Adding SelectionSupplier and Shape to select for XModel");
tEnv.addObjRelation("SELSUPP", sel);
tEnv.addObjRelation("TOSELECT", aShape);
-
+
// create object relation for XPrintJobBroadcaster
String fileName = utils.getOfficeTempDirSys((XMultiServiceFactory) Param.getMSF())+"printfile.prt" ;
File f = new File(fileName);
@@ -192,8 +192,8 @@ public class SdXImpressDocument extends TestCase {
}
_XPrintJobBroadcaster.MyPrintJobListener listener = new _XPrintJobBroadcaster.MyPrintJobListener(xImpressDoc, fileName);
tEnv.addObjRelation("XPrintJobBroadcaster.XPrintJobListener", listener);
-
+
return tEnv;
} // finish method getTestEnvironment
-
+
} // finish class SdDrawPage
diff --git a/qadevOOo/tests/java/mod/_sd/SdXPresentation.java b/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
index ab0f673fb471..b30ad68172be 100644
--- a/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
+++ b/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sd/SdXShape.java b/qadevOOo/tests/java/mod/_sd/SdXShape.java
index 4fc52490c97b..434e7ad6dc07 100644
--- a/qadevOOo/tests/java/mod/_sd/SdXShape.java
+++ b/qadevOOo/tests/java/mod/_sd/SdXShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_servicemgr.uno/OServiceManager.java b/qadevOOo/tests/java/mod/_servicemgr.uno/OServiceManager.java
index 3f509d121827..18315f892b1f 100644
--- a/qadevOOo/tests/java/mod/_servicemgr.uno/OServiceManager.java
+++ b/qadevOOo/tests/java/mod/_servicemgr.uno/OServiceManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sfx/AppDispatchProvider.java b/qadevOOo/tests/java/mod/_sfx/AppDispatchProvider.java
index 1760354e6108..18da8c9431f2 100644
--- a/qadevOOo/tests/java/mod/_sfx/AppDispatchProvider.java
+++ b/qadevOOo/tests/java/mod/_sfx/AppDispatchProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sfx/DocumentTemplates.java b/qadevOOo/tests/java/mod/_sfx/DocumentTemplates.java
index 70a87965dbd6..32b34f507f74 100644
--- a/qadevOOo/tests/java/mod/_sfx/DocumentTemplates.java
+++ b/qadevOOo/tests/java/mod/_sfx/DocumentTemplates.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sfx/FrameLoader.java b/qadevOOo/tests/java/mod/_sfx/FrameLoader.java
index 5be24abdd3f2..217e2509d3a9 100644
--- a/qadevOOo/tests/java/mod/_sfx/FrameLoader.java
+++ b/qadevOOo/tests/java/mod/_sfx/FrameLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sfx/SfxMacroLoader.java b/qadevOOo/tests/java/mod/_sfx/SfxMacroLoader.java
index f54d57ac1ace..7b4725fe98c7 100644
--- a/qadevOOo/tests/java/mod/_sfx/SfxMacroLoader.java
+++ b/qadevOOo/tests/java/mod/_sfx/SfxMacroLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sfx/StandaloneDocumentInfo.java b/qadevOOo/tests/java/mod/_sfx/StandaloneDocumentInfo.java
index 81e0d459c0a3..b015a858a903 100644
--- a/qadevOOo/tests/java/mod/_sfx/StandaloneDocumentInfo.java
+++ b/qadevOOo/tests/java/mod/_sfx/StandaloneDocumentInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_shlibloader.uno/DLLComponentLoader.java b/qadevOOo/tests/java/mod/_shlibloader.uno/DLLComponentLoader.java
index 5ede3114c8f3..6992a80d208e 100644
--- a/qadevOOo/tests/java/mod/_shlibloader.uno/DLLComponentLoader.java
+++ b/qadevOOo/tests/java/mod/_shlibloader.uno/DLLComponentLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_simplereg.uno/SimpleRegistry.java b/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java
index 07d2bd70e6d9..5c8730b7bcca 100644
--- a/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java
+++ b/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_simreg/SimpleRegistry.java b/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
index e593bdcdcda3..a3c5786f45f9 100644
--- a/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
+++ b/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sm/SmEditAccessible.java b/qadevOOo/tests/java/mod/_sm/SmEditAccessible.java
index 4101e3a57b1a..9ec1040a110c 100644
--- a/qadevOOo/tests/java/mod/_sm/SmEditAccessible.java
+++ b/qadevOOo/tests/java/mod/_sm/SmEditAccessible.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sm/SmGraphicAccessible.java b/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
index 1698f4077d80..90e8f6ad3154 100644
--- a/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
+++ b/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +132,12 @@ public class SmGraphicAccessible extends TestCase {
final XAccessibleComponent xAC = (XAccessibleComponent)
UnoRuntime.queryInterface(XAccessibleComponent.class, oObj);
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
- tEnv.addObjRelation("EditOnly",
+
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this dialog");
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer(){
diff --git a/qadevOOo/tests/java/mod/_sm/SmModel.java b/qadevOOo/tests/java/mod/_sm/SmModel.java
index e739c2e53e34..6e86243a0fde 100644
--- a/qadevOOo/tests/java/mod/_sm/SmModel.java
+++ b/qadevOOo/tests/java/mod/_sm/SmModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sm/XMLExporter.java b/qadevOOo/tests/java/mod/_sm/XMLExporter.java
index 3b98986c9290..b6f5bcab66d4 100644
--- a/qadevOOo/tests/java/mod/_sm/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_sm/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
diff --git a/qadevOOo/tests/java/mod/_sm/XMLImporter.java b/qadevOOo/tests/java/mod/_sm/XMLImporter.java
index 635e104ec307..f598f28f093c 100644
--- a/qadevOOo/tests/java/mod/_sm/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_sm/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/_sm/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java
index f5308b47d8e0..3c721eda6d2b 100644
--- a/qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java
+++ b/qadevOOo/tests/java/mod/_sm/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
diff --git a/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java
index f9c04de22cea..2b9b3e8dd8e5 100644
--- a/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_sm/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/_sm/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java
index 5e546997cd01..9995169a3d37 100644
--- a/qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java
+++ b/qadevOOo/tests/java/mod/_sm/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
diff --git a/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java
index 06be0540f4ed..7b4731f13e14 100644
--- a/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_sm/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/_smgr/OServiceManager.java b/qadevOOo/tests/java/mod/_smgr/OServiceManager.java
index 09debfcacf45..062d45db0b24 100644
--- a/qadevOOo/tests/java/mod/_smgr/OServiceManager.java
+++ b/qadevOOo/tests/java/mod/_smgr/OServiceManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_smplmail/SimpleSystemMail.java b/qadevOOo/tests/java/mod/_smplmail/SimpleSystemMail.java
index d592a65ad9e1..dbd42fbdcb4f 100644
--- a/qadevOOo/tests/java/mod/_smplmail/SimpleSystemMail.java
+++ b/qadevOOo/tests/java/mod/_smplmail/SimpleSystemMail.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_srtrs/SortedDynamicResultSetFactory.java b/qadevOOo/tests/java/mod/_srtrs/SortedDynamicResultSetFactory.java
index 735382d54af2..e3af6664183a 100644
--- a/qadevOOo/tests/java/mod/_srtrs/SortedDynamicResultSetFactory.java
+++ b/qadevOOo/tests/java/mod/_srtrs/SortedDynamicResultSetFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/DataInputStream.java b/qadevOOo/tests/java/mod/_stm/DataInputStream.java
index 0025fa88f842..ce2717d787cc 100644
--- a/qadevOOo/tests/java/mod/_stm/DataInputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/DataInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/DataOutputStream.java b/qadevOOo/tests/java/mod/_stm/DataOutputStream.java
index 2801677d1cc1..4e7269343cc9 100644
--- a/qadevOOo/tests/java/mod/_stm/DataOutputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/DataOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/MarkableInputStream.java b/qadevOOo/tests/java/mod/_stm/MarkableInputStream.java
index 8ea8769962e6..f8f245d87ca0 100644
--- a/qadevOOo/tests/java/mod/_stm/MarkableInputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/MarkableInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/MarkableOutputStream.java b/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java
index 6e8185db10cc..6b91678c75a7 100644
--- a/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/MarkableOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/ObjectInputStream.java b/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java
index bd9d950d15bf..59c5e8d5b70e 100644
--- a/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/ObjectInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/ObjectOutputStream.java b/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java
index cffbe744c84a..ddefcd878fb9 100644
--- a/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java
+++ b/qadevOOo/tests/java/mod/_stm/ObjectOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/Pipe.java b/qadevOOo/tests/java/mod/_stm/Pipe.java
index 988efe50d1fe..3dc832a73f7c 100644
--- a/qadevOOo/tests/java/mod/_stm/Pipe.java
+++ b/qadevOOo/tests/java/mod/_stm/Pipe.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_stm/Pump.java b/qadevOOo/tests/java/mod/_stm/Pump.java
index 982223d8dab1..064932acf625 100644
--- a/qadevOOo/tests/java/mod/_stm/Pump.java
+++ b/qadevOOo/tests/java/mod/_stm/Pump.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/DataInputStream.java b/qadevOOo/tests/java/mod/_streams.uno/DataInputStream.java
index 145716aabe15..7c69e6a6b461 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/DataInputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/DataInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/DataOutputStream.java b/qadevOOo/tests/java/mod/_streams.uno/DataOutputStream.java
index 2a3f886b3e57..ba2284c587ef 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/DataOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/DataOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/MarkableInputStream.java b/qadevOOo/tests/java/mod/_streams.uno/MarkableInputStream.java
index a7bcb00a2087..8365db8f9810 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/MarkableInputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/MarkableInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/MarkableOutputStream.java b/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
index d7bfd8efbb96..dd61867e0316 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/ObjectInputStream.java b/qadevOOo/tests/java/mod/_streams.uno/ObjectInputStream.java
index 80f3265fae74..67d251a50b3a 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/ObjectInputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/ObjectInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/ObjectOutputStream.java b/qadevOOo/tests/java/mod/_streams.uno/ObjectOutputStream.java
index d6b8ac642ca2..97ee8193c792 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/ObjectOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/ObjectOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/Pipe.java b/qadevOOo/tests/java/mod/_streams.uno/Pipe.java
index 440550a5b444..482cd7bda3dc 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/Pipe.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/Pipe.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_streams.uno/Pump.java b/qadevOOo/tests/java/mod/_streams.uno/Pump.java
index dbccee2ee043..5e262d470d06 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/Pump.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/Pump.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svtools/AccessibleBrowseBox.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
index 358819ee733d..f21ac75daaca 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svtools/AccessibleBrowseBoxHeaderBar.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java
index b953abde994e..e7efa1769be2 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -77,7 +77,7 @@ import com.sun.star.util.URL;
public class AccessibleBrowseBoxHeaderBar extends TestCase {
static XDesktop the_Desk;
static XTextDocument xTextDoc;
-
+
/**
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
@@ -86,19 +86,19 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
-
+
/**
* Disposes the document, if exists, created in
* <code>createTestEnvironment</code> method.
*/
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println("disposing xTextDoc");
-
+
if (xTextDoc != null) {
xTextDoc.dispose();
}
}
-
+
/**
* Creates a text document. Opens the DataSource browser.
* Creates an instance of the service <code>com.sun.star.awt.Toolkit</code>
@@ -122,14 +122,14 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
-
+
if (xTextDoc != null) {
xTextDoc.dispose();
}
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory) tParam.getMSF());
-
+
try {
log.println("creating a text document");
xTextDoc = SOF.createTextDoc(null);
@@ -138,93 +138,93 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document", e);
}
-
+
shortWait();
-
+
XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
-
+
XController secondController = aModel1.getCurrentController();
-
+
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
XDispatchProvider.class,
secondController);
-
+
XDispatch getting = null;
-
+
log.println("opening DatasourceBrowser");
-
+
URL the_url = new URL();
the_url.Complete = ".component:DB/DataSourceBrowser";
getting = aProv.queryDispatch(the_url, "_beamer", 12);
-
+
//am controller ein XSelectionSupplier->mit params rufen
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
-
+
PropertyValue[] params = new PropertyValue[3];
PropertyValue param1 = new PropertyValue();
param1.Name = "DataSourceName";
param1.Value = "Bibliography";
params[0] = param1;
-
+
PropertyValue param2 = new PropertyValue();
param2.Name = "CommandType";
param2.Value = new Integer(com.sun.star.sdb.CommandType.TABLE);
params[1] = param2;
-
+
PropertyValue param3 = new PropertyValue();
param3.Name = "Command";
param3.Value = "biblio";
params[2] = param3;
-
+
shortWait();
-
+
XFrame the_frame1 = the_Desk.getCurrentFrame();
-
+
if (the_frame1 == null) {
log.println("Current frame was not found !!!");
}
-
+
XFrame the_frame2 = the_frame1.findFrame("_beamer", 4);
-
+
the_frame2.setName("DatasourceBrowser");
-
+
XController xCont = the_frame2.getController();
-
+
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
+
try {
xSelect.select(params);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
throw new StatusException("Could not select Biblio-Database", ex);
}
-
+
XInterface oObj = null;
-
+
AccessibilityTools at = new AccessibilityTools();
-
+
XWindow xWindow = secondController.getFrame().getContainerWindow();
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE);
-
+
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
log.println("ImplementationName: " + util.utils.getImplName(oObj));
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
shortWait();
-
+
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class,
oObj);
final Point point = accComp.getLocationOnScreen();
-
+
shortWait();
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
@@ -237,10 +237,10 @@ public class AccessibleBrowseBoxHeaderBar extends TestCase {
}
}
});
-
+
return tEnv;
}
-
+
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java
index 2e7cb013e2ee..a59cf21fd863 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxHeaderCell.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -191,10 +191,10 @@ public class AccessibleBrowseBoxHeaderCell extends TestCase {
params[2] = param3;
XController xCont = the_frame2.getController();
-
+
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
+
try {
xSelect.select(params);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
@@ -208,7 +208,7 @@ public class AccessibleBrowseBoxHeaderCell extends TestCase {
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
+
oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.ROW_HEADER);
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java
index 6842fd6da8e2..8ee05967bd5d 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ import com.sun.star.util.URL;
public class AccessibleBrowseBoxTable extends TestCase {
static XDesktop the_Desk;
static XTextDocument xTextDoc;
-
+
/**
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
@@ -82,19 +82,19 @@ public class AccessibleBrowseBoxTable extends TestCase {
DesktopTools.createDesktop(
(XMultiServiceFactory)Param.getMSF()));
}
-
+
/**
* Disposes the document, if exists, created in
* <code>createTestEnvironment</code> method.
*/
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println("disposing xTextDoc");
-
+
if (xTextDoc != null) {
xTextDoc.dispose();
}
}
-
+
/**
* Creates a text document. Opens the DataSource browser.
* Creates an instance of the service
@@ -121,15 +121,15 @@ public class AccessibleBrowseBoxTable extends TestCase {
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
-
+
if (xTextDoc != null) {
xTextDoc.dispose();
}
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory)tParam.getMSF());
-
+
try {
log.println("creating a text document");
xTextDoc = SOF.createTextDoc(null);
@@ -138,79 +138,79 @@ public class AccessibleBrowseBoxTable extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document", e);
}
-
+
shortWait();
-
+
XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
-
+
XController secondController = aModel1.getCurrentController();
-
+
XDispatchProvider aProv = (XDispatchProvider)UnoRuntime.queryInterface(
XDispatchProvider.class,
secondController);
-
+
XDispatch getting = null;
-
+
log.println("opening DatasourceBrowser");
-
+
URL the_url = new URL();
the_url.Complete = ".component:DB/DataSourceBrowser";
getting = aProv.queryDispatch(the_url, "_beamer", 12);
-
+
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
-
+
shortWait();
-
+
XFrame the_frame1 = the_Desk.getCurrentFrame();
-
+
if (the_frame1 == null) {
log.println("Current frame was not found !!!");
}
-
+
XFrame the_frame2 = the_frame1.findFrame("_beamer", 4);
XController xCont = the_frame2.getController();
-
+
the_frame2.setName("DatasourceBrowser");
-
+
final PropertyValue[] params = new PropertyValue[3];
PropertyValue param1 = new PropertyValue();
param1.Name = "DataSourceName";
param1.Value = "Bibliography";
params[0] = param1;
-
+
PropertyValue param2 = new PropertyValue();
param2.Name = "CommandType";
param2.Value = new Integer(com.sun.star.sdb.CommandType.TABLE);
params[1] = param2;
-
+
PropertyValue param3 = new PropertyValue();
param3.Name = "Command";
param3.Value = "biblio";
params[2] = param3;
-
+
final XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
-
+
+
final Object[] initArgs = params;
-
+
XInterface oObj = null;
-
+
AccessibilityTools at = new AccessibilityTools();
-
+
XWindow xWindow = secondController.getFrame().getContainerWindow();
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TABLE,
"Table");
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
@@ -220,10 +220,10 @@ public class AccessibleBrowseBoxTable extends TestCase {
}
}
});
-
+
return tEnv;
}
-
+
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
index 973f0bf9c324..549ef0a91b9b 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleBrowseBoxTableCell.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svtools/AccessibleIconChoiceCtrl.java b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
index 73d3a3bf8aff..09a5824c2a6d 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,7 +89,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -139,7 +139,7 @@ public class AccessibleIconChoiceCtrl extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -161,13 +161,13 @@ public class AccessibleIconChoiceCtrl extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -214,15 +214,15 @@ public class AccessibleIconChoiceCtrl extends TestCase {
shortWait();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE);
- XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PUSH_BUTTON,
+ XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PUSH_BUTTON,
"Close");
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(
@@ -231,35 +231,35 @@ public class AccessibleIconChoiceCtrl extends TestCase {
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(true));
String[] expectedStateNames = new String[] {
- "com.sun.star.accessibility.AccessibleStateType.ENABLED",
- "com.sun.star.accessibility.AccessibleStateType.FOCUSABLE",
- "com.sun.star.accessibility.AccessibleStateType.SHOWING",
- "com.sun.star.accessibility.AccessibleStateType.VISIBLE",
- "com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS",
+ "com.sun.star.accessibility.AccessibleStateType.ENABLED",
+ "com.sun.star.accessibility.AccessibleStateType.FOCUSABLE",
+ "com.sun.star.accessibility.AccessibleStateType.SHOWING",
+ "com.sun.star.accessibility.AccessibleStateType.VISIBLE",
+ "com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS",
};
short[] expectedStates = new short[] {
- com.sun.star.accessibility.AccessibleStateType.ENABLED,
- com.sun.star.accessibility.AccessibleStateType.FOCUSABLE,
- com.sun.star.accessibility.AccessibleStateType.SHOWING,
- com.sun.star.accessibility.AccessibleStateType.VISIBLE,
- com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS,
+ com.sun.star.accessibility.AccessibleStateType.ENABLED,
+ com.sun.star.accessibility.AccessibleStateType.FOCUSABLE,
+ com.sun.star.accessibility.AccessibleStateType.SHOWING,
+ com.sun.star.accessibility.AccessibleStateType.VISIBLE,
+ com.sun.star.accessibility.AccessibleStateType.MANAGES_DESCENDANTS,
};
tEnv.addObjRelation("expectedStateNames", expectedStateNames);
tEnv.addObjRelation("expectedStates", expectedStates);
final XAccessibleSelection selection = (XAccessibleSelection) (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java
index 28ccb9859faf..c27c9eb7209f 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleIconChoiceCtrlEntry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svtools/AccessibleTabBar.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java
index c646aa1eaf25..a6a95185967d 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,7 +80,7 @@ public class AccessibleTabBar extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -95,7 +95,7 @@ public class AccessibleTabBar extends TestCase {
try {
log.println("creating a calc document");
- xDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class,
+ xDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class,
SOF.createCalcDoc(
null));
} catch (com.sun.star.uno.Exception e) {
@@ -118,14 +118,14 @@ public class AccessibleTabBar extends TestCase {
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL);
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
final XWindow aWin = xWindow;
-
- tEnv.addObjRelation("EventProducer",
+
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
aWin.setPosSize(100,100, 500, 500, PosSize.POSSIZE);
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java
index 1e1b571881c2..791c27189f2e 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -152,11 +152,11 @@ public class AccessibleTabBarPage extends TestCase {
UnoRuntime.queryInterface(XWindow.class,tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
+ at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB, "Sheet1");
XAccessibleContext acc = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB, "Sheet2");
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
acc);
final Point point = accComp.getLocationOnScreen();
log.println("ImplementationName: " + util.utils.getImplName(oObj));
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java
index 1d367d97bc95..6f66b0c9f66a 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBarPageList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 AccessibleTabBarPageList extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -148,31 +148,31 @@ public class AccessibleTabBarPageList extends TestCase {
shortWait();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- oObj = at.getAccessibleObjectForRole(xRoot,
+ oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.PAGE_TAB_LIST);
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(true));
XLayerSupplier oLS = (XLayerSupplier)
UnoRuntime.queryInterface(XLayerSupplier.class, xDoc);
XInterface oLM = oLS.getLayerManager();
final XLayerManager xLM = (XLayerManager) UnoRuntime.queryInterface(XLayerManager.class, oLM);
-
-
- tEnv.addObjRelation("EventProducer",
+
+
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
xLM.insertNewByIndex(0);
diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java
index 6134bd1a3aef..e393b2c57a2c 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svtools/AccessibleTreeListBoxEntry.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java
index c4ee3562d720..47554e907752 100644
--- a/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java
+++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBoxEntry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -94,7 +94,7 @@ public class AccessibleTreeListBoxEntry extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -143,7 +143,7 @@ public class AccessibleTreeListBoxEntry extends TestCase {
* @see com.sun.star.accessibility.XAccessibleSelection
* @see com.sun.star.accessibility.XAccessibleText
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -165,13 +165,13 @@ public class AccessibleTreeListBoxEntry extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XDispatch getting = null;
@@ -200,7 +200,7 @@ public class AccessibleTreeListBoxEntry extends TestCase {
XInterface oObj = null;
XInitialization xInit = (XInitialization) UnoRuntime.queryInterface(
- XInitialization.class,
+ XInitialization.class,
the_frame2.getController());
PropertyValue[] params = new PropertyValue[3];
@@ -218,12 +218,12 @@ public class AccessibleTreeListBoxEntry extends TestCase {
param3.Name = "Command";
param3.Value = "select * from biblio";
params[2] = param3;
-
+
XController xCont = the_frame2.getController();
-
+
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
-
+
try {
xSelect.select(params);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
@@ -232,35 +232,35 @@ public class AccessibleTreeListBoxEntry extends TestCase {
shortWait();
- AccessibilityTools at = new AccessibilityTools();
+ AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = secondController.getFrame().getContainerWindow();
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LABEL,
+
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LABEL,
"Bibliography");
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
-
+
//adding ObjectRelation for XAccessibleText
tEnv.addObjRelation("LimitedBounds", "true");
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
}
});
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
tEnv.addObjRelation("XAccessibleText.Text", "Bibliography");
diff --git a/qadevOOo/tests/java/mod/_svx/AccessibleControlShape.java b/qadevOOo/tests/java/mod/_svx/AccessibleControlShape.java
index c77b82fcd6fa..90878c5a0c03 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessibleControlShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessibleControlShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/AccessibleEditableTextPara.java b/qadevOOo/tests/java/mod/_svx/AccessibleEditableTextPara.java
index 104b10d5c0b1..911d057de8c8 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessibleEditableTextPara.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessibleEditableTextPara.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +68,8 @@ public class AccessibleEditableTextPara extends TestCase {
TestParameters Param, PrintWriter log) {
XInterface oObj = null;
-
-
+
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xSpreadsheetDoc);
@@ -86,15 +86,15 @@ public class AccessibleEditableTextPara extends TestCase {
XAccessibleEditableText et = (XAccessibleEditableText) UnoRuntime.queryInterface(XAccessibleEditableText.class, oObj);
et.setText("AccessibleEditablePara");
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
-
+
}
log.println("ImplementationName " + utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
final XAccessibleEditableText edText = (XAccessibleEditableText)
- UnoRuntime.queryInterface(XAccessibleEditableText.class,oObj) ;
-
+ UnoRuntime.queryInterface(XAccessibleEditableText.class,oObj) ;
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
@@ -102,7 +102,7 @@ public class AccessibleEditableTextPara extends TestCase {
int l = new String("AccessibleEditablePara").length();
edText.deleteText(0, l);
edText.setText("Event");
- edText.setText("AccessibleEditablePara");
+ edText.setText("AccessibleEditablePara");
}catch(com.sun.star.lang.IndexOutOfBoundsException e) {}
}
});
@@ -146,7 +146,7 @@ public class AccessibleEditableTextPara extends TestCase {
throw new StatusException( "Couldn't create document ", e );
}
}
-
+
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
@@ -158,5 +158,5 @@ public class AccessibleEditableTextPara extends TestCase {
log.println("While waiting :" + e) ;
}
}
-
+
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/mod/_svx/AccessibleGraphicShape.java b/qadevOOo/tests/java/mod/_svx/AccessibleGraphicShape.java
index 3a48179223ea..54126337db9c 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessibleGraphicShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessibleGraphicShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/AccessibleOLEShape.java b/qadevOOo/tests/java/mod/_svx/AccessibleOLEShape.java
index b541353c48b1..bf82b3012b51 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessibleOLEShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessibleOLEShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/AccessiblePageShape.java b/qadevOOo/tests/java/mod/_svx/AccessiblePageShape.java
index 9be5cfdac65b..37b4a8dc2599 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessiblePageShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessiblePageShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/AccessiblePresentationGraphicShape.java b/qadevOOo/tests/java/mod/_svx/AccessiblePresentationGraphicShape.java
index fcd9ad664f84..fd742e4f9441 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessiblePresentationGraphicShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessiblePresentationGraphicShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,7 +89,7 @@ public class AccessiblePresentationGraphicShape extends TestCase {
// creation of testobject here
// first we write what we are intend to do to log file
log.println( "creating a test environment" );
-
+
XMultiServiceFactory docMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface(XMultiServiceFactory.class, xDoc);
try {
diff --git a/qadevOOo/tests/java/mod/_svx/AccessiblePresentationOLEShape.java b/qadevOOo/tests/java/mod/_svx/AccessiblePresentationOLEShape.java
index 1c705a9b3067..3e77577213ef 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessiblePresentationOLEShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessiblePresentationOLEShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/AccessiblePresentationShape.java b/qadevOOo/tests/java/mod/_svx/AccessiblePresentationShape.java
index 8979255a6c48..7dd6b8fd703b 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessiblePresentationShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessiblePresentationShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/AccessibleShape.java b/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
index 41210cbe9617..c62ba90f1155 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/GraphicExporter.java b/qadevOOo/tests/java/mod/_svx/GraphicExporter.java
index 56ebf07d3729..a2fc8eb611c0 100644
--- a/qadevOOo/tests/java/mod/_svx/GraphicExporter.java
+++ b/qadevOOo/tests/java/mod/_svx/GraphicExporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 GraphicExporter extends TestCase {
* </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
XInterface oObj = null;
XShape oShape = null;
@@ -146,7 +146,7 @@ public class GraphicExporter extends TestCase {
// create testobject here
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory) tParam.getMSF());
- oShape = SOF.createShape(xDrawDoc, 5000, 5000, 1500, 1000,
+ oShape = SOF.createShape(xDrawDoc, 5000, 5000, 1500, 1000,
"GraphicObject");
DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc, 0)).add(oShape);
@@ -155,10 +155,10 @@ public class GraphicExporter extends TestCase {
XComponent xComp = null;
try {
- oShapeProps.setPropertyValue("GraphicURL",
+ oShapeProps.setPropertyValue("GraphicURL",
util.utils.getFullTestURL(
"space-metal.jpg"));
- xComp = (XComponent) UnoRuntime.queryInterface(XComponent.class,
+ xComp = (XComponent) UnoRuntime.queryInterface(XComponent.class,
oShape);
XExporter xEx = (XExporter) UnoRuntime.queryInterface(
@@ -180,7 +180,7 @@ public class GraphicExporter extends TestCase {
final URL aURL = new URL();
aURL.Complete = util.utils.getOfficeTemp(
- (XMultiServiceFactory) tParam.getMSF()) +
+ (XMultiServiceFactory) tParam.getMSF()) +
"picture.jpg";
final XSimpleFileAccess fAcc;
@@ -204,7 +204,7 @@ public class GraphicExporter extends TestCase {
log.println("ImplName " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("MediaDescriptor",
+ tEnv.addObjRelation("MediaDescriptor",
XMLTools.createMediaDescriptor(
new String[] {
"FilterName", "URL", "MediaType"
@@ -217,7 +217,7 @@ public class GraphicExporter extends TestCase {
tEnv.addObjRelation("NoFilter.cancel()", new Boolean(true));
final String hideMode = (String) tParam.get("soapi.test.hidewindows");
- tEnv.addObjRelation("XFilter.Checker",
+ tEnv.addObjRelation("XFilter.Checker",
new ifc.document._XFilter.FilterChecker() {
public boolean checkFilter() {
try {
diff --git a/qadevOOo/tests/java/mod/_svx/SvxDrawPage.java b/qadevOOo/tests/java/mod/_svx/SvxDrawPage.java
index 15aa351c625a..7a227812f4ef 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxDrawPage.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxDrawPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +145,7 @@ public class SvxDrawPage extends TestCase {
* <code>com.sun.star.drawing.Line</code> service </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
XInterface oObj = null;
XShape oShape = null;
@@ -167,17 +167,17 @@ public class SvxDrawPage extends TestCase {
oDP = (XDrawPages) oDPS.getDrawPages();
oDP.insertNewByIndex(1);
oDP.insertNewByIndex(2);
- oObj = (XDrawPage) AnyConverter.toObject(new Type(XDrawPage.class),
+ oObj = (XDrawPage) AnyConverter.toObject(new Type(XDrawPage.class),
oDP.getByIndex(0));
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory) tParam.getMSF());
- oShape = SOF.createShape(xComp, 5000, 3500, 7500, 5000,
+ oShape = SOF.createShape(xComp, 5000, 3500, 7500, 5000,
"Rectangle");
DrawTools.getShapes((XDrawPage) oObj).add(oShape);
- XShape oShape1 = SOF.createShape(xComp, 5000, 5500, 5000, 5000,
+ XShape oShape1 = SOF.createShape(xComp, 5000, 5500, 5000, 5000,
"Rectangle");
DrawTools.getShapes((XDrawPage) oObj).add(oShape1);
} catch (com.sun.star.lang.WrappedTargetException e) {
@@ -200,7 +200,7 @@ public class SvxDrawPage extends TestCase {
//adding a controlButton to have a Form
FormTools.insertControlShape(
- (XComponent) UnoRuntime.queryInterface(XComponent.class, xDoc),
+ (XComponent) UnoRuntime.queryInterface(XComponent.class, xDoc),
3000, 4500, 15000, 1000, "CommandButton");
// relation for XShapes interface
diff --git a/qadevOOo/tests/java/mod/_svx/SvxGraphCtrlAccessibleContext.java b/qadevOOo/tests/java/mod/_svx/SvxGraphCtrlAccessibleContext.java
index f6cd2accc6ba..c6c22727e6f7 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxGraphCtrlAccessibleContext.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxGraphCtrlAccessibleContext.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxGraphicObject.java b/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
index 28a5cdcaaff6..a8d7b4feb6c7 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxGraphicObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShape.java b/qadevOOo/tests/java/mod/_svx/SvxShape.java
index 6c3b3bc8bb8a..008fd1602193 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShape.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapeCircle.java b/qadevOOo/tests/java/mod/_svx/SvxShapeCircle.java
index 0225dbab878f..ac204c5f277f 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapeCircle.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapeCircle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapeCollection.java b/qadevOOo/tests/java/mod/_svx/SvxShapeCollection.java
index b20595ec5f53..2e41e20917f6 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapeCollection.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapeCollection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapeConnector.java b/qadevOOo/tests/java/mod/_svx/SvxShapeConnector.java
index 9c38e394ff98..89f8df2391e1 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapeConnector.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapeConnector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapeControl.java b/qadevOOo/tests/java/mod/_svx/SvxShapeControl.java
index 09b4ecb72226..7a7d6d941977 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapeControl.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapeControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapeDimensioning.java b/qadevOOo/tests/java/mod/_svx/SvxShapeDimensioning.java
index 8a7c1d0300b3..f2d0047eae2b 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapeDimensioning.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapeDimensioning.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapeGroup.java b/qadevOOo/tests/java/mod/_svx/SvxShapeGroup.java
index 427c26046ff8..aa1bba14b7a7 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapeGroup.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapeGroup.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapePolyPolygon.java b/qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygon.java
index 7e26f764f40e..f643841d1c59 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygon.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygon.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxShapePolyPolygonBezier.java b/qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygonBezier.java
index 7ac67194b299..1e5f98b98604 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygonBezier.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxShapePolyPolygonBezier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxUnoNumberingRules.java b/qadevOOo/tests/java/mod/_svx/SvxUnoNumberingRules.java
index c7d7e8e13a7d..88e72c79d0e4 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoNumberingRules.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoNumberingRules.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,10 +52,10 @@ public class SvxUnoNumberingRules extends TestCase {
(XMultiServiceFactory) tParam.getMSF());
}
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
XMultiServiceFactory docMSF = (XMultiServiceFactory) UnoRuntime.queryInterface(
- XMultiServiceFactory.class,
+ XMultiServiceFactory.class,
xDrawDoc);
XInterface oObj = null;
@@ -70,9 +70,9 @@ public class SvxUnoNumberingRules extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
log.println("Implementationname: " + util.utils.getImplName(oObj));
-
+
Object NewRules=null;
-
+
try{
XIndexAccess xIA = (XIndexAccess) UnoRuntime.queryInterface(XIndexAccess.class, oObj);
NewRules = xIA.getByIndex(2);
diff --git a/qadevOOo/tests/java/mod/_svx/SvxUnoText.java b/qadevOOo/tests/java/mod/_svx/SvxUnoText.java
index 611b0e203c8a..ce006623e82b 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoText.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -123,7 +123,7 @@ public class SvxUnoText extends TestCase {
oShape = SOF.createShape
(xDrawDoc,5000,3500,7500,5000,"Text");
DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape);
-
+
XSimpleText text = (XSimpleText) UnoRuntime.queryInterface
(XSimpleText.class, oShape) ;
@@ -155,14 +155,14 @@ public class SvxUnoText extends TestCase {
"com.sun.star.text.TextField.DateTime");
log.println( " adding InstCreator object" );
tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) );
-
+
// adding relation for XTextRangeMover
tEnv.addObjRelation("RangeForMove", aRange);
tEnv.addObjRelation("XTextRange", oObj);
-
+
// adding relation for XTextRangeComapre
tEnv.addObjRelation("TEXT", (XText) UnoRuntime.queryInterface(XText.class, oShape)) ;
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
index af72326d32fd..3ff28a8239eb 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxUnoTextContentEnum.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextContentEnum.java
index 4e27561e01bc..36e5a4958399 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextContentEnum.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextContentEnum.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxUnoTextCursor.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextCursor.java
index c4521c9aadcf..35bf9287dd28 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextCursor.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxUnoTextField.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextField.java
index 30226c575931..605ac61fc209 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextField.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SvxUnoTextField extends TestCase {
}
XTextCursor the_Cursor = null;
-
+
// create testobject here
try {
diff --git a/qadevOOo/tests/java/mod/_svx/SvxUnoTextRange.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextRange.java
index ed6c61579b66..e5d626bc0c13 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextRange.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_svx/SvxUnoTextRangeEnumeration.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextRangeEnumeration.java
index d9ef393e966f..7ea4ebf6ccf6 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextRangeEnumeration.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextRangeEnumeration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/CharacterStyle.java b/qadevOOo/tests/java/mod/_sw/CharacterStyle.java
index 4c91540d52c2..95c70509306f 100755
--- a/qadevOOo/tests/java/mod/_sw/CharacterStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/CharacterStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class CharacterStyle extends TestCase {
log.println( " disposing xTextDoc " );
DesktopTools.closeDoc(xTextDoc);
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* At first style families are gotten from a text document using
@@ -201,7 +201,7 @@ public class CharacterStyle extends TestCase {
short exclude = PropertyAttribute.MAYBEVOID + PropertyAttribute.READONLY;
tEnv.addObjRelation("PropertyNames",utils.getFilteredPropertyNames(xStyleProp, (short)0, exclude));
- return tEnv;
+ return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java b/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java
index 20e667cd4be5..f0903c99e693 100755
--- a/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,10 +55,10 @@ import util.utils;
* @see com.sun.star.style.ConditionalParagraphStyle
*/
public class ConditionalParagraphStyle extends TestCase {
-
+
XTextDocument xTextDoc;
SOfficeFactory SOF = null;
-
+
/**
* Creates text document.
*/
@@ -146,7 +146,7 @@ public class ConditionalParagraphStyle extends TestCase {
XNameContainer oSFNC = (XNameContainer)
UnoRuntime.queryInterface(XNameContainer.class, oSFNA);
-
+
try {
if ( oSFNC.hasByName("My Style") )
oSFNC.removeByName("My Style");
@@ -195,7 +195,7 @@ public class ConditionalParagraphStyle extends TestCase {
String[] names = utils.getFilteredPropertyNames(xStyleProp, (short)0, exclude);
tEnv.addObjRelation("PropertyNames", names);
- return tEnv;
+ return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_sw/DocumentSettings.java b/qadevOOo/tests/java/mod/_sw/DocumentSettings.java
index 5ece58f1a29c..9d003240d9fe 100644
--- a/qadevOOo/tests/java/mod/_sw/DocumentSettings.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sw/PageStyle.java b/qadevOOo/tests/java/mod/_sw/PageStyle.java
index 25434add31cb..19a518cf9f67 100755
--- a/qadevOOo/tests/java/mod/_sw/PageStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/PageStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,10 +55,10 @@ import util.utils;
* @see com.sun.star.style.PageStyle
*/
public class PageStyle extends TestCase {
-
+
XTextDocument xTextDoc;
SOfficeFactory SOF = null;
-
+
/**
* Creates text document.
*/
@@ -115,7 +115,7 @@ public class PageStyle extends TestCase {
log.println("Error: exception occured.");
e.printStackTrace(log);
throw new StatusException( "Couldn't create environment ", e );
- }
+ }
try {
log.print("Creating a user-defined style... ");
@@ -140,7 +140,7 @@ public class PageStyle extends TestCase {
XNameContainer oSFNC = (XNameContainer)
UnoRuntime.queryInterface(XNameContainer.class, oSFNA);
-
+
try {
if ( oSFNC.hasByName("My Style") )
oSFNC.removeByName("My Style");
@@ -195,7 +195,7 @@ public class PageStyle extends TestCase {
String[] names = utils.getFilteredPropertyNames(xStyleProp, (short)0, exclude);
tEnv.addObjRelation("PropertyNames", names);
- return tEnv;
+ return tEnv;
}
-
+
}
diff --git a/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java b/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java
index 1c75183170d3..be55107c94f8 100755
--- a/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,10 +55,10 @@ import util.utils;
* @see com.sun.star.style.ParagraphStyle
*/
public class ParagraphStyle extends TestCase {
-
+
XTextDocument xTextDoc;
SOfficeFactory SOF = null;
-
+
/**
* Creates text document.
*/
@@ -80,7 +80,7 @@ public class ParagraphStyle extends TestCase {
log.println( " disposing xTextDoc " );
DesktopTools.closeDoc(xTextDoc);
}
-
+
protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
TestEnvironment tEnv = null;
XNameAccess oSFNA = null;
@@ -186,7 +186,7 @@ public class ParagraphStyle extends TestCase {
String[] names = utils.getFilteredPropertyNames(xStyleProp, (short)0, exclude);
tEnv.addObjRelation("PropertyNames", names);
- return tEnv;
- }
-
+ return tEnv;
+ }
+
}
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java
index 3eb0aa20d8b5..e29891766ff0 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwAccessibleDocumentPageView extends TestCase {
TestParameters Param, PrintWriter log) {
XInterface oObj = null;
-
+
XText oText = xTextDoc.getText();
XTextCursor oCursor = oText.createTextCursor();
@@ -98,10 +98,10 @@ public class SwAccessibleDocumentPageView extends TestCase {
} catch ( com.sun.star.lang.IllegalArgumentException e ){
e.printStackTrace(log);
throw new StatusException( "Couldn't insert lines", e );
- }
-
- XController xController = xTextDoc.getCurrentController();
-
+ }
+
+ XController xController = xTextDoc.getCurrentController();
+
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xTextDoc);
@@ -125,7 +125,7 @@ public class SwAccessibleDocumentPageView extends TestCase {
log.println("Couldn't change mode");
throw new StatusException(Status.failed("Couldn't change mode"));
}
-
+
shortWait();
AccessibilityTools at = new AccessibilityTools();
@@ -139,25 +139,25 @@ public class SwAccessibleDocumentPageView extends TestCase {
log.println("ImplementationName " + utils.getImplName(oObj));
- TestEnvironment tEnv = new TestEnvironment(oObj);
+ TestEnvironment tEnv = new TestEnvironment(oObj);
final XText the_text = oText;
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
- public void fireEvent() {
+ public void fireEvent() {
String oldText = the_text.getString();
the_text.setString("EVENT FIRED");
shortWait();
the_text.setString(oldText);
}
- });
-
+ });
+
return tEnv;
- }
-
-
+ }
+
+
/**
* Sleeps for 1 sec. to allow StarOffice to react on <code>
* reset</code> call.
@@ -168,8 +168,8 @@ public class SwAccessibleDocumentPageView extends TestCase {
} catch (InterruptedException e) {
log.println("While waiting :" + e) ;
}
- }
-
+ }
+
/**
* Called while disposing a <code>TestEnvironment</code>.
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentView.java
index 45d0e9a226d8..07d517003cd8 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleEndnoteView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
index 51c28e2e68aa..1761aabdf3a2 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleFooterView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java
index 33cdc1e2fff8..c355b5d17d92 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleFootnoteView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java
index 3b9604124211..0a8ba7c23b0d 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleHeaderView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java
index 9fc37c112980..db817c4b260b 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessiblePageView.java b/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java
index f70fa3e11ae1..d99a6dcfa4f1 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -110,12 +110,12 @@ public class SwAccessiblePageView extends TestCase {
e.printStackTrace(log);
throw new StatusException( "Couldn't insert lines", e );
}
-
+
// Enumeration
XEnumerationAccess oEnumA = (XEnumerationAccess)
UnoRuntime.queryInterface(XEnumerationAccess.class, oText );
XEnumeration oEnum = oEnumA.createEnumeration();
-
+
try {
para = (XInterface) AnyConverter.toObject(
new Type(XInterface.class),oEnum.nextElement());
@@ -134,7 +134,7 @@ public class SwAccessiblePageView extends TestCase {
e.printStackTrace(log);
log.println("Error: exception occured...");
}
-
+
try {
portP = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, port);
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleParagraphView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleParagraphView.java
index 23e7014e46eb..9e32d3ae5aa0 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleParagraphView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleParagraphView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class SwAccessibleParagraphView extends TestCase {
TestParameters Param, PrintWriter log) {
XInterface oObj = null;
-
+
XText oText = xTextDoc.getText();
oText.setString("XAccessibleText");
@@ -88,29 +88,29 @@ public class SwAccessibleParagraphView extends TestCase {
oObj = at.SearchedContext;
- log.println("ImplementationName " + utils.getImplName(oObj));
+ log.println("ImplementationName " + utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
final XText paraText = xTextDoc.getText();
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
- public void fireEvent() {
+ public void fireEvent() {
String old = paraText.getString();
paraText.setString("Just a line");
paraText.setString(old);
}
});
+
+ final String text = "XAccessibleText";
- final String text = "XAccessibleText";
-
- tEnv.addObjRelation("XAccessibleText.Text", text);
-
+ tEnv.addObjRelation("XAccessibleText.Text", text);
+
return tEnv;
- }
-
+ }
+
/**
* Called while disposing a <code>TestEnvironment</code>.
* Disposes text document.
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleTableCellView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleTableCellView.java
index b067b9a6293d..f9f511398691 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleTableCellView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleTableCellView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class SwAccessibleTableCellView extends TestCase {
* @see TestEnvironment
* @see #getTestEnvironment()
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XTextTable oTable = null;
@@ -83,7 +83,7 @@ public class SwAccessibleTableCellView extends TestCase {
oTable = SOF.createTextTable(xTextDoc);
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
- throw new StatusException("Couldn't create TextTable : " +
+ throw new StatusException("Couldn't create TextTable : " +
e.getMessage(), e);
}
@@ -91,11 +91,11 @@ public class SwAccessibleTableCellView extends TestCase {
SOF.insertTextContent(xTextDoc, oTable);
} catch (com.sun.star.lang.IllegalArgumentException e) {
e.printStackTrace(log);
- throw new StatusException("Couldn't insert text content :" +
+ throw new StatusException("Couldn't insert text content :" +
e.getMessage(), e);
}
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
AccessibilityTools at = new AccessibilityTools();
@@ -113,10 +113,10 @@ public class SwAccessibleTableCellView extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleSelection accSel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
at.SearchedContext.getAccessibleParent());
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
accSel.selectAllAccessibleChildren();
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleTableView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleTableView.java
index d08e2cef7d50..e74ceaa7f315 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleTableView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleTableView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleTextEmbeddedObject.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleTextEmbeddedObject.java
index a55f458de64b..8114d24b84f1 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleTextEmbeddedObject.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleTextEmbeddedObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleTextFrameView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleTextFrameView.java
index 676a475b099b..a6af6f769d00 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleTextFrameView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleTextFrameView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwAccessibleTextGraphicObject.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleTextGraphicObject.java
index 2f18e8eefc44..ab5c19e6d9b2 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleTextGraphicObject.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleTextGraphicObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXAutoTextContainer.java b/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
index 00bad4ad1f62..978ea5b54176 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXAutoTextEntry.java b/qadevOOo/tests/java/mod/_sw/SwXAutoTextEntry.java
index 9953196cfcbe..55befb374caf 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXAutoTextEntry.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXAutoTextEntry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ import com.sun.star.uno.XInterface;
public class SwXAutoTextEntry extends TestCase {
XTextDocument xTextDoc;
XAutoTextGroup oGroup;
-
+
/**
* Creates text document.
*/
@@ -91,7 +91,7 @@ public class SwXAutoTextEntry extends TestCase {
throw new StatusException( "Couldn't create document", e );
}
}
-
+
/**
* Removes added element from AutoTextGroup
*/
@@ -108,8 +108,8 @@ public class SwXAutoTextEntry extends TestCase {
log.println( "disposing xTextDoc " );
util.DesktopTools.closeDoc(xTextDoc);
}
-
-
+
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates an instance of the service
@@ -127,13 +127,13 @@ public class SwXAutoTextEntry extends TestCase {
*/
protected synchronized TestEnvironment createTestEnvironment
(TestParameters Param, PrintWriter log) {
-
+
XAutoTextEntry oEntry = null;
XAutoTextContainer oContainer;
XInterface oObj = null;
int n = 0;
int nCount = 0;
-
+
log.println( "creating a test environment" );
try {
XMultiServiceFactory myMSF = (XMultiServiceFactory)Param.getMSF();
@@ -145,28 +145,28 @@ public class SwXAutoTextEntry extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create AutoTextContainer", e);
}
-
+
XNameAccess oContNames = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, oContainer);
-
+
String contNames[] = oContNames.getElementNames();
for (int i =0; i < contNames.length; i++){
log.println("ContainerNames[ "+ i + "]: " + contNames[i]);
}
-
+
try{
oObj = (XInterface) AnyConverter.toObject(new Type(XInterface.class),oContNames.getByName("mytexts"));
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
throw new StatusException("Couldn't get AutoTextGroup", e);
}
-
+
oGroup = (XAutoTextGroup) UnoRuntime.queryInterface
(XAutoTextGroup.class, oObj);
String[] oENames = oGroup.getElementNames();
for (int i=0; i<oENames.length; i++) {
log.println("AutoTextEntryNames[" + i + "]: " + oENames[i]);
}
-
+
XText oText = xTextDoc.getText();
oText.insertString(oText.getStart(), "New AutoText", true);
XTextRange oTextRange = (XTextRange) oText;
@@ -188,30 +188,30 @@ public class SwXAutoTextEntry extends TestCase {
} catch ( com.sun.star.lang.IllegalArgumentException e ) {
e.printStackTrace(log);
}
-
+
oObj = oEntry;
-
+
log.println("Trying to use XText as TextRange in the method applyTo");
oEntry.applyTo(oTextRange);
-
+
oTextRange = oText.createTextCursor();
log.println("Trying to use XTextCursor as TextRange in the method applyTo");
oEntry.applyTo(oTextRange);
-
+
log.println( "creating a new environment for AutoTextEntry object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
// adding relation 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( xTextDoc, tDsc ) );
-
+
log.println( "adding TextDocument as mod relation to environment" );
tEnv.addObjRelation("TEXTDOC", xTextDoc);
-
+
return tEnv;
} // finish method getTestEnvironment
-
-
+
+
} // finish class SwXAutoTextEntry
diff --git a/qadevOOo/tests/java/mod/_sw/SwXAutoTextGroup.java b/qadevOOo/tests/java/mod/_sw/SwXAutoTextGroup.java
index 3e021d7267c9..4095e19e3725 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXAutoTextGroup.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXAutoTextGroup.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ import util.utils;
*/
public class SwXAutoTextGroup extends TestCase {
XTextDocument xTextDoc;
-
+
/**
* Creates text document.
*/
@@ -88,7 +88,7 @@ public class SwXAutoTextGroup extends TestCase {
throw new StatusException( "Couldn't create document", e );
}
}
-
+
/**
* Disposes text document.
*/
@@ -96,11 +96,11 @@ public class SwXAutoTextGroup extends TestCase {
log.println( " disposing xTextDoc " );
util.DesktopTools.closeDoc(xTextDoc);
}
-
+
/**
* Creating a Testenvironment for the interfaces to be tested.
* Creates an instance of the service
- * <code>com.sun.star.text.AutoTextContainer</code>, then creates a new
+ * <code>com.sun.star.text.AutoTextContainer</code>, then creates a new
* group into the container.<p>
* Object relations created :
* <ul>
@@ -109,10 +109,10 @@ public class SwXAutoTextGroup extends TestCase {
* </ul>
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
-
+
XInterface oObj = null;
XAutoTextContainer oContainer;
-
+
log.println( "creating a test environment" );
try {
XMultiServiceFactory myMSF = (XMultiServiceFactory)Param.getMSF();
@@ -123,15 +123,15 @@ public class SwXAutoTextGroup extends TestCase {
throw new StatusException("Couldn't create AutoTextContainer", e);
}
String myGroupName="myNewGroup2*1";
-
+
XAutoTextContainer xATC = (XAutoTextContainer) UnoRuntime.queryInterface(XAutoTextContainer.class, oContainer);
-
+
try {
log.println("removing element with name '" + myGroupName + "'");
xATC.removeByName(myGroupName);
} catch (com.sun.star.container.NoSuchElementException e) {
}
-
+
try {
log.println("adding element with name '" + myGroupName + "'");
xATC.insertNewByName(myGroupName);
@@ -142,37 +142,37 @@ public class SwXAutoTextGroup extends TestCase {
ex.printStackTrace(log);
throw new StatusException("could not insert '"+myGroupName+"' into container",ex);
}
-
-
+
+
XNameAccess oContNames = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, oContainer);
-
+
if (Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE)){
String contNames[] = oContNames.getElementNames();
for (int i =0; i < contNames.length; i++){
log.println("ContainerNames[ "+ i + "]: " + contNames[i]);
}
}
-
+
try{
oObj = (XInterface) AnyConverter.toObject(new Type(XInterface.class),oContNames.getByName(myGroupName));
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
throw new StatusException("Couldn't get AutoTextGroup '"+myGroupName + "'", e);
}
-
+
log.println("ImplementationName " + utils.getImplName(oObj));
-
+
log.println( "creating a new environment for AutoTextGroup object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
XText oText = xTextDoc.getText();
oText.insertString(oText.getStart(), "New AutoText", true);
-
+
log.println( "adding TextRange as mod relation to environment" );
tEnv.addObjRelation("TextRange", oText);
-
+
return tEnv;
} // finish method getTestEnvironment
-
-
+
+
} // finish class SwXAutoTextGroup
diff --git a/qadevOOo/tests/java/mod/_sw/SwXBodyText.java b/qadevOOo/tests/java/mod/_sw/SwXBodyText.java
index 91c14dd2b0b6..adc5595d58fc 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXBodyText.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXBodyText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXBookmark.java b/qadevOOo/tests/java/mod/_sw/SwXBookmark.java
index 12e7fa2403ff..feb3f8dabbb6 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXBookmark.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXBookmark.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXBookmarks.java b/qadevOOo/tests/java/mod/_sw/SwXBookmarks.java
index a28896ef7844..cec8afee207a 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXBookmarks.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXBookmarks.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXCell.java b/qadevOOo/tests/java/mod/_sw/SwXCell.java
index 367b59e02979..f05a79f1eb1d 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXCell.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXCell.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXCellRange.java b/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
index a9a5dfff9bd4..7610618877e7 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXCellRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +157,9 @@ public class SwXCellRange extends TestCase {
NewData[4] = new Double[]
{new Double(4),new Double(9),new Double(2.5),new Double(5)};
tEnv.addObjRelation("NewData",NewData);
-
+
// com::sun::star::chart::XChartDataArray
- tEnv.addObjRelation("CRDESC",
+ tEnv.addObjRelation("CRDESC",
"Column and RowDescriptions can't be changed for this Object");
diff --git a/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java b/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java
index 582d2fbbfc23..544ec015dda2 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXChapterNumbering.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -98,8 +98,8 @@ public class SwXChapterNumbering extends TestCase {
XChapterNumberingSupplier oCNSupp = (XChapterNumberingSupplier)
UnoRuntime.queryInterface(XChapterNumberingSupplier.class,xTextDoc);
- oObj = oCNSupp.getChapterNumberingRules();
-
+ oObj = oCNSupp.getChapterNumberingRules();
+
PropertyValue[] instance1 = null;
try {
instance1 = (PropertyValue[]) oCNSupp.getChapterNumberingRules().getByIndex(1);
@@ -108,13 +108,13 @@ public class SwXChapterNumbering extends TestCase {
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
}
-
+
//instance1[0].Value = new Short((short)5);
-
+
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
tEnv.addObjRelation("INSTANCE1", instance1);
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sw/SwXDocumentIndex.java b/qadevOOo/tests/java/mod/_sw/SwXDocumentIndex.java
index ab776da4c6e1..ec42193e731e 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXDocumentIndex.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXDocumentIndex.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXDocumentIndexMark.java b/qadevOOo/tests/java/mod/_sw/SwXDocumentIndexMark.java
index b8e0448d2d12..0fb1f22e78d5 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXDocumentIndexMark.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXDocumentIndexMark.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXDocumentIndexes.java b/qadevOOo/tests/java/mod/_sw/SwXDocumentIndexes.java
index 3fd780373e08..fbe2156932e5 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXDocumentIndexes.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXDocumentIndexes.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXDrawPage.java b/qadevOOo/tests/java/mod/_sw/SwXDrawPage.java
index 6a6d7f6480c0..306d8956737e 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXDrawPage.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXDrawPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXEndnoteProperties.java b/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java
index 7518b94309fc..603a01d53677 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFieldEnumeration.java b/qadevOOo/tests/java/mod/_sw/SwXFieldEnumeration.java
index 81a7e4b70447..83cef6f8fc4d 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFieldEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFieldEnumeration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFieldMaster.java b/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java
index e2e7bac89b6c..8d4a14b2759b 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFootnote.java b/qadevOOo/tests/java/mod/_sw/SwXFootnote.java
index 39ab7c74a009..1a21ad5cc25f 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFootnote.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFootnote.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFootnoteProperties.java b/qadevOOo/tests/java/mod/_sw/SwXFootnoteProperties.java
index df6e541fd553..95c73e4d1249 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFootnoteProperties.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFootnoteProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFootnoteText.java b/qadevOOo/tests/java/mod/_sw/SwXFootnoteText.java
index 661f3c9c055a..a9c7ee4908d1 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFootnoteText.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFootnoteText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFootnotes.java b/qadevOOo/tests/java/mod/_sw/SwXFootnotes.java
index 0c50c4c28014..ecb9b6494550 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFootnotes.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFootnotes.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXFrames.java b/qadevOOo/tests/java/mod/_sw/SwXFrames.java
index ad4dd2eaa1c0..320ca60cd2cd 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXFrames.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXFrames.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXHeadFootText.java b/qadevOOo/tests/java/mod/_sw/SwXHeadFootText.java
index dcf62875f97d..371e125780c3 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXHeadFootText.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXHeadFootText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -189,7 +189,7 @@ public class SwXHeadFootText extends TestCase {
log.println( "adding InstCreator object" );
tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xTextDoc, tDsc ) );
-
+
tEnv.addObjRelation( "TEXT", oObj);
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java b/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java
index aa339c2679b5..1fac0d2747d0 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXMailMerge.java b/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java
index 64327817ec02..b97baff7ec72 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -85,7 +85,7 @@ public class SwXMailMerge extends TestCase {
XInterface oRowSet = null;
Object oConnection = null;
XJob Job = null;
-
+
log.println(" instantiate MailMerge service");
try {
oObj = (XInterface) ( (XMultiServiceFactory) Param.getMSF()).createInstance
@@ -93,7 +93,7 @@ public class SwXMailMerge extends TestCase {
} catch (Exception e) {
throw new StatusException("Can't create object environment", e) ;
}
-
+
// <set some variables>
String cTestDoc = utils.getFullTestURL("MailMerge.sxw");
//cMailMerge_DocumentURL = cTestDoc
@@ -105,7 +105,7 @@ public class SwXMailMerge extends TestCase {
sel[1] = new int[5];
Object[] myBookMarks = new Object[2];
// </set some variables>
-
+
// <create XResultSet>
log.println("create a XResultSet");
try {
@@ -114,9 +114,9 @@ public class SwXMailMerge extends TestCase {
} catch (Exception e) {
throw new StatusException("Can't create com.sun.star.sdb.RowSet", e);
}
- XPropertySet oRowSetProps = (XPropertySet)
+ XPropertySet oRowSetProps = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, oRowSet);
- XRowSet xRowSet = (XRowSet)
+ XRowSet xRowSet = (XRowSet)
UnoRuntime.queryInterface(XRowSet.class, oRowSet);
try {
oRowSetProps.setPropertyValue("DataSourceName",cDataSourceName);
@@ -136,13 +136,13 @@ public class SwXMailMerge extends TestCase {
} catch (SQLException e) {
throw new StatusException("Can't execute oRowSet", e);
}
-
- XResultSet oResultSet = (XResultSet)
+
+ XResultSet oResultSet = (XResultSet)
UnoRuntime.queryInterface(XResultSet.class, oRowSet);
-
-
-
+
+
+
// <create Bookmarks>
log.println("create bookmarks");
try {
@@ -156,22 +156,22 @@ public class SwXMailMerge extends TestCase {
throw new StatusException("Cant get Bookmarks", e);
}
// </create Bookmarks>
-
+
// <fill object with values>
-
+
log.println("fill MailMerge with default connection");
-
- XPropertySet oObjProps = (XPropertySet)
+
+ XPropertySet oObjProps = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, oObj);
try {
- oObjProps.setPropertyValue("ActiveConnection", getLocalXConnection(Param));
- oObjProps.setPropertyValue("DataSourceName", cDataSourceName);
+ oObjProps.setPropertyValue("ActiveConnection", getLocalXConnection(Param));
+ oObjProps.setPropertyValue("DataSourceName", cDataSourceName);
oObjProps.setPropertyValue("Command", cDataCommand);
oObjProps.setPropertyValue("CommandType", new Integer(CommandType.TABLE));
oObjProps.setPropertyValue("OutputType", new Short(MailMergeType.FILE));
oObjProps.setPropertyValue("DocumentURL", cTestDoc);
oObjProps.setPropertyValue("OutputURL", cOutputURL);
- oObjProps.setPropertyValue("FileNamePrefix", "Author");
+ oObjProps.setPropertyValue("FileNamePrefix", "Author");
oObjProps.setPropertyValue("FileNameFromColumn", new Boolean(false));
oObjProps.setPropertyValue("Selection", new Object[0]);
@@ -185,15 +185,15 @@ public class SwXMailMerge extends TestCase {
throw new StatusException("Can't set properties on oObj", e);
}
// </fill object with values>
-
-
+
+
// <create object relations>
Object[] vXJobArgs = new Object[4];
NamedValue[] vXJobArg0 = new NamedValue[8];
NamedValue[] vXJobArg1 = new NamedValue[7];
NamedValue[] vXJobArg2 = new NamedValue[10];
NamedValue[] vXJobArg3 = new NamedValue[0];
-
+
// first Arguments
vXJobArg0[0] = new NamedValue("DataSourceName", cDataSourceName);
vXJobArg0[1] = new NamedValue("Command", cDataCommand);
@@ -226,13 +226,13 @@ public class SwXMailMerge extends TestCase {
vXJobArg2[7] = new NamedValue("FileNamePrefix", "Identifier");
vXJobArg2[8] = new NamedValue("FileNameFromColumn", new Boolean(true));
vXJobArg2[9] = new NamedValue("Selection", myBookMarks);
-
+
vXJobArgs[0] = vXJobArg0;
vXJobArgs[1] = vXJobArg1;
vXJobArgs[2] = vXJobArg2;
vXJobArgs[3] = vXJobArg3;
-
-
+
+
Job = (XJob) UnoRuntime.queryInterface(XJob.class, oObj);
try{
Job.execute(vXJobArg2);
@@ -241,11 +241,11 @@ public class SwXMailMerge extends TestCase {
} catch ( Exception e){
System.out.println(e.toString());
}
-
+
// <create XResultSet>
log.println("create XResultSet");
-
+
try {
oRowSet = (XInterface) ( (XMultiServiceFactory) Param.getMSF()).createInstance
("com.sun.star.sdb.RowSet");
@@ -253,9 +253,9 @@ public class SwXMailMerge extends TestCase {
throw new StatusException("Can't create com.sun.star.sdb.RowSet", e);
}
oRowSetProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, oRowSet);
-
+
xRowSet = (XRowSet) UnoRuntime.queryInterface(XRowSet.class, oRowSet);
-
+
try {
oRowSetProps.setPropertyValue("DataSourceName",cDataSourceName);
oRowSetProps.setPropertyValue("Command",cDataCommand);
@@ -274,57 +274,57 @@ public class SwXMailMerge extends TestCase {
} catch (SQLException e) {
throw new StatusException("Can't execute oRowSet", e);
}
-
- oResultSet = (XResultSet)
+
+ oResultSet = (XResultSet)
UnoRuntime.queryInterface(XResultSet.class, oRowSet);
-
+
XResultSet oMMXResultSet = null;
try {
- oMMXResultSet = (XResultSet)
- UnoRuntime.queryInterface(XResultSet.class,
- ( (XInterface)
- ( (XMultiServiceFactory)
+ oMMXResultSet = (XResultSet)
+ UnoRuntime.queryInterface(XResultSet.class,
+ ( (XInterface)
+ ( (XMultiServiceFactory)
Param.getMSF()).createInstance("com.sun.star.sdb.RowSet")));
-
+
} catch (Exception e) {
throw new StatusException("Can't create com.sun.star.sdb.RowSet", e);
}
// </create object relations>
-
+
TestEnvironment tEnv = new TestEnvironment(oObj) ;
-
+
// <adding object relations>
-
+
// com.sun.star.sdb.DataAccessDescriptor
tEnv.addObjRelation("DataAccessDescriptor.XResultSet", oResultSet);
tEnv.addObjRelation("DataAccessDescriptor.XConnection", getRemoteXConnection(Param));
-
+
// com.sun.star.text.MailMaerge
tEnv.addObjRelation("MailMerge.XConnection", getRemoteXConnection(Param));
tEnv.addObjRelation("MailMerge.XResultSet", oMMXResultSet);
-
+
// com.sun.star.text.XMailMergeBroadcaster
tEnv.addObjRelation( "executeArgs", vXJobArg0);
tEnv.addObjRelation( "Job", Job);
-
+
// com.sun.star.task.XJob
tEnv.addObjRelation("XJobArgs", vXJobArgs);
-
+
// </adding object relations>
-
+
return tEnv ;
}
-
+
private XConnection getRemoteXConnection(TestParameters Param){
-
+
log.println("create remote connection");
-
+
String databaseName = null ;
XDataSource oXDataSource = null;
Object oInterface = null;
XMultiServiceFactory xMSF = null ;
int uniqueSuffix = Param.getInt("uniqueSuffix");
-
+
try {
xMSF = (XMultiServiceFactory)Param.getMSF();
oInterface = xMSF.createInstance( "com.sun.star.sdb.DatabaseContext" );
@@ -333,7 +333,7 @@ public class SwXMailMerge extends TestCase {
String tmpDatabaseUrl = utils.getOfficeTempDir((XMultiServiceFactory)Param.getMSF());
databaseName = "NewDatabaseSource" + uniqueSuffix ;
-
+
String tmpDatabaseFile = tmpDatabaseUrl + databaseName + ".odb";
System.out.println("try to delete '"+tmpDatabaseFile+"'");
utils.deleteFile(((XMultiServiceFactory) Param.getMSF()), tmpDatabaseFile);
@@ -349,15 +349,15 @@ public class SwXMailMerge extends TestCase {
UnoRuntime.queryInterface(XPropertySet.class, newSource);
xSrcProp.setPropertyValue("URL", tmpDatabaseUrl) ;
-
+
DBTools dbt = new DBTools( (XMultiServiceFactory)Param.getMSF(), log );
// registering source in DatabaseContext
log.println("register database '"+tmpDatabaseUrl+"' as '"+databaseName+"'" );
dbt.reRegisterDB(databaseName, newSource) ;
-
+
uniqueSuffix++;
Param.put("uniqueSuffix", new Integer(uniqueSuffix));
-
+
return dbt.connectToSource(newSource);
}
catch( Exception e ) {
@@ -368,11 +368,11 @@ public class SwXMailMerge extends TestCase {
throw new StatusException("could not register new database", e) ;
}
}
-
+
private XConnection getLocalXConnection(TestParameters Param){
-
+
log.println("create local connection");
-
+
XInterface oDataCont = null;
try {
oDataCont = (XInterface)( (XMultiServiceFactory) Param.getMSF()).createInstance
@@ -382,22 +382,22 @@ public class SwXMailMerge extends TestCase {
}
XNameAccess xNADataCont = (XNameAccess)
UnoRuntime.queryInterface(XNameAccess.class, oDataCont);
-
+
String[] dataNames = xNADataCont.getElementNames();
-
+
String dataName="";
for (int i = 0; i < dataNames.length; i++){
if (dataNames[i].startsWith("Biblio")) dataName=dataNames[i];
}
-
+
try{
-
+
Object oDataBase = xNADataCont.getByName(dataName);
XDataSource xDataSource = (XDataSource)
UnoRuntime.queryInterface(XDataSource.class, oDataBase);
-
+
return xDataSource.getConnection("","");
-
+
} catch ( NoSuchElementException e){
throw new StatusException("Couldn't get registered data base", e);
} catch ( WrappedTargetException e){
@@ -405,34 +405,34 @@ public class SwXMailMerge extends TestCase {
} catch ( SQLException e){
throw new StatusException("Couldn't get XConnection from registered data base", e);
}
-
+
}
-
+
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println("closing connections...");
XMultiServiceFactory xMsf = (XMultiServiceFactory) Param.getMSF();
DBTools dbt = new DBTools( xMsf, log );
-
+
if (Param.containsKey("uniqueSuffix")){
int uniqueSuffix = Param.getInt("uniqueSuffix");
uniqueSuffix--;
String databaseName = "";
while (uniqueSuffix >= 0){
-
+
databaseName = "NewDatabaseSource" + uniqueSuffix ;
-
+
log.println("revoke '"+databaseName+"'");
-
+
try{
dbt.revokeDB(databaseName);
} catch (com.sun.star.uno.Exception e){
}
-
+
uniqueSuffix--;
}
}
-
- }
+
+ }
}
diff --git a/qadevOOo/tests/java/mod/_sw/SwXModule.java b/qadevOOo/tests/java/mod/_sw/SwXModule.java
index dea1cc05998f..c8398b9d7b9d 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXModule.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXModule.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXNumberingRules.java b/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java
index 72c7f759d9ff..30dbe80c7810 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -143,7 +143,7 @@ public class SwXNumberingRules extends TestCase {
log.println("Error, exception occured...");
e.printStackTrace(log);
}
-
+
Object instance1 = null;
try {
@@ -167,10 +167,10 @@ public class SwXNumberingRules extends TestCase {
} catch ( com.sun.star.lang.IllegalArgumentException e ) {
log.println("Error, exception occured...");
e.printStackTrace(log);
- }
-
+ }
+
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
tEnv.addObjRelation("INSTANCE1", instance1);
return tEnv;
}
diff --git a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
index 5e31bc5f75ff..6bb88deb14b3 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -94,17 +94,17 @@ import com.sun.star.util.XCloseable;
*/
public class SwXParagraph extends TestCase {
XTextDocument xTextDoc;
-
+
/**
* Creates text document.
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
-
+
}
-
+
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -115,8 +115,8 @@ public class SwXParagraph extends TestCase {
log.println("couldn't close document");
}
}
-
-
+
+
/**
* Creating a Testenvironment for the interfaces to be tested. To obtain
* test component, at first several paragraphs are inserted to a major text
@@ -140,10 +140,10 @@ public class SwXParagraph extends TestCase {
*/
protected synchronized TestEnvironment createTestEnvironment
(TestParameters tParam, PrintWriter log) {
-
+
if (xTextDoc != null) {
log.println(" disposing xTextDoc ");
-
+
try {
XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
XCloseable.class, xTextDoc);
@@ -162,20 +162,20 @@ public class SwXParagraph extends TestCase {
e.printStackTrace( log );
throw new StatusException( "Couldn't create document", e );
}
-
+
XInterface oObj = null;
XPropertySet paraP = null;
XPropertySet portP = null;
Object nRules = null;
XInterface port = null;
XInterface para = null;
-
+
log.println( "creating a test environment" );
-
-
+
+
XText oText = xTextDoc.getText();
XTextCursor oCursor = oText.createTextCursor();
-
+
log.println( "inserting some lines" );
try {
for (int i=0; i<5; i++){
@@ -197,12 +197,12 @@ public class SwXParagraph extends TestCase {
e.printStackTrace(log);
throw new StatusException( "Couldn't insert lines", e );
}
-
+
// Enumeration
XEnumerationAccess oEnumA = (XEnumerationAccess)
UnoRuntime.queryInterface(XEnumerationAccess.class, oText );
XEnumeration oEnum = oEnumA.createEnumeration();
-
+
try {
para = (XInterface) AnyConverter.toObject(
new Type(XInterface.class),oEnum.nextElement());
@@ -221,7 +221,7 @@ public class SwXParagraph extends TestCase {
e.printStackTrace(log);
log.println("Error: exception occured...");
}
-
+
try {
portP = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, port);
@@ -246,8 +246,8 @@ public class SwXParagraph extends TestCase {
e.printStackTrace(log);
throw new StatusException( "Couldn't get Paragraph", e );
}
-
-
+
+
try {
oObj = (XInterface) AnyConverter.toObject(
new Type(XInterface.class),oEnum.nextElement());
@@ -256,24 +256,24 @@ public class SwXParagraph extends TestCase {
e.printStackTrace(log);
throw new StatusException( "Couldn't get Paragraph", e );
}
-
-
+
+
log.println( "creating a new environment for Paragraph object" );
TestEnvironment tEnv = new TestEnvironment( oObj );
-
+
log.println("adding ObjectRelation 'PARA' for CharacterProperties");
tEnv.addObjRelation("PARA", paraP);
-
+
log.println("adding ObjectRelation 'PORTION' for CharacterProperties");
tEnv.addObjRelation("PORTION", portP);
-
+
log.println("adding ObjectRelation 'NRULES' for ParagraphProperties");
tEnv.addObjRelation("NRULES", nRules);
-
+
tEnv.addObjRelation("NoAttach","SwXParagraph");
-
+
return tEnv;
} // finish method getTestEnvironment
-
+
} // finish class SwXParagraph
diff --git a/qadevOOo/tests/java/mod/_sw/SwXParagraphEnumeration.java b/qadevOOo/tests/java/mod/_sw/SwXParagraphEnumeration.java
index 9be419637935..144b76dcb151 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXParagraphEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXParagraphEnumeration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXPrintSettings.java b/qadevOOo/tests/java/mod/_sw/SwXPrintSettings.java
index 0a9345ccc401..b95661e2308f 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXPrintSettings.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXPrintSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXPropertySet.java b/qadevOOo/tests/java/mod/_sw/SwXPropertySet.java
index 56d2cca07516..ca2fb30118c2 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXPropertySet.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXPropertySetInfo.java b/qadevOOo/tests/java/mod/_sw/SwXPropertySetInfo.java
index 1ab4f7b370ce..a07d6993cadc 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXPropertySetInfo.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXPropertySetInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXReferenceMark.java b/qadevOOo/tests/java/mod/_sw/SwXReferenceMark.java
index f3761738fd7b..bc5ff71ca784 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXReferenceMark.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXReferenceMark.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXReferenceMarks.java b/qadevOOo/tests/java/mod/_sw/SwXReferenceMarks.java
index bf53b234bd97..13afc17e67ba 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXReferenceMarks.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXReferenceMarks.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXShape.java b/qadevOOo/tests/java/mod/_sw/SwXShape.java
index bd516d22f46f..6ea0f8041574 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXShape.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXStyle.java b/qadevOOo/tests/java/mod/_sw/SwXStyle.java
index 8fc9bb8fa9aa..417080e22780 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXStyleFamilies.java b/qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java
index d8a5b840ecb3..b9cce4d65048 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXStyleFamily.java b/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
index 75180338e316..436427b1fc27 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwXStyleFamily extends TestCase {
* </ul>
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
-
+
XNameAccess oSFNA = null;
log.println( "Creating Test Environment..." );
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java b/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
index 2ceaf704254b..eed656ee997a 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTableCellText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTableColumns.java b/qadevOOo/tests/java/mod/_sw/SwXTableColumns.java
index ace59c91cc02..c4a970d4c1d2 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTableColumns.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTableColumns.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwXTableColumns extends TestCase {
UnoRuntime.queryInterface(XCellRange.class, oTable));
tEnv.addObjRelation("XIndexAccess.getByIndex.mustBeNull", new Boolean(true));
-
+
return tEnv;
} // finish method getTestEnvironment
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTableRows.java b/qadevOOo/tests/java/mod/_sw/SwXTableRows.java
index 8d11e3607f44..69b06940d419 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTableRows.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTableRows.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextColumns.java b/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java
index cdb1b5d67830..f5ec370614db 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextCursor.java b/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java
index a7313943ce50..8d4cfd6a81f8 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -136,7 +136,7 @@ public class SwXTextCursor extends TestCase {
* {@link ifc.text._XTextRange} : major text of text document</li>
* </ul>
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -157,19 +157,19 @@ public class SwXTextCursor extends TestCase {
aText.insertString(textCursor, "" + (3 - i), false);
for (int j = 0; j < 5; j++) {
- aText.insertString(textCursor, "XTextCursor,XTextCursor",
+ aText.insertString(textCursor, "XTextCursor,XTextCursor",
false);
- aText.insertString(textCursor, "The quick brown fox ",
+ aText.insertString(textCursor, "The quick brown fox ",
false);
- aText.insertString(textCursor, "jumps over the lazy dog ",
+ aText.insertString(textCursor, "jumps over the lazy dog ",
false);
}
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.LINE_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.LINE_BREAK,
false);
}
} catch (com.sun.star.lang.IllegalArgumentException e) {
@@ -189,11 +189,11 @@ public class SwXTextCursor extends TestCase {
//Adding relation for util.XSortable
final XParagraphCursor paragrCursor = (XParagraphCursor) UnoRuntime.queryInterface(
- XParagraphCursor.class,
+ XParagraphCursor.class,
oObj);
final PrintWriter finalLog = log;
- tEnv.addObjRelation("SORTCHECKER",
+ tEnv.addObjRelation("SORTCHECKER",
new ifc.util._XSortable.XSortChecker() {
PrintWriter out = finalLog;
@@ -205,32 +205,32 @@ public class SwXTextCursor extends TestCase {
textCursor.gotoEnd(false);
try {
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
aText.insertString(textCursor, "4", false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
aText.insertString(textCursor, "b", false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
aText.insertString(textCursor, "3", false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
aText.insertString(textCursor, "a", false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
aText.insertString(textCursor, "23", false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
aText.insertString(textCursor, "ab", false);
- aText.insertControlCharacter(textCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ aText.insertControlCharacter(textCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
} catch (com.sun.star.lang.IllegalArgumentException e) {
out.println("Unexpected exception:" + e);
@@ -247,10 +247,10 @@ public class SwXTextCursor extends TestCase {
out.println(textCursor.getString());
}
- public boolean checkSort(boolean isSortNumbering,
+ public boolean checkSort(boolean isSortNumbering,
boolean isSortAscending) {
out.println("Sort checking...");
-
+
String ls = System.getProperty("line.separator");
String text = paragrCursor.getString();
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextDefaults.java b/qadevOOo/tests/java/mod/_sw/SwXTextDefaults.java
index db5c223f4f29..2630b5b2da88 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextDefaults.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextDefaults.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextDocument.java b/qadevOOo/tests/java/mod/_sw/SwXTextDocument.java
index da2f53168863..f8e5a5d4881b 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextDocument.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +68,13 @@ public class SwXTextDocument extends TestCase {
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
DesktopTools.closeDoc(xSecondTextDoc);
- DesktopTools.closeDoc(xTextDoc);
+ DesktopTools.closeDoc(xTextDoc);
}
/**
* creating a Testenvironment for the interfaces to be tested
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log)
throws StatusException {
TestEnvironment tEnv = null;
@@ -92,43 +92,43 @@ public class SwXTextDocument extends TestCase {
try {
for (int i = 0; i < 5; i++) {
- oText.insertString(oCursor, "Paragraph Number: " + i,
+ oText.insertString(oCursor, "Paragraph Number: " + i,
false);
- oText.insertString(oCursor,
- " The quick brown fox jumps over the lazy Dog: SwXParagraph",
+ oText.insertString(oCursor,
+ " The quick brown fox jumps over the lazy Dog: SwXParagraph",
false);
- oText.insertControlCharacter(oCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ oText.insertControlCharacter(oCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
- oText.insertString(oCursor,
- "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG: SwXParagraph",
+ oText.insertString(oCursor,
+ "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG: SwXParagraph",
false);
- oText.insertControlCharacter(oCursor,
- ControlCharacter.PARAGRAPH_BREAK,
+ oText.insertControlCharacter(oCursor,
+ ControlCharacter.PARAGRAPH_BREAK,
false);
- oText.insertControlCharacter(oCursor,
- ControlCharacter.LINE_BREAK,
+ oText.insertControlCharacter(oCursor,
+ ControlCharacter.LINE_BREAK,
false);
}
for (int i = 0; i < 11; i++) {
oText.insertString(oCursor, "xTextDoc ", false);
-
+
}
} catch (com.sun.star.lang.IllegalArgumentException e) {
e.printStackTrace(log);
throw new StatusException("Couldn't insert lines", e);
}
- //insert two sections parent and child
+ //insert two sections parent and child
XMultiServiceFactory oDocMSF = (XMultiServiceFactory) UnoRuntime.queryInterface(
- XMultiServiceFactory.class,
+ XMultiServiceFactory.class,
xTextDoc);
XInterface oTS;
XTextSection xTS;
XTextSectionsSupplier oTSSupp = (XTextSectionsSupplier) UnoRuntime.queryInterface(
- XTextSectionsSupplier.class,
+ XTextSectionsSupplier.class,
xTextDoc);
XNameAccess oTSSuppName = oTSSupp.getTextSections();
@@ -148,29 +148,29 @@ public class SwXTextDocument extends TestCase {
XInterface oTS2 = (XInterface) oDocMSF.createInstance(
"com.sun.star.text.TextSection");
- oTSC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class,
+ oTSC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class,
oTS2);
oText.insertTextContent(oCursor, oTSC, false);
XIndexAccess oTSSuppIndex = (XIndexAccess) UnoRuntime.queryInterface(
- XIndexAccess.class,
+ XIndexAccess.class,
oTSSuppName);
log.println(
"getting a TextSection with the XTextSectionSupplier()");
- xTS = (XTextSection) UnoRuntime.queryInterface(XTextSection.class,
+ xTS = (XTextSection) UnoRuntime.queryInterface(XTextSection.class,
oTSSuppIndex.getByIndex(0));
- XNamed xTSName = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed xTSName = (XNamed) UnoRuntime.queryInterface(XNamed.class,
xTS);
xTSName.setName("SwXTextSection");
log.println(" adding TextTable");
the_table = SOfficeFactory.createTextTable(xTextDoc, 6, 4);
- XNamed the_name = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed the_name = (XNamed) UnoRuntime.queryInterface(XNamed.class,
the_table);
the_name.setName("SwXTextDocument");
- SOfficeFactory.insertTextContent(xTextDoc,
+ SOfficeFactory.insertTextContent(xTextDoc,
(XTextContent) the_table);
log.println(" adding ReferenceMark");
@@ -185,33 +185,33 @@ public class SwXTextDocument extends TestCase {
SOfficeFactory.insertTextContent(xTextDoc, (XTextContent) oTC);
log.println(" adding TextGraphic");
- WriterTools.insertTextGraphic(xTextDoc, oDocMSF, 5200, 4200, 4400,
- 4000, "space-metal.jpg",
+ WriterTools.insertTextGraphic(xTextDoc, oDocMSF, 5200, 4200, 4400,
+ 4000, "space-metal.jpg",
"SwXTextDocument");
log.println(" adding EndNote");
XInterface aEndNote = (XInterface) oDocMSF.createInstance(
"com.sun.star.text.Endnote");
- oTC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class,
+ oTC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class,
aEndNote);
SOfficeFactory.insertTextContent(xTextDoc, (XTextContent) oTC);
log.println(" adding Bookmark");
- SOfficeFactory.insertTextContent(xTextDoc,
+ SOfficeFactory.insertTextContent(xTextDoc,
(XTextContent) SOfficeFactory.createBookmark(
xTextDoc));
log.println(" adding DocumentIndex");
- oTC = SOfficeFactory.createIndex(xTextDoc,
+ oTC = SOfficeFactory.createIndex(xTextDoc,
"com.sun.star.text.DocumentIndex");
SOfficeFactory.insertTextContent(xTextDoc, (XTextContent) oTC);
log.println(" adding TextFrame");
- XTextFrame frame = SOfficeFactory.createTextFrame(xTextDoc, 500,
+ XTextFrame frame = SOfficeFactory.createTextFrame(xTextDoc, 500,
500);
- oTC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class,
+ oTC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class,
frame);
SOfficeFactory.insertTextContent(xTextDoc, (XTextContent) oTC);
@@ -241,9 +241,9 @@ public class SwXTextDocument extends TestCase {
return tEnv;
}
- XModel model1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel model1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
- XModel model2 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel model2 = (XModel) UnoRuntime.queryInterface(XModel.class,
xSecondTextDoc);
XController cont1 = model1.getCurrentController();
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java b/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java
index 50e218b0d319..9df3327e13a4 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -101,7 +101,7 @@ public class SwXTextEmbeddedObject extends TestCase {
* @see TestParameters
* @see PrintWriter
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
XInterface oObj = null;
@@ -132,7 +132,7 @@ public class SwXTextEmbeddedObject extends TestCase {
}
XTextEmbeddedObjectsSupplier oTEOS = (XTextEmbeddedObjectsSupplier) UnoRuntime.queryInterface(
- XTextEmbeddedObjectsSupplier.class,
+ XTextEmbeddedObjectsSupplier.class,
xTextDoc);
XNameAccess oEmObj = oTEOS.getEmbeddedObjects();
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObjects.java b/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObjects.java
index 51a3e8a45a12..342390180a54 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObjects.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextEmbeddedObjects.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextField.java b/qadevOOo/tests/java/mod/_sw/SwXTextField.java
index aabab6efe480..0b280929eedc 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextField.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextFieldMasters.java b/qadevOOo/tests/java/mod/_sw/SwXTextFieldMasters.java
index d0ba5c70af3c..009f50e570f5 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextFieldMasters.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextFieldMasters.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextFieldTypes.java b/qadevOOo/tests/java/mod/_sw/SwXTextFieldTypes.java
index 1b730500f37c..3c10f9b3cabf 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextFieldTypes.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextFieldTypes.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextFrame.java b/qadevOOo/tests/java/mod/_sw/SwXTextFrame.java
index 64874119ca14..425faf20ef50 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextFrame.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextFrame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwXTextFrame extends TestCase {
/**
* creating a Testenvironment for the interfaces to be tested
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XTextFrame oFrame1 = null;
@@ -109,7 +109,7 @@ public class SwXTextFrame extends TestCase {
// AnchorTypes: 0 = paragraph, 1 = as char, 2 = page,
// 3 = frame/paragraph 4= at char
- oPropSet.setPropertyValue("AnchorType",
+ oPropSet.setPropertyValue("AnchorType",
TextContentAnchorType.AS_CHARACTER);
oText = xTextDoc.getText();
oCursor = oText.createTextCursor();
@@ -126,10 +126,10 @@ public class SwXTextFrame extends TestCase {
oText.insertTextContent(oCursor, the_content, true);
XText oFrameText = oFrame1.getText();
- oFrameText.insertString(oFrameText.getStart(), "The FrameText",
+ oFrameText.insertString(oFrameText.getStart(), "The FrameText",
true);
- instance = SOF.createInstance(xTextDoc,
+ instance = SOF.createInstance(xTextDoc,
"com.sun.star.text.TextFrame");
} catch (Exception Ex) {
Ex.printStackTrace(log);
@@ -142,12 +142,12 @@ public class SwXTextFrame extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("CONTENT",
+ tEnv.addObjRelation("CONTENT",
(XTextContent) UnoRuntime.queryInterface(
XTextContent.class, instance));
tEnv.addObjRelation("RANGE", xTextDoc.getText().createTextCursor());
- log.println("adding ObjRelation for XShape " +
+ log.println("adding ObjRelation for XShape " +
"(get/setPosition won't work there)");
tEnv.addObjRelation("NoPos", "SwXTextFrame");
tEnv.addObjRelation("NoSetSize", "SwXTextFrame");
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextFrameText.java b/qadevOOo/tests/java/mod/_sw/SwXTextFrameText.java
index ef304a631f9f..b79b4448e580 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextFrameText.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextFrameText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextGraphicObject.java b/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
index 9e45193586e2..b95cd8ba4eb9 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +140,7 @@ public class SwXTextGraphicObject extends TestCase {
e.printStackTrace();
throw new StatusException("Couldn't insert text frame", e );
}
-
+
log.println( "inserting graphic" );
try {
@@ -195,7 +195,7 @@ public class SwXTextGraphicObject extends TestCase {
tEnv.addObjRelation("CONTENT", (XTextContent)
UnoRuntime.queryInterface(XTextContent.class,instance));
tEnv.addObjRelation("RANGE", xTextDoc.getText().createTextCursor());
-
+
//object relation for text.BaseFrameProperties
tEnv.addObjRelation("TextFrame", xTextFrame);
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObjects.java b/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObjects.java
index 8b233ea5ceb5..76ab82f140e3 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObjects.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextGraphicObjects.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextPortion.java b/qadevOOo/tests/java/mod/_sw/SwXTextPortion.java
index 3b581644cbe3..490f6531e618 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextPortion.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextPortion.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextPortionEnumeration.java b/qadevOOo/tests/java/mod/_sw/SwXTextPortionEnumeration.java
index b591a6b45be8..da32557d1852 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextPortionEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextPortionEnumeration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextRange.java b/qadevOOo/tests/java/mod/_sw/SwXTextRange.java
index 8b09a01dac9d..058e5f2f08da 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextRange.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextRanges.java b/qadevOOo/tests/java/mod/_sw/SwXTextRanges.java
index 5310ab00546a..cc49a1f4dcd7 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextRanges.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextRanges.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextSearch.java b/qadevOOo/tests/java/mod/_sw/SwXTextSearch.java
index d637bb23a252..ad72aeffee87 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextSearch.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextSearch.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextSection.java b/qadevOOo/tests/java/mod/_sw/SwXTextSection.java
index c74f3a527323..48b1d9407584 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextSection.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextSection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextSections.java b/qadevOOo/tests/java/mod/_sw/SwXTextSections.java
index 0a672de3bdc8..3abdf4380855 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextSections.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextSections.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextTable.java b/qadevOOo/tests/java/mod/_sw/SwXTextTable.java
index c3bc78208b27..ca7d048181c7 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextTable.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,13 +81,13 @@ public class SwXTextTable extends TestCase {
@param tParam TestParameters class which contains additional
test parameters
@param log PrintWriter class to log the test state and result
-
+
@return TestEnvironment class
-
+
@see TestParameters
@see PrintWriter
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
// creation of testobject here
XTextTable oObj = null;
@@ -99,7 +99,7 @@ public class SwXTextTable extends TestCase {
instance = SOF.createTextTable(xTextDoc);
} catch (com.sun.star.uno.Exception uE) {
uE.printStackTrace(log);
- throw new StatusException("Couldn't create testobj : " +
+ throw new StatusException("Couldn't create testobj : " +
uE.getMessage(), uE);
}
@@ -115,7 +115,7 @@ public class SwXTextTable extends TestCase {
SOF.insertTextContent(xTextDoc, oObj);
} catch (com.sun.star.uno.Exception uE) {
uE.printStackTrace(log);
- throw new StatusException("Couldn't create TextTable : " +
+ throw new StatusException("Couldn't create TextTable : " +
uE.getMessage(), uE);
}
}
@@ -151,7 +151,7 @@ public class SwXTextTable extends TestCase {
//Adding relation for util.XSortable
final PrintWriter finalLog = log;
final XTextTable oTable = oObj;
- tEnv.addObjRelation("SORTCHECKER",
+ tEnv.addObjRelation("SORTCHECKER",
new ifc.util._XSortable.XSortChecker() {
PrintWriter out = finalLog;
@@ -163,23 +163,23 @@ public class SwXTextTable extends TestCase {
oTable.getCellByName("A1").setValue(4);
XTextRange textRange = (XTextRange) UnoRuntime.queryInterface(
- XTextRange.class,
+ XTextRange.class,
oTable.getCellByName("A2"));
textRange.setString("b");
oTable.getCellByName("A3").setValue(3);
textRange = (XTextRange) UnoRuntime.queryInterface(
- XTextRange.class,
+ XTextRange.class,
oTable.getCellByName("A4"));
textRange.setString("a");
oTable.getCellByName("A5").setValue(23);
textRange = (XTextRange) UnoRuntime.queryInterface(
- XTextRange.class,
+ XTextRange.class,
oTable.getCellByName("A6"));
textRange.setString("ab");
}
- public boolean checkSort(boolean isSortNumbering,
+ public boolean checkSort(boolean isSortNumbering,
boolean isSortAscending) {
out.println("Sort checking...");
@@ -201,7 +201,7 @@ public class SwXTextTable extends TestCase {
if (!res) {
out.println("Expected: 3, 4, 23");
- out.println("Getting: " + value[3] + ", " +
+ out.println("Getting: " + value[3] + ", " +
value[4] + ", " + value[5]);
}
} else {
@@ -211,7 +211,7 @@ public class SwXTextTable extends TestCase {
if (!res) {
out.println("Expected: 23, 4, 3");
- out.println("Getting: " + value[1] + ", " +
+ out.println("Getting: " + value[1] + ", " +
value[2] + ", " + value[3]);
}
}
@@ -222,9 +222,9 @@ public class SwXTextTable extends TestCase {
if (!res) {
out.println("Expected: 23, 3, 4, a, ab, b");
- out.println("Getting: " + value[0] + ", " +
- value[1] + ", " + value[2] +
- ", " + value[3] + ", " +
+ out.println("Getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] +
+ ", " + value[3] + ", " +
value[4] + ", " + value[5]);
}
} else {
@@ -233,9 +233,9 @@ public class SwXTextTable extends TestCase {
if (!res) {
out.println("Expected: b, ab, a, 4, 3, 23");
- out.println("Getting: " + value[0] + ", " +
- value[1] + ", " + value[2] +
- ", " + value[3] + ", " +
+ out.println("Getting: " + value[0] + ", " +
+ value[1] + ", " + value[2] +
+ ", " + value[3] + ", " +
value[4] + ", " + value[5]);
}
}
@@ -251,7 +251,7 @@ public class SwXTextTable extends TestCase {
}
});
- tEnv.addObjRelation("CONTENT",
+ tEnv.addObjRelation("CONTENT",
(XTextContent) UnoRuntime.queryInterface(
XTextContent.class, instance));
tEnv.addObjRelation("RANGE", xTextDoc.getText().createTextCursor());
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextTableCursor.java b/qadevOOo/tests/java/mod/_sw/SwXTextTableCursor.java
index 765dd4d6cea3..386e297eaa52 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextTableCursor.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextTableCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwXTextTableCursor extends TestCase {
log.println( "adding TextDocument as mod relation to environment" );
tEnv.addObjRelation("TEXTDOC", xTextDoc);
-
+
tEnv.addObjRelation("STYLENAME1", "Table");
tEnv.addObjRelation("STYLENAME2", "Text");
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextTableRow.java b/qadevOOo/tests/java/mod/_sw/SwXTextTableRow.java
index 11df9282c49f..a2ada4632548 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextTableRow.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextTableRow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextTables.java b/qadevOOo/tests/java/mod/_sw/SwXTextTables.java
index daa8768d83c5..377bd14be2ae 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextTables.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextTables.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXTextView.java b/qadevOOo/tests/java/mod/_sw/SwXTextView.java
index 891a953cb72e..281ef9e2dfd2 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ import util.WriterTools;
public class SwXTextView extends TestCase {
XTextDocument xTextDoc;
-
+
boolean debug = false;
/**
@@ -238,37 +238,37 @@ public class SwXTextView extends TestCase {
XShape aShape = null;
try{
log.println("adding contol shape '" + kindOfControl + "'");
- aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
kindOfControl);
} catch (Exception e){
e.printStackTrace(log);
- throw new StatusException("Couldn't create following control shape : '" +
+ throw new StatusException("Couldn't create following control shape : '" +
kindOfControl + "': ", e);
-
+
}
-
-
+
+
log.println("adding relation for com.sun.star.view.XFormLayerAccess: XForm");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
-
+
try {
-
+
XDrawPage xDP = WriterTools.getDrawPage(xTextDoc);
if (xDP == null)
log.println("ERROR: could not get DrawPage");
-
+
XNameContainer xForms = FormTools.getForms(xDP);
if (xForms == null)
log.println("ERROR: could not get Forms");
-
+
log.println("the draw page contains folowing elemtens:");
String[] elements = FormTools.getForms(WriterTools.getDrawPage(xTextDoc)).getElementNames();
for (int i = 0; i< elements.length; i++){
log.println("Element[" + i + "] :" + elements[i]);
}
-
+
myForm = (XForm) AnyConverter.toObject(new Type(XForm.class), xForms.getByName("Standard"));
if (myForm == null){
log.println("ERROR: could not get 'Standard' from drawpage!");
@@ -289,7 +289,7 @@ public class SwXTextView extends TestCase {
} catch (NoSuchElementException ex) {
log.println("ERROR: could not add ObjectRelation 'XFormLayerAccess.XForm': " + ex.toString());
}
-
+
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java b/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
index a95e06573ea0..26aed37d1702 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/SwXViewSettings.java b/qadevOOo/tests/java/mod/_sw/SwXViewSettings.java
index 85cb5c3e642a..aaca842c3aab 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXViewSettings.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXViewSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_sw/XMLContentExporter.java b/qadevOOo/tests/java/mod/_sw/XMLContentExporter.java
index 898f3a441e98..f59512b9234f 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java b/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
index 565ecce877fe..f42de3699f0e 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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/_sw/XMLExporter.java b/qadevOOo/tests/java/mod/_sw/XMLExporter.java
index b24c71bb66bd..66c55706f517 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sw/XMLImporter.java b/qadevOOo/tests/java/mod/_sw/XMLImporter.java
index 7fee85b07844..7ffd6710bf96 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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/_sw/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java
index 37f9594841d1..ed1661d27b11 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java
index aeab9166d41d..6deab9672dc9 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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/_sw/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java
index aa99852595df..fbea9eb7b3fe 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sw/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_sw/XMLSettingsImporter.java
index 4e9b47aaffd8..8529b08338bf 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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/_sw/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java
index 9b30cffb1b3b..0d7772a82f13 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java
index f59fad454154..c8bde32a1564 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_sw/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
diff --git a/qadevOOo/tests/java/mod/_sysdtrans/SystemClipboard.java b/qadevOOo/tests/java/mod/_sysdtrans/SystemClipboard.java
index 9f3e35e9bac8..5b7f2fde1521 100644
--- a/qadevOOo/tests/java/mod/_sysdtrans/SystemClipboard.java
+++ b/qadevOOo/tests/java/mod/_sysdtrans/SystemClipboard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_syssh/SystemShellExecute.java b/qadevOOo/tests/java/mod/_syssh/SystemShellExecute.java
index dad98c0d7e24..5feb03fc795e 100644
--- a/qadevOOo/tests/java/mod/_syssh/SystemShellExecute.java
+++ b/qadevOOo/tests/java/mod/_syssh/SystemShellExecute.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_tcv/TypeConverter.java b/qadevOOo/tests/java/mod/_tcv/TypeConverter.java
index 084834ff4d1c..917203287636 100644
--- a/qadevOOo/tests/java/mod/_tcv/TypeConverter.java
+++ b/qadevOOo/tests/java/mod/_tcv/TypeConverter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_tdmgr/TypeDescriptionManager.java b/qadevOOo/tests/java/mod/_tdmgr/TypeDescriptionManager.java
index 3c3845b40462..a55fe9a2d064 100644
--- a/qadevOOo/tests/java/mod/_tdmgr/TypeDescriptionManager.java
+++ b/qadevOOo/tests/java/mod/_tdmgr/TypeDescriptionManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_text/DefaultNumberingProvider.java b/qadevOOo/tests/java/mod/_text/DefaultNumberingProvider.java
index ecea0b852e7a..824068f05b36 100644
--- a/qadevOOo/tests/java/mod/_text/DefaultNumberingProvider.java
+++ b/qadevOOo/tests/java/mod/_text/DefaultNumberingProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_toolkit/AccessibleButton.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java
index 1e9c0cbb69b0..ae39ac3ddb2d 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -92,7 +92,7 @@ public class AccessibleButton extends lib.TestCase {
* window) and finds accessible button 'OK' walking through the
* accessible component tree.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XMultiServiceFactory msf = (XMultiServiceFactory) Param.getMSF();
@@ -121,14 +121,14 @@ public class AccessibleButton extends lib.TestCase {
Object atw = tk.getActiveTopWindow();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
atw);
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Cancel");
log.println("ImplementationName " + utils.getImplName(oObj));
@@ -139,10 +139,10 @@ public class AccessibleButton extends lib.TestCase {
XAccessibleAction.class, oObj);
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
System.out.println("Grabbing focus ... ");
@@ -155,7 +155,7 @@ public class AccessibleButton extends lib.TestCase {
tEnv.addObjRelation("XAccessibleText.Text", text.getText());
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
tEnv.addObjRelation("LimitedBounds", "yes");
@@ -209,7 +209,7 @@ public class AccessibleButton extends lib.TestCase {
}
public void run() {
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController xController = aModel.getCurrentController();
@@ -218,10 +218,10 @@ public class AccessibleButton extends lib.TestCase {
try {
String aSlotID = ".uno:Zoom";
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/_toolkit/AccessibleCheckBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleCheckBox.java
index 2ae69a72c246..f6f04297bdbf 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleCheckBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleCheckBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 AccessibleCheckBox extends TestCase {
* window) and finds first accessible check box walking through the
* accessible component tree.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XMultiServiceFactory msf = (XMultiServiceFactory) Param.getMSF();
log.println("Creating text document");
@@ -136,21 +136,21 @@ public class AccessibleCheckBox extends TestCase {
psDiag.start();
util.utils.shortWait(Param.getInt("ShortWait"));
-
+
AccessibilityTools at = new AccessibilityTools();
util.utils.shortWait(Param.getInt("ShortWait"));
log.println("Getting the active TopWindow");
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Cancel");
action = (XAccessibleAction) UnoRuntime.queryInterface(
@@ -163,10 +163,10 @@ public class AccessibleCheckBox extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
System.out.println("Grabbing focus ... ");
@@ -179,7 +179,7 @@ public class AccessibleCheckBox extends TestCase {
tEnv.addObjRelation("XAccessibleText.Text", text.getText());
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
tEnv.addObjRelation("LimitedBounds", "yes");
@@ -225,7 +225,7 @@ public class AccessibleCheckBox extends TestCase {
}
public void run() {
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController xController = aModel.getCurrentController();
@@ -234,10 +234,10 @@ public class AccessibleCheckBox extends TestCase {
try {
String aSlotID = ".uno:InsertTable";
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/_toolkit/AccessibleComboBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java
index 97879627d25d..755a5ce05007 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public class AccessibleComboBox extends TestCase {
* finds AccessibleComboBox walking through the
* accessible component tree.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -102,7 +102,7 @@ public class AccessibleComboBox extends TestCase {
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, oObj);
- DiagThread psDiag = new DiagThread(xTextDoc,
+ DiagThread psDiag = new DiagThread(xTextDoc,
(XMultiServiceFactory) Param.getMSF());
psDiag.start();
@@ -114,21 +114,21 @@ public class AccessibleComboBox extends TestCase {
Object atw = tk.getActiveTopWindow();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
atw);
XAccessible xRoot = at.getAccessibleObject(xWindow);
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Cancel");
action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
- oObj = at.getAccessibleObjectForRole(xRoot,
+ oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.PAGE_TAB_LIST);
XAccessibleSelection xAccSel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
try {
@@ -139,7 +139,7 @@ public class AccessibleComboBox extends TestCase {
util.utils.shortWait(Param.getInt("ShortWait"));
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL, "",
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL, "",
"AccessibleComboBox");
log.println("ImplementationName " + utils.getImplName(oObj));
@@ -147,13 +147,13 @@ public class AccessibleComboBox extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
final XAccessibleComponent acomp1 = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
action);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
acomp1.grabFocus();
@@ -210,7 +210,7 @@ public class AccessibleComboBox extends TestCase {
}
public void run() {
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController xController = aModel.getCurrentController();
@@ -219,10 +219,10 @@ public class AccessibleComboBox extends TestCase {
try {
String aSlotID = ".uno:FontDialog";
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/_toolkit/AccessibleDropDownComboBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownComboBox.java
index fee8473550e9..df78b827624e 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownComboBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownComboBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +79,19 @@ public class AccessibleDropDownComboBox extends TestCase {
* Finds AccessibleDropDownComboBox walking through the
* accessible component tree of a writer document.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentContainerWindow(
- (XMultiServiceFactory) Param.getMSF(),
+ (XMultiServiceFactory) Param.getMSF(),
xTextDoc);
XAccessible xRoot = at.getAccessibleObject(xWindow);
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.COMBO_BOX,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.COMBO_BOX,
"", "AccessibleDropDownComboBox");
log.println("ImplementationName " + utils.getImplName(oObj));
@@ -99,10 +99,10 @@ public class AccessibleDropDownComboBox extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleAction editAction = (XAccessibleAction) UnoRuntime.queryInterface(
- XAccessibleAction.class,
+ XAccessibleAction.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java
index a42922a2f8f1..fd61a5c67396 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,7 +80,7 @@ public class AccessibleDropDownListBox extends TestCase {
* Finds AccessibleDropDownListBox walking through the
* accessible component tree of a writer document.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -89,14 +89,14 @@ public class AccessibleDropDownListBox extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow(
- (XMultiServiceFactory) Param.getMSF(),
+ (XMultiServiceFactory) Param.getMSF(),
xTextDoc);
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.COMBO_BOX,
+
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.COMBO_BOX,
"", "AccessibleDropDownListBox");
log.println("ImplementationName " + utils.getImplName(oObj));
@@ -105,7 +105,7 @@ public class AccessibleDropDownListBox extends TestCase {
final XAccessibleAction acomp = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java
index e26481176e1e..d9f5282b2612 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +95,7 @@ public class AccessibleEdit extends TestCase {
* button 'Close' (for closing this dialog when disposing)
* walking through the accessible component tree.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -111,13 +111,13 @@ public class AccessibleEdit extends TestCase {
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, oObj);
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -148,12 +148,12 @@ public class AccessibleEdit extends TestCase {
AccessibilityTools at = new AccessibilityTools();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Close");
action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
@@ -165,11 +165,11 @@ public class AccessibleEdit extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleEditableText edText = (XAccessibleEditableText) UnoRuntime.queryInterface(
- XAccessibleEditableText.class,
+ XAccessibleEditableText.class,
oObj);
edText.setText("AccessibleEdit");
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
// buttonAccComp.grabFocus();
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleFixedText.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleFixedText.java
index 3bc7e81885c3..5fafb21fbe53 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleFixedText.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleFixedText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public class AccessibleFixedText extends TestCase {
* displays it. Then the text's accessible component is
* obtained.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory) Param.getMSF();
@@ -97,23 +97,23 @@ public class AccessibleFixedText extends TestCase {
try {
dlgModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlDialogModel"));
XControl dlgControl = (XControl) UnoRuntime.queryInterface(
- XControl.class,
+ XControl.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlDialog"));
dlgControl.setModel(dlgModel);
txtModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlFixedTextModel"));
- txtControl = (XControl) UnoRuntime.queryInterface(XControl.class,
+ txtControl = (XControl) UnoRuntime.queryInterface(XControl.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlFixedText"));
@@ -124,12 +124,12 @@ public class AccessibleFixedText extends TestCase {
xFT.setText("FxedText");
XControlContainer ctrlCont = (XControlContainer) UnoRuntime.queryInterface(
- XControlContainer.class,
+ XControlContainer.class,
dlgControl);
ctrlCont.addControl("Text", txtControl);
- xWinDlg = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ xWinDlg = (XWindow) UnoRuntime.queryInterface(XWindow.class,
dlgControl);
xWinDlg.setVisible(true);
@@ -163,10 +163,10 @@ public class AccessibleFixedText extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- final XWindow xWin = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ final XWindow xWin = (XWindow) UnoRuntime.queryInterface(XWindow.class,
txtControl);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
xWin.setEnable(false);
@@ -179,7 +179,7 @@ public class AccessibleFixedText extends TestCase {
tEnv.addObjRelation("XAccessibleText.Text", text.getText());
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
tEnv.addObjRelation("LimitedBounds", "yes");
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleList.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleList.java
index 6fe2129995cc..cc8e718f965a 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleList.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,7 +71,7 @@ public class AccessibleList extends TestCase {
* Then the TREE component is found and the 'New Document' tab is
* selected to make list box visible. After that list box is obtained.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -88,13 +88,13 @@ public class AccessibleList extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -125,7 +125,7 @@ public class AccessibleList extends TestCase {
AccessibilityTools at = new AccessibilityTools();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -133,7 +133,7 @@ public class AccessibleList extends TestCase {
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
// obtaining 'Close' button
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Close");
action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
@@ -143,7 +143,7 @@ public class AccessibleList extends TestCase {
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE);
XAccessibleSelection xAccSel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
xAccSel.selectAccessibleChild(3);
shortWait();
@@ -153,9 +153,9 @@ public class AccessibleList extends TestCase {
log.println("# Getting the ListBox");
- XAccessibleContext parent = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PANEL,
- "",
+ XAccessibleContext parent = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PANEL,
+ "",
"com.sun.star.comp.toolkit.AccessibleListBox");
log.println("# Getting the first child");
@@ -169,17 +169,17 @@ public class AccessibleList extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
final XAccessibleComponent acomp1 = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
action);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
System.out.println("Grabbing focus ... ");
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
index 7b65e74152b1..8be8462e9064 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -94,7 +94,7 @@ public class AccessibleListBox extends TestCase {
* Then the TREE component is found and the 'New Document' tab is
* selected to make list box visible. After that list box is obtained.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -112,13 +112,13 @@ public class AccessibleListBox extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -149,7 +149,7 @@ public class AccessibleListBox extends TestCase {
AccessibilityTools at = new AccessibilityTools();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -158,7 +158,7 @@ public class AccessibleListBox extends TestCase {
// obtaining 'Close' button
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Close");
action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
@@ -168,7 +168,7 @@ public class AccessibleListBox extends TestCase {
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE);
XAccessibleSelection xAccSel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
xAccSel.selectAccessibleChild(3);
shortWait();
@@ -176,10 +176,10 @@ public class AccessibleListBox extends TestCase {
throw new StatusException("Can't switch to required tab", e);
}
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL, "",
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL, "",
"com.sun.star.comp.toolkit.AccessibleListBox");
- Object list = at.getAccessibleObjectForRole(at.SearchedAccessible,
+ Object list = at.getAccessibleObjectForRole(at.SearchedAccessible,
AccessibleRole.LIST);
log.println("ImplementationName " + utils.getImplName(oObj));
@@ -187,13 +187,13 @@ public class AccessibleListBox extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
list);
final XAccessibleComponent acomp1 = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
action);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
System.out.println("Grabbing focus ... ");
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java
index ecbf43679ef8..97b2ce338ffb 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleListItem.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +91,7 @@ public class AccessibleListItem extends TestCase {
* Then the TREE component is found and the 'New Document' tab is
* selected to make list box visible. After that listbox item is obtained.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XMultiServiceFactory msf = (XMultiServiceFactory) Param.getMSF();
@@ -109,13 +109,13 @@ public class AccessibleListItem extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -146,7 +146,7 @@ public class AccessibleListItem extends TestCase {
AccessibilityTools at = new AccessibilityTools();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -154,7 +154,7 @@ public class AccessibleListItem extends TestCase {
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
// obtaining 'Close' button
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PUSH_BUTTON,
"Close");
action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
@@ -164,7 +164,7 @@ public class AccessibleListItem extends TestCase {
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE);
XAccessibleSelection xAccSel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
xAccSel.selectAccessibleChild(3);
shortWait();
@@ -172,21 +172,21 @@ public class AccessibleListItem extends TestCase {
throw new StatusException("Can't switch to required tab", e);
}
- oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LIST_ITEM,"Spr");
+ oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.LIST_ITEM,"Spr");
log.println("ImplementationName " + utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
tEnv.addObjRelation("LimitedBounds", "yes");
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
acomp.grabFocus();
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenu.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenu.java
index 4eaec80dcd81..d9da588e290a 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenu.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenu.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +91,7 @@ public class AccessibleMenu extends TestCase {
* Finds accessible component with role <code>MENU</code>
* walking through the accessible component tree of a document.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XMultiServiceFactory msf = (XMultiServiceFactory) Param.getMSF();
@@ -112,7 +112,7 @@ public class AccessibleMenu extends TestCase {
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- XAccessibleContext menubar = at.getAccessibleObjectForRole(xRoot,
+ XAccessibleContext menubar = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.MENU_BAR);
XInterface oObj = null;
Object menu2 = null;
@@ -132,7 +132,7 @@ public class AccessibleMenu extends TestCase {
final XAccessibleAction act2 = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, menu2);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
@@ -158,10 +158,10 @@ public class AccessibleMenu extends TestCase {
tEnv.addObjRelation("LimitedBounds", "yes");
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(false));
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuBar.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuBar.java
index 2441bdaa7075..b0fcb29cfa32 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuBar.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,7 +81,7 @@ public class AccessibleMenuBar extends TestCase {
* Finds accessible component with role <code>MENUBAR</code>
* walking through the accessible component tree of a document.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
shortWait();
@@ -101,10 +101,10 @@ public class AccessibleMenuBar extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
System.out.println("Grabbing focus ... ");
@@ -112,10 +112,10 @@ public class AccessibleMenuBar extends TestCase {
}
});
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(false));
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java
index a41abe45e520..af41ba44b645 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,7 +89,7 @@ public class AccessibleMenuItem extends TestCase {
* Finds first accessible component with role <code>MENUITEM</code>
* walking through the accessible component tree of a document.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -110,13 +110,13 @@ public class AccessibleMenuItem extends TestCase {
Object atw = tk.getActiveTopWindow();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
atw);
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- XAccessibleContext MenuBar = at.getAccessibleObjectForRole(xRoot,
+ XAccessibleContext MenuBar = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.MENU_BAR);
try {
@@ -142,7 +142,7 @@ public class AccessibleMenuItem extends TestCase {
final XAccessibleAction action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
@@ -157,7 +157,7 @@ public class AccessibleMenuItem extends TestCase {
tEnv.addObjRelation("XAccessibleText.Text", text.getText());
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"Can't change or select Text in MenuBarItem");
tEnv.addObjRelation("Destroy", new Boolean(true));
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuSeparator.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuSeparator.java
index f05bcb025803..77d5cf198b7a 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuSeparator.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleMenuSeparator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,7 +81,7 @@ public class AccessibleMenuSeparator extends TestCase {
* and implementation name <code>AccessibleMenuSeparator</code>
* walking through the accessible component tree of a document.
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
shortWait();
@@ -93,7 +93,7 @@ public class AccessibleMenuSeparator extends TestCase {
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- XAccessibleContext MenuBar = at.getAccessibleObjectForRole(xRoot,
+ XAccessibleContext MenuBar = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.MENU_BAR);
XAccessibleAction act = null;
XInterface oObj = null;
@@ -120,7 +120,7 @@ public class AccessibleMenuSeparator extends TestCase {
final XAccessibleAction aAct = act;
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessiblePopupMenu.java b/qadevOOo/tests/java/mod/_toolkit/AccessiblePopupMenu.java
index f4b292c84b23..bc6b4d057dca 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessiblePopupMenu.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessiblePopupMenu.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,7 +65,7 @@ public class AccessiblePopupMenu extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -75,7 +75,7 @@ public class AccessiblePopupMenu extends TestCase {
* <code>createTestEnvironment</code> method.
*/
protected void cleanup(TestParameters Param, PrintWriter log) {
-
+
log.println("release the popup menu");
try {
Robot rob = new Robot();
@@ -87,7 +87,7 @@ public class AccessiblePopupMenu extends TestCase {
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
log.println("disposing xTextDoc");
if (xTextDoc != null) {
@@ -118,7 +118,7 @@ public class AccessiblePopupMenu extends TestCase {
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleText
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -145,7 +145,7 @@ public class AccessiblePopupMenu extends TestCase {
shortWait(tParam);
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XInterface oObj = null;
@@ -153,7 +153,7 @@ public class AccessiblePopupMenu extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow(
- (XMultiServiceFactory) tParam.getMSF(),
+ (XMultiServiceFactory) tParam.getMSF(),
aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -176,14 +176,14 @@ public class AccessiblePopupMenu extends TestCase {
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
shortWait(tParam);
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, toolkit);
try {
- xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getTopWindow(0));
xRoot = at.getAccessibleObject(xWindow);
@@ -199,14 +199,14 @@ public class AccessiblePopupMenu extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
final XAccessibleSelection sel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java
index 53f60643f955..20812b1db4cb 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleRadioButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +95,17 @@ import util.SOfficeFactory;
public class AccessibleRadioButton extends TestCase {
private static XDesktop the_Desk;
private static XTextDocument xTextDoc;
- private static XAccessibleAction accCloseButton;
-
+ private static XAccessibleAction accCloseButton;
+
/**
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
- }
+ }
/**
* Closes a Hyperlink dialog, disposes the document, if exists, created in
@@ -159,7 +159,7 @@ public class AccessibleRadioButton extends TestCase {
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleText
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -178,13 +178,13 @@ public class AccessibleRadioButton extends TestCase {
util.utils.shortWait(2000);
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -231,17 +231,17 @@ public class AccessibleRadioButton extends TestCase {
util.utils.shortWait(2000);
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
XAccessibleContext iconChoiceCtrl = at.getAccessibleObjectForRole(
- xRoot, AccessibleRole.TREE,
+ xRoot, AccessibleRole.TREE,
"IconChoiceControl");
XAccessibleSelection sel = (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
iconChoiceCtrl);
try {
@@ -252,37 +252,37 @@ public class AccessibleRadioButton extends TestCase {
}
at.printAccessibleTree(log,xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
- oObj = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.RADIO_BUTTON,
+
+ oObj = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.RADIO_BUTTON,
"Web");
- XAccessibleContext anotherButton = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.RADIO_BUTTON,
+ XAccessibleContext anotherButton = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.RADIO_BUTTON,
"FTP");
- XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PUSH_BUTTON,
+ XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PUSH_BUTTON,
"Close");
-
+
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(
- XAccessibleAction.class, closeButton);
+ XAccessibleAction.class, closeButton);
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this component");
tEnv.addObjRelation("LimitedBounds", "yes");
final XAccessibleComponent acomp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
acomp.grabFocus();
@@ -291,14 +291,14 @@ public class AccessibleRadioButton extends TestCase {
tEnv.addObjRelation("XAccessibleText.Text", "Web");
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"Can't change or select Text in AccessibleRadioButton");
XAccessibleValue anotherButtonValue = (XAccessibleValue) UnoRuntime.queryInterface(
- XAccessibleValue.class,
+ XAccessibleValue.class,
anotherButton);
- tEnv.addObjRelation("XAccessibleValue.anotherFromGroup",
+ tEnv.addObjRelation("XAccessibleValue.anotherFromGroup",
anotherButtonValue);
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleScrollBar.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleScrollBar.java
index a52a9fef5483..009fdefd2aaa 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleScrollBar.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleScrollBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,7 +89,7 @@ public class AccessibleScrollBar extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -125,7 +125,7 @@ public class AccessibleScrollBar extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -153,7 +153,7 @@ public class AccessibleScrollBar extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow(
- (XMultiServiceFactory) tParam.getMSF(),
+ (XMultiServiceFactory) tParam.getMSF(),
aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -167,7 +167,7 @@ public class AccessibleScrollBar extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBar.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBar.java
index 32dd630370a3..0f6cca0ed753 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBar.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -117,7 +117,7 @@ public class AccessibleStatusBar extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -163,7 +163,7 @@ public class AccessibleStatusBar extends TestCase {
final XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, toolkit);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
Rectangle newPosSize = xWindow.getPosSize();
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBarItem.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBarItem.java
index 446d0deb4f42..ad682c79d974 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBarItem.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleStatusBarItem.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,7 +89,7 @@ public class AccessibleStatusBarItem extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -126,7 +126,7 @@ public class AccessibleStatusBarItem extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -149,7 +149,7 @@ public class AccessibleStatusBarItem extends TestCase {
throw new StatusException("Couldn't create document", e);
}
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XInterface oObj = null;
@@ -158,13 +158,13 @@ public class AccessibleStatusBarItem extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentContainerWindow(
- (XMultiServiceFactory) tParam.getMSF(),
+ (XMultiServiceFactory) tParam.getMSF(),
aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- XAccessibleContext statusbar = at.getAccessibleObjectForRole(xRoot,
+ XAccessibleContext statusbar = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.STATUS_BAR);
try {
@@ -177,7 +177,7 @@ public class AccessibleStatusBarItem extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"Can't change or select Text in StatusBarItem");
tEnv.addObjRelation("XAccessibleText", secondItem);
@@ -185,7 +185,7 @@ public class AccessibleStatusBarItem extends TestCase {
final XTextDocument doc = xTextDoc;
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
doc.getText().setString("AccessibleStatusBarItem");
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleTabControl.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleTabControl.java
index 488c8a39c7d1..615fd7e52a89 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleTabControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleTabControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,7 +96,7 @@ public class AccessibleTabControl extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -148,7 +148,7 @@ public class AccessibleTabControl extends TestCase {
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleSelection
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -172,13 +172,13 @@ public class AccessibleTabControl extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -225,16 +225,16 @@ public class AccessibleTabControl extends TestCase {
shortWait();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- oObj = at.getAccessibleObjectForRole(xRoot,
+ oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.PAGE_TAB_LIST);
- XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PUSH_BUTTON,
+ XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PUSH_BUTTON,
"Close");
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(
@@ -245,10 +245,10 @@ public class AccessibleTabControl extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleSelection selection = (XAccessibleSelection) (XAccessibleSelection) UnoRuntime.queryInterface(
- XAccessibleSelection.class,
+ XAccessibleSelection.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
@@ -259,10 +259,10 @@ public class AccessibleTabControl extends TestCase {
}
});
- tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
+ tEnv.addObjRelation("XAccessibleSelection.OneAlwaysSelected",
new Boolean(true));
- tEnv.addObjRelation("XAccessibleSelection.multiSelection",
+ tEnv.addObjRelation("XAccessibleSelection.multiSelection",
new Boolean(false));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleTabPage.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleTabPage.java
index 318c2a96b8dd..6d458de73581 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleTabPage.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleTabPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class AccessibleTabPage extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -141,7 +141,7 @@ public class AccessibleTabPage extends TestCase {
* @see ifc.accessibility._XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -178,13 +178,13 @@ public class AccessibleTabPage extends TestCase {
shortWait();
- XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider) UnoRuntime.queryInterface(
- XDispatchProvider.class,
+ XDispatchProvider.class,
secondController);
XURLTransformer urlTransf = null;
@@ -231,18 +231,18 @@ public class AccessibleTabPage extends TestCase {
shortWait();
- XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
- XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.PUSH_BUTTON,
+ XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.PUSH_BUTTON,
"Close");
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, closeButton);
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB);
log.println("ImplementationName: " + util.utils.getImplName(oObj));
@@ -253,7 +253,7 @@ public class AccessibleTabPage extends TestCase {
tEnv.addObjRelation("LimitedBounds", "toolkit.AccessibleTabPage");
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
oObj);
final Point point = accComp.getLocationOnScreen();
@@ -261,13 +261,13 @@ public class AccessibleTabPage extends TestCase {
XInterface xEventInt = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB, "Variables");
final XAccessibleComponent eventAccComp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
xEventInt);
-
- tEnv.addObjRelation("EventProducer",
+
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
- eventAccComp.grabFocus();
+ eventAccComp.grabFocus();
}
});
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java
index c02017508695..ed352e6e7183 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ import util.SOfficeFactory;
public class AccessibleToolBox extends TestCase {
private static XDesktop the_Desk;
private static XTextDocument xTextDoc;
-
+
/**
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
@@ -83,20 +83,20 @@ public class AccessibleToolBox extends TestCase {
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
-
+
/**
* Disposes the document, if exists, created in
* <code>createTestEnvironment</code> method.
*/
protected void cleanup(TestParameters Param, PrintWriter log) {
log.println("disposing xTextDoc");
-
+
if (xTextDoc != null) {
util.DesktopTools.closeDoc(xTextDoc);
;
}
}
-
+
/**
* Creates a text document.
* Then obtains an accessible object with
@@ -120,16 +120,16 @@ public class AccessibleToolBox extends TestCase {
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
-
+
if (xTextDoc != null) {
util.DesktopTools.closeDoc(xTextDoc);
}
-
+
XMultiServiceFactory msf = (XMultiServiceFactory) tParam.getMSF();
-
+
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory(msf);
-
+
try {
log.println("creating a text document");
xTextDoc = SOF.createTextDoc(null);
@@ -138,40 +138,40 @@ public class AccessibleToolBox extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't create document", e);
}
-
+
XInterface oObj = null;
-
+
XWindow xWindow = UnoRuntime.queryInterface(XModel.class, xTextDoc).
getCurrentController().getFrame().getContainerWindow();
-
+
AccessibilityTools at = new AccessibilityTools();
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
-
+
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TOOL_BAR);
-
+
log.println("ImplementationName: " + util.utils.getImplName(oObj));
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("LimitedBounds", "yes");
-
+
XAccessible acc = at.getAccessibleObject(oObj);
XAccessible child = null;
-
+
try {
child = acc.getAccessibleContext().getAccessibleChild(0);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
}
-
+
util.dbg.printInterfaces(child);
-
+
final XAccessibleAction action = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class,
child);
-
+
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
@@ -182,7 +182,7 @@ public class AccessibleToolBox extends TestCase {
}
}
});
-
+
return tEnv;
}
}
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBoxItem.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBoxItem.java
index d6ecc3ce7cc8..f4e25f0f590a 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBoxItem.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleToolBoxItem.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class AccessibleToolBoxItem extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -133,7 +133,7 @@ public class AccessibleToolBoxItem extends TestCase {
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleText
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -154,7 +154,7 @@ public class AccessibleToolBoxItem extends TestCase {
throw new StatusException("Couldn't create document", e);
}
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XInterface oObj = null;
@@ -162,31 +162,31 @@ public class AccessibleToolBoxItem extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentContainerWindow(
- (XMultiServiceFactory) tParam.getMSF(),
+ (XMultiServiceFactory) tParam.getMSF(),
aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
- oObj = at.getAccessibleObjectForRole(xRoot,
- AccessibleRole.TOGGLE_BUTTON,
+ oObj = at.getAccessibleObjectForRole(xRoot,
+ AccessibleRole.TOGGLE_BUTTON,
"Bold");
log.println("ImplementationName: " + util.utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("EditOnly",
+ tEnv.addObjRelation("EditOnly",
"This method isn't supported in this dialog");
tEnv.addObjRelation("LimitedBounds", "yes");
final XAccessibleAction oAction = (XAccessibleAction) UnoRuntime.queryInterface(
- XAccessibleAction.class,
+ XAccessibleAction.class,
oObj);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleWindow.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleWindow.java
index 95f4f7ccb19d..9dce17e1407b 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleWindow.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleWindow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +95,7 @@ public class AccessibleWindow extends TestCase {
* Creates the Desktop service (<code>com.sun.star.frame.Desktop</code>).
*/
protected void initialize(TestParameters Param, PrintWriter log) {
- the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
+ the_Desk = (XDesktop) UnoRuntime.queryInterface(XDesktop.class,
DesktopTools.createDesktop(
(XMultiServiceFactory) Param.getMSF()));
}
@@ -136,7 +136,7 @@ public class AccessibleWindow extends TestCase {
* @see com.sun.star.accessibility.XAccessibleEventBroadcaster
* @see com.sun.star.accessibility.XAccessibleText
*/
- protected TestEnvironment createTestEnvironment(TestParameters tParam,
+ protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
log.println("creating a test environment");
@@ -163,7 +163,7 @@ public class AccessibleWindow extends TestCase {
throw new StatusException("Couldn't create document", e);
}
- XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XInterface oObj = null;
@@ -171,7 +171,7 @@ public class AccessibleWindow extends TestCase {
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow(
- (XMultiServiceFactory) tParam.getMSF(),
+ (XMultiServiceFactory) tParam.getMSF(),
aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -187,7 +187,7 @@ public class AccessibleWindow extends TestCase {
final XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, toolkit);
- tEnv.addObjRelation("EventProducer",
+ tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
XWindow xWin = (XWindow) UnoRuntime.queryInterface(
@@ -197,7 +197,7 @@ public class AccessibleWindow extends TestCase {
newPosSize.Height = newPosSize.Height - 20;
newPosSize.X = newPosSize.X + 20;
newPosSize.Y = newPosSize.Y + 20;
- xWin.setPosSize(newPosSize.X, newPosSize.Y, newPosSize.Width,
+ xWin.setPosSize(newPosSize.X, newPosSize.Y, newPosSize.Width,
newPosSize.Height, PosSize.POSSIZE);
}
});
diff --git a/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java b/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java
index 5b4a0ed704e1..1dbe1cf66cd2 100644
--- a/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,7 +46,7 @@ import util.utils;
public class MutableTreeDataModel extends TestCase {
private static XTextDocument xTextDoc;
private static XInterface oObj = null;
-
+
/**
* Creates StarOffice Writer document.
*/
@@ -55,42 +55,42 @@ public class MutableTreeDataModel extends TestCase {
xTextDoc = WriterTools.createTextDoc(
(XMultiServiceFactory) tParam.getMSF());
}
-
+
/**
* Disposes StarOffice Writer document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
util.DesktopTools.closeDoc(xTextDoc);
}
-
+
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
-
+
try {
oObj = (XInterface) ((XMultiServiceFactory) Param.getMSF()).createInstance(
"com.sun.star.awt.tree.MutableTreeDataModel");
} catch (Exception e) {
}
-
+
log.println(
"creating a new environment for MutableTreeDataModel object");
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("OBJNAME", "toolkit.MutableTreeDataModel");
log.println("ImplementationName: " + utils.getImplName(oObj));
-
+
tEnv.addObjRelation("XTreeDataModelListenerEvent", new XTreeDataModelListenerEvent());
-
+
return tEnv;
} // finish method getTestEnvironment
-
+
public class XTreeDataModelListenerEvent implements ifc.awt.tree._XTreeDataModel.XTreeDataModelListenerEvent{
-
+
public void fireEvent(){
-
+
XMutableTreeDataModel xModel = (XMutableTreeDataModel) UnoRuntime.queryInterface(XMutableTreeDataModel.class, oObj);
XMutableTreeNode node = xModel.createNode("EventNode", true);
try {
@@ -99,7 +99,7 @@ public class MutableTreeDataModel extends TestCase {
log.println("ERROR: could not preform event: " + ex.toString());
ex.printStackTrace();
}
-
+
}
}
} // finish class UnoControlListBoxModel
diff --git a/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java b/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java
index 39c258c9ffd6..6382c7c3e1e5 100644
--- a/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java
+++ b/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 MutableTreeNode extends TestCase {
private static XMultiServiceFactory mxMSF;
private static PrintWriter log;
private static boolean debug = false;
-
+
/**
* Creates StarOffice Writer document.
*/
@@ -65,20 +65,20 @@ public class MutableTreeNode extends TestCase {
// log.println("creating a textdocument");
// xTextDoc = WriterTools.createTextDoc(mxMSF);
}
-
+
/**
* Disposes StarOffice Writer document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
util.DesktopTools.closeDoc(xTextDoc);
}
-
+
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XMutableTreeNode xNode;
-
+
try {
mXTreeDataModel = (XMutableTreeDataModel) UnoRuntime.queryInterface(XMutableTreeDataModel.class,
mxMSF.createInstance("com.sun.star.awt.tree.MutableTreeDataModel"));
@@ -86,47 +86,47 @@ public class MutableTreeNode extends TestCase {
throw new StatusException(Status.failed("ERROR: could not create instance of" +
" 'com.sun.star.awt.tree.MutableTreeDataModel'"));
}
-
+
xNode = mXTreeDataModel.createNode("UnoTreeControl", false);
-
+
String sDisplayValue = "UnoTreeControl";
String sExpandedGraphicURL = "private:graphicrepository/sd/res/triangle_down.png";
String sCollapsedGraphicURL = "private:graphicrepository/sd/res/triangle_right.png";
String sNodeGraphicURL = "private:graphicrepository/sw/imglst/nc20010.png";
-
+
xNode.setDisplayValue( sDisplayValue);
xNode.setDataValue(sDisplayValue);
xNode.setExpandedGraphicURL(sExpandedGraphicURL);
xNode.setCollapsedGraphicURL(sCollapsedGraphicURL);
xNode.setNodeGraphicURL(sNodeGraphicURL);
xNode.setHasChildrenOnDemand(true);
-
+
fillNode(xNode);
-
+
TestEnvironment tEnv = new TestEnvironment(xNode);
-
+
tEnv.addObjRelation("OBJNAME", "toolkit.MutableTreeDataModel");
log.println("ImplementationName: " + utils.getImplName(oObj));
-
+
tEnv.addObjRelation("XTreeNode_DisplayValue", sDisplayValue);
tEnv.addObjRelation("XTreeNode_ExpandedGraphicURL", sExpandedGraphicURL);
tEnv.addObjRelation("XTreeNode_CollapsedGraphicURL", sCollapsedGraphicURL);
tEnv.addObjRelation("XTreeNode_NodeGraphicURL", sNodeGraphicURL);
-
- tEnv.addObjRelation("XMutableTreeNode_NodeToAppend",
+
+ tEnv.addObjRelation("XMutableTreeNode_NodeToAppend",
mXTreeDataModel.createNode("XMutableTreeNode_NodeToAppend", true));
-
+
tEnv.addObjRelation("XMutableTreeNodeCreator", new XMutableTreeNodeCreator(){
public XMutableTreeNode createNode(String name){
return mXTreeDataModel.createNode(name, true);
}
});
-
+
return tEnv;
} // finish method getTestEnvironment
-
+
private void fillNode( XMutableTreeNode xNode ){
-
+
if( xNode.getChildCount() == 0 )
{
String sParentPath = (String) xNode.getDataValue();
@@ -140,14 +140,14 @@ public class MutableTreeNode extends TestCase {
}
XSimpleFileAccess sA = (XSimpleFileAccess)
UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc);
-
+
dirlist(officeUserPath, xNode);
}
}
-
+
private void dirlist(String dir, XMutableTreeNode xNode){
-
+
Object fileacc = null;
try {
fileacc = mxMSF.createInstance("com.sun.star.comp.ucb.SimpleFileAccess");
@@ -181,7 +181,7 @@ public class MutableTreeNode extends TestCase {
} catch (com.sun.star.uno.Exception ex) {
ex.printStackTrace();
}
-
+
try {
xNode.appendChild( xChildNode );
} catch (com.sun.star.lang.IllegalArgumentException ex) {
diff --git a/qadevOOo/tests/java/mod/_toolkit/TabController.java b/qadevOOo/tests/java/mod/_toolkit/TabController.java
index c7bd67265305..bcba3d88c00f 100644
--- a/qadevOOo/tests/java/mod/_toolkit/TabController.java
+++ b/qadevOOo/tests/java/mod/_toolkit/TabController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 TabController extends TestCase {
;
}
- public TestEnvironment createTestEnvironment(TestParameters param,
+ public TestEnvironment createTestEnvironment(TestParameters param,
PrintWriter log) {
XInterface oObj = null;
XControl xCtrl1 = null;
@@ -83,20 +83,20 @@ public class TabController extends TestCase {
// create object relations
- FormTools.insertForm(xTextDoc,
+ FormTools.insertForm(xTextDoc,
FormTools.getForms(WriterTools.getDrawPage(
xTextDoc)), "MyForm");
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "CommandButton",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "CommandButton",
"UnoControlButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel model = aShape.getControl();
XControlAccess access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
try {
@@ -107,7 +107,7 @@ public class TabController extends TestCase {
XForm form = null;
try {
- form = (XForm) AnyConverter.toObject(new Type(XForm.class),
+ form = (XForm) AnyConverter.toObject(new Type(XForm.class),
(FormTools.getForms(
WriterTools.getDrawPage(
xTextDoc)))
diff --git a/qadevOOo/tests/java/mod/_toolkit/TabControllerModel.java b/qadevOOo/tests/java/mod/_toolkit/TabControllerModel.java
index 3ba6305c2be9..d3fd2693605b 100644
--- a/qadevOOo/tests/java/mod/_toolkit/TabControllerModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/TabControllerModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +63,17 @@ public class TabControllerModel extends TestCase {
;
}
- public TestEnvironment createTestEnvironment(TestParameters param,
+ public TestEnvironment createTestEnvironment(TestParameters param,
PrintWriter log) {
XInterface oObj = null;
log.println("inserting some ControlShapes");
- XControlShape shape1 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 1000,
+ XControlShape shape1 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 1000,
"CommandButton");
- XControlShape shape2 = FormTools.createControlShape(xTextDoc, 5000,
- 3500, 7500, 5000,
+ XControlShape shape2 = FormTools.createControlShape(xTextDoc, 5000,
+ 3500, 7500, 5000,
"TextField");
try {
@@ -81,7 +81,7 @@ public class TabControllerModel extends TestCase {
"com.sun.star.awt.TabControllerModel");
} catch (Exception e) {
e.printStackTrace(log);
- throw new StatusException("Couldn't create " +
+ throw new StatusException("Couldn't create " +
"TabControllerModel", e);
}
@@ -89,7 +89,7 @@ public class TabControllerModel extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("OBJNAME",
+ tEnv.addObjRelation("OBJNAME",
"stardiv.vcl.controlmodel.TabController");
tEnv.addObjRelation("Model1", shape1.getControl());
tEnv.addObjRelation("Model2", shape2.getControl());
diff --git a/qadevOOo/tests/java/mod/_toolkit/Toolkit.java b/qadevOOo/tests/java/mod/_toolkit/Toolkit.java
index edca76e5e682..a8bfc06720e7 100644
--- a/qadevOOo/tests/java/mod/_toolkit/Toolkit.java
+++ b/qadevOOo/tests/java/mod/_toolkit/Toolkit.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -82,7 +82,7 @@ public class Toolkit extends TestCase {
* Creating a Testenvironment for the interfaces to be tested.
* Creates <code>com.sun.star.awt.Toolkit</code> service.
*/
- public TestEnvironment createTestEnvironment(TestParameters Param,
+ public TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log)
throws StatusException {
XInterface oObj = null;
@@ -90,8 +90,8 @@ public class Toolkit extends TestCase {
XWindow win = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"CommandButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
@@ -100,10 +100,10 @@ public class Toolkit extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
XController cntrlr = (XController) UnoRuntime.queryInterface(
- XController.class,
+ XController.class,
xTextDoc.getCurrentController());
//now get the toolkit
@@ -120,7 +120,7 @@ public class Toolkit extends TestCase {
e.printStackTrace(log);
throw new StatusException("Couldn't get toolkit", e);
}
-
+
XModel xModel = (XModel)UnoRuntime.queryInterface(XModel.class, xTextDoc);
log.println(" creating a new environment for toolkit object");
@@ -130,7 +130,7 @@ public class Toolkit extends TestCase {
log.println("Implementation Name: " + utils.getImplName(oObj));
tEnv.addObjRelation("WINPEER", the_win);
-
+
tEnv.addObjRelation("XModel", xModel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlButton.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlButton.java
index fac722977e95..8c7028134d64 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlButton.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -82,7 +82,7 @@ public class UnoControlButton extends TestCase {
util.DesktopTools.closeDoc(xTD2);
}
- public TestEnvironment createTestEnvironment(TestParameters Param,
+ public TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -92,10 +92,10 @@ public class UnoControlButton extends TestCase {
XWindow anotherWindow = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "CommandButton",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "CommandButton",
"UnoControlButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
@@ -104,7 +104,7 @@ public class UnoControlButton extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the ButtonControl for the needed Object relations
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlButtonModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlButtonModel.java
index a46b8abee959..4159f6106d9c 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlButtonModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 UnoControlButtonModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java
index a2b8c167e2c4..c079ed8ac6ac 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -83,7 +83,7 @@ public class UnoControlCheckBox extends TestCase {
util.DesktopTools.closeDoc(xTD2);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -93,10 +93,10 @@ public class UnoControlCheckBox extends TestCase {
XWindow anotherWindow = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "CheckBox",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "CheckBox",
"UnoControlCheckBox");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
@@ -105,7 +105,7 @@ public class UnoControlCheckBox extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the CheckBoxControl for the needed Object relations
@@ -137,7 +137,7 @@ public class UnoControlCheckBox extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// adding object relation for XItemListener
- ifc.awt._XItemListener.TestItemListener listener =
+ ifc.awt._XItemListener.TestItemListener listener =
new ifc.awt._XItemListener.TestItemListener();
XCheckBox check = (XCheckBox) UnoRuntime.queryInterface(
XCheckBox.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBoxModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBoxModel.java
index 76773c6d74ac..a30435534417 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBoxModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 UnoControlCheckBoxModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
index 6bc357321d53..4240274d66c4 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -77,7 +77,7 @@ public class UnoControlComboBox extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -87,18 +87,18 @@ util.DesktopTools.closeDoc(xTextDoc);
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "ComboBox",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "ComboBox",
"UnoControlComboBox");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -107,7 +107,7 @@ util.DesktopTools.closeDoc(xTextDoc);
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the ComboBoxControl for the needed Object relations
@@ -139,14 +139,14 @@ util.DesktopTools.closeDoc(xTextDoc);
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBoxModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBoxModel.java
index 4ee5eef572ab..e24744546411 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBoxModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlComboBoxModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlContainer.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlContainer.java
index 3b2b83380c04..57eddf415d74 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlContainer.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public class UnoControlContainer extends TestCase {
util.DesktopTools.closeDoc(xTD2);
}
- public TestEnvironment createTestEnvironment(TestParameters param,
+ public TestEnvironment createTestEnvironment(TestParameters param,
PrintWriter log) {
// create Object Relations -------------------------------------------
XInterface oObj = null;
@@ -106,7 +106,7 @@ public class UnoControlContainer extends TestCase {
// create 3 XControls
// create first XControl
- shape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
+ shape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
10000, "TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) shape);
model = shape.getControl();
@@ -122,7 +122,7 @@ public class UnoControlContainer extends TestCase {
// create second XControl
- shape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
+ shape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
10000, "TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) shape);
model = shape.getControl();
@@ -138,7 +138,7 @@ public class UnoControlContainer extends TestCase {
// create third XControl
- shape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
+ shape = FormTools.createControlShape(xTextDoc, 3000, 4500, 15000,
10000, "CommandButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) shape);
model = shape.getControl();
@@ -154,10 +154,10 @@ public class UnoControlContainer extends TestCase {
// create XToolkit, XWindowPeer, XDevice
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "CommandButton",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "CommandButton",
"UnoControlButton");
WriterTools.getDrawPage(xTD2).add((XShape) aShape);
@@ -166,7 +166,7 @@ public class UnoControlContainer extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTD2.getCurrentController());
//get the ButtonControl for the needed Object relations
@@ -213,7 +213,7 @@ public class UnoControlContainer extends TestCase {
"creating a new environment for UnoControlContainer object");
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, oObj);
Rectangle ps = xWindow.getPosSize();
xWindow.setPosSize(ps.X+10, ps.Y+10, ps.Width+10, ps.Height+10, PosSize.POSSIZE);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlContainerModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlContainerModel.java
index cf7104282237..847ed1e0c17f 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlContainerModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlContainerModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,7 +40,7 @@ import util.utils;
public class UnoControlContainerModel extends TestCase {
- public TestEnvironment createTestEnvironment(TestParameters param,
+ public TestEnvironment createTestEnvironment(TestParameters param,
PrintWriter log) {
XInterface oObj = null;
@@ -49,7 +49,7 @@ public class UnoControlContainerModel extends TestCase {
"com.sun.star.awt.UnoControlContainerModel");
} catch (Exception e) {
e.printStackTrace(log);
- throw new StatusException("Couldn't create " +
+ throw new StatusException("Couldn't create " +
"UnoControlContainerModel", e);
}
@@ -57,7 +57,7 @@ public class UnoControlContainerModel extends TestCase {
"creating a new environment for UnoControlContainer object");
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("OBJNAME",
+ tEnv.addObjRelation("OBJNAME",
"stardiv.vcl.controlmodel.ControlContainer");
System.out.println("ImplementationName: " + utils.getImplName(oObj));
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyField.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyField.java
index 455c4765bef0..064d9914b786 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyField.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlCurrencyField extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,18 +88,18 @@ public class UnoControlCurrencyField extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "CurrencyField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "CurrencyField",
"UnoControlCurrencyField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -108,7 +108,7 @@ public class UnoControlCurrencyField extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the CurrencyFieldControl for the needed Object relations
@@ -141,14 +141,14 @@ public class UnoControlCurrencyField extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyFieldModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyFieldModel.java
index e2c696b53ac2..606a8ac631be 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyFieldModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlCurrencyFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlCurrencyFieldModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -71,12 +71,12 @@ public class UnoControlCurrencyFieldModel extends TestCase {
} catch (Exception e) {
}
- log.println("creating a new environment for " +
+ log.println("creating a new environment for " +
"UnoControlCurrencyFieldModel object");
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("OBJNAME",
+ tEnv.addObjRelation("OBJNAME",
"stardiv.vcl.controlmodel.CurrencyField");
System.out.println("ImplementationName: " + utils.getImplName(oObj));
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlDateField.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlDateField.java
index 073f262a0c12..bb0c947e58e3 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlDateField.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlDateField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -83,7 +83,7 @@ public class UnoControlDateField extends TestCase {
util.DesktopTools.closeDoc(xTD2);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -93,10 +93,10 @@ public class UnoControlDateField extends TestCase {
XWindow anotherWindow = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "DateField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "DateField",
"UnoControlDateField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
@@ -105,7 +105,7 @@ public class UnoControlDateField extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the DateFieldControl for the needed Object relations
@@ -154,7 +154,7 @@ public class UnoControlDateField extends TestCase {
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlDateFieldModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlDateFieldModel.java
index 0144d0759b0d..9a4cee1ab823 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlDateFieldModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlDateFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlDateFieldModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlDialog.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlDialog.java
index d621681a75a4..37464599ff6b 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlDialog.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +91,7 @@ public class UnoControlDialog extends TestCase {
* for Control, adds to Dialog a button, sets its size and
* sets the dialog visible. <p>
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory) Param.getMSF();
@@ -116,23 +116,23 @@ public class UnoControlDialog extends TestCase {
try {
dlgModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlDialogModel"));
XControl dlgControl = (XControl) UnoRuntime.queryInterface(
- XControl.class,
+ XControl.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlDialog"));
dlgControl.setModel(dlgModel);
XControlModel butModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlButtonModel"));
- butControl = (XControl) UnoRuntime.queryInterface(XControl.class,
+ butControl = (XControl) UnoRuntime.queryInterface(XControl.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlButton"));
@@ -141,34 +141,34 @@ public class UnoControlDialog extends TestCase {
// creating additional controls for XUnoControlContainer
tabControl1 = (XTabController) UnoRuntime.queryInterface(
- XTabController.class,
+ XTabController.class,
xMSF.createInstance(
"com.sun.star.awt.TabController"));
tabControl2 = (XTabController) UnoRuntime.queryInterface(
- XTabController.class,
+ XTabController.class,
xMSF.createInstance(
"com.sun.star.awt.TabController"));
// creating additional controls for XControlContainer
butModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlButtonModel"));
- butControl1 = (XControl) UnoRuntime.queryInterface(XControl.class,
+ butControl1 = (XControl) UnoRuntime.queryInterface(XControl.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlButton"));
butControl1.setModel(butModel);
butModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlButtonModel"));
- butControl2 = (XControl) UnoRuntime.queryInterface(XControl.class,
+ butControl2 = (XControl) UnoRuntime.queryInterface(XControl.class,
xMSF.createInstance(
"com.sun.star.awt.UnoControlButton"));
@@ -177,7 +177,7 @@ public class UnoControlDialog extends TestCase {
ctrlCont = (XControlContainer) UnoRuntime.queryInterface(
XControlContainer.class, dlgControl);
- xWinDlg = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ xWinDlg = (XWindow) UnoRuntime.queryInterface(XWindow.class,
dlgControl);
xWinDlg.setVisible(true);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlDialogModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlDialogModel.java
index 558ea9f07d95..3f17f765d2dd 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlDialogModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlDialogModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +79,7 @@ public class UnoControlDialogModel extends TestCase {
* {@link ifc.io._XPersistObject} </li>
* </ul>
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XInterface dialogModel = null;
@@ -92,23 +92,23 @@ public class UnoControlDialogModel extends TestCase {
dialogModel = (XInterface) ((XMultiServiceFactory) Param.getMSF()).createInstance(
"com.sun.star.awt.UnoControlDialogModel");
- // create the dialog model and set the properties
+ // create the dialog model and set the properties
XPropertySet xPSetDialog = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, dialogModel);
xPSetDialog.setPropertyValue("PositionX", new Integer(100));
xPSetDialog.setPropertyValue("PositionY", new Integer(100));
xPSetDialog.setPropertyValue("Width", new Integer(150));
xPSetDialog.setPropertyValue("Height", new Integer(100));
- xPSetDialog.setPropertyValue("Title",
+ xPSetDialog.setPropertyValue("Title",
new String("Runtime Dialog Demo"));
- // get the service manager from the dialog model
+ // get the service manager from the dialog model
xMultiServiceFactory = (XMultiServiceFactory) UnoRuntime.queryInterface(
- XMultiServiceFactory.class,
+ XMultiServiceFactory.class,
dialogModel);
- // create the button model and set the properties
+ // create the button model and set the properties
Object buttonModel = xMultiServiceFactory.createInstance(
"com.sun.star.awt.UnoControlButtonModel");
XPropertySet xPSetButton = (XPropertySet) UnoRuntime.queryInterface(
@@ -121,7 +121,7 @@ public class UnoControlDialogModel extends TestCase {
xPSetButton.setPropertyValue("TabIndex", new Short((short) 0));
xPSetButton.setPropertyValue("Label", new String("Click Me"));
- // create the label model and set the properties
+ // create the label model and set the properties
Object labelModel = xMultiServiceFactory.createInstance(
"com.sun.star.awt.UnoControlFixedTextModel");
XPropertySet xPSetLabel = (XPropertySet) UnoRuntime.queryInterface(
@@ -134,22 +134,22 @@ public class UnoControlDialogModel extends TestCase {
xPSetLabel.setPropertyValue("TabIndex", new Short((short) 1));
xPSetLabel.setPropertyValue("Label", _labelPrefix);
- // insert the control models into the dialog model
+ // insert the control models into the dialog model
XNameContainer xNameCont = (XNameContainer) UnoRuntime.queryInterface(
- XNameContainer.class,
+ XNameContainer.class,
dialogModel);
xNameCont.insertByName(_buttonName, buttonModel);
xNameCont.insertByName(_labelName, labelModel);
- // create the dialog control and set the model
+ // create the dialog control and set the model
XControl dialog = (XControl) UnoRuntime.queryInterface(
- XControl.class,
+ XControl.class,
((XMultiServiceFactory) Param.getMSF()).createInstance(
"com.sun.star.awt.UnoControlDialog"));
XControl xControl = (XControl) UnoRuntime.queryInterface(
XControl.class, dialog);
XControlModel xControlModel = (XControlModel) UnoRuntime.queryInterface(
- XControlModel.class,
+ XControlModel.class,
dialogModel);
xControl.setModel(xControlModel);
} catch (Exception e) {
@@ -167,13 +167,13 @@ public class UnoControlDialogModel extends TestCase {
try {
// XNameReplace
- tEnv.addObjRelation("INSTANCE1",
+ tEnv.addObjRelation("INSTANCE1",
xMultiServiceFactory.createInstance(
"com.sun.star.awt.UnoControlFixedTextModel"));
//XContainer
- tEnv.addObjRelation("INSTANCE",
+ tEnv.addObjRelation("INSTANCE",
xMultiServiceFactory.createInstance(
"com.sun.star.awt.UnoControlFixedTextModel"));
} catch (com.sun.star.uno.Exception e) {
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlEdit.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlEdit.java
index e6460fc72d55..80750544d649 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlEdit.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlEdit.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlEdit extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,18 +88,18 @@ public class UnoControlEdit extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "TextField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "TextField",
"UnoControlEdit");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -108,7 +108,7 @@ public class UnoControlEdit extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the EditControl for the needed Object relations
@@ -140,14 +140,14 @@ public class UnoControlEdit extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlEditModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlEditModel.java
index 4df1e7ee86cc..0f05e3725cd9 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlEditModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlEditModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlEditModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControl.java
index ecf4c7170243..c326ee873cb4 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlFileControl extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,18 +88,18 @@ public class UnoControlFileControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "FileControl",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "FileControl",
"UnoControlFileControl");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -108,7 +108,7 @@ public class UnoControlFileControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the FileControlControl for the needed Object relations
@@ -141,14 +141,14 @@ public class UnoControlFileControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControlModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControlModel.java
index 31153036da95..cefb7d072d13 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControlModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFileControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlFileControlModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedLineModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedLineModel.java
index 986f3acd9a2c..4deaef81360d 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedLineModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedLineModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 UnoControlFixedLineModel extends TestCase {
* {@link ifc.io._XPersistObject} </li>
* </ul>
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log)
throws StatusException {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedText.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedText.java
index 7ee0369ad4ea..14d3c8f2b73f 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedText.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -77,7 +77,7 @@ public class UnoControlFixedText extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -87,18 +87,18 @@ public class UnoControlFixedText extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "FixedText",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "FixedText",
"UnoControlFixedText");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -107,7 +107,7 @@ public class UnoControlFixedText extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the FixedTextControl for the needed Object relations
@@ -140,7 +140,7 @@ public class UnoControlFixedText extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedTextModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedTextModel.java
index 6bbf6f0cadb1..195dbdfb6984 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedTextModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFixedTextModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlFixedTextModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedField.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedField.java
index 62b6169895bc..4511f65323e3 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedField.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +79,7 @@ public class UnoControlFormattedField extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -89,18 +89,18 @@ public class UnoControlFormattedField extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "DatabaseFormattedField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "DatabaseFormattedField",
"UnoControlFormattedField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -112,7 +112,7 @@ public class UnoControlFormattedField extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the EditControl for the needed Object relations
@@ -146,14 +146,14 @@ public class UnoControlFormattedField extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedFieldModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedFieldModel.java
index 549ddd82ef7d..035196df0ab9 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedFieldModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlFormattedFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlFormattedFieldModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -76,7 +76,7 @@ public class UnoControlFormattedFieldModel extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("OBJNAME",
+ tEnv.addObjRelation("OBJNAME",
"stardiv.vcl.controlmodel.FormattedField");
System.out.println("ImplementationName: " + utils.getImplName(oObj));
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBox.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBox.java
index ef1377289fea..97d81ec52427 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -77,7 +77,7 @@ public class UnoControlGroupBox extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -87,18 +87,18 @@ public class UnoControlGroupBox extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "GroupBox",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "GroupBox",
"UnoControlGroupBox");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -107,7 +107,7 @@ public class UnoControlGroupBox extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the GroupBoxControl for the needed Object relations
@@ -139,7 +139,7 @@ public class UnoControlGroupBox extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBoxModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBoxModel.java
index a960cd91c607..3bb46d8baaf2 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBoxModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlGroupBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlGroupBoxModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControl.java
index e8611f9aee4c..efe32e3423f0 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlImageControl extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,10 +88,10 @@ public class UnoControlImageControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "DatabaseImageControl",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "DatabaseImageControl",
"UnoControlImageControl");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
@@ -101,8 +101,8 @@ public class UnoControlImageControl extends TestCase {
XPropertySet xPS = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, the_Model);
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -111,7 +111,7 @@ public class UnoControlImageControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the ImageControlControl for the needed Object relations
@@ -148,7 +148,7 @@ public class UnoControlImageControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControlModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControlModel.java
index ab69c310038c..be142c1ebc58 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControlModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlImageControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ import util.utils;
public class UnoControlImageControlModel extends TestCase {
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlListBox.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlListBox.java
index 85e9abd9058c..4e919ba14698 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlListBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlListBox extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,18 +88,18 @@ public class UnoControlListBox extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "ListBox",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "ListBox",
"UnoControlListBox");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -108,7 +108,7 @@ public class UnoControlListBox extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the ListBoxControl for the needed Object relations
@@ -141,14 +141,14 @@ public class UnoControlListBox extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// adding object relation for XItemListener
- ifc.awt._XItemListener.TestItemListener listener =
+ ifc.awt._XItemListener.TestItemListener listener =
new ifc.awt._XItemListener.TestItemListener();
- XListBox list = (XListBox) UnoRuntime.queryInterface(XListBox.class,
+ XListBox list = (XListBox) UnoRuntime.queryInterface(XListBox.class,
oObj);
list.addItemListener(listener);
tEnv.addObjRelation("TestItemListener", listener);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlListBoxModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlListBoxModel.java
index d567bb50bb8a..785527f631c2 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlListBoxModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlListBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlListBoxModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericField.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericField.java
index f9ac8e3b2d61..ac836abbaab7 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericField.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -85,7 +85,7 @@ public class UnoControlNumericField extends TestCase {
}
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -95,18 +95,18 @@ public class UnoControlNumericField extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "NumericField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "NumericField",
"UnoControlNumericField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -115,7 +115,7 @@ public class UnoControlNumericField extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the NumericFieldControl for the needed Object relations
@@ -148,22 +148,22 @@ public class UnoControlNumericField extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
textComp.addTextListener(listener);
tEnv.addObjRelation("TestTextListener", listener);
-
+
tEnv.addObjRelation("XTextComponent.onlyNumbers", "");
-
+
log.println("ImplementationName: " + utils.getImplName(oObj));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericFieldModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericFieldModel.java
index 003f36fd0791..79746cc576ef 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericFieldModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlNumericFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +61,7 @@ public class UnoControlNumericFieldModel extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternField.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternField.java
index e3c514312b50..b89817e89c11 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternField.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlPatternField extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,18 +88,18 @@ public class UnoControlPatternField extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "PatternField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "PatternField",
"UnoControlPatternField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -108,7 +108,7 @@ public class UnoControlPatternField extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the PatternFieldControl for the needed Object relations
@@ -141,14 +141,14 @@ public class UnoControlPatternField extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternFieldModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternFieldModel.java
index 2b77d40d0b15..11ebe24aac59 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternFieldModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlPatternFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ import util.utils;
public class UnoControlPatternFieldModel extends TestCase {
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlProgressBarModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlProgressBarModel.java
index 39e9dca50035..d582c08c2c57 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlProgressBarModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlProgressBarModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class UnoControlProgressBarModel extends TestCase {
* {@link ifc.io._XPersistObject} </li>
* </ul>
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log)
throws StatusException {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
index 3b8eb313a3fa..3dea66cdb65f 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -77,7 +77,7 @@ public class UnoControlRadioButton extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -87,18 +87,18 @@ public class UnoControlRadioButton extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "RadioButton",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "RadioButton",
"UnoControlRadioButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -107,7 +107,7 @@ public class UnoControlRadioButton extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the RadioButtonControl for the needed Object relations
@@ -140,7 +140,7 @@ public class UnoControlRadioButton extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButtonModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButtonModel.java
index 4805f9f4c61a..0db72e0d2db5 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButtonModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ import util.utils;
public class UnoControlRadioButtonModel extends TestCase {
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlScrollBarModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlScrollBarModel.java
index bf9a1b6492b8..0ca3e0e7eb82 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlScrollBarModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlScrollBarModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 UnoControlScrollBarModel extends TestCase {
* {@link ifc.io._XPersistObject} </li>
* </ul>
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log)
throws StatusException {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeField.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeField.java
index 04161dca61c2..9547f723414e 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeField.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ public class UnoControlTimeField extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -88,18 +88,18 @@ public class UnoControlTimeField extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "TimeField",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "TimeField",
"UnoControlTimeField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -108,7 +108,7 @@ public class UnoControlTimeField extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the TimeFieldControl for the needed Object relations
@@ -141,14 +141,14 @@ public class UnoControlTimeField extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
- ifc.awt._XTextListener.TestTextListener listener =
+ ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeFieldModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeFieldModel.java
index 91472cd01e4b..4b47fe41b475 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeFieldModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlTimeFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ import util.utils;
public class UnoControlTimeFieldModel extends TestCase {
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java
index e12d323a5a8f..640365fdb855 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,24 +69,24 @@ public class UnoScrollBarControl extends TestCase {
try {
log.println("creating a textdocument");
xTextDoc = SOF.createTextDoc(null);
-
+
log.println("maximize the window size");
XModel xModel = (XModel) UnoRuntime.queryInterface(XModel.class, xTextDoc);
XFrame xFrame = xModel.getCurrentController().getFrame();
XWindow xWin = xFrame.getContainerWindow();
-
+
Toolkit tk = Toolkit.getDefaultToolkit();
Dimension dim = tk.getScreenSize();
-
+
Rectangle newPosSize = xWin.getPosSize();
newPosSize.Width = new Double(dim.getWidth()).intValue();
newPosSize.Height = new Double(dim.getHeight()).intValue();
newPosSize.X = 0;
newPosSize.Y = 0;
-
+
xWin.setPosSize(newPosSize.X, newPosSize.Y, newPosSize.Width,
- newPosSize.Height, com.sun.star.awt.PosSize.POSSIZE);
-
+ newPosSize.Height, com.sun.star.awt.PosSize.POSSIZE);
+
} catch (com.sun.star.uno.Exception e) {
// Some exception occures.FAILED
e.printStackTrace(log);
@@ -100,7 +100,7 @@ public class UnoScrollBarControl extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -110,18 +110,18 @@ public class UnoScrollBarControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "ScrollBar",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "ScrollBar",
"UnoControlScrollBar");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -130,7 +130,7 @@ public class UnoScrollBarControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the ScrollBarControl for the needed Object relations
@@ -167,7 +167,7 @@ public class UnoScrollBarControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControl.java
index 332cf133568f..a4ba99c437ec 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,7 +68,7 @@ public class UnoSpinButtonControl extends TestCase {
util.DesktopTools.closeDoc(xTextDoc);
}
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
XWindowPeer the_win = null;
@@ -78,18 +78,18 @@ public class UnoSpinButtonControl extends TestCase {
XControl aControl = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
- 4500, 15000,
- 10000,
- "SpinButton",
+ XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000,
+ 4500, 15000,
+ 10000,
+ "SpinButton",
"UnoControlSpinButton");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape);
XControlModel the_Model = aShape.getControl();
- XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 5000, 10000,
+ XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 5000, 10000,
"TextField");
WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2);
@@ -98,7 +98,7 @@ public class UnoSpinButtonControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//get the SpinButtonControl for the needed Object relations
@@ -135,7 +135,7 @@ public class UnoSpinButtonControl extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControlModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControlModel.java
index fff32d4aeb3d..7cf20b8e0656 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControlModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoSpinButtonControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ public class UnoSpinButtonControlModel extends TestCase {
* Creates an instance of the service
* <code>com.sun.star.awt.UnoControlSpinButtonModel</code>.
*/
- public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ public synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log)
throws StatusException {
XInterface oObj = null;
@@ -60,7 +60,7 @@ public class UnoSpinButtonControlModel extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("OBJNAME",
+ tEnv.addObjRelation("OBJNAME",
"com.sun.star.awt.UnoControlSpinButtonModel");
System.out.println("ImplementationName: " + utils.getImplName(oObj));
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java
index 5be41be69f27..4a8dc03800e9 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +67,14 @@ public class UnoTreeControl extends TestCase {
private static XMultiServiceFactory mxMSF;
private static PrintWriter log;
private static boolean debug = false;
-
+
protected void initialize(TestParameters Param, PrintWriter log) {
this.log = log;
debug = Param.getBool(PropertyName.DEBUG_IS_ACTIVE);
SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory) Param.getMSF());
-
+
try {
log.println("creating a textdocument");
xTextDoc = SOF.createTextDoc(null);
@@ -84,24 +84,24 @@ public class UnoTreeControl extends TestCase {
throw new StatusException("Couldn't create document", e);
}
}
-
+
protected void cleanup(TestParameters tParam, PrintWriter log) {
// log.println(" disposing xTextDoc ");
-//
+//
// util.DesktopTools.closeDoc(xTextDoc);
}
-
+
protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
String sTreeControlName = "UnoTreeControl-Test";
mxMSF = (XMultiServiceFactory) Param.getMSF();
XInterface oObj = null;
XMutableTreeNode xNode = null;
-
+
try {
-
+
mXTreeDataModel = (XMutableTreeDataModel )
- UnoRuntime.queryInterface(XMutableTreeDataModel.class,
+ UnoRuntime.queryInterface(XMutableTreeDataModel.class,
mxMSF.createInstance("com.sun.star.awt.tree.MutableTreeDataModel"));
xNode = mXTreeDataModel.createNode("UnoTreeControl", false);
@@ -111,92 +111,92 @@ public class UnoTreeControl extends TestCase {
xNode.setCollapsedGraphicURL( "private:graphicrepository/sd/res/triangle_right.png");
fillNode(xNode);
-
+
mXTreeDataModel.setRoot(xNode);
-
+
XControlModel xDialogModel = (XControlModel)
UnoRuntime.queryInterface(XControlModel.class,
mxMSF.createInstance("com.sun.star.awt.UnoControlDialogModel"));
-
+
XPropertySet xDialogPropertySet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xDialogModel);
- xDialogPropertySet.setPropertyValue( "PositionX", new Integer(50) );
- xDialogPropertySet.setPropertyValue( "PositionY", new Integer(50) );
- xDialogPropertySet.setPropertyValue( "Width", new Integer(256) );
- xDialogPropertySet.setPropertyValue( "Height", new Integer(256) );
- xDialogPropertySet.setPropertyValue( "Title", "Tree Control Test");
-
+ xDialogPropertySet.setPropertyValue( "PositionX", new Integer(50) );
+ xDialogPropertySet.setPropertyValue( "PositionY", new Integer(50) );
+ xDialogPropertySet.setPropertyValue( "Width", new Integer(256) );
+ xDialogPropertySet.setPropertyValue( "Height", new Integer(256) );
+ xDialogPropertySet.setPropertyValue( "Title", "Tree Control Test");
+
XMultiServiceFactory xDialogMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface(XMultiServiceFactory.class, xDialogModel);
-
+
XControlModel xTreeControlModel = (XControlModel)
UnoRuntime.queryInterface(XControlModel.class,
xDialogMSF.createInstance("com.sun.star.awt.tree.TreeControlModel"));
-
+
XPropertySet XTreeControlModelSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTreeControlModel);
XTreeControlModelSet.setPropertyValue( "SelectionType",com.sun.star.view.SelectionType.NONE);
- XTreeControlModelSet.setPropertyValue( "PositionX", new Integer(3 ));
- XTreeControlModelSet.setPropertyValue( "PositionY", new Integer(3 ));
- XTreeControlModelSet.setPropertyValue( "Width", new Integer(253));
- XTreeControlModelSet.setPropertyValue( "Height", new Integer(253) );
- XTreeControlModelSet.setPropertyValue( "DataModel", mXTreeDataModel );
+ XTreeControlModelSet.setPropertyValue( "PositionX", new Integer(3 ));
+ XTreeControlModelSet.setPropertyValue( "PositionY", new Integer(3 ));
+ XTreeControlModelSet.setPropertyValue( "Width", new Integer(253));
+ XTreeControlModelSet.setPropertyValue( "Height", new Integer(253) );
+ XTreeControlModelSet.setPropertyValue( "DataModel", mXTreeDataModel );
XTreeControlModelSet.setPropertyValue( "ShowsRootHandles",new Boolean (false));
- XTreeControlModelSet.setPropertyValue( "ShowsHandles", new Boolean (false));
- XTreeControlModelSet.setPropertyValue( "RootDisplayed", new Boolean (true));
- XTreeControlModelSet.setPropertyValue( "Editable", new Boolean (true ));
-
+ XTreeControlModelSet.setPropertyValue( "ShowsHandles", new Boolean (false));
+ XTreeControlModelSet.setPropertyValue( "RootDisplayed", new Boolean (true));
+ XTreeControlModelSet.setPropertyValue( "Editable", new Boolean (true ));
+
XNameContainer xDialogModelContainer = (XNameContainer)
UnoRuntime.queryInterface(XNameContainer.class, xDialogModel);
-
+
xDialogModelContainer.insertByName( sTreeControlName, xTreeControlModel);
-
+
XControl xDialogControl = (XControl)
UnoRuntime.queryInterface(XControl.class,
mxMSF.createInstance("com.sun.star.awt.UnoControlDialog"));
-
+
xDialogControl.setModel( xDialogModel );
-
- XToolkit xToolkit = (XToolkit) UnoRuntime.queryInterface(XToolkit.class,
+
+ XToolkit xToolkit = (XToolkit) UnoRuntime.queryInterface(XToolkit.class,
mxMSF.createInstance("com.sun.star.awt.Toolkit" ));
-
+
xDialogControl.createPeer( xToolkit, null );
-
+
// get the peers of the sub controls from the dialog peer container
XControlContainer xDialogContainer = (XControlContainer)
UnoRuntime.queryInterface(XControlContainer.class ,xDialogControl);
-
+
XTreeControl xTreeControl = (XTreeControl)
UnoRuntime.queryInterface(XTreeControl.class, xDialogContainer.getControl( sTreeControlName ));
-
+
xTreeControl.expandNode(xNode);
oObj = xTreeControl;
XDialog xDialog = (XDialog) UnoRuntime.queryInterface(XDialog.class, xDialogControl);
-
+
execurteDialog aDialog = new execurteDialog(xDialog);
-
+
aDialog.start();
-
-// xDialog.execute();
-
+
+// xDialog.execute();
+
} catch (com.sun.star.uno.Exception ex) {
ex.printStackTrace();
}
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("XTreeControl_Node", xNode);
//com.sun.star.view.XSelectionSupplier
try {
-
+
System.out.println("count of children: " + xNode.getChildCount());
tEnv.addObjRelation("Selections", new Object[]{xNode.getChildAt(0), xNode});
} catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
log.println("ERROR: could not add object relation 'Selections' because 'xNode.getChildAt(1) failed: " +
ex.toString());
}
-
- tEnv.addObjRelation("Comparer",
+
+ tEnv.addObjRelation("Comparer",
new Comparator() {
public int compare(Object o1, Object o2) {
XMutableTreeNode xNode1 = (XMutableTreeNode) UnoRuntime.queryInterface(
@@ -207,10 +207,10 @@ public class UnoTreeControl extends TestCase {
} catch (com.sun.star.lang.IllegalArgumentException ex) {
ex.printStackTrace();
}
-
+
XMutableTreeNode xNode2 = (XMutableTreeNode) UnoRuntime.queryInterface(
XMutableTreeNode.class, xNode2a);
-
+
if (((String) xNode1.getDataValue()).equals((String)xNode2.getDataValue())) {
return 0;
}
@@ -219,12 +219,12 @@ public class UnoTreeControl extends TestCase {
}
});
System.out.println("ImplementationName: " + utils.getImplName(oObj));
-
+
return tEnv;
} // finish method getTestEnvironment
-
+
private void fillNode( XMutableTreeNode xNode ){
-
+
if( xNode.getChildCount() == 0 )
{
String sParentPath = (String) xNode.getDataValue();
@@ -238,14 +238,14 @@ public class UnoTreeControl extends TestCase {
}
XSimpleFileAccess sA = (XSimpleFileAccess)
UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc);
-
+
dirlist(officeUserPath, xNode);
}
}
-
+
private void dirlist(String dir, XMutableTreeNode xNode){
-
+
Object fileacc = null;
try {
fileacc = mxMSF.createInstance("com.sun.star.comp.ucb.SimpleFileAccess");
@@ -279,21 +279,21 @@ public class UnoTreeControl extends TestCase {
} catch (com.sun.star.uno.Exception ex) {
ex.printStackTrace();
}
-
+
try {
xNode.appendChild( xChildNode );
} catch (com.sun.star.lang.IllegalArgumentException ex) {
ex.printStackTrace();
}
}
-
+
private class execurteDialog extends Thread{
private XDialog mXDialog;
-
+
public execurteDialog(XDialog xDialog){
mXDialog = xDialog;
}
-
+
public void run() {
mXDialog.endExecute();
}
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoTreeModel.java b/qadevOOo/tests/java/mod/_toolkit/UnoTreeModel.java
index f8da7cd2082d..5f6fecef11b6 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoTreeModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoTreeModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,7 +42,7 @@ import util.utils;
public class UnoTreeModel extends TestCase {
private static XTextDocument xTextDoc;
-
+
/**
* Creates StarOffice Writer document.
*/
@@ -51,34 +51,34 @@ public class UnoTreeModel extends TestCase {
xTextDoc = WriterTools.createTextDoc(
(XMultiServiceFactory) tParam.getMSF());
}
-
+
/**
* Disposes StarOffice Writer document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
-
+
util.DesktopTools.closeDoc(xTextDoc);
}
-
+
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
-
+
try {
oObj = (XInterface) ((XMultiServiceFactory) Param.getMSF()).createInstance(
"com.sun.star.awt.tree.TreeControlModel");
} catch (Exception e) {
}
-
+
log.println(
"creating a new environment for TreeControlModel object");
-
+
TestEnvironment tEnv = new TestEnvironment(oObj);
-
+
tEnv.addObjRelation("OBJNAME", "com.sun.star.awt.tree.TreeControlModel");
System.out.println("ImplementationName: " + utils.getImplName(oObj));
-
+
return tEnv;
} // finish method getTestEnvironment
} // finish class UnoControlListBoxModel
diff --git a/qadevOOo/tests/java/mod/_typeconverter.uno/TypeConverter.java b/qadevOOo/tests/java/mod/_typeconverter.uno/TypeConverter.java
index 7fb784e7d26b..e6bd253e2447 100644
--- a/qadevOOo/tests/java/mod/_typeconverter.uno/TypeConverter.java
+++ b/qadevOOo/tests/java/mod/_typeconverter.uno/TypeConverter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_typemgr.uno/TypeDescriptionManager.java b/qadevOOo/tests/java/mod/_typemgr.uno/TypeDescriptionManager.java
index 4abc6230275d..ce278a2095f2 100644
--- a/qadevOOo/tests/java/mod/_typemgr.uno/TypeDescriptionManager.java
+++ b/qadevOOo/tests/java/mod/_typemgr.uno/TypeDescriptionManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucb/UcbContentProviderProxyFactory.java b/qadevOOo/tests/java/mod/_ucb/UcbContentProviderProxyFactory.java
index 1df5afb6733e..fcf8a696d5e1 100644
--- a/qadevOOo/tests/java/mod/_ucb/UcbContentProviderProxyFactory.java
+++ b/qadevOOo/tests/java/mod/_ucb/UcbContentProviderProxyFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucb/UcbPropertiesManager.java b/qadevOOo/tests/java/mod/_ucb/UcbPropertiesManager.java
index 12fec3fc7fa3..aa22b68d851c 100644
--- a/qadevOOo/tests/java/mod/_ucb/UcbPropertiesManager.java
+++ b/qadevOOo/tests/java/mod/_ucb/UcbPropertiesManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucb/UcbStore.java b/qadevOOo/tests/java/mod/_ucb/UcbStore.java
index 459e068fab5b..2e0489037ff4 100644
--- a/qadevOOo/tests/java/mod/_ucb/UcbStore.java
+++ b/qadevOOo/tests/java/mod/_ucb/UcbStore.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucb/UniversalContentBroker.java b/qadevOOo/tests/java/mod/_ucb/UniversalContentBroker.java
index 42391e5f83e7..9f886179647e 100644
--- a/qadevOOo/tests/java/mod/_ucb/UniversalContentBroker.java
+++ b/qadevOOo/tests/java/mod/_ucb/UniversalContentBroker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucpchelp/CHelpContentProvider.java b/qadevOOo/tests/java/mod/_ucpchelp/CHelpContentProvider.java
index 6e4d8b4b3708..6dccbf02020d 100644
--- a/qadevOOo/tests/java/mod/_ucpchelp/CHelpContentProvider.java
+++ b/qadevOOo/tests/java/mod/_ucpchelp/CHelpContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,8 +70,8 @@ public class CHelpContentProvider extends TestCase {
//Adding ObjRelation for XContentProvider
tEnv.addObjRelation("FACTORY",CIF);
- tEnv.addObjRelation("CONTENT1", "vnd.sun.star.help://swriter?System=WIN&Language=de&Query=text&HitCount=120&Scope=Heading");
- tEnv.addObjRelation("CONTENT2",
+ tEnv.addObjRelation("CONTENT1", "vnd.sun.star.help://swriter?System=WIN&Language=de&Query=text&HitCount=120&Scope=Heading");
+ tEnv.addObjRelation("CONTENT2",
util.utils.getFullTestURL("SwXTextEmbeddedObject.sdw"));
return tEnv;
diff --git a/qadevOOo/tests/java/mod/_ucpdav/WebDAVContentProvider.java b/qadevOOo/tests/java/mod/_ucpdav/WebDAVContentProvider.java
index 1caf45ea4777..b5b3395cb8bb 100644
--- a/qadevOOo/tests/java/mod/_ucpdav/WebDAVContentProvider.java
+++ b/qadevOOo/tests/java/mod/_ucpdav/WebDAVContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucpfile/FileProvider.java b/qadevOOo/tests/java/mod/_ucpfile/FileProvider.java
index edab6d30166e..1258ec52be1a 100644
--- a/qadevOOo/tests/java/mod/_ucpfile/FileProvider.java
+++ b/qadevOOo/tests/java/mod/_ucpfile/FileProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucpftp/FTPContentProvider.java b/qadevOOo/tests/java/mod/_ucpftp/FTPContentProvider.java
index ec709d5158ac..bb80761d6725 100644
--- a/qadevOOo/tests/java/mod/_ucpftp/FTPContentProvider.java
+++ b/qadevOOo/tests/java/mod/_ucpftp/FTPContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucphier/HierarchyContentProvider.java b/qadevOOo/tests/java/mod/_ucphier/HierarchyContentProvider.java
index 675c9502b54a..ce1901254d7f 100644
--- a/qadevOOo/tests/java/mod/_ucphier/HierarchyContentProvider.java
+++ b/qadevOOo/tests/java/mod/_ucphier/HierarchyContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucphier/HierarchyDataSource.java b/qadevOOo/tests/java/mod/_ucphier/HierarchyDataSource.java
index 366fd30eef41..a54f1bc8a151 100644
--- a/qadevOOo/tests/java/mod/_ucphier/HierarchyDataSource.java
+++ b/qadevOOo/tests/java/mod/_ucphier/HierarchyDataSource.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucppkg/PackageContentProvider.java b/qadevOOo/tests/java/mod/_ucppkg/PackageContentProvider.java
index 3d9668f82567..021cdadc7cc3 100644
--- a/qadevOOo/tests/java/mod/_ucppkg/PackageContentProvider.java
+++ b/qadevOOo/tests/java/mod/_ucppkg/PackageContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucprmt/ContentProvider.java b/qadevOOo/tests/java/mod/_ucprmt/ContentProvider.java
index 6b6e86557476..d17b4f5be065 100644
--- a/qadevOOo/tests/java/mod/_ucprmt/ContentProvider.java
+++ b/qadevOOo/tests/java/mod/_ucprmt/ContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucprmt/ProviderAcceptor.java b/qadevOOo/tests/java/mod/_ucprmt/ProviderAcceptor.java
index 5935fae84abb..5dba0063dd75 100644
--- a/qadevOOo/tests/java/mod/_ucprmt/ProviderAcceptor.java
+++ b/qadevOOo/tests/java/mod/_ucprmt/ProviderAcceptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_ucprmt/ProxyProvider.java b/qadevOOo/tests/java/mod/_ucprmt/ProxyProvider.java
index 3d184a87f946..af878cdf1755 100644
--- a/qadevOOo/tests/java/mod/_ucprmt/ProxyProvider.java
+++ b/qadevOOo/tests/java/mod/_ucprmt/ProxyProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_uui/UUIInteractionHandler.java b/qadevOOo/tests/java/mod/_uui/UUIInteractionHandler.java
index 2df8d47fbee9..4dec44420321 100644
--- a/qadevOOo/tests/java/mod/_uui/UUIInteractionHandler.java
+++ b/qadevOOo/tests/java/mod/_uui/UUIInteractionHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_uuresolver.uno/UnoUrlResolver.java b/qadevOOo/tests/java/mod/_uuresolver.uno/UnoUrlResolver.java
index 8adc3de640fe..46758c6e3d22 100644
--- a/qadevOOo/tests/java/mod/_uuresolver.uno/UnoUrlResolver.java
+++ b/qadevOOo/tests/java/mod/_uuresolver.uno/UnoUrlResolver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_uuresolver/UnoUrlResolver.java b/qadevOOo/tests/java/mod/_uuresolver/UnoUrlResolver.java
index 59f18de31344..ebea2c62b679 100644
--- a/qadevOOo/tests/java/mod/_uuresolver/UnoUrlResolver.java
+++ b/qadevOOo/tests/java/mod/_uuresolver/UnoUrlResolver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER 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/_xmloff/Chart/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java
index 6fe4765389da..93d9de99b214 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java
index 5e48b073fc9f..4801b2a4c893 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/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/_xmloff/Chart/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java
index c0edd4f82cda..ccea9da56f1b 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java
index 83a422df9128..52b3b3ce03d8 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/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/_xmloff/Chart/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java
index 4405b5c5ac60..ce399da29702 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java
index 7bd02228203d..01f89d61ad68 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/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
@@ -127,7 +127,7 @@ public class XMLStylesImporter extends TestCase {
log.println( "creating a test environment" );
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF() ;
-
+
try {
oInt = xMSF.createInstance
("com.sun.star.comp.Chart.XMLStylesImporter") ;
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java
index f628a1c11b8f..b0f38f3d741c 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentImporter.java
index b6e948aa6312..96d68e2218cc 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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/_xmloff/Draw/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java
index 1b468c8a373c..996fc2c7c062 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java
index 563b948d875f..93d3d3787ef2 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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/_xmloff/Draw/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java
index 4cfc5a72acaf..b572027f3857 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java
index 244b7c9e3591..ff76e821a1b9 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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/_xmloff/Draw/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java
index ee6a4cf35d2b..a1f70a0223fc 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java
index b7716acd0957..30ea302140c0 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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/_xmloff/Draw/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
index 9caf84ef2d94..bd4180571506 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java
index 19c95803428a..2466d4dcfa7e 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java
index ec6d6104da7a..defe48794929 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java
index bb919b651ae0..8de42bcb3bdb 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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/_xmloff/Impress/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java
index cfb3d1117021..18fab3f93505 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java
index 0675533906f1..4028f0661400 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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/_xmloff/Impress/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java
index a71443adbcc5..fd7a4f871c76 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java
index 154f1380a9cc..7c69de6e1df4 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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/_xmloff/Impress/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java
index 31aad6b65034..69a3a45eda39 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java
index 75d0661630bd..114d20670f03 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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/_xmloff/Impress/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java
index db0b45e3ae8b..aeca441c26e5 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java
index f67141c2e1fd..8635b1bdd0ad 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/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