|
LibreOffice Module svx (master) 1
|
#include <vcl/BitmapShadowFilter.hxx>#include <svx/svdoashp.hxx>#include <svx/unoapi.hxx>#include <com/sun/star/loader/CannotActivateFactoryException.hpp>#include <com/sun/star/drawing/XShape.hpp>#include <com/sun/star/drawing/XCustomShapeEngine.hpp>#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>#include <com/sun/star/beans/PropertyValue.hpp>#include <com/sun/star/awt/Rectangle.hpp>#include <com/sun/star/uno/XComponentContext.hpp>#include <comphelper/processfactory.hxx>#include <comphelper/propertyvalue.hxx>#include <comphelper/sequenceashashmap.hxx>#include <com/sun/star/uno/Sequence.h>#include <tools/helpers.hxx>#include <svx/svddrag.hxx>#include <svx/svddrgmt.hxx>#include <svx/svdmodel.hxx>#include <svx/svdpage.hxx>#include <svx/svditer.hxx>#include <svx/svdobj.hxx>#include <svx/svdtrans.hxx>#include <svx/dialmgr.hxx>#include <svx/strings.hrc>#include <editeng/eeitem.hxx>#include <editeng/editstat.hxx>#include <editeng/adjustitem.hxx>#include <svx/svdoutl.hxx>#include <editeng/outlobj.hxx>#include <svx/sdtfchim.hxx>#include <svx/EnhancedCustomShapeGeometry.hxx>#include <svx/EnhancedCustomShapeTypeNames.hxx>#include <svx/EnhancedCustomShape2d.hxx>#include <com/sun/star/beans/PropertyValues.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>#include <editeng/writingmodeitem.hxx>#include <svx/xlineit0.hxx>#include <svx/xlnclit.hxx>#include <sdr/properties/customshapeproperties.hxx>#include <sdr/contact/viewcontactofsdrobjcustomshape.hxx>#include <svx/xlntrit.hxx>#include <svx/xfillit0.hxx>#include <svx/xfltrit.hxx>#include <svx/xflclit.hxx>#include <svx/xflgrit.hxx>#include <svx/xflhtit.hxx>#include <svx/xbtmpit.hxx>#include <vcl/virdev.hxx>#include <svx/svdview.hxx>#include <svx/sdmetitm.hxx>#include <svx/sdprcitm.hxx>#include <svx/sdshitm.hxx>#include <svx/sdsxyitm.hxx>#include <svx/sdtmfitm.hxx>#include <svx/sdasitm.hxx>#include <basegfx/polygon/b2dpolypolygontools.hxx>#include <basegfx/matrix/b2dhommatrix.hxx>#include <basegfx/matrix/b2dhommatrixtools.hxx>#include <basegfx/polygon/b2dpolygon.hxx>#include <basegfx/polygon/b2dpolygontools.hxx>#include <basegfx/range/b2drange.hxx>#include <svdobjplusdata.hxx>#include <sal/log.hxx>#include <o3tl/string_view.hxx>#include "presetooxhandleadjustmentrelations.hxx"#include <editeng/frmdiritem.hxx>Go to the source code of this file.
Macros | |
| #define | DEFAULT_MINIMUM_SIGNED_COMPARE (sal_Int32(0x80000000)) |
| #define | DEFAULT_MAXIMUM_SIGNED_COMPARE (sal_Int32(0x7fffffff)) |
Functions | |
| static void | lcl_ShapeSegmentFromBinary (drawing::EnhancedCustomShapeSegment &rSegInfo, sal_uInt16 nSDat) |
| static MSO_SPT | ImpGetCustomShapeType (const SdrObjCustomShape &rCustoShape) |
| static bool | ImpVerticalSwitch (const SdrObjCustomShape &rCustoShape) |
| static rtl::Reference< SdrObject > | ImpCreateShadowObjectClone (const SdrObject &rOriginal, const SfxItemSet &rOriginalSet) |
| static sal_Int32 | GetNumberOfProperties (const SvxMSDffHandle *pData) |
| static void | lcl_ShapePropertiesFromDFF (const SvxMSDffHandle *pData, beans::PropertyValues &rPropValues) |
| #define DEFAULT_MAXIMUM_SIGNED_COMPARE (sal_Int32(0x7fffffff)) |
Definition at line 672 of file svdoashp.cxx.
| #define DEFAULT_MINIMUM_SIGNED_COMPARE (sal_Int32(0x80000000)) |
Definition at line 671 of file svdoashp.cxx.
|
static |
Definition at line 674 of file svdoashp.cxx.
References DEFAULT_MAXIMUM_SIGNED_COMPARE, DEFAULT_MINIMUM_SIGNED_COMPARE, MIRRORED_X, MIRRORED_Y, pData, POLAR, RADIUS_RANGE, RANGE, and SWITCHED.
Referenced by SdrObjCustomShape::MergeDefaultAttributes().
|
static |
Definition at line 207 of file svdoashp.cxx.
References SdrObject::CloneSdrObject(), DBG_ASSERT, BitmapFilter::Filter(), SfxItemSet::Get(), Color::getBColor(), Graphic::GetBitmapEx(), basegfx::BGradient::GetColorStops(), basegfx::BGradient::GetEndIntens(), GraphicObject::GetGraphic(), Color::GetLuminance(), SdrObject::GetMergedItem(), SdrObject::getSdrModelFromSdrObject(), BitmapEx::GetSizePixel(), basegfx::BGradient::GetStartIntens(), BitmapEx::IsEmpty(), SdrObjListIter::IsMore(), makeSdrShadowItem(), makeSdrShadowXDistItem(), makeSdrShadowYDistItem(), SdrObjListIter::Next(), SfxItemSet::Put(), SDRATTR_SHADOW(), SDRATTR_SHADOWCOLOR(), SDRATTR_SHADOWTRANSPARENCE(), SDRATTR_SHADOWXDIST(), SDRATTR_SHADOWYDIST(), SDRATTR_TEXTDIRECTION(), XHatch::SetColor(), basegfx::BGradient::SetColorStops(), GraphicObject::SetGraphic(), XATTR_FILLBITMAP(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_FILLSTYLE(), and XATTR_LINESTYLE().
Referenced by SdrObjCustomShape::GetSdrObjectShadowFromCustomShape().
|
static |
Definition at line 171 of file svdoashp.cxx.
References EnhancedCustomShapeTypeNames::Get(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), mso_sptNil, SDRATTR_CUSTOMSHAPE_ENGINE(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
Referenced by SdrObjCustomShape::GetInteractionHandles(), and ImpVerticalSwitch().
|
static |
Definition at line 187 of file svdoashp.cxx.
References ImpGetCustomShapeType(), mso_sptAccentBorderCallout90, mso_sptBorderCallout1, and mso_sptBorderCallout2.
Referenced by SdrObjCustomShape::DragCreateObject().
|
static |
Definition at line 711 of file svdoashp.cxx.
References CENTER_X_IS_SPECIAL, CENTER_Y_IS_SPECIAL, DEFAULT_MAXIMUM_SIGNED_COMPARE, DEFAULT_MINIMUM_SIGNED_COMPARE, MIRRORED_X, MIRRORED_Y, n, pData, POLAR, RADIUS_RANGE, RANGE, RANGE_X_MAX_IS_SPECIAL, RANGE_X_MIN_IS_SPECIAL, RANGE_Y_MAX_IS_SPECIAL, RANGE_Y_MIN_IS_SPECIAL, EnhancedCustomShape2d::SetEnhancedCustomShapeHandleParameter(), and SWITCHED.
Referenced by SdrObjCustomShape::MergeDefaultAttributes().
|
static |
Definition at line 93 of file svdoashp.cxx.
Referenced by SdrObjCustomShape::IsDefaultGeometry(), and SdrObjCustomShape::MergeDefaultAttributes().