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/svdobjkind.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 <tools/UnitConversion.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 <svx/sdtfsitm.hxx>
#include <svx/svdoutl.hxx>
#include <svx/svdopath.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 SfxItemPropertyMapEntry *pMap, const SfxItemSet &rSet)
 
void SvxItemPropertySet_setPropertyValue (const SfxItemPropertyMapEntry *pMap, const uno::Any &rVal, SfxItemSet &rSet)
 

Variables

constexpr OUStringLiteral sUNO_service_style_ParagraphProperties = u"com.sun.star.style.ParagraphProperties"
 
constexpr OUStringLiteral sUNO_service_style_ParagraphPropertiesComplex = u"com.sun.star.style.ParagraphPropertiesComplex"
 
constexpr OUStringLiteral sUNO_service_style_ParagraphPropertiesAsian = u"com.sun.star.style.ParagraphPropertiesAsian"
 
constexpr OUStringLiteral sUNO_service_style_CharacterProperties = u"com.sun.star.style.CharacterProperties"
 
constexpr OUStringLiteral sUNO_service_style_CharacterPropertiesComplex = u"com.sun.star.style.CharacterPropertiesComplex"
 
constexpr OUStringLiteral sUNO_service_style_CharacterPropertiesAsian = u"com.sun.star.style.CharacterPropertiesAsian"
 
constexpr OUStringLiteral sUNO_service_drawing_FillProperties = u"com.sun.star.drawing.FillProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_TextProperties = u"com.sun.star.drawing.TextProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_LineProperties = u"com.sun.star.drawing.LineProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_ConnectorProperties = u"com.sun.star.drawing.ConnectorProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_MeasureProperties = u"com.sun.star.drawing.MeasureProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_ShadowProperties = u"com.sun.star.drawing.ShadowProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_RotationDescriptor = u"com.sun.star.drawing.RotationDescriptor"
 
constexpr OUStringLiteral sUNO_service_drawing_Text = u"com.sun.star.drawing.Text"
 
constexpr OUStringLiteral sUNO_service_drawing_GroupShape = u"com.sun.star.drawing.GroupShape"
 
constexpr OUStringLiteral sUNO_service_drawing_CustomShapeProperties = u"com.sun.star.drawing.CustomShapeProperties"
 
constexpr OUStringLiteral sUNO_service_drawing_CustomShape = u"com.sun.star.drawing.CustomShape"
 
constexpr OUStringLiteral sUNO_service_drawing_PolyPolygonDescriptor = u"com.sun.star.drawing.PolyPolygonDescriptor"
 
constexpr OUStringLiteral sUNO_service_drawing_PolyPolygonBezierDescriptor = u"com.sun.star.drawing.PolyPolygonBezierDescriptor"
 
constexpr OUStringLiteral sUNO_service_drawing_LineShape = u"com.sun.star.drawing.LineShape"
 
constexpr OUStringLiteral sUNO_service_drawing_Shape = u"com.sun.star.drawing.Shape"
 
constexpr OUStringLiteral sUNO_service_drawing_RectangleShape = u"com.sun.star.drawing.RectangleShape"
 
constexpr OUStringLiteral sUNO_service_drawing_EllipseShape = u"com.sun.star.drawing.EllipseShape"
 
constexpr OUStringLiteral sUNO_service_drawing_PolyPolygonShape = u"com.sun.star.drawing.PolyPolygonShape"
 
constexpr OUStringLiteral sUNO_service_drawing_PolyLineShape = u"com.sun.star.drawing.PolyLineShape"
 
constexpr OUStringLiteral sUNO_service_drawing_OpenBezierShape = u"com.sun.star.drawing.OpenBezierShape"
 
constexpr OUStringLiteral sUNO_service_drawing_ClosedBezierShape = u"com.sun.star.drawing.ClosedBezierShape"
 
constexpr OUStringLiteral sUNO_service_drawing_TextShape = u"com.sun.star.drawing.TextShape"
 
constexpr OUStringLiteral sUNO_service_drawing_GraphicObjectShape = u"com.sun.star.drawing.GraphicObjectShape"
 
constexpr OUStringLiteral sUNO_service_drawing_OLE2Shape = u"com.sun.star.drawing.OLE2Shape"
 
constexpr OUStringLiteral sUNO_service_drawing_PageShape = u"com.sun.star.drawing.PageShape"
 
constexpr OUStringLiteral sUNO_service_drawing_CaptionShape = u"com.sun.star.drawing.CaptionShape"
 
constexpr OUStringLiteral sUNO_service_drawing_MeasureShape = u"com.sun.star.drawing.MeasureShape"
 
constexpr OUStringLiteral sUNO_service_drawing_FrameShape = u"com.sun.star.drawing.FrameShape"
 
