LibreOffice Module xmloff (master) 1
Classes | Macros | Functions
xexptran.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <utility>
#include <xexptran.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
#include <sax/tools/converter.hxx>
#include <xmloff/xmluconv.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/tuple/b3dtuple.hxx>
#include <basegfx/matrix/b3dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/matrix/b3dhommatrixtools.hxx>
Include dependency graph for xexptran.cxx:

Go to the source code of this file.

Classes

struct  ImpSdXMLExpTransObj2DBase
 
struct  ImpSdXMLExpTransObj3DBase
 

Macros

#define IMP_SDXMLEXP_TRANSOBJ2D_ROTATE   0x0000
 
#define IMP_SDXMLEXP_TRANSOBJ2D_SCALE   0x0001
 
#define IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE   0x0002
 
#define IMP_SDXMLEXP_TRANSOBJ2D_SKEWX   0x0003
 
#define IMP_SDXMLEXP_TRANSOBJ2D_SKEWY   0x0004
 
#define IMP_SDXMLEXP_TRANSOBJ2D_MATRIX   0x0005
 
#define IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X   0x0000
 
#define IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y   0x0001
 
#define IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z   0x0002
 
#define IMP_SDXMLEXP_TRANSOBJ3D_SCALE   0x0003
 
#define IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE   0x0004
 
#define IMP_SDXMLEXP_TRANSOBJ3D_MATRIX   0x0005
 

Functions

static void Imp_SkipSpaces (std::u16string_view rStr, sal_Int32 &rPos, const sal_Int32 nLen)
 
static void Imp_SkipSpacesAndOpeningBraces (std::u16string_view rStr, sal_Int32 &rPos, const sal_Int32 nLen)
 
static void Imp_SkipSpacesAndCommas (std::u16string_view rStr, sal_Int32 &rPos, const sal_Int32 nLen)
 
static void Imp_SkipSpacesAndClosingBraces (std::u16string_view rStr, sal_Int32 &rPos, const sal_Int32 nLen)
 
static bool Imp_IsOnUnitChar (std::u16string_view rStr, const sal_Int32 nPos)
 
static double Imp_GetDoubleChar (std::u16string_view rStr, sal_Int32 &rPos, const sal_Int32 nLen, const SvXMLUnitConverter &rConv, double fRetval, bool bLookForUnits=false)
 
static void Imp_PutDoubleChar (OUString &rStr, double fValue)
 
static void Imp_PutDoubleChar (OUStringBuffer &rStr, const SvXMLUnitConverter &rConv, double fValue, bool bConvertUnits=false)
 

Macro Definition Documentation

◆ IMP_SDXMLEXP_TRANSOBJ2D_MATRIX

#define IMP_SDXMLEXP_TRANSOBJ2D_MATRIX   0x0005

Definition at line 179 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ2D_ROTATE

#define IMP_SDXMLEXP_TRANSOBJ2D_ROTATE   0x0000

Definition at line 174 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ2D_SCALE

#define IMP_SDXMLEXP_TRANSOBJ2D_SCALE   0x0001

Definition at line 175 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ2D_SKEWX

#define IMP_SDXMLEXP_TRANSOBJ2D_SKEWX   0x0003

Definition at line 177 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ2D_SKEWY

#define IMP_SDXMLEXP_TRANSOBJ2D_SKEWY   0x0004

Definition at line 178 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE

#define IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE   0x0002

Definition at line 176 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ3D_MATRIX

#define IMP_SDXMLEXP_TRANSOBJ3D_MATRIX   0x0005

Definition at line 559 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X

#define IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X   0x0000

Definition at line 554 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y

#define IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y   0x0001

Definition at line 555 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z

#define IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z   0x0002

Definition at line 556 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ3D_SCALE

#define IMP_SDXMLEXP_TRANSOBJ3D_SCALE   0x0003

Definition at line 557 of file xexptran.cxx.

◆ IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE

#define IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE   0x0004

Definition at line 558 of file xexptran.cxx.

Function Documentation

◆ Imp_GetDoubleChar()

static double Imp_GetDoubleChar ( std::u16string_view  rStr,
sal_Int32 &  rPos,
const sal_Int32  nLen,
const SvXMLUnitConverter rConv,
double  fRetval,
bool  bLookForUnits = false 
)
static

◆ Imp_IsOnUnitChar()

static bool Imp_IsOnUnitChar ( std::u16string_view  rStr,
const sal_Int32  nPos 
)
static

Definition at line 70 of file xexptran.cxx.

References nPos.

Referenced by Imp_GetDoubleChar().

◆ Imp_PutDoubleChar() [1/2]

static void Imp_PutDoubleChar ( OUString &  rStr,
double  fValue 
)
static

◆ Imp_PutDoubleChar() [2/2]

static void Imp_PutDoubleChar ( OUStringBuffer &  rStr,
const SvXMLUnitConverter rConv,
double  fValue,
bool  bConvertUnits = false 
)
static

◆ Imp_SkipSpaces()

static void Imp_SkipSpaces ( std::u16string_view  rStr,
sal_Int32 &  rPos,
const sal_Int32  nLen 
)
static

◆ Imp_SkipSpacesAndClosingBraces()

static void Imp_SkipSpacesAndClosingBraces ( std::u16string_view  rStr,
sal_Int32 &  rPos,
const sal_Int32  nLen 
)
static

◆ Imp_SkipSpacesAndCommas()

static void Imp_SkipSpacesAndCommas ( std::u16string_view  rStr,
sal_Int32 &  rPos,
const sal_Int32  nLen 
)
static

◆ Imp_SkipSpacesAndOpeningBraces()

static void Imp_SkipSpacesAndOpeningBraces ( std::u16string_view  rStr,
sal_Int32 &  rPos,
const sal_Int32  nLen 
)
static