Lines Matching refs:xShape
380 sal_Bool ShapeExport::NonEmptyText( Reference< XShape > xShape ) in NonEmptyText() argument
382 Reference< XSimpleText > xText( xShape, UNO_QUERY ); in NonEmptyText()
387 ShapeExport& ShapeExport::WriteBezierShape( Reference< XShape > xShape, sal_Bool bClosed ) in WriteBezierShape() argument
394 PolyPolygon aPolyPolygon = EscherPropertyContainer::GetPolyPolygon( xShape ); in WriteBezierShape()
403 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteBezierShape()
407 WriteNonVisualProperties( xShape ); in WriteBezierShape()
414 Reference< XPropertySet > xProps( xShape, UNO_QUERY ); in WriteBezierShape()
424 WriteTextBox( xShape ); in WriteBezierShape()
431 ShapeExport& ShapeExport::WriteClosedBezierShape( Reference< XShape > xShape ) in WriteClosedBezierShape() argument
433 return WriteBezierShape( xShape, TRUE ); in WriteClosedBezierShape()
436 ShapeExport& ShapeExport::WriteOpenBezierShape( Reference< XShape > xShape ) in WriteOpenBezierShape() argument
438 return WriteBezierShape( xShape, FALSE ); in WriteOpenBezierShape()
441 ShapeExport& ShapeExport::WriteCustomShape( Reference< XShape > xShape ) in WriteCustomShape() argument
445 Reference< XPropertySet > rXPropSet( xShape, UNO_QUERY ); in WriteCustomShape()
446 SdrObjCustomShape* pShape = (SdrObjCustomShape*) GetSdrObjectFromXShape( xShape ); in WriteCustomShape()
451 …MSO_SPT eShapeType = EscherPropertyContainer::GetCustomShapeType( xShape, nMirrorFlags, sShapeType… in WriteCustomShape()
484 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteCustomShape()
488 WriteNonVisualProperties( xShape ); in WriteCustomShape()
493 WriteShapeTransformation( xShape ); in WriteCustomShape()
507 WriteTextBox( xShape ); in WriteCustomShape()
514 ShapeExport& ShapeExport::WriteEllipseShape( Reference< XShape > xShape ) in WriteEllipseShape() argument
527 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteEllipseShape()
531 WriteNonVisualProperties( xShape ); in WriteEllipseShape()
536 WriteShapeTransformation( xShape ); in WriteEllipseShape()
538 Reference< XPropertySet > xProps( xShape, UNO_QUERY ); in WriteEllipseShape()
547 WriteTextBox( xShape ); in WriteEllipseShape()
587 ShapeExport& ShapeExport::WriteGraphicObjectShape( Reference< XShape > xShape ) in WriteGraphicObjectShape() argument
591 if( NonEmptyText( xShape ) ) in WriteGraphicObjectShape()
593 WriteTextShape( xShape ); in WriteGraphicObjectShape()
603 Reference< XPropertySet > xShapeProps( xShape, UNO_QUERY ); in WriteGraphicObjectShape()
621 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteGraphicObjectShape()
631 WriteNonVisualProperties( xShape ); in WriteGraphicObjectShape()
649 WriteShapeTransformation( xShape ); in WriteGraphicObjectShape()
658 ShapeExport& ShapeExport::WriteConnectorShape( Reference< XShape > xShape ) in WriteConnectorShape() argument
668 Reference< XPropertySet > rXPropSet( xShape, UNO_QUERY ); in WriteConnectorShape()
669 Reference< XPropertyState > rXPropState( xShape, UNO_QUERY ); in WriteConnectorShape()
701 EscherConnectorListEntry aConnectorEntry( xShape, aStartPoint, rXShapeA, aEndPoint, rXShapeB ); in WriteConnectorShape()
721 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteConnectorShape()
736 Reference< XPropertySet > xShapeProps( xShape, UNO_QUERY ); in WriteConnectorShape()
742 WriteTextBox( xShape ); in WriteConnectorShape()
749 ShapeExport& ShapeExport::WriteLineShape( Reference< XShape > xShape ) in WriteLineShape() argument
760 PolyPolygon aPolyPolygon = EscherPropertyContainer::GetPolyPolygon( xShape ); in WriteLineShape()
772 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteLineShape()
776 WriteNonVisualProperties( xShape ); in WriteLineShape()
781 WriteShapeTransformation( xShape, bFlipH, bFlipV ); in WriteLineShape()
783 Reference< XPropertySet > xShapeProps( xShape, UNO_QUERY ); in WriteLineShape()
789 WriteTextBox( xShape ); in WriteLineShape()
796 ShapeExport& ShapeExport::WriteNonVisualDrawingProperties( Reference< XShape > xShape, const char* … in WriteNonVisualDrawingProperties() argument
799 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteNonVisualDrawingProperties()
812 ShapeExport& ShapeExport::WriteRectangleShape( Reference< XShape > xShape ) in WriteRectangleShape() argument
822 Reference< XPropertySet > xShapeProps( xShape, UNO_QUERY ); in WriteRectangleShape()
836 XML_id, I32S( GetNewShapeID( xShape ) ), in WriteRectangleShape()
840 WriteNonVisualProperties( xShape ); in WriteRectangleShape()
845 WriteShapeTransformation( xShape ); in WriteRectangleShape()
847 Reference< XPropertySet > xProps( xShape, UNO_QUERY ); in WriteRectangleShape()
856 WriteTextBox( xShape ); in WriteRectangleShape()
896 ShapeExport& ShapeExport::WriteShape( Reference< XShape > xShape ) in WriteShape() argument
898 OUString sShapeType = xShape->getShapeType(); in WriteShape()
904 return WriteUnknownShape( xShape ); in WriteShape()
906 (this->*(aConverter->second))( xShape ); in WriteShape()
911 ShapeExport& ShapeExport::WriteTextBox( Reference< XShape > xShape ) in WriteTextBox() argument
913 if( NonEmptyText( xShape ) ) in WriteTextBox()
918 WriteText( xShape ); in WriteTextBox()
925 ShapeExport& ShapeExport::WriteTextShape( Reference< XShape > xShape ) in WriteTextShape() argument
933 WriteNonVisualDrawingProperties( xShape, IDS( TextShape ) ); in WriteTextShape()
935 WriteNonVisualProperties( xShape ); in WriteTextShape()
940 WriteShapeTransformation( xShape ); in WriteTextShape()
942 WriteBlipFill( Reference< XPropertySet >(xShape, UNO_QUERY ), S( "GraphicURL" ) ); in WriteTextShape()
945 WriteTextBox( xShape ); in WriteTextShape()