LibreOffice Module xmloff (master)  1
Classes | Macros | Enumerations | Functions | Variables
xmlnumfi.cxx File Reference
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <svl/numuno.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <tools/color.hxx>
#include <osl/diagnose.h>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmlement.hxx>
#include <xmloff/xmlnumfi.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlictxt.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/families.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/languagetagodf.hxx>
#include <memory>
#include <vector>
Include dependency graph for xmlnumfi.cxx:

Go to the source code of this file.

Classes

class  SvXMLNumImpData
 
struct  SvXMLNumberInfo
 

Macros

#define XML_NUMF_COLORCOUNT   10
 

Enumerations

enum  SvXMLStyleTokens
 
enum  SvXMLStyleAttrTokens
 
enum  SvXMLStyleElemAttrTokens
 

Functions

static bool lcl_ValidChar (sal_Unicode cChar, const SvXMLNumFormatContext &rParent)
 
static void lcl_EnquoteIfNecessary (OUStringBuffer &rContent, const SvXMLNumFormatContext &rParent)
 
static bool lcl_IsAtEnd (OUStringBuffer &rBuffer, const OUString &rToken)
 

Variables

const Color aNumFmtStdColors [XML_NUMF_COLORCOUNT]
 
const SvXMLEnumMapEntry< bool > aStyleValueMap []
 
const SvXMLEnumMapEntry< bool > aFormatSourceMap []
 
const SvXMLDefaultDateFormat aDefaultDateFormats []
 

Macro Definition Documentation

#define XML_NUMF_COLORCOUNT   10

Definition at line 273 of file xmlnumfi.cxx.

Referenced by SvXMLNumFormatContext::AddColor().

Enumeration Type Documentation

Definition at line 221 of file xmlnumfi.cxx.

Definition at line 240 of file xmlnumfi.cxx.

Definition at line 196 of file xmlnumfi.cxx.

Function Documentation

static void lcl_EnquoteIfNecessary ( OUStringBuffer &  rContent,
const SvXMLNumFormatContext rParent 
)
static
static bool lcl_IsAtEnd ( OUStringBuffer &  rBuffer,
const OUString &  rToken 
)
static

Definition at line 2093 of file xmlnumfi.cxx.

Referenced by SvXMLNumFormatContext::ReplaceNfKeyword().

static bool lcl_ValidChar ( sal_Unicode  cChar,
const SvXMLNumFormatContext rParent 
)
static

Variable Documentation

const SvXMLDefaultDateFormat aDefaultDateFormats[]
Initial value:
=
{
}
NF_DATE_SYS_NNDMMMMYYYY
NF_DATETIME_SYS_DDMMYYYY_HHMMSS
NF_DATE_SYS_DDMMM
NF_DATE_SYS_DDMMYY
NF_DATE_SYS_DMMMYYYY
NF_DATETIME_SYS_DDMMYYYY_HHMM
NF_DATE_SYS_DDMMYYYY
NF_DATE_SYSTEM_LONG
NF_DATE_SYS_NNNNDMMMMYYYY
NF_DATE_SYS_DMMMYY
NF_DATE_SYSTEM_SHORT
NF_DATE_SYS_MMYY
NF_DATE_SYS_NNDMMMYY
NF_DATETIME_SYSTEM_SHORT_HHMM
NF_DATE_SYS_DMMMMYYYY

Definition at line 326 of file xmlnumfi.cxx.

const SvXMLEnumMapEntry<bool> aFormatSourceMap[]
Initial value:

Definition at line 302 of file xmlnumfi.cxx.

const Color aNumFmtStdColors[XML_NUMF_COLORCOUNT]
Initial value:
=
{
}
constexpr::Color COL_BROWN(0x80, 0x80, 0x00)
constexpr::Color COL_BLACK(0x00, 0x00, 0x00)
constexpr::Color COL_LIGHTGREEN(0x00, 0xFF, 0x00)
constexpr::Color COL_GRAY(0x80, 0x80, 0x80)
constexpr::Color COL_LIGHTRED(0xFF, 0x00, 0x00)
constexpr::Color COL_YELLOW(0xFF, 0xFF, 0x00)
constexpr::Color COL_LIGHTCYAN(0x00, 0xFF, 0xFF)
constexpr::Color COL_LIGHTMAGENTA(0xFF, 0x00, 0xFF)
constexpr::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr::Color COL_LIGHTBLUE(0x00, 0x00, 0xFF)

Definition at line 275 of file xmlnumfi.cxx.

const SvXMLEnumMapEntry<bool> aStyleValueMap[]
Initial value:

Definition at line 295 of file xmlnumfi.cxx.