LibreOffice Module xmloff (master)  1
Classes | Enumerations | Functions | Variables
XMLNumberStyles.cxx File Reference
#include "XMLNumberStylesExport.hxx"
#include <XMLNumberStylesImport.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmltoken.hxx>
#include <sal/log.hxx>
#include "sdxmlexp_impl.hxx"
#include "sdxmlimp_impl.hxx"
Include dependency graph for XMLNumberStyles.cxx:

Go to the source code of this file.

Classes

struct  SdXMLFixedDataStyle
 
class  SdXMLNumberFormatMemberImportContext
 

Enumerations

enum  DataStyleNumber : sal_uInt8 {
  DataStyleNumber::NONE = 0,
  DataStyleNumber::Day = 1,
  DataStyleNumber::DayLong = 2,
  DataStyleNumber::MonthLong = 3,
  DataStyleNumber::MonthText = 4,
  DataStyleNumber::MonthLongText = 5,
  DataStyleNumber::Year = 6,
  DataStyleNumber::YearLong = 7,
  DataStyleNumber::DayOfWeek = 8,
  DataStyleNumber::DayOfWeekLong = 9,
  DataStyleNumber::TextPoint = 10,
  DataStyleNumber::TextSpace = 11,
  DataStyleNumber::TextCommaSpace = 12,
  DataStyleNumber::TextPointSpace = 13,
  DataStyleNumber::Hours = 14,
  DataStyleNumber::Minutes = 15,
  DataStyleNumber::TextColon = 16,
  DataStyleNumber::AmPm = 17,
  DataStyleNumber::Seconds = 18,
  DataStyleNumber::Seconds_02 = 19
}
 

Functions

static void SdXMLExportDataStyleNumber (SdXMLExport &rExport, SdXMLDataStyleNumber const &rElement)
 
static void SdXMLExportStyle (SdXMLExport &rExport, const SdXMLFixedDataStyle *pStyle, const SdXMLFixedDataStyle *pStyle2=nullptr)
 

Variables

SdXMLDataStyleNumber const aSdXMLDataStyleNumbers []
 
const SdXMLFixedDataStyle aSdXML_Standard_Short
 
const SdXMLFixedDataStyle aSdXML_Standard_Long
 
const SdXMLFixedDataStyle aSdXML_DateStyle_1
 
const SdXMLFixedDataStyle aSdXML_DateStyle_2
 
const SdXMLFixedDataStyle aSdXML_DateStyle_3
 
const SdXMLFixedDataStyle aSdXML_DateStyle_4
 
const SdXMLFixedDataStyle aSdXML_DateStyle_5
 
const SdXMLFixedDataStyle aSdXML_DateStyle_6
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_1
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_2
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_3
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_4
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_5
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_6
 
const SdXMLFixedDataStyle aSdXML_TimeStyle_7
 
const SdXMLFixedDataStyle *const aSdXMLFixedDateFormats [SdXMLDateFormatCount]
 
const SdXMLFixedDataStyle *const aSdXMLFixedTimeFormats [SdXMLTimeFormatCount]
 

Enumeration Type Documentation

enum DataStyleNumber : sal_uInt8
strong
Enumerator
NONE 
Day 
DayLong 
MonthLong 
MonthText 
MonthLongText 
Year 
YearLong 
DayOfWeek 
DayOfWeekLong 
TextPoint 
TextSpace 
TextCommaSpace 
TextPointSpace 
Hours 
Minutes 
TextColon 
AmPm 
Seconds 
Seconds_02 

Definition at line 72 of file XMLNumberStyles.cxx.

Function Documentation

static void SdXMLExportDataStyleNumber ( SdXMLExport rExport,
SdXMLDataStyleNumber const &  rElement 
)
static
static void SdXMLExportStyle ( SdXMLExport rExport,
const SdXMLFixedDataStyle pStyle,
const SdXMLFixedDataStyle pStyle2 = nullptr 
)
static

Variable Documentation

const SdXMLFixedDataStyle aSdXML_DateStyle_1
const SdXMLFixedDataStyle aSdXML_DateStyle_2
const SdXMLFixedDataStyle aSdXML_DateStyle_3
const SdXMLFixedDataStyle aSdXML_DateStyle_4
const SdXMLFixedDataStyle aSdXML_DateStyle_5
const SdXMLFixedDataStyle aSdXML_DateStyle_6
const SdXMLFixedDataStyle aSdXML_Standard_Long
const SdXMLFixedDataStyle aSdXML_Standard_Short
const SdXMLFixedDataStyle aSdXML_TimeStyle_1
const SdXMLFixedDataStyle aSdXML_TimeStyle_2
const SdXMLFixedDataStyle aSdXML_TimeStyle_3
const SdXMLFixedDataStyle aSdXML_TimeStyle_4
const SdXMLFixedDataStyle aSdXML_TimeStyle_5
const SdXMLFixedDataStyle aSdXML_TimeStyle_6
const SdXMLFixedDataStyle aSdXML_TimeStyle_7
SdXMLDataStyleNumber const aSdXMLDataStyleNumbers[]
Initial value:
=
{
{ XML_DAY, false, false, false, nullptr },
{ XML_DAY, true, false, false, nullptr },
{ XML_MONTH, true, false, false, nullptr },
{ XML_MONTH, false, true, false, nullptr },
{ XML_MONTH, true, true, false, nullptr },
{ XML_YEAR, false, false, false, nullptr },
{ XML_YEAR, true, false, false, nullptr },
{ XML_DAY_OF_WEEK, false, false, false, nullptr },
{ XML_DAY_OF_WEEK, true, false, false, nullptr },
{ XML_TEXT, false, false, false, "." },
{ XML_TEXT, false, false, false, " " },
{ XML_TEXT, false, false, false, ", " },
{ XML_TEXT, false, false, false, ". " },
{ XML_HOURS, false, false, false, nullptr },
{ XML_MINUTES, false, false, false, nullptr },
{ XML_TEXT, false, false, false, ":" },
{ XML_AM_PM, false, false, false, nullptr },
{ XML_SECONDS, false, false, false, nullptr },
{ XML_SECONDS, false, false, true, nullptr },
{ XML_TOKEN_INVALID, false, false, false, nullptr }
}

Definition at line 47 of file XMLNumberStyles.cxx.

Referenced by SdXMLNumberFormatImportContext::add().

const SdXMLFixedDataStyle* const aSdXMLFixedDateFormats[SdXMLDateFormatCount]
Initial value:
=
{
}
const SdXMLFixedDataStyle aSdXML_Standard_Short
const SdXMLFixedDataStyle aSdXML_Standard_Long
const SdXMLFixedDataStyle aSdXML_DateStyle_4
const SdXMLFixedDataStyle aSdXML_DateStyle_1
const SdXMLFixedDataStyle aSdXML_DateStyle_2
const SdXMLFixedDataStyle aSdXML_DateStyle_3
const SdXMLFixedDataStyle aSdXML_DateStyle_6
const SdXMLFixedDataStyle aSdXML_DateStyle_5

Definition at line 298 of file XMLNumberStyles.cxx.

const SdXMLFixedDataStyle* const aSdXMLFixedTimeFormats[SdXMLTimeFormatCount]
Initial value:
=
{
}
const SdXMLFixedDataStyle aSdXML_TimeStyle_5
const SdXMLFixedDataStyle aSdXML_TimeStyle_6
const SdXMLFixedDataStyle aSdXML_TimeStyle_1
const SdXMLFixedDataStyle aSdXML_TimeStyle_4
const SdXMLFixedDataStyle aSdXML_TimeStyle_2
const SdXMLFixedDataStyle aSdXML_TimeStyle_3
const SdXMLFixedDataStyle aSdXML_TimeStyle_7

Definition at line 310 of file XMLNumberStyles.cxx.