Lines Matching refs:xDrawDoc
69 XComponent xDrawDoc = null; in main() local
95 xDrawDoc = Helper.createDocument( xOfficeContext, in main()
105 Demo_PageCreation( xDrawDoc, 10 ); in main()
106 Demo_PageNaming( xDrawDoc, "this page is called: LastPage" ); 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()
117 public static void Demo_PageCreation( XComponent xDrawDoc, int n ) in Demo_PageCreation() argument
124 for ( nDrawPages = PageHelper.getDrawPageCount( xDrawDoc ); in Demo_PageCreation()
126 PageHelper.insertNewDrawPageByIndex( xDrawDoc, nDrawPages ); in Demo_PageCreation()
129 for ( nMasterPages = PageHelper.getMasterPageCount( xDrawDoc ); in Demo_PageCreation()
131 PageHelper.insertNewMasterPageByIndex( xDrawDoc, nMasterPages ); in Demo_PageCreation()
137 XDrawPage xDrawPage = PageHelper.getDrawPageByIndex( xDrawDoc, i ); in Demo_PageCreation()
139 xDrawDoc, i / 2 ); in Demo_PageCreation()
152 XComponent xDrawDoc, String sLastPageName ) in Demo_PageNaming() argument
156 XDrawPage xLastPage = PageHelper.getDrawPageByIndex( xDrawDoc, in Demo_PageNaming()
157 PageHelper.getDrawPageCount( xDrawDoc ) - 1 ); in Demo_PageNaming()
174 public static void Demo_ShapeCreation( XComponent xDrawDoc ) in Demo_ShapeCreation() argument
178 boolean bIsImpressDocument = PageHelper.isImpressDocument( xDrawDoc ); in Demo_ShapeCreation()
180 int nDrawingPages = PageHelper.getDrawPageCount( xDrawDoc ); in Demo_ShapeCreation()
181 int nMasterPages = PageHelper.getMasterPageCount( xDrawDoc ); in Demo_ShapeCreation()
201 xDrawDoc ); in Demo_ShapeCreation()
207 xDrawDoc, i ); in Demo_ShapeCreation()
218 XDrawPage xDrawPage = PageHelper.getDrawPageByIndex( xDrawDoc, i ); in Demo_ShapeCreation()
245 ShapeHelper.createAndInsertShape( xDrawDoc, xShapes, in Demo_ShapeCreation()
259 public static void Demo_PolyPolygonBezier( XComponent xDrawDoc ) in Demo_PolyPolygonBezier() argument
263 XShape xPolyPolygonBezier = ShapeHelper.createShape( xDrawDoc, in Demo_PolyPolygonBezier()
273 if ( PageHelper.isImpressDocument( xDrawDoc ) ) in Demo_PolyPolygonBezier()
274 xDrawPage = PageHelper.getMasterPageByIndex( xDrawDoc, 0 ); in Demo_PolyPolygonBezier()
276 xDrawPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); in Demo_PolyPolygonBezier()
351 public static void Demo_Group1( XComponent xDrawDoc ) in Demo_Group1() argument
355 XShape xGroup = ShapeHelper.createShape( xDrawDoc, in Demo_Group1()
362 XDrawPage xDrawPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); in Demo_Group1()
377 XShape xRect1 = ShapeHelper.createShape( xDrawDoc, in Demo_Group1()
381 XShape xRect2 = ShapeHelper.createShape( xDrawDoc, in Demo_Group1()
397 public static void Demo_Group2( XComponent xDrawDoc ) in Demo_Group2() argument
401 XDrawPage xDrawPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); in Demo_Group2()