/trunk/test/testuno/source/fvt/uno/sd/textbox/ |
H A D | LineProperties.java | 91 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeLineStyle() local 93 xShapes.add(xShape); in testShapeLineStyle() 94 ShapeUtil.addPortion(xShape, "test", false); in testShapeLineStyle() 96 XPropertySet.class, xShape); in testShapeLineStyle() 107 xShape=saveAndLoadShape(1,0); in testShapeLineStyle() 108 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeLineStyle() 124 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeLineColor() local 126 xShapes.add(xShape); in testShapeLineColor() 127 ShapeUtil.addPortion(xShape, "test", false); in testShapeLineColor() 129 XPropertySet.class, xShape); in testShapeLineColor() [all …]
|
/trunk/main/slideshow/source/engine/slide/ |
H A D | shapemanagerimpl.cxx | 171 uno::Reference<drawing::XShape> const xShape( in handleMouseReleased() local 178 boost::cref(xShape), in handleMouseReleased() 299 return mpLayerManager->lookupShape(xShape); in lookupShape() 332 const uno::Reference<drawing::XShape>& xShape ) in listenerAdded() argument 335 if( (aIter = mrGlobalListenersMap.find( xShape )) == in listenerAdded() 344 ShapeSharedPtr pShape( lookupShape(xShape) ); in listenerAdded() 358 const uno::Reference<drawing::XShape>& xShape ) in listenerRemoved() argument 362 if( mrGlobalListenersMap.find(xShape) == mrGlobalListenersMap.end() ) in listenerRemoved() 365 ShapeSharedPtr pShape( lookupShape(xShape) ); in listenerRemoved() 376 ShapeSharedPtr pShape( lookupShape(xShape) ); in cursorChanged() [all …]
|
/trunk/main/sc/source/filter/xml/ |
H A D | XMLTableShapeResizer.cxx | 120 aShape.xShape.set(rShape); in AddShape() 233 awt::Point aPoint(aItr->xShape->getPosition()); in ResizeShapes() 234 awt::Size aSize(aItr->xShape->getSize()); in ResizeShapes() 251 aItr->xShape->setPosition(aPoint); in ResizeShapes() 254 aItr->xShape->setSize(aSize); in ResizeShapes() 291 aItr->xShape->setPosition(aPoint); in ResizeShapes() 294 aItr->xShape->setSize(aSize); in ResizeShapes() 299 if (aItr->xShape->getShapeType().equals(sCaptionShape)) in ResizeShapes() 333 aItr->xShape->setPosition(aPoint); in ResizeShapes() 349 aItr->xShape->setPosition(aPoint); in ResizeShapes() [all …]
|
/trunk/main/oox/source/vml/ |
H A D | vmldrawing.cxx | 210 Reference< XShape > xShape; in createAndInsertXShape() local 214 xShape.set( xModelFactory->createInstance( rService ), UNO_QUERY_THROW ); in createAndInsertXShape() 216 rxShapes->add( xShape ); in createAndInsertXShape() 217 xShape->setPosition( Point( rShapeRect.X, rShapeRect.Y ) ); in createAndInsertXShape() 218 xShape->setSize( Size( rShapeRect.Width, rShapeRect.Height ) ); in createAndInsertXShape() 223 OSL_ENSURE( xShape.is(), "Drawing::createAndInsertXShape - cannot instanciate shape object" ); in createAndInsertXShape() 224 return xShape; in createAndInsertXShape() 230 Reference< XShape > xShape; in createAndInsertXControlShape() local 237 …xShape = createAndInsertXShape( CREATE_OUSTRING( "com.sun.star.drawing.ControlShape" ), rxShapes, … in createAndInsertXControlShape() 240 Reference< XControlShape >( xShape, UNO_QUERY_THROW )->setControl( xCtrlModel ); in createAndInsertXControlShape() [all …]
|
/trunk/test/testuno/source/fvt/uno/sd/chart/ |
H A D | ChartData.java | 129 xShapes.add(xShape); in insertDefaultChart() 130 xChartDoc = ChartUtil.retrieveChartDocument(xShape); in insertDefaultChart() 140 XShape xShape = null; in testDataSeries() local 149 xShape = saveAndLoadShape(1, 0); in testDataSeries() 150 xChartDoc = ChartUtil.getChartDocument(xShape); in testDataSeries() 163 XShape xShape = null; in testDataPoint() local 172 xShape = saveAndLoadShape(1, 0); in testDataPoint() 173 xChartDoc = ChartUtil.getChartDocument(xShape); in testDataPoint() 188 XShape xShape = null; in testDataTable() local 200 xShape = saveAndLoadShape(1, 0); in testDataTable() [all …]
|
/trunk/main/chart2/source/view/charttypes/ |
H A D | CandleStickChart.cxx | 276 …uno::Reference< drawing::XShape > xShape( m_xShapeFactory->createInstance( rtl::OUString( RTL_CONS… in createShapes() local 278 xPointGroupShape_Shapes->add(xShape); in createShapes() 279 uno::Reference< beans::XPropertySet > xProp( xShape, uno::UNO_QUERY ); in createShapes() 288 …this->setMappedProperties( xShape, xPointProp, PropertyMapper::getPropertyNameMapForLineSeriesProp… in createShapes() 296 xLossGainTarget->add(xShape); in createShapes() 298 xShape->setPosition( Position3DToAWTPoint( aPosLeftFirst ) ); in createShapes() 304 xShape->setSize( aAWTSize ); in createShapes() 306 uno::Reference< beans::XPropertySet > xProp( xShape, uno::UNO_QUERY ); in createShapes() 337 xPointGroupShape_Shapes->add(xShape); in createShapes() 338 uno::Reference< beans::XPropertySet > xProp( xShape, uno::UNO_QUERY ); in createShapes() [all …]
|
H A D | BarChart.cxx | 304 uno::Reference< drawing::XShape > xShape(NULL); in createDataPoint3D_Bar() local 308 …xShape = m_pShapeFactory->createCylinder( xTarget, rPosition, rSize, nRotateZAngleHundredthDegree … in createDataPoint3D_Bar() 319 xShape = m_pShapeFactory->createCube( xTarget, rPosition, rSize in createDataPoint3D_Bar() 322 return xShape; in createDataPoint3D_Bar() 326 return xShape; in createDataPoint3D_Bar() 763 uno::Reference< drawing::XShape > xShape; in createShapes() local 798 xShape = createDataPoint3D_Bar( in createShapes() 835 … xShape = m_pShapeFactory->createArea2D( xPointGroupShape_Shapes, aPoly ); in createShapes() 839 ShapeFactory::setShapeName(xShape in createShapes() 947 uno::Reference< drawing::XShape > xShape( m_pShapeFactory->createLine2D( in createShapes() local [all …]
|
/trunk/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | ShapeHelper.java | 56 XShape xShape = createShape( xDrawDoc, aPos, aSize, sShapeType ); in createAndInsertShape() local 57 xShapes.add( xShape ); in createAndInsertShape() 59 UnoRuntime.queryInterface( XPropertySet.class, xShape ); in createAndInsertShape() 69 XShape xShape = null; in createShape() local 74 xShape = (XShape)UnoRuntime.queryInterface( in createShape() 76 xShape.setPosition( aPos ); in createShape() 77 xShape.setSize( aSize ); in createShape() 78 return xShape; in createShape() 85 public static XPropertySet addPortion( XShape xShape, String sText, boolean bNewParagraph ) in addPortion() argument 89 UnoRuntime.queryInterface( XText.class, xShape ); in addPortion()
|
H A D | PresentationDemo.java | 145 XShape xShape = ShapeHelper.createShape( xDrawDoc, in main() local 148 xShapes.add( xShape ); in main() 149 ShapeHelper.addPortion( xShape, "click to go", false ); in main() 150 ShapeHelper.addPortion( xShape, "to first page", true ); in main() 152 UnoRuntime.queryInterface( XPropertySet.class, xShape ); in main() 159 xShape = ShapeHelper.createShape( xDrawDoc, in main() 162 xShapes.add( xShape ); in main() 163 ShapeHelper.addPortion( xShape, "click to go", false ); in main() 164 ShapeHelper.addPortion( xShape, "to the second page", true ); in main() 166 UnoRuntime.queryInterface( XPropertySet.class, xShape ); in main()
|
/trunk/main/filter/source/flash/ |
H A D | swfexporter.cxx | 564 Reference< XShape > xShape; in exportShapes() local 568 xShapes->getByIndex( nShape ) >>= xShape; in exportShapes() 570 if( xShape.is() ) in exportShapes() 572 Reference< XShapes > xShapes2( xShape, UNO_QUERY ); in exportShapes() 578 exportShape( xShape, bMaster); in exportShapes() 591 Reference< XPropertySet > xPropSet( xShape, UNO_QUERY ); in exportShape() 609 OUString aShapeType( xShape->getShapeType() ); in exportShape() 628 com::sun::star::awt::Size aSize( xShape->getSize() ); in exportShape() 659 Reference< XComponent > xComponent( xShape, UNO_QUERY ); in exportShape() 797 Reference< XShapes > xShapes( xShape, UNO_QUERY ); in ActionSummer() [all …]
|
/trunk/main/svx/source/accessibility/ |
H A D | ChildrenManagerImpl.cxx | 213 if ( I->mxShape.get() == xShape.get() ) in GetChild() 336 uno::Reference<drawing::XShape> xShape; in CreateListOfVisibleShapes() local 339 xShapeAccess->getByIndex(i) >>= xShape; in CreateListOfVisibleShapes() 340 aPos = xShape->getPosition(); in CreateListOfVisibleShapes() 341 aSize = xShape->getSize(); in CreateListOfVisibleShapes() 692 ChildDescriptor (xShape))); in disposing() 916 if ( I->mxShape.get() == xShape.get() ) in GetAccessibleCaption() 1071 anyShape <<= xShape; in UpdateSelection() 1128 const Reference<drawing::XShape>& xShape) in RegisterAsDisposeListener() argument 1140 const Reference<drawing::XShape>& xShape) in UnregisterAsDisposeListener() argument [all …]
|
/trunk/main/oox/source/xls/ |
H A D | drawingfragment.cxx | 134 if( pxShape ) *pxShape = xShape; in createShapeContext() 135 return new ShapeContext( rParent, rxParentShape, xShape ); in createShapeContext() 140 if( pxShape ) *pxShape = xShape; in createShapeContext() 141 return new ConnectorShapeContext( rParent, rxParentShape, xShape ); in createShapeContext() 146 if( pxShape ) *pxShape = xShape; in createShapeContext() 147 return new GraphicShapeContext( rParent, rxParentShape, xShape ); in createShapeContext() 152 if( pxShape ) *pxShape = xShape; in createShapeContext() 157 ShapePtr xShape( new Shape( rHelper, rAttribs, "com.sun.star.drawing.GroupShape" ) ); in createShapeContext() local 158 if( pxShape ) *pxShape = xShape; in createShapeContext() 159 return new GroupShapeContext( rParent, rHelper, rxParentShape, xShape ); in createShapeContext() [all …]
|
/trunk/main/slideshow/source/engine/animationnodes/ |
H A D | generateevent.cxx | 87 uno::Reference<drawing::XShape> xShape; in generateEvent() local 134 if ((aEvent.Source >>= xShape) && in generateEvent() 135 (pShape = rContext.mpSubsettableShapeManager->lookupShape(xShape)).get()) in generateEvent() 150 if ((aEvent.Source >>= xShape) && in generateEvent() 151 (pShape = rContext.mpSubsettableShapeManager->lookupShape(xShape)).get()) in generateEvent() 166 if ((aEvent.Source >>= xShape) && in generateEvent() 167 (pShape = rContext.mpSubsettableShapeManager->lookupShape(xShape)).get()) in generateEvent() 182 if ((aEvent.Source >>= xShape) && in generateEvent() 183 (pShape = rContext.mpSubsettableShapeManager->lookupShape(xShape)).get()) in generateEvent()
|
/trunk/main/xmloff/source/draw/ |
H A D | animexp.cxx | 284 Reference< XServiceInfo > xServiceInfo( xShape, UNO_QUERY ); in prepare() 289 Reference< XPropertySet > xProps( xShape, UNO_QUERY ); in prepare() 316 Reference< XServiceInfo > xServiceInfo( xShape, UNO_QUERY ); in collect() 321 Reference< XPropertySet > xProps( xShape, UNO_QUERY ); in collect() 348 rExport.getInterfaceToIdentifierMapper().registerReference( xShape ); in collect() 349 aEffect.mxShape = xShape; in collect() 367 rExport.getInterfaceToIdentifierMapper().registerReference( xShape ); in collect() 368 aEffect.mxShape = xShape; in collect() 397 rExport.getInterfaceToIdentifierMapper().registerReference( xShape ); in collect() 398 aEffect.mxShape = xShape; in collect() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlform.cxx | 251 void ReleaseShape() { xShape = 0; } in ReleaseShape() 428 xShape( rShape ), in SwHTMLImageWatcher() 498 awt::Size aSz( xShape->getSize() ); in init() 517 xShape->setSize( aNewSz ); in init() 613 if( evt.Source == xShape ) in disposing() 668 xShape( rShape ), in SwHTMLFormPendingStackData_Impl() 963 return xShape; in InsertControl() 969 return xShape; in InsertControl() 977 xShape->setSize( aTmpSz ); in InsertControl() 1314 return xShape; in InsertControl() [all …]
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbachartobject.cxx | 43 xShape = setShape(); in ScVbaChartObject() 47 oShapeHelper.reset(new ShapeHelper(xShape)); in ScVbaChartObject() 65 xShape.set( xDrawPage->getByIndex(i), uno::UNO_QUERY_THROW ); in setShape() 66 if (xShape->getShapeType().compareToAscii("com.sun.star.drawing.OLE2Shape") == 0 ) in setShape() 68 uno::Reference< beans::XPropertySet > xShapePropertySet(xShape, uno::UNO_QUERY_THROW ); in setShape() 73 xNamedShape.set( xShape, uno::UNO_QUERY_THROW ); in setShape() 74 return xShape; in setShape() 121 xSelectionSupplier->select(uno::makeAny(xShape)); in Activate() 205 return uno::Reference< uno::XInterface >( xShape, uno::UNO_QUERY ); in getUnoObject()
|
H A D | vbasheetobjects.cxx | 168 … uno::Reference< drawing::XShape > xShape( mxShapes->getByIndex( nIndex ), uno::UNO_QUERY_THROW ); in collectShapes() local 169 if( implPickShape( xShape ) ) in collectShapes() 170 maShapes.push_back( xShape ); in collectShapes() 177 xShape->setPosition( rPos ); in createShape() 178 xShape->setSize( rSize ); in createShape() 179 implOnShapeCreated( xShape ); in createShape() 180 return xShape; in createShape() 199 uno::Reference< drawing::XShape > xShape( rSource, uno::UNO_QUERY_THROW ); in createCollectionObject() local 200 uno::Reference< excel::XSheetObject > xSheetObject( implCreateVbaObject( xShape ) ); in createCollectionObject() 348 sal_Int32 nIndex = mxContainer->insertShape( xShape ); in Add() [all …]
|
/trunk/main/oox/source/ppt/ |
H A D | animationspersist.cxx | 56 Reference< XShape > xShape; in convert() local 57 rTarget >>= xShape; in convert() 58 aParaTarget.Shape = xShape; in convert() 61 Reference< XText > xText( xShape, UNO_QUERY ); in convert() 110 Reference< XShape > xShape( pShape->getXShape() ); in convert() local 111 OSL_ENSURE( xShape.is(), "fail to get XShape from shape" ); in convert() 112 if( xShape.is() ) in convert() 114 rTarget <<= xShape; in convert()
|
/trunk/main/filter/source/placeware/ |
H A D | exporter.cxx | 432 Reference< XShape > xShape; in exportPage() local 433 xDrawPage->getByIndex( nShape ) >>= xShape; in exportPage() 435 if( xShape.is() && xShape->getShapeType() == szTitleTextShape ) in exportPage() 437 Reference< XPropertySet > xPropSet( xShape, UNO_QUERY ); in exportPage() 445 Reference< XText > xText( xShape, UNO_QUERY ); in exportPage() 467 Reference< XShape > xShape; in exportPage() local 468 xNotesPage->getByIndex( nShape ) >>= xShape; in exportPage() 470 if( xShape.is() && (xShape->getShapeType() == szNotesShape) ) in exportPage() 472 Reference< XPropertySet > xPropSet( xShape, UNO_QUERY ); in exportPage() 480 Reference< XText > xText( xShape, UNO_QUERY ); in exportPage()
|
/trunk/test/testuno/source/testlib/uno/ |
H A D | ChartUtil.java | 39 public static XChartDocument retrieveChartDocument(XShape xShape) in retrieveChartDocument() argument 45 XPropertySet.class, xShape); in retrieveChartDocument() 62 XShape xShape) throws Exception { in retrieveChart2Document() argument 67 XPropertySet.class, xShape); in retrieveChart2Document() 126 public static XChartDocument getChartDocument(XShape xShape) in getChartDocument() argument 130 XPropertySet.class, xShape); in getChartDocument() 144 public static com.sun.star.chart2.XChartDocument getChart2Document(XShape xShape) in getChart2Document() argument 148 XPropertySet.class, xShape); in getChart2Document()
|
/trunk/main/sd/source/ui/accessibility/ |
H A D | AccessibleDrawDocumentView.cxx | 561 if ( xShape.is() ) in getGroupPosition() 564 SdrObject* pObj = GetSdrObjectFromXShape(xShape); in getGroupPosition() 567 vXShapes.push_back( xShape ); in getGroupPosition() 758 if( xShape.is() ) in implIsSelected() 761 if( xShapes->getByIndex( i ) == xShape ) in implIsSelected() 833 if( xShape.is() ) in implSelect() 855 xShapes->add( xShape ); in implSelect() 857 xShapes->remove( xShape ); in implSelect() 942 uno::Reference< ::com::sun::star::drawing::XShape > xShape; in get_AccFlowTo() local 943 rAny >>= xShape; in get_AccFlowTo() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | xeescher.cxx | 305 void XclExpControlHelper::ConvertSheetLinks( Reference< XShape > xShape ) in ConvertSheetLinks() argument 387 ScfPropertySet aCtrlProp( XclControlHelper::GetControlModel( xShape ) ); in XclExpOcxControlObj() 411 Reference< XPropertySet > xShapePS( xShape, UNO_QUERY ); in XclExpOcxControlObj() 430 ConvertSheetLinks( xShape ); in XclExpOcxControlObj() 505 ScfPropertySet aCtrlProp( XclControlHelper::GetControlModel( xShape ) ); in XclExpTbxControlObj() 506 if( !xShape.is() || !aCtrlProp.Is() ) in XclExpTbxControlObj() 509 mnHeight = xShape->getSize().Height; in XclExpTbxControlObj() 559 if( SdrObject* pSdrObj = SdrObject::getSdrObjectFromXShape( xShape ) ) in XclExpTbxControlObj() 737 ConvertSheetLinks( xShape ); in XclExpTbxControlObj() 945 SdrObject* pSdrObj = SdrObject::getSdrObjectFromXShape( xShape ); in XclExpChartObj() [all …]
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | SdUnoDrawView.cxx | 200 Reference< drawing::XShape > xShape; in select() local 201 aSelection >>= xShape; in select() 203 if(xShape.is()) in select() 205 SvxShape* pShape = SvxShape::getImplementation( xShape ); in select() 226 xShapes->getByIndex(i) >>= xShape; in select() 227 if( xShape.is() ) in select() 229 SvxShape* pShape = SvxShape::getImplementation(xShape); in select() 325 Reference< drawing::XShape > xShape( pObj->getUnoShape(), UNO_QUERY ); in getSelection() local 327 if(xShape.is()) in getSelection() 328 xShapes->add(xShape); in getSelection()
|
/trunk/main/chart2/workbench/addin/ |
H A D | sampleaddin.cxx | 473 uno::Reference< drawing::XShape > xShape( mxChartDoc->getDiagram(), uno::UNO_QUERY ); in getSize() local 474 if( xShape.is()) in getSize() 475 return xShape->getSize(); in getSize() 486 uno::Reference< drawing::XShape > xShape( mxChartDoc->getDiagram(), uno::UNO_QUERY ); in setSize() local 487 if( xShape.is()) in setSize() 488 xShape->setSize( aSize ); in setSize() 497 uno::Reference< drawing::XShape > xShape( mxChartDoc->getDiagram(), uno::UNO_QUERY ); in getPosition() local 498 if( xShape.is()) in getPosition() 499 return xShape->getPosition(); in getPosition() 511 if( xShape.is()) in setPosition() [all …]
|
/trunk/main/reportdesign/source/core/sdr/ |
H A D | ReportDrawPage.cxx | 72 uno::Reference< drawing::XShape > xShape; in _CreateShape() local 91 xShape.set(*pShape,uno::UNO_QUERY); in _CreateShape() 98 xShape.set(xShape2,uno::UNO_QUERY); in _CreateShape() 130 xShape.set(*pShape,uno::UNO_QUERY); in _CreateShape() 135 if ( !xShape.is() ) in _CreateShape() 136 xShape.set( SvxDrawPage::_CreateShape( pObj ) ); in _CreateShape() 141 …xRet.set( pRptModel->createShape(sServiceName,xShape,bChangeOrientation ? 0 : 1), uno::UNO_QUERY_T… in _CreateShape()
|