/aoo41x/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | DrawingDemo.java | 69 XComponent xDrawDoc = null; in main() local 105 Demo_PageCreation( xDrawDoc, 10 ); in main() 107 Demo_ShapeCreation( xDrawDoc ); in main() 108 Demo_PolyPolygonBezier( xDrawDoc ); in main() 109 Demo_Group1( xDrawDoc ); in main() 110 Demo_Group2( xDrawDoc ); in main() 139 xDrawDoc, i / 2 ); in Demo_PageCreation() 152 XComponent xDrawDoc, String sLastPageName ) in Demo_PageNaming() argument 157 PageHelper.getDrawPageCount( xDrawDoc ) - 1 ); in Demo_PageNaming() 201 xDrawDoc ); in Demo_ShapeCreation() [all …]
|
H A D | PresentationDemo.java | 63 XComponent xDrawDoc = null; in main() local 78 xDrawDoc = Helper.createDocument( xOfficeContext, in main() 87 while ( PageHelper.getDrawPageCount( xDrawDoc ) < 3 ) in main() 88 PageHelper.insertNewDrawPageByIndex( xDrawDoc, 0 ); in main() 92 xPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); in main() 102 xShapePropSet = ShapeHelper.createAndInsertShape( xDrawDoc, in main() 117 xPage = PageHelper.getDrawPageByIndex( xDrawDoc, 1 ); in main() 126 xShapePropSet = ShapeHelper.createAndInsertShape( xDrawDoc, in main() 138 xPage = PageHelper.getDrawPageByIndex( xDrawDoc, 2 ); in main() 145 XShape xShape = ShapeHelper.createShape( xDrawDoc, in main() [all …]
|
H A D | GluePointDemo.java | 58 XComponent xDrawDoc = null; in main() local 73 xDrawDoc = Helper.createDocument( xOfficeContext, in main() 77 XDrawPage xPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); in main() 82 XShape xShape1 = ShapeHelper.createShape( xDrawDoc, in main() 86 XShape xShape2 = ShapeHelper.createShape( xDrawDoc, in main() 91 XShape xConnector = ShapeHelper.createShape( xDrawDoc, in main() 152 XShape xConnector2 = ShapeHelper.createShape( xDrawDoc, in main()
|
/aoo41x/main/qadevOOo/tests/java/mod/_svx/ |
H A D | SvxShapeConnector.java | 73 static XComponent xDrawDoc; field in SvxShapeConnector 111 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 137 UnoRuntime.queryInterface(XMultiServiceFactory.class,xDrawDoc); in createTestEnvironment() 155 oShape = SOF.createShape(xDrawDoc,3000,4500,15000,1000,"Ellipse"); in createTestEnvironment() 156 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 159 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add( in createTestEnvironment() 160 SOF.createShape(xDrawDoc, in createTestEnvironment() 186 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment() 189 XShape oShape1 = SOF.createShape(xDrawDoc,1000,2000,1500,1000,"Line"); in createTestEnvironment() 191 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape1); in createTestEnvironment() [all …]
|
H A D | SvxShapeDimensioning.java | 49 static XComponent xDrawDoc; field in SvxShapeDimensioning 66 xDrawDoc = DrawTools.createDrawDoc((XMultiServiceFactory)tParam.getMSF()); in initialize() 87 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 114 oShape = SOF.createShape(xDrawDoc,4000,4000,3000,3000,"Measure"); in createTestEnvironment() 116 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 119 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add( in createTestEnvironment() 120 SOF.createShape(xDrawDoc, in createTestEnvironment() 127 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Line"); in createTestEnvironment() 128 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 159 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment()
|
H A D | SvxShapeCollection.java | 46 static XComponent xDrawDoc; field in SvxShapeCollection 63 xDrawDoc = DrawTools.createDrawDoc((XMultiServiceFactory)tParam.getMSF()); in initialize() 84 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 117 oShape = SOF.createShape(xDrawDoc,3000,4500,15000,1000,"Ellipse"); in createTestEnvironment() 118 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 121 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Rectangle"); in createTestEnvironment() 122 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 138 tEnv.addObjRelation("Shape", new InstCreator(xDrawDoc, sDsc)) ; in createTestEnvironment()
|
H A D | SvxShapeGroup.java | 61 static XComponent xDrawDoc; field in SvxShapeGroup 74 xDrawDoc = SOF.createDrawDoc(null); in initialize() 90 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 113 UnoRuntime.queryInterface(XDrawPagesSupplier.class,xDrawDoc); in createTestEnvironment() 134 XShape Shape1 = SOF.createShape(xDrawDoc, in createTestEnvironment() 136 oShapes.add(SOF.createShape(xDrawDoc, in createTestEnvironment() 139 XShape Shape2 = SOF.createShape(xDrawDoc, in createTestEnvironment() 176 tEnv.addObjRelation("Shape", new InstCreator( xDrawDoc, sDsc)); in createTestEnvironment() 183 Shape2 = SOF.createShape(xDrawDoc, in createTestEnvironment()
|
H A D | SvxGraphicObject.java | 105 static XComponent xDrawDoc; field in SvxGraphicObject 113 xDrawDoc = DrawTools.createDrawDoc((XMultiServiceFactory)tParam.getMSF()); in initialize() 121 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 166 oShape = SOF.createShape(xDrawDoc,5000,5000,1500,1000,"GraphicObject"); in createTestEnvironment() 167 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 173 oShape = SOF.createShape(xDrawDoc,3000,4500,15000,1000,"Ellipse"); in createTestEnvironment() 174 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 235 UnoRuntime.queryInterface(XMultiServiceFactory.class,xDrawDoc); in createTestEnvironment() 251 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment()
|
H A D | SvxShape.java | 119 static XComponent xDrawDoc; field in SvxShape 131 xDrawDoc = SOF.loadDocument( in initialize() 145 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 178 oShape = SOF.createShape(xDrawDoc,3000,4500,15000,1000,"Text"); in createTestEnvironment() 179 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 187 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Text"); in createTestEnvironment() 188 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 218 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment()
|
H A D | SvxShapeCircle.java | 116 static XComponent xDrawDoc; field in SvxShapeCircle 128 xDrawDoc = SOF.loadDocument( in initialize() 142 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 176 oShape = SOF.createShape(xDrawDoc,5000,5000,3000,3000,"Ellipse"); in createTestEnvironment() 181 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 202 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Line"); in createTestEnvironment() 203 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 238 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment()
|
H A D | SvxShapePolyPolygon.java | 120 static XComponent xDrawDoc; field in SvxShapePolyPolygon 139 xDrawDoc = SOF.loadDocument( in initialize() 161 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 191 UnoRuntime.queryInterface(XMultiServiceFactory.class, xDrawDoc) ; in createTestEnvironment() 200 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 222 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Line"); in createTestEnvironment() 223 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 255 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment()
|
H A D | SvxShapePolyPolygonBezier.java | 122 static XComponent xDrawDoc; field in SvxShapePolyPolygonBezier 141 xDrawDoc = SOF.loadDocument( in initialize() 163 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 193 UnoRuntime.queryInterface(XMultiServiceFactory.class, xDrawDoc) ; in createTestEnvironment() 222 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 235 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Line"); in createTestEnvironment() 236 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 269 tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) ); in createTestEnvironment()
|
H A D | SvxShapeControl.java | 48 static XComponent xDrawDoc; field in SvxShapeControl 65 xDrawDoc = DrawTools.createDrawDoc((XMultiServiceFactory)tParam.getMSF()); in initialize() 86 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 113 xDrawDoc,3000,4500,15000,1000,"CommandButton"); in createTestEnvironment() 118 oShape = SOF.createShape(xDrawDoc,5000,3500,7500,5000,"Line"); in createTestEnvironment() 119 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ; in createTestEnvironment() 148 tEnv.addObjRelation("xDoc", xDrawDoc) ; in createTestEnvironment()
|
/aoo41x/main/qadevOOo/tests/java/mod/_sd/ |
H A D | SdDrawPage.java | 94 XComponent xDrawDoc; field in SdDrawPage 106 xDrawDoc = SOF.createDrawDoc(null); in initialize() 119 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 159 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 182 (xDrawDoc, 2000, 1500, 1000, 1000, "Line")); in createTestEnvironment() 184 (xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse")); in createTestEnvironment() 186 (xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle")); in createTestEnvironment() 191 UnoRuntime.queryInterface(XMasterPagesSupplier.class, xDrawDoc); in createTestEnvironment() 198 xDrawDoc,3000,4500,15000,10000,"CommandButton"); in createTestEnvironment() 204 tEnv.addObjRelation("Shape", new InstCreator( xDrawDoc, sDsc)); in createTestEnvironment()
|
H A D | DrawController_HandoutView.java | 88 static XComponent xDrawDoc; field in DrawController_HandoutView 111 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 164 xDrawDoc = SOF.createImpressDoc(null); in createTestEnvironment() 174 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 202 xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"); in createTestEnvironment() 204 xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 206 xDrawDoc, 3000, 500, 5000, 1000, "Line"); in createTestEnvironment() 214 utils.dispatchURL(xMSF, xDrawDoc, ".uno:HandoutMode"); in createTestEnvironment() 223 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 311 UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); in createTestEnvironment() [all …]
|
H A D | DrawController_NotesView.java | 88 static XComponent xDrawDoc; field in DrawController_NotesView 111 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 164 xDrawDoc = SOF.createImpressDoc(null); in createTestEnvironment() 174 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 199 xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"); in createTestEnvironment() 201 xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 203 xDrawDoc, 3000, 500, 5000, 1000, "Line"); in createTestEnvironment() 211 utils.dispatchURL(xMSF, xDrawDoc, ".uno:NotesMode"); in createTestEnvironment() 220 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 308 UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); in createTestEnvironment() [all …]
|
H A D | DrawController_OutlineView.java | 88 static XComponent xDrawDoc; field in DrawController_OutlineView 111 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 164 xDrawDoc = SOF.createImpressDoc(null); in createTestEnvironment() 174 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 199 xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"); in createTestEnvironment() 201 xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 203 xDrawDoc, 3000, 500, 5000, 1000, "Line"); in createTestEnvironment() 211 utils.dispatchURL(xMSF, xDrawDoc, ".uno:OutlineMode"); in createTestEnvironment() 220 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 308 UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); in createTestEnvironment() [all …]
|
H A D | DrawController_PresentationView.java | 88 static XComponent xDrawDoc; field in DrawController_PresentationView 111 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 164 xDrawDoc = SOF.createImpressDoc(null); in createTestEnvironment() 174 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 199 xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"); in createTestEnvironment() 201 xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 203 xDrawDoc, 3000, 500, 5000, 1000, "Line"); in createTestEnvironment() 211 utils.dispatchURL(xMSF, xDrawDoc, ".uno:DiaMode"); in createTestEnvironment() 220 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 308 UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); in createTestEnvironment() [all …]
|
H A D | SdUnoDrawView.java | 87 static XComponent xDrawDoc; field in SdUnoDrawView 110 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 160 xDrawDoc = SOF.createDrawDoc(null); in createTestEnvironment() 172 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 197 xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"); in createTestEnvironment() 199 xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 201 xDrawDoc, 3000, 500, 5000, 1000, "Line"); in createTestEnvironment() 208 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 257 UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); in createTestEnvironment() 261 tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc); in createTestEnvironment()
|
H A D | DrawController_DrawView.java | 85 static XComponent xDrawDoc; field in DrawController_DrawView 96 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 146 xDrawDoc = SOF.createDrawDoc(null); in createTestEnvironment() 158 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 183 xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"); in createTestEnvironment() 185 xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 187 xDrawDoc, 3000, 500, 5000, 1000, "Line"); in createTestEnvironment() 194 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 278 UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); in createTestEnvironment() 282 tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc); in createTestEnvironment()
|
H A D | SdGenericDrawPage.java | 86 XComponent xDrawDoc; field in SdGenericDrawPage 98 xDrawDoc = SOF.createDrawDoc(null); in initialize() 111 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 148 UnoRuntime.queryInterface(XDrawPagesSupplier.class,xDrawDoc); in createTestEnvironment() 164 (xDrawDoc, 2000, 1500, 1000, 1000, "Line")); in createTestEnvironment() 166 (xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse")); in createTestEnvironment() 168 (xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle")); in createTestEnvironment() 175 tEnv.addObjRelation("Shape", new InstCreator( xDrawDoc, sDsc)); in createTestEnvironment()
|
H A D | SdMasterPage.java | 87 XComponent xDrawDoc; field in SdMasterPage 99 xDrawDoc = SOF.createDrawDoc(null); in initialize() 112 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 141 UnoRuntime.queryInterface(XMasterPagesSupplier.class, xDrawDoc); in createTestEnvironment() 170 oShapes.add(SOF.createShape(xDrawDoc, 2000, 1500, 1000, 1000, "Line")); in createTestEnvironment() 172 (xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse")); in createTestEnvironment() 174 (xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle")); in createTestEnvironment() 184 tEnv.addObjRelation("Shape", new InstCreator( xDrawDoc, sDsc)); in createTestEnvironment()
|
H A D | AccessibleDrawDocumentView.java | 56 XComponent xDrawDoc; field in AccessibleDrawDocumentView 81 UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc); in createTestEnvironment() 103 XShape oShape = SOF.createShape(xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"); in createTestEnvironment() 104 DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape); in createTestEnvironment() 107 UnoRuntime.queryInterface(XModel.class, xDrawDoc); in createTestEnvironment() 150 util.DesktopTools.closeDoc(xDrawDoc); in cleanup() 170 xDrawDoc = SOF.createDrawDoc(null); in initialize()
|
/aoo41x/main/qadevOOo/tests/java/mod/_forms/ |
H A D | OFormsCollection.java | 78 XComponent xDrawDoc; field in OFormsCollection 85 xDrawDoc = DrawTools.createDrawDoc(((XMultiServiceFactory) tParam.getMSF())); in initialize() 96 XCloseable.class, xDrawDoc); in cleanup() 132 oDP = DrawTools.getDrawPage(xDrawDoc, 0); in createTestEnvironment() 135 .add(FormTools.createControlShape(xDrawDoc, 2000, 1500, 1000, 1000, in createTestEnvironment() 138 .add(FormTools.createControlShape(xDrawDoc, 3000, 4500, 15000, in createTestEnvironment() 141 .add(FormTools.createControlShape(xDrawDoc, 5000, 3500, 7500, 5000, in createTestEnvironment() 145 FormTools.insertForm(xDrawDoc, (XNameContainer) oObj, "SecondForm"); in createTestEnvironment() 156 XComponent.class, xDrawDoc); in createTestEnvironment()
|
/aoo41x/main/qadevOOo/tests/java/mod/_xmloff/Draw/ |
H A D | XMLStylesExporter.java | 72 XComponent xDrawDoc = null; field in XMLStylesExporter 85 xDrawDoc = SOF.createDrawDoc(null); in initialize() 98 xDrawDoc.dispose(); in cleanup() 137 xEx.setSourceDocument(xDrawDoc); in createTestEnvironment() 141 UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xDrawDoc); in createTestEnvironment() 151 Object SC = SOF.createInstance(xDrawDoc, "com.sun.star.style.Style"); in createTestEnvironment() 175 tEnv.addObjRelation("SourceDocument",xDrawDoc); in createTestEnvironment()
|