LibreOffice Module filter (master) 1
Classes | Functions
escherex.cxx File Reference
#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>
Include dependency graph for escherex.cxx:

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)
 

Function Documentation

◆ ConvertEnhancedCustomShapeEquation()

static void ConvertEnhancedCustomShapeEquation ( const SdrObjCustomShape rSdrObjCustomShape,
std::vector< EnhancedCustomShapeEquation > &  rEquations,
std::vector< sal_Int32 > &  rEquationOrder 
)
static

◆ EscherPropSortFunc()

static int EscherPropSortFunc ( const void *  p1,
const void *  p2 
)
static

Definition at line 303 of file escherex.cxx.

Referenced by EscherPropertyContainer::Commit().

◆ GetValueForEnhancedCustomShapeHandleParameter()

static bool GetValueForEnhancedCustomShapeHandleParameter ( sal_Int32 &  nRetValue,
const drawing::EnhancedCustomShapeParameter &  rParameter 
)
static

Definition at line 2389 of file escherex.cxx.

Referenced by EscherPropertyContainer::CreateCustomShapeProperties().

◆ lcl_GetAdjustValueCount()

static sal_Int32 lcl_GetAdjustValueCount ( const XPolygon rPoly)
static

Definition at line 2057 of file escherex.cxx.

References XPolygon::GetSize().

Referenced by EscherPropertyContainer::CreateConnectorProperties().

◆ lcl_GetAngle()

static bool lcl_GetAngle ( tools::Polygon rPoly,
ShapeFlag rShapeFlags,
sal_Int32 &  nAngle 
)
static

◆ lcl_GetConnectorAdjustValue()

static sal_Int32 lcl_GetConnectorAdjustValue ( const XPolygon rPoly,
sal_uInt16  nIndex 
)
static

◆ lcl_Rotate()

static void lcl_Rotate ( Degree100  nAngle,
Point  center,
Point pt 
)
static

◆ lcl_SizeToEmu()

static Size lcl_SizeToEmu ( Size  aPrefSize,
const MapMode aPrefMapMode 
)
static