constexpr OUStringLiteral sUNO_service_drawing_ControlShape = u"com.sun.star.drawing.ControlShape"
 
constexpr OUStringLiteral sUNO_service_drawing_ConnectorShape = u"com.sun.star.drawing.ConnectorShape"
 
constexpr OUStringLiteral sUNO_service_drawing_MediaShape = u"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 3962 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 SfxItemPropertyMapEntry 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 SfxItemPropertyMapEntry pMap,
const uno::Any rVal,
SfxItemSet rSet 
)

Variable Documentation

constexpr OUStringLiteral sUNO_service_drawing_CaptionShape = u"com.sun.star.drawing.CaptionShape"

Definition at line 3144 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_ClosedBezierShape = u"com.sun.star.drawing.ClosedBezierShape"

Definition at line 3139 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_ConnectorProperties = u"com.sun.star.drawing.ConnectorProperties"

Definition at line 3117 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_ConnectorShape = u"com.sun.star.drawing.ConnectorShape"

Definition at line 3148 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_ControlShape = u"com.sun.star.drawing.ControlShape"

Definition at line 3147 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_CustomShape = u"com.sun.star.drawing.CustomShape"

Definition at line 3127 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_CustomShapeProperties = u"com.sun.star.drawing.CustomShapeProperties"

Definition at line 3126 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_EllipseShape = u"com.sun.star.drawing.EllipseShape"

Definition at line 3135 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_FillProperties = u"com.sun.star.drawing.FillProperties"

Definition at line 3114 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_FrameShape = u"com.sun.star.drawing.FrameShape"

Definition at line 3146 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_GraphicObjectShape = u"com.sun.star.drawing.GraphicObjectShape"

Definition at line 3141 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_GroupShape = u"com.sun.star.drawing.GroupShape"

Definition at line 3124 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_LineProperties = u"com.sun.star.drawing.LineProperties"

Definition at line 3116 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_LineShape = u"com.sun.star.drawing.LineShape"

Definition at line 3132 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_MeasureProperties = u"com.sun.star.drawing.MeasureProperties"

Definition at line 3118 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_MeasureShape = u"com.sun.star.drawing.MeasureShape"

Definition at line 3145 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_MediaShape = u"com.sun.star.drawing.MediaShape"

Definition at line 3149 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_OLE2Shape = u"com.sun.star.drawing.OLE2Shape"

Definition at line 3142 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_OpenBezierShape = u"com.sun.star.drawing.OpenBezierShape"

Definition at line 3138 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_PageShape = u"com.sun.star.drawing.PageShape"

Definition at line 3143 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_PolyLineShape = u"com.sun.star.drawing.PolyLineShape"

Definition at line 3137 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_PolyPolygonBezierDescriptor = u"com.sun.star.drawing.PolyPolygonBezierDescriptor"

Definition at line 3130 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_PolyPolygonDescriptor = u"com.sun.star.drawing.PolyPolygonDescriptor"

Definition at line 3129 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_PolyPolygonShape = u"com.sun.star.drawing.PolyPolygonShape"

Definition at line 3136 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_RectangleShape = u"com.sun.star.drawing.RectangleShape"

Definition at line 3134 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_RotationDescriptor = u"com.sun.star.drawing.RotationDescriptor"

Definition at line 3121 of file unoshape.cxx.

constexpr OUStringLiteral sUNO_service_drawing_ShadowProperties = u"com.sun.star.drawing.ShadowProperties"

Definition at line 3119 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_Shape = u"com.sun.star.drawing.Shape"

Definition at line 3133 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_Text = u"com.sun.star.drawing.Text"

Definition at line 3123 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_TextProperties = u"com.sun.star.drawing.TextProperties"

Definition at line 3115 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_drawing_TextShape = u"com.sun.star.drawing.TextShape"

Definition at line 3140 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_style_CharacterProperties = u"com.sun.star.style.CharacterProperties"

Definition at line 3110 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_style_CharacterPropertiesAsian = u"com.sun.star.style.CharacterPropertiesAsian"

Definition at line 3112 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_style_CharacterPropertiesComplex = u"com.sun.star.style.CharacterPropertiesComplex"

Definition at line 3111 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_style_ParagraphProperties = u"com.sun.star.style.ParagraphProperties"

Definition at line 3107 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_style_ParagraphPropertiesAsian = u"com.sun.star.style.ParagraphPropertiesAsian"

Definition at line 3109 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().

constexpr OUStringLiteral sUNO_service_style_ParagraphPropertiesComplex = u"com.sun.star.style.ParagraphPropertiesComplex"

Definition at line 3108 of file unoshape.cxx.

Referenced by SvxShape::_getSupportedServiceNames().