|
LibreOffice Module svx (master) 1
|
#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/interfacecontainer3.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/xlnclit.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 <comphelper/diagnose_ex.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/converters.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/svdopath.hxx>#include <svx/SvxXTextColumns.hxx>#include <svx/xflclit.hxx>#include <editeng/frmdiritem.hxx>#include <memory>#include <optional>#include <vector>#include <iostream>#include <bitmaps.hlst>Go to the source code of this file.
Classes | |
| struct | SvxShapeImpl |
Functions | |
| static void | SvxItemPropertySet_ObtainSettingsFromPropertySet (const SvxItemPropertySet &rPropSet, SvxItemPropertySetUsrAnys &rAnys, 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) noexcept |
| returns a StarOffice API wrapper for the given SdrObject 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" |
|
noexcept |
returns a StarOffice API wrapper for the given SdrObject
Returns a StarOffice API wrapper for the given SdrObject.
Definition at line 4013 of file unoshape.cxx.
Referenced by svx::FontworkBar::execute(), SdrObjCustomShape::GetCustomShapeEngine(), accessibility::AccessibleShape::getGroupPosition(), and SvxShape::getPropertyValueImpl().
|
static |
Definition at line 1021 of file unoshape.cxx.
References SdrObject::GetLogicRect(), SdrObject::GetSnapRect(), and svx_needLogicRectHack().
Referenced by SvxShape::getPosition(), SvxShape::getSize(), SvxShape::setPosition(), and SvxShape::setSize().
|
static |
Definition at line 994 of file unoshape.cxx.
References Default, Edge, FreehandFill, FreehandLine, SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), Group, Line, Measure, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, and PolyLine.
Referenced by svx_getLogicRectHack(), and svx_setLogicRectHack().
|
static |
Definition at line 1034 of file unoshape.cxx.
References SdrObject::SetLogicRect(), SdrObject::SetSnapRect(), and svx_needLogicRectHack().
Referenced by SvxShape::setSize().
| uno::Any SvxItemPropertySet_getPropertyValue | ( | const SfxItemPropertyMapEntry * | pMap, |
| const SfxItemSet & | rSet | ||
| ) |
Definition at line 4026 of file unoshape.cxx.
References SvxItemPropertySet::getPropertyValue(), SfxItemPropertyMapEntry::nWID, rSet, SDRATTR_XMLATTRIBUTES(), XATTR_FILLBMP_SIZEX(), and XATTR_FILLBMP_SIZEY().
Referenced by SvxShape::GetAnyForItem().
|
static |
Definition at line 542 of file unoshape.cxx.
References SvxItemPropertySetUsrAnys::AreThereOwnUsrAnys(), SvxItemPropertySetUsrAnys::ClearAllUsrAny(), SfxItemPropertyMap::getByName(), SfxItemPool::GetDefaultItem(), SfxItemSet::GetPool(), SfxItemPropertyMap::getPropertyEntries(), SvxItemPropertySet::getPropertyMap(), SvxItemPropertySetUsrAnys::GetUsrAnyForID(), SfxItemPool::IsWhich(), SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), rSet, and SvxItemPropertySet_setPropertyValue().
Referenced by SvxShape::ObtainSettingsFromPropertySet().
| void SvxItemPropertySet_setPropertyValue | ( | const SfxItemPropertyMapEntry * | pMap, |
| const uno::Any & | rVal, | ||
| SfxItemSet & | rSet | ||
| ) |
Definition at line 4036 of file unoshape.cxx.
References SfxItemPropertyMapEntry::nWID, rSet, SvxItemPropertySet::setPropertyValue(), XATTR_FILLBMP_SIZEX(), and XATTR_FILLBMP_SIZEY().
Referenced by SvxShape::_setPropertyValue(), and SvxItemPropertySet_ObtainSettingsFromPropertySet().
|
constexpr |
Definition at line 3193 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3188 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3166 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3197 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3196 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3176 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3175 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3184 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3163 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3195 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3190 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3173 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3165 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3181 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3167 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3194 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3198 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3191 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3187 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3192 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3186 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3179 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3178 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3185 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3183 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3170 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3168 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3182 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3172 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3164 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3189 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3159 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3161 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3160 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3156 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3158 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().
|
constexpr |
Definition at line 3157 of file unoshape.cxx.
Referenced by SvxShape::_getSupportedServiceNames().