LibreOffice Module oox (master)  1
Namespaces | Enumerations | Functions
utils.hxx File Reference
#include <sal/config.h>
#include <o3tl/unit_conversion.hxx>
#include <rtl/string.hxx>
#include <sal/types.h>
Include dependency graph for utils.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 oox::drawingml
 

Enumerations

enum  oox::drawingml::DocumentType {
  oox::drawingml::DOCUMENT_DOCX,
  oox::drawingml::DOCUMENT_PPTX,
  oox::drawingml::DOCUMENT_XLSX
}
 

Functions

OString I32SHEX (sal_Int32 x)
 
static constexpr const char * ToPsz (bool b)
 
static constexpr const char * ToPsz10 (bool b)
 
static constexpr sal_Int64 PPTtoEMU (sal_Int32 nPPT)
 
static constexpr sal_Int64 TwipsToEMU (sal_Int32 nTwips)
 
template<typename T >
OString write1000thOfAPercent (T number)
 

Function Documentation

OString I32SHEX ( sal_Int32  x)
inline

Definition at line 29 of file utils.hxx.

References aStr.

static constexpr sal_Int64 PPTtoEMU ( sal_Int32  nPPT)
static

Definition at line 56 of file utils.hxx.

References o3tl::convert(), o3tl::emu, and o3tl::master.

static constexpr const char* ToPsz ( bool  b)
static
Returns
const char* literal "true" for true value, or literal "false" for false value.

Definition at line 41 of file utils.hxx.

static constexpr const char* ToPsz10 ( bool  b)
static
static constexpr sal_Int64 TwipsToEMU ( sal_Int32  nTwips)
static

Definition at line 61 of file utils.hxx.

References o3tl::convert(), o3tl::emu, and o3tl::twip.

template<typename T >
OString write1000thOfAPercent ( number)

Definition at line 67 of file utils.hxx.

Referenced by oox::drawingml::DrawingML::WriteOutline().