LibreOffice Module svx (master) 1
|
#include <sal/config.h>
#include <o3tl/string_view.hxx>
#include <svx/EnhancedCustomShape2d.hxx>
#include <svx/EnhancedCustomShapeGeometry.hxx>
#include <svx/EnhancedCustomShapeTypeNames.hxx>
#include <svx/svdoashp.hxx>
#include <svx/svdtrans.hxx>
#include <svx/svdogrp.hxx>
#include <svx/svdopath.hxx>
#include <svx/svdorect.hxx>
#include <svx/svdpage.hxx>
#include <svx/xflclit.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnedit.hxx>
#include <svx/xlnstwit.hxx>
#include <svx/xlnedwit.hxx>
#include <svx/xlnstcit.hxx>
#include <svx/xlnedcit.hxx>
#include <svx/xflgrit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xhatch.hxx>
#include <svx/sdshitm.hxx>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/color/bcolortools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <sal/log.hxx>
#include <algorithm>
#include <cstdlib>
#include <string_view>
#include <unordered_set>
Go to the source code of this file.
Functions | |
static double | lcl_getXAdjustmentValue (std::u16string_view rShapeType, const sal_uInt32 nHandleIndex, const double fX, const double fW, const double fH) |
static double | lcl_getYAdjustmentValue (std::u16string_view rShapeType, const sal_uInt32 nHandleIndex, const double fY, const double fW, const double fH) |
static double | lcl_getAngleInOOXMLUnit (double fDY, double fDX) |
static double | lcl_getRadiusDistance (double fWR, double fHR, double fX, double fY) |
static basegfx::B2DPolygon | CreateArc (const tools::Rectangle &rRect, const Point &rStart, const Point &rEnd, const bool bClockwise) |
static double | lcl_getNormalizedCircleAngleRad (const double fWR, const double fHR, const double fEllipseAngleDeg) |
static double | lcl_getNormalizedAngleRad (const double fCircleAngleDeg) |
static void | CorrectCalloutArrows (MSO_SPT eSpType, sal_uInt32 nLineObjectCount, std::vector< std::pair< rtl::Reference< SdrPathObj >, double > > &vObjectList) |
|
static |
Definition at line 2672 of file EnhancedCustomShape2d.cxx.
References SdrObject::ClearMergedItem(), SdrPathObj::IsLine(), mso_sptAccentBorderCallout1, mso_sptAccentBorderCallout2, mso_sptAccentBorderCallout3, mso_sptAccentBorderCallout90, mso_sptAccentCallout1, mso_sptAccentCallout2, mso_sptAccentCallout3, mso_sptAccentCallout90, mso_sptBorderCallout1, mso_sptBorderCallout2, mso_sptBorderCallout3, mso_sptBorderCallout90, mso_sptCallout1, mso_sptCallout2, mso_sptCallout3, mso_sptCallout90, EnhancedCustomShape2d::SwapStartAndEndArrow(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by EnhancedCustomShape2d::CreatePathObj().
|
static |
Definition at line 1977 of file EnhancedCustomShape2d.cxx.
References basegfx::B2DPolygon::append(), tools::Rectangle::Bottom(), tools::Polygon::GetSize(), tools::Rectangle::Left(), tools::Rectangle::Normalize(), tools::Rectangle::Right(), tools::Rectangle::Top(), X, and Y.
Referenced by EnhancedCustomShape2d::CreateSubPath().
|
static |
Definition at line 1439 of file EnhancedCustomShape2d.cxx.
References basegfx::rad2deg().
Referenced by EnhancedCustomShape2d::SetHandleControllerPosition().
|
static |
Definition at line 2040 of file EnhancedCustomShape2d.cxx.
References basegfx::deg2rad().
Referenced by EnhancedCustomShape2d::CreateSubPath().
|
static |
Definition at line 2021 of file EnhancedCustomShape2d.cxx.
References basegfx::deg2rad().
Referenced by EnhancedCustomShape2d::CreateSubPath().
|
static |
Definition at line 1455 of file EnhancedCustomShape2d.cxx.
Referenced by EnhancedCustomShape2d::SetHandleControllerPosition().
|
static |
Definition at line 1218 of file EnhancedCustomShape2d.cxx.
References o3tl::starts_with(), and u.
Referenced by EnhancedCustomShape2d::SetHandleControllerPosition().
|
static |
Definition at line 1326 of file EnhancedCustomShape2d.cxx.
References o3tl::starts_with(), and u.
Referenced by EnhancedCustomShape2d::SetHandleControllerPosition().