diff options
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/Jar_OOoRunner.mk | 1 | ||||
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv | 3 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/sheet/_Shape.java | 53 |
3 files changed, 0 insertions, 57 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index fa6d33e0fade..d57a9e7543fb 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -564,7 +564,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer \ qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster \ qadevOOo/tests/java/ifc/sheet/_FunctionDescription \ - qadevOOo/tests/java/ifc/sheet/_Shape \ qadevOOo/tests/java/ifc/sheet/_SheetLink \ qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \ qadevOOo/tests/java/ifc/sheet/_Spreadsheet \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv index 607ebb7eaa8c..e7385e4ec6f7 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv @@ -14,9 +14,6 @@ "ScShapeObj";"com::sun::star::drawing::Shape";"InteropGrabBag#optional" "ScShapeObj";"com::sun::star::drawing::XShapeDescriptor";"getShapeType()" "ScShapeObj";"com::sun::star::drawing::XGluePointsSupplier#optional";"getGluePoints()" -"ScShapeObj";"com::sun::star::sheet::Shape";"Anchor" -"ScShapeObj";"com::sun::star::sheet::Shape";"HoriOrientPosition" -"ScShapeObj";"com::sun::star::sheet::Shape";"VertOrientPosition" "ScShapeObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "ScShapeObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "ScShapeObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/qadevOOo/tests/java/ifc/sheet/_Shape.java b/qadevOOo/tests/java/ifc/sheet/_Shape.java deleted file mode 100644 index c5def63c4379..000000000000 --- a/qadevOOo/tests/java/ifc/sheet/_Shape.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -package ifc.sheet; - -import com.sun.star.sheet.XSpreadsheet; -import com.sun.star.sheet.XSpreadsheetDocument; -import com.sun.star.table.XCell; -import com.sun.star.uno.UnoRuntime; - -import lib.MultiPropertyTest; - - -public class _Shape extends MultiPropertyTest { - public void _Anchor() { - XSpreadsheetDocument xSheetDoc = UnoRuntime.queryInterface( - XSpreadsheetDocument.class, - tEnv.getObjRelation( - "DOCUMENT")); - String[] sheetNames = xSheetDoc.getSheets().getElementNames(); - XSpreadsheet xSheet = null; - XCell xCell = null; - - try { - xSheet = UnoRuntime.queryInterface( - XSpreadsheet.class, - xSheetDoc.getSheets().getByName(sheetNames[0])); - xCell = xSheet.getCellByPosition(0, 0); - } catch (com.sun.star.container.NoSuchElementException e) { - e.printStackTrace(); - } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - e.printStackTrace(); - } catch (com.sun.star.lang.WrappedTargetException e) { - e.printStackTrace(); - } - - testProperty("Anchor", xSheet, xCell); - } -}
\ No newline at end of file |