LibreOffice Module svx (master)  1
Classes | Functions | Variables
unoshape.cxx File Reference
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/drawing/CircleKind.hpp>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <vcl/svapp.hxx>
#include <svl/itemprop.hxx>
#include <o3tl/any.hxx>
#include <osl/mutex.hxx>
#include <editeng/unotext.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdoole2.hxx>
#include <svx/shapepropertynotifier.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/servicehelper.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/virdev.hxx>
#include <svx/sdangitm.hxx>
#include <svx/svdlayer.hxx>
#include <svx/svdopage.hxx>
#include <svx/xflbstit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnedit.hxx>
#include <svx/svdmodel.hxx>
#include <svx/globl3d.hxx>
#include <svx/unopage.hxx>
#include <svx/unoshape.hxx>
#include <svx/unoshtxt.hxx>
#include <svx/svdpage.hxx>
#include <svx/unoshprp.hxx>
#include <svx/svdograf.hxx>
#include <svx/unoapi.hxx>
#include <svx/svdomeas.hxx>
#include <svx/svdpool.hxx>
#include <tools/stream.hxx>
#include <tools/gen.hxx>
#include <svx/svdoedge.hxx>
#include <svx/svdocapt.hxx>
#include <svx/obj3d.hxx>
#include <svx/xflftrit.hxx>
#include <svx/xtable.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflgrit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlndsit.hxx>
#include <svx/unomaster.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include "gluepts.hxx"
#include "shapeimpl.hxx"
#include <sal/log.hxx>
#include <svx/lathe3d.hxx>
#include <extrud3d.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/wmf.hxx>
#include <memory>
#include <vector>
#include <iostream>
#include <bitmaps.hlst>
Include dependency graph for unoshape.cxx:

Go to the source code of this file.

Classes

struct  SvxShapeImpl
 

Functions

static void SvxItemPropertySet_ObtainSettingsFromPropertySet (const SvxItemPropertySet &rPropSet, SfxItemSet &rSet, const uno::Reference< beans::XPropertySet > &xSet, const SfxItemPropertyMap *pMap)
 
static bool svx_needLogicRectHack (SdrObject const *pObj)
 
static tools::Rectangle svx_getLogicRectHack (SdrObject const *pObj)
 
static void svx_setLogicRectHack (SdrObject *pObj, const tools::Rectangle &rRect)
 
uno::Reference< drawing::XShape > GetXShapeForSdrObject (SdrObject *pObj) throw ()
 returns a StarOffice API wrapper for the given SdrObject More...
 
SdrObjectGetSdrObjectFromXShape (const uno::Reference< drawing::XShape > &xShape) throw ()
 returns the SdrObject from the given StarOffice API wrapper More...
 
uno::Any SvxItemPropertySet_getPropertyValue (const SfxItemPropertySimpleEntry *pMap, const SfxItemSet &rSet)
 
void SvxItemPropertySet_setPropertyValue (const SfxItemPropertySimpleEntry *pMap, const uno::Any &rVal, SfxItemSet &rSet)
 

Variables

const char sUNO_service_style_ParagraphProperties [] = "com.sun.star.style.ParagraphProperties"
 
const char sUNO_service_style_ParagraphPropertiesComplex [] = "com.sun.star.style.ParagraphPropertiesComplex"
 
const char sUNO_service_style_ParagraphPropertiesAsian [] = "com.sun.star.style.ParagraphPropertiesAsian"
 
const char sUNO_service_style_CharacterProperties [] = "com.sun.star.style.CharacterProperties"
 
const char sUNO_service_style_CharacterPropertiesComplex [] = "com.sun.star.style.CharacterPropertiesComplex"
 
const char sUNO_service_style_CharacterPropertiesAsian [] = "com.sun.star.style.CharacterPropertiesAsian"
 
const char sUNO_service_drawing_FillProperties [] = "com.sun.star.drawing.FillProperties"
 
const char sUNO_service_drawing_TextProperties [] = "com.sun.star.drawing.TextProperties"
 
const char sUNO_service_drawing_LineProperties [] = "com.sun.star.drawing.LineProperties"
 
const char sUNO_service_drawing_ConnectorProperties [] = "com.sun.star.drawing.ConnectorProperties"
 
const char sUNO_service_drawing_MeasureProperties [] = "com.sun.star.drawing.MeasureProperties"
 
const char sUNO_service_drawing_ShadowProperties [] = "com.sun.star.drawing.ShadowProperties"
 
const char sUNO_service_drawing_RotationDescriptor [] = "com.sun.star.drawing.RotationDescriptor"
 
const char sUNO_service_drawing_Text [] = "com.sun.star.drawing.Text"
 
const char sUNO_service_drawing_GroupShape [] = "com.sun.star.drawing.GroupShape"
 
const char sUNO_service_drawing_CustomShapeProperties [] = "com.sun.star.drawing.CustomShapeProperties"
 
const char sUNO_service_drawing_CustomShape [] = "com.sun.star.drawing.CustomShape"
 
const char sUNO_service_drawing_PolyPolygonDescriptor [] = "com.sun.star.drawing.PolyPolygonDescriptor"
 
const char sUNO_service_drawing_PolyPolygonBezierDescriptor [] = "com.sun.star.drawing.PolyPolygonBezierDescriptor"
 
const char sUNO_service_drawing_LineShape [] = "com.sun.star.drawing.LineShape"
 
const char sUNO_service_drawing_Shape [] = "com.sun.star.drawing.Shape"
 
const char sUNO_service_drawing_RectangleShape [] = "com.sun.star.drawing.RectangleShape"
 
const char sUNO_service_drawing_EllipseShape [] = "com.sun.star.drawing.EllipseShape"
 
const char sUNO_service_drawing_PolyPolygonShape [] = "com.sun.star.drawing.PolyPolygonShape"
 
const char sUNO_service_drawing_PolyLineShape [] = "com.sun.star.drawing.PolyLineShape"
 
const char sUNO_service_drawing_OpenBezierShape [] = "com.sun.star.drawing.OpenBezierShape"
 
const char sUNO_service_drawing_ClosedBezierShape [] = "com.sun.star.drawing.ClosedBezierShape"
 
const char sUNO_service_drawing_TextShape [] = "com.sun.star.drawing.TextShape"
 
const char sUNO_service_drawing_GraphicObjectShape [] = "com.sun.star.drawing.GraphicObjectShape"
 
const char sUNO_service_drawing_OLE2Shape [] = "com.sun.star.drawing.OLE2Shape"
 
const char sUNO_service_drawing_PageShape [] = "com.sun.star.drawing.PageShape"
 
const char sUNO_service_drawing_CaptionShape [] = "com.sun.star.drawing.CaptionShape"
 
const char sUNO_service_drawing_MeasureShape [] = "com.sun.star.drawing.MeasureShape"
 
const char sUNO_service_drawing_FrameShape [] = "com.sun.star.drawing.FrameShape"
 
const char sUNO_service_drawing_ControlShape [] = "com.sun.star.drawing.ControlShape"
 
const char sUNO_service_drawing_ConnectorShape [] = "com.sun.star.drawing.ConnectorShape"
 
const char sUNO_service_drawing_MediaShape [] = "com.sun.star.drawing.MediaShape"
 

Function Documentation

SdrObject* GetSdrObjectFromXShape ( const uno::Reference< drawing::XShape > &  xShape)
throw (
)
uno::Reference< drawing::XShape > GetXShapeForSdrObject ( SdrObject pObj)
throw (
)

returns a StarOffice API wrapper for the given SdrObject

Returns a StarOffice API wrapper for the given SdrObject.

Definition at line 3926 of file unoshape.cxx.

Referenced by svx::FontworkBar::execute(), SdrObjCustomShape::GetCustomShapeEngine(), accessibility::AccessibleShape::getGroupPosition(), and SvxShape::getPropertyValueImpl().

static tools::Rectangle svx_getLogicRectHack ( SdrObject const *  pObj)
static
static bool svx_needLogicRectHack ( SdrObject const *  pObj)
static
static void svx_setLogicRectHack ( SdrObject pObj,
const tools::Rectangle rRect 
)
static
uno::Any SvxItemPropertySet_getPropertyValue ( const SfxItemPropertySimpleEntry pMap,
const SfxItemSet rSet 
)
static void SvxItemPropertySet_ObtainSettingsFromPropertySet ( const SvxItemPropertySet rPropSet,
SfxItemSet rSet,
const uno::Reference< beans::XPropertySet > &  xSet,
const SfxItemPropertyMap pMap 
)
static
void SvxItemPropertySet_setPropertyValue ( const SfxItemPropertySimpleEntry pMap,
const uno::Any rVal,
SfxItemSet rSet 
)

Variable Documentation

const char sUNO_service_drawing_CaptionShape[] = "com.sun.star.drawing.CaptionShape"

Definition at line 3108 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_ClosedBezierShape[] = "com.sun.star.drawing.ClosedBezierShape"

Definition at line 3103 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_ConnectorProperties[] = "com.sun.star.drawing.ConnectorProperties"

Definition at line 3081 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_ConnectorShape[] = "com.sun.star.drawing.ConnectorShape"

Definition at line 3112 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_ControlShape[] = "com.sun.star.drawing.ControlShape"

Definition at line 3111 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_CustomShape[] = "com.sun.star.drawing.CustomShape"

Definition at line 3091 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_CustomShapeProperties[] = "com.sun.star.drawing.CustomShapeProperties"

Definition at line 3090 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_EllipseShape[] = "com.sun.star.drawing.EllipseShape"

Definition at line 3099 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_FillProperties[] = "com.sun.star.drawing.FillProperties"

Definition at line 3078 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_FrameShape[] = "com.sun.star.drawing.FrameShape"

Definition at line 3110 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_GraphicObjectShape[] = "com.sun.star.drawing.GraphicObjectShape"

Definition at line 3105 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_GroupShape[] = "com.sun.star.drawing.GroupShape"

Definition at line 3088 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_LineProperties[] = "com.sun.star.drawing.LineProperties"

Definition at line 3080 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_LineShape[] = "com.sun.star.drawing.LineShape"

Definition at line 3096 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_MeasureProperties[] = "com.sun.star.drawing.MeasureProperties"

Definition at line 3082 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_MeasureShape[] = "com.sun.star.drawing.MeasureShape"

Definition at line 3109 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_MediaShape[] = "com.sun.star.drawing.MediaShape"

Definition at line 3113 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_OLE2Shape[] = "com.sun.star.drawing.OLE2Shape"

Definition at line 3106 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_OpenBezierShape[] = "com.sun.star.drawing.OpenBezierShape"

Definition at line 3102 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_PageShape[] = "com.sun.star.drawing.PageShape"

Definition at line 3107 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_PolyLineShape[] = "com.sun.star.drawing.PolyLineShape"

Definition at line 3101 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_PolyPolygonBezierDescriptor[] = "com.sun.star.drawing.PolyPolygonBezierDescriptor"

Definition at line 3094 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_PolyPolygonDescriptor[] = "com.sun.star.drawing.PolyPolygonDescriptor"

Definition at line 3093 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_PolyPolygonShape[] = "com.sun.star.drawing.PolyPolygonShape"

Definition at line 3100 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_RectangleShape[] = "com.sun.star.drawing.RectangleShape"

Definition at line 3098 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_RotationDescriptor[] = "com.sun.star.drawing.RotationDescriptor"

Definition at line 3085 of file unoshape.cxx.

const char sUNO_service_drawing_ShadowProperties[] = "com.sun.star.drawing.ShadowProperties"

Definition at line 3083 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_Shape[] = "com.sun.star.drawing.Shape"

Definition at line 3097 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_Text[] = "com.sun.star.drawing.Text"

Definition at line 3087 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_TextProperties[] = "com.sun.star.drawing.TextProperties"

Definition at line 3079 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_drawing_TextShape[] = "com.sun.star.drawing.TextShape"

Definition at line 3104 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_style_CharacterProperties[] = "com.sun.star.style.CharacterProperties"

Definition at line 3074 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_style_CharacterPropertiesAsian[] = "com.sun.star.style.CharacterPropertiesAsian"

Definition at line 3076 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_style_CharacterPropertiesComplex[] = "com.sun.star.style.CharacterPropertiesComplex"

Definition at line 3075 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_style_ParagraphProperties[] = "com.sun.star.style.ParagraphProperties"

Definition at line 3071 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_style_ParagraphPropertiesAsian[] = "com.sun.star.style.ParagraphPropertiesAsian"

Definition at line 3073 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

const char sUNO_service_style_ParagraphPropertiesComplex[] = "com.sun.star.style.ParagraphPropertiesComplex"

Definition at line 3072 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().