/trunk/main/sdext/source/minimizer/ |
H A D | graphiccollector.cxx | 235 Reference< XShape > xShape( rxShapes->getByIndex( i ), UNO_QUERY_THROW ); in ImpCollectGraphicObjects() local 236 const OUString sShapeType( xShape->getShapeType() ); in ImpCollectGraphicObjects() 239 Reference< XShapes > xShapes( xShape, UNO_QUERY_THROW ); in ImpCollectGraphicObjects() 245 ImpAddGraphicEntity( rxContext, xShape, rGraphicSettings, rGraphicEntities ); in ImpCollectGraphicObjects() 249 Reference< XPropertySet > xShapePropertySet( xShape, UNO_QUERY_THROW ); in ImpCollectGraphicObjects() 250 awt::Size aLogicalSize( xShape->getSize() ); in ImpCollectGraphicObjects() 360 Reference< XShape > xShape( rxShapes->getByIndex( i ), UNO_QUERY_THROW ); in ImpCountGraphicObjects() local 361 const OUString sShapeType( xShape->getShapeType() ); in ImpCountGraphicObjects() 364 Reference< XShapes > xShapes( xShape, UNO_QUERY_THROW ); in ImpCountGraphicObjects() 376 Reference< XPropertySet > xShapePropertySet( xShape, UNO_QUERY_THROW ); in ImpCountGraphicObjects() [all …]
|
/trunk/main/wizards/com/sun/star/wizards/document/ |
H A D | FormHandler.java | 198 xDrawPage.remove(oLabelControl.xShape); in initializeBasicControlValues() 199 xDrawPage.remove(oTextControl.xShape); in initializeBasicControlValues() 288 … XShape xShape = UnoRuntime.queryInterface(XShape.class, xDrawPage.getByIndex(i)); in removeControlsofForm() local 289 xDrawPage.remove(xShape); in removeControlsofForm() 473 XShape xShape = UnoRuntime.queryInterface(XShape.class, xDrawPage.getByIndex(i)); in moveShapesToNirwana() local 474 xShape.setPosition(new Point(this.iXNirwanaPos, this.iYNirwanaPos)); in moveShapesToNirwana() 487 XShape xShape = UnoRuntime.queryInterface(XShape.class, xDrawPage.getByIndex(i)); in removeAllShapes() local 488 removeShape(xShape); in removeAllShapes() 507 XShape xShape = UnoRuntime.queryInterface(XShape.class, xDrawPage.getByIndex(i)); in removeNirwanaShapes() local 508 if (xShape.getPosition().Y < this.iYNirwanaPos) in removeNirwanaShapes() [all …]
|
H A D | TimeStampControl.java | 71 xShapes.add(oDateControl.xShape); in TimeStampControl() 72 xShapes.add(oTimeControl.xShape); in TimeStampControl() 124 oDateControl.xShape.setSize(new Size(ndatewidth, _aSize.Height)); in setSize() 125 oTimeControl.xShape.setSize(new Size(ntimewidth, _aSize.Height)); in setSize() 135 … int ncontrolwidth = oDateControl.xShape.getSize().Width + oTimeControl.xShape.getSize().Width; in getSize() 136 return new Size(ncontrolwidth, oDateControl.xShape.getSize().Height); in getSize()
|
/trunk/main/sd/source/core/ |
H A D | CustomAnimationEffect.cxx | 297 Reference< XText > xShape; in getNumberOfSubitems() local 298 aTarget >>= xShape; in getNumberOfSubitems() 299 if( !xShape.is() ) in getNumberOfSubitems() 312 if( xShape.is() ) in getNumberOfSubitems() 900 Reference< XShape > xShape; in getTargetShape() local 901 maTarget >>= xShape; in getTargetShape() 902 if( !xShape.is() ) in getTargetShape() 906 xShape = aParaTarget.Shape; in getTargetShape() 909 return xShape; in getTargetShape() 1867 aTarget >>= xShape; in append() [all …]
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unopage.cxx | 536 xShape->setPosition( aPos ); in _CreateSdrObject() 539 xShape->setSize( aSize ); in _CreateSdrObject() 1417 if(!xShape.is()) in _CreateShape() 1493 return xShape; in _CreateShape() 1591 Reference< drawing::XShape > xShape; in combine() local 1593 return xShape; in combine() 1614 return xShape; in combine() 1646 return xShape; in bind() 1667 return xShape; in bind() 2498 SdGenericDrawPage::add( xShape ); in add() [all …]
|
/trunk/main/reportdesign/source/core/api/ |
H A D | Section.cxx | 630 uno::Reference< drawing::XShape> xShape(xClone->createClone(),uno::UNO_QUERY); in lcl_copySection() local 631 _xDest->add(xShape); in lcl_copySection() 637 void SAL_CALL OSection::add( const uno::Reference< drawing::XShape >& xShape ) throw (uno::RuntimeE… in add() argument 643 m_xDrawPage->add(xShape); in add() 646 notifyElementAdded(xShape); in add() 649 void SAL_CALL OSection::remove( const uno::Reference< drawing::XShape >& xShape ) throw (uno::Runti… in remove() argument 655 m_xDrawPage->remove(xShape); in remove() 658 notifyElementRemoved(xShape); in remove() 700 void OSection::notifyElementAdded(const uno::Reference< drawing::XShape >& xShape ) in notifyElementAdded() argument 704 …nt aEvent(static_cast<container::XContainer*>(this), uno::Any(), uno::makeAny(xShape), uno::Any()); in notifyElementAdded() [all …]
|
/trunk/main/reportdesign/source/core/sdr/ |
H A D | RptObject.cxx | 468 if ( xShape.is() ) in getUnoShapeOf() 469 return xShape; in getUnoShapeOf() 471 xShape = _rSdrObject.SdrObject::getUnoShape(); in getUnoShapeOf() 472 if ( !xShape.is() ) in getUnoShapeOf() 473 return xShape; in getUnoShapeOf() 475 ensureSdrObjectOwnership( xShape ); in getUnoShapeOf() 477 m_xKeepShapeAlive = xShape; in getUnoShapeOf() 478 return xShape; in getUnoShapeOf() 612 m_xReportComponent.set(xShape,uno::UNO_QUERY); in getUnoShape() 614 return xShape; in getUnoShape() [all …]
|
/trunk/main/chart2/source/controller/main/ |
H A D | ShapeController.cxx | 627 Reference< drawing::XShape > xShape; in getFirstAdditionalShape() local 628 if ( xDrawPageShapes->getByIndex( i ) >>= xShape ) in getFirstAdditionalShape() 630 if ( xShape.is() && xShape != xChartRoot ) in getFirstAdditionalShape() 632 xFirstShape = xShape; in getFirstAdditionalShape() 667 Reference< drawing::XShape > xShape; in getLastAdditionalShape() local 668 if ( xDrawPageShapes->getByIndex( i ) >>= xShape ) in getLastAdditionalShape() 670 if ( xShape.is() && xShape != xChartRoot ) in getLastAdditionalShape() 672 xLastShape = xShape; in getLastAdditionalShape()
|
/trunk/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | Organigram.java | 144 com.sun.star.drawing.XShape xShape = (com.sun.star.drawing.XShape) in drawOrganigram() local 147 xShape.setPosition(new com.sun.star.awt.Point(shapeX, levelY)); in drawOrganigram() 148 xShape.setSize(new com.sun.star.awt.Size(shapeWidth, shapeHeight)); in drawOrganigram() 149 xDrawPage.add(xShape); in drawOrganigram() 153 com.sun.star.text.XText.class, xShape); in drawOrganigram() 159 xStartShape = xShape; in drawOrganigram() 171 xConnectorProps.setPropertyValue("EndShape", xShape); in drawOrganigram()
|
H A D | ControlAndSelectDemo.java | 97 XShape xShape = (XShape)UnoRuntime.queryInterface( XShape.class, xObj ); in main() local 98 xShape.setPosition( new Point( 1000, 1000 ) ); in main() 99 xShape.setSize( new Size( 2000, 2000 ) ); in main() 100 xShapes.add( xShape ); in main() 107 XControlShape.class, xShape ); in main() 123 xSelection.add( xShape ); in main()
|
/trunk/main/slideshow/source/engine/ |
H A D | slideshowimpl.cxx | 299 uno::Reference<drawing::XShape> const& xShape ) 302 uno::Reference<drawing::XShape> const& xShape ) 333 uno::Reference<drawing::XShape> const& xShape ) 337 uno::Reference<drawing::XShape> const& xShape ) 1887 uno::Reference<drawing::XShape> const& xShape ) in addShapeEventListener() argument 1899 if( (aIter=maShapeEventListeners.find( xShape )) == in addShapeEventListener() 1905 xShape, in addShapeEventListener() 1920 uno::Reference<drawing::XShape> const& xShape ) in removeShapeEventListener() argument 1968 ShapeCursorMap::value_type(xShape, in setShapeCursor() 1976 maShapeCursors.erase( xShape ); in setShapeCursor() [all …]
|
/trunk/main/svx/source/accessibility/ |
H A D | ChildrenManagerImpl.hxx | 182 ::com::sun::star::drawing::XShape>& xShape) 311 ::com::sun::star::drawing::XShape>& xShape) 453 ::com::sun::star::drawing::XShape>& xShape); 460 ::com::sun::star::drawing::XShape>& xShape); 469 ::com::sun::star::drawing::XShape>& xShape); 476 ::com::sun::star::drawing::XShape>& xShape); 534 ::com::sun::star::drawing::XShape>& xShape);
|
/trunk/main/chart2/source/view/main/ |
H A D | VTitle.cxx | 132 uno::Reference< drawing::XShape > xShape( in createShapes() local 135 m_xTarget->add(xShape); in createShapes() 136 m_xShape = xShape; in createShapes() 139 uno::Reference< text::XText > xText( xShape, uno::UNO_QUERY ); in createShapes() 142 uno::Reference< beans::XPropertySet > xShapeProp( xShape, uno::UNO_QUERY ); in createShapes() 206 uno::Reference< beans::XPropertySet > xTargetProps( xShape, uno::UNO_QUERY ); in createShapes() 240 uno::Reference< beans::XPropertySet > xTargetProps( xShape, uno::UNO_QUERY ); in createShapes()
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | drawshape.cxx | 410 DrawShape::DrawShape( const uno::Reference< drawing::XShape >& xShape, in DrawShape() argument 415 mxShape( xShape ), in DrawShape() 424 maBounds( getAPIShapeBounds( xShape ) ), in DrawShape() 462 uno::Reference<lang::XComponent>(xShape, uno::UNO_QUERY), in DrawShape() 472 DrawShape::DrawShape( const uno::Reference< drawing::XShape >& xShape, in DrawShape() argument 477 mxShape( xShape ), in DrawShape() 485 maBounds( getAPIShapeBounds( xShape ) ), in DrawShape() 575 const uno::Reference< drawing::XShape >& xShape, in create() 581 DrawShapeSharedPtr pShape( new DrawShape(xShape, in create() 607 const uno::Reference< drawing::XShape >& xShape, in create() [all …]
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | vbahelper.cxx | 881 m_pShapeHelper.reset( new ShapeHelper( xShape ) ); in ConcreteXShapeGeometryAttributes() 1204 if( !xShape.is() ) in ShapeHelper() 1218 css::awt::Size aSize = xShape->getSize(); in setHeight() 1220 xShape->setSize(aSize); in setHeight() 1231 return Millimeter::getInPoints(xShape->getSize().Width); in getWidth() 1238 css::awt::Size aSize = xShape->getSize(); in setWidth() 1240 xShape->setSize(aSize); in setWidth() 1257 css::awt::Point aPoint = xShape->getPosition(); in setLeft() 1259 xShape->setPosition(aPoint); in setLeft() 1271 css::awt::Point aPoint = xShape->getPosition(); in setTop() [all …]
|
H A D | vbashape.cxx | 54 …xShape, const uno::Reference< drawing::XShapes >& xShapes, const uno::Reference< frame::XModel >& … in ScVbaShape() argument 61 …xShape, const uno::Reference< frame::XModel >& xModel ) throw( lang::IllegalArgumentException ) : … in ScVbaShape() argument 86 uno::Reference< drawing::XShape > xShape( rEventObject.Source, uno::UNO_QUERY ); in disposing() local 89 if ( xShape.is() ) in disposing() 133 ScVbaShape::getType( const css::uno::Reference< drawing::XShape > xShape ) throw (uno::RuntimeExcep… in getType() argument 136 uno::Reference< drawing::XShapeDescriptor > xShapeDescriptor( xShape, uno::UNO_QUERY_THROW ); in getType() 154 uno::Reference< beans::XPropertySet > xPropertySet( xShape, uno::UNO_QUERY_THROW ); in getType()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unodraw.cxx | 316 uno::Reference< XInterface > xShape; in GetInterface() local 323 xShape = *(cppu::OWeakObject*)pxShape; in GetInterface() 326 xShape = pObj->getUnoShape(); in GetInterface() 328 return xShape; in GetInterface() 633 GetSvxPage()->add(xShape); in add() 940 if(xShape.is()) // default Ctor in SwXShape() 957 xShape = 0; in SwXShape() 2784 SwXShape(xShape) in SwXGroupShape() 2832 xShapes->add(xShape); in add() 2838 if(xShape.is()) in add() [all …]
|
/trunk/main/reportdesign/source/filter/xml/ |
H A D | xmlTable.cxx | 221 uno::Reference<report::XShape> xShape(*aCellIter,uno::UNO_QUERY); in EndElement() local 222 if ( xShape.is() ) in EndElement() 224 xShape->setPositionX(xShape->getPositionX() + nLeftMargin); in EndElement() 290 uno::Reference<report::XShape> xShape(_xElement,uno::UNO_QUERY); in addCell() local 298 if ( !xShape.is() ) in addCell() 307 if ( !xShape.is() ) in addCell()
|
/trunk/main/offapi/com/sun/star/sheet/ |
H A D | SpreadsheetDrawPage.idl | 52 xShape = xProv.createInstance( "com.sun.star.drawing.LineShape" ) 53 xShape.LineColor = rgb( 255, 0, n%+20 ) 54 xShape.LineWidth = 20 55 xShape.Position = Point( x%, 2*x% ) 56 xShape.Size = Size( 300-x%, 20 ) 57 xPage.add( xShape )
|
/trunk/main/xmloff/source/draw/ |
H A D | shapeexport3.cxx | 59 void XMLShapeExport::ImpExport3DSceneShape( const uno::Reference< drawing::XShape >& xShape, XmlSha… in ImpExport3DSceneShape() argument 61 uno::Reference< drawing::XShapes > xShapes(xShape, uno::UNO_QUERY); in ImpExport3DSceneShape() 64 uno::Reference< beans::XPropertySet > xPropSet( xShape, uno::UNO_QUERY ); in ImpExport3DSceneShape() 78 ImpExportDescription( xShape ); // #i68101# in ImpExport3DSceneShape() 79 ImpExportEvents( xShape ); in ImpExport3DSceneShape() 92 aUpperLeft = xShape->getPosition(); in ImpExport3DSceneShape() 105 const uno::Reference< drawing::XShape >& xShape, in ImpExport3DShape() 108 const uno::Reference< beans::XPropertySet > xPropSet(xShape, uno::UNO_QUERY); in ImpExport3DShape()
|
/trunk/main/filter/source/svg/ |
H A D | svgimport.cxx | 127 …Reference< XShape > xShape( Reference< XMultiServiceFactory >( mxDstDoc, UNO_QUERY )->createInst… in implImport() local 129 if( xPagePropSet.is() && xShapes.is() && xShape.is() ) in implImport() 131 Reference< XPropertySet > xPropSet( xShape, UNO_QUERY ); in implImport() 139 xShapes->add( xShape ); in implImport() 164 xShape->setPosition( aPos ); in implImport() 165 xShape->setSize( aSize ); in implImport()
|
/trunk/main/reportdesign/source/ui/misc/ |
H A D | RptUndo.cxx | 65 uno::Reference< drawing::XShape> xShape(_xSection->getByIndex(nCount-1),uno::UNO_QUERY); in lcl_collectElements() local 66 _rControls.push_back(xShape); in lcl_collectElements() 67 _xSection->remove(xShape); in lcl_collectElements() 141 uno::Reference< drawing::XShape> xShape = *aIter; in ~OSectionUndo() local 142 rEnv.RemoveElement(xShape); in ~OSectionUndo() 145 SvxShape* pShape = SvxShape::getImplementation( xShape ); in ~OSectionUndo() 152 comphelper::disposeComponent(xShape); in ~OSectionUndo()
|
/trunk/main/slideshow/source/engine/animationnodes/ |
H A D | animationbasenode.cxx | 70 uno::Reference< drawing::XShape > xShape( mxAnimateNode->getTarget(), in AnimationBaseNode() local 107 if( xShape.is() ) in AnimationBaseNode() 110 xShape ); in AnimationBaseNode() 121 xShape = aTarget.Shape; in AnimationBaseNode() 123 ENSURE_OR_THROW( xShape.is(), "invalid shape in ParagraphTarget" ); in AnimationBaseNode() 126 xShape ); in AnimationBaseNode()
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | FormLayer.java | 101 XControlShape xShape = (XControlShape)UnoRuntime.queryInterface( XControlShape.class, in createControlAndShape() local 105 xShape.setSize( new Size( nWidth * 100, nHeight * 100 ) ); in createControlAndShape() 106 xShape.setPosition( new Point( nXPos * 100, nYPos * 100 ) ); in createControlAndShape() 109 XPropertySet xShapeProps = UNO.queryPropertySet( xShape ); in createControlAndShape() 125 xShape.setControl( xModel ); in createControlAndShape() 131 xDocShapes.add( xShape ); in createControlAndShape()
|
/trunk/main/xmloff/source/chart/ |
H A D | SchXMLExport.cxx | 1408 addPosition( xShape ); in parseDocument() 1451 if( xShape.is()) in parseDocument() 1452 addPosition( xShape ); in parseDocument() 1580 if( ! xShape.is()) in parseDocument() 2071 if( xShape.is()) in exportPlotArea() 2073 addPosition( xShape ); in exportPlotArea() 2074 addSize( xShape ); in exportPlotArea() 2357 if( xShape.is()) in exportAxisTitle() 2358 addPosition( xShape ); in exportAxisTitle() 3601 if( xShape.is()) in addPosition() [all …]
|