|
LibreOffice Module filter (master) 1
|
#include "eschesdo.hxx"#include <o3tl/any.hxx>#include <o3tl/string_view.hxx>#include <svx/svdxcgv.hxx>#include <svx/svdomedia.hxx>#include <svx/xflftrit.hxx>#include <filter/msfilter/escherex.hxx>#include <filter/msfilter/util.hxx>#include <svx/unoapi.hxx>#include <svx/svdobj.hxx>#include <svx/svdoashp.hxx>#include <svx/svdoole2.hxx>#include <svx/sdtfsitm.hxx>#include <editeng/outlobj.hxx>#include <utility>#include <vcl/graph.hxx>#include <vcl/cvtgrf.hxx>#include <vcl/svapp.hxx>#include <tools/debug.hxx>#include <tools/stream.hxx>#include <tools/zcodec.hxx>#include <tools/urlobj.hxx>#include <svx/svdopath.hxx>#include <stdlib.h>#include <vcl/graphicfilter.hxx>#include <svx/EnhancedCustomShapeTypeNames.hxx>#include <svx/EnhancedCustomShapeGeometry.hxx>#include <svx/EnhancedCustomShapeFunctionParser.hxx>#include <svx/EnhancedCustomShape2d.hxx>#include <com/sun/star/beans/PropertyValues.hpp>#include <com/sun/star/beans/XPropertySet.hpp>#include <com/sun/star/beans/XPropertyState.hpp>#include <com/sun/star/awt/GradientStyle.hpp>#include <com/sun/star/awt/Gradient.hpp>#include <com/sun/star/drawing/LineStyle.hpp>#include <com/sun/star/drawing/LineJoint.hpp>#include <com/sun/star/drawing/LineCap.hpp>#include <com/sun/star/drawing/FillStyle.hpp>#include <com/sun/star/drawing/LineDash.hpp>#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>#include <com/sun/star/drawing/ConnectorType.hpp>#include <com/sun/star/drawing/CircleKind.hpp>#include <com/sun/star/drawing/PointSequence.hpp>#include <com/sun/star/drawing/FlagSequence.hpp>#include <com/sun/star/drawing/PolygonFlags.hpp>#include <com/sun/star/text/WritingMode.hpp>#include <com/sun/star/drawing/TextVerticalAdjust.hpp>#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>#include <com/sun/star/drawing/EnhancedCustomShapeTextPathMode.hpp>#include <com/sun/star/drawing/ProjectionMode.hpp>#include <com/sun/star/text/XSimpleText.hpp>#include <com/sun/star/drawing/ShadeMode.hpp>#include <com/sun/star/drawing/TextFitToSizeType.hpp>#include <vcl/hatch.hxx>#include <com/sun/star/awt/FontSlant.hpp>#include <com/sun/star/awt/FontWeight.hpp>#include <com/sun/star/drawing/ColorMode.hpp>#include <com/sun/star/drawing/Position3D.hpp>#include <com/sun/star/drawing/Direction3D.hpp>#include <com/sun/star/drawing/Hatch.hpp>#include <com/sun/star/graphic/XGraphic.hpp>#include <com/sun/star/text/GraphicCrop.hpp>#include <unotools/ucbstreamhelper.hxx>#include <comphelper/string.hxx>#include <vcl/virdev.hxx>#include <rtl/crc.h>#include <rtl/strbuf.hxx>#include <sal/log.hxx>#include <basegfx/polygon/b2dpolypolygontools.hxx>#include <basegfx/polygon/b2dpolygontools.hxx>#include <basegfx/numeric/ftools.hxx>#include <osl/diagnose.h>#include <algorithm>#include <memory>Go to the source code of this file.
Classes | |
| struct | EscherShapeListEntry |
Functions | |
| static int | EscherPropSortFunc (const void *p1, const void *p2) |
| static Size | lcl_SizeToEmu (Size aPrefSize, const MapMode &aPrefMapMode) |
| static sal_Int32 | lcl_GetAdjustValueCount (const XPolygon &rPoly) |
| static sal_Int32 | lcl_GetConnectorAdjustValue (const XPolygon &rPoly, sal_uInt16 nIndex) |
| static void | lcl_Rotate (Degree100 nAngle, Point center, Point &pt) |
| static bool | lcl_GetAngle (tools::Polygon &rPoly, ShapeFlag &rShapeFlags, sal_Int32 &nAngle) |
| static bool | GetValueForEnhancedCustomShapeHandleParameter (sal_Int32 &nRetValue, const drawing::EnhancedCustomShapeParameter &rParameter) |
| static void | ConvertEnhancedCustomShapeEquation (const SdrObjCustomShape &rSdrObjCustomShape, std::vector< EnhancedCustomShapeEquation > &rEquations, std::vector< sal_Int32 > &rEquationOrder) |
|
static |
Definition at line 2439 of file escherex.cxx.
References EnhancedCustomShape::FillEquationParameter(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), gentoken::i, nIndex, EnhancedCustomShapeEquation::nOperation, EnhancedCustomShapeEquation::nPara, and SDRATTR_CUSTOMSHAPE_GEOMETRY().
Referenced by EscherPropertyContainer::CreateCustomShapeProperties().
|
static |
Definition at line 303 of file escherex.cxx.
Referenced by EscherPropertyContainer::Commit().
|
static |
Definition at line 2389 of file escherex.cxx.
Referenced by EscherPropertyContainer::CreateCustomShapeProperties().
|
static |
Definition at line 2057 of file escherex.cxx.
References XPolygon::GetSize().
Referenced by EscherPropertyContainer::CreateConnectorProperties().
|
static |
Definition at line 2145 of file escherex.cxx.
References center, FlipH, FlipV, tools::Polygon::GetSize(), lcl_Rotate(), Point::X(), and Point::Y().
Referenced by EscherPropertyContainer::CreateConnectorProperties().
|
static |
Definition at line 2081 of file escherex.cxx.
References XPolygon::GetSize(), nIndex, Point::setX(), Point::setY(), Point::X(), and Point::Y().
Referenced by EscherPropertyContainer::CreateConnectorProperties().
Definition at line 2109 of file escherex.cxx.
References center, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), NormAngle36000(), and pt.
Referenced by lcl_GetAngle().
Definition at line 1199 of file escherex.cxx.
References Application::GetDefaultDevice(), MapMode::GetMapUnit(), OutputDevice::LogicToLogic(), and OutputDevice::PixelToLogic().
Referenced by EscherGraphicProvider::GetBlibID(), and EscherPropertyContainer::ImplCreateGraphicAttributes().