LibreOffice Module xmloff (master)  1
Classes | Macros | Functions
xexptran.cxx File Reference
#include <sal/config.h>
#include <string_view>
#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

#define IMP_SDXMLEXP_TRANSOBJ2D_MATRIX   0x0005
#define IMP_SDXMLEXP_TRANSOBJ2D_ROTATE   0x0000
#define IMP_SDXMLEXP_TRANSOBJ2D_SCALE   0x0001
#define IMP_SDXMLEXP_TRANSOBJ2D_SKEWX   0x0003
#define IMP_SDXMLEXP_TRANSOBJ2D_SKEWY   0x0004
#define IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE   0x0002
#define IMP_SDXMLEXP_TRANSOBJ3D_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

Function Documentation

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

Definition at line 71 of file xexptran.cxx.

Referenced by Imp_GetDoubleChar().

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