LibreOffice Module xmloff (master) 1
|
#include "XMLNumberStylesExport.hxx"
#include <XMLNumberStylesImport.hxx>
#include <utility>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmltoken.hxx>
#include <o3tl/string_view.hxx>
#include <sal/log.hxx>
#include "sdxmlexp_impl.hxx"
#include "sdxmlimp_impl.hxx"
Go to the source code of this file.
Classes | |
struct | SdXMLFixedDataStyle |
class | SdXMLNumberFormatMemberImportContext |
Enumerations | |
enum class | DataStyleNumber : sal_uInt8 { NONE = 0 , Day = 1 , DayLong = 2 , MonthLong = 3 , MonthText = 4 , MonthLongText = 5 , Year = 6 , YearLong = 7 , DayOfWeek = 8 , DayOfWeekLong = 9 , TextPoint = 10 , TextSpace = 11 , TextCommaSpace = 12 , TextPointSpace = 13 , Hours = 14 , Minutes = 15 , TextColon = 16 , AmPm = 17 , Seconds = 18 , 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] |
|
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 74 of file XMLNumberStyles.cxx.
|
static |
Definition at line 325 of file XMLNumberStyles.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::GetDocHandler(), xmloff::token::XML_2, xmloff::token::XML_DECIMAL_PLACES, xmloff::token::XML_LONG, XML_NAMESPACE_NUMBER, xmloff::token::XML_STYLE, xmloff::token::XML_TEXTUAL, and xmloff::token::XML_TRUE.
Referenced by SdXMLExportStyle().
|
static |
Definition at line 350 of file XMLNumberStyles.cxx.
References SvXMLExport::AddAttribute(), aSdXMLDataStyleNumbers, SdXMLFixedDataStyle::mbAutomatic, SdXMLFixedDataStyle::mbDateStyle, SdXMLFixedDataStyle::mpFormat, SdXMLFixedDataStyle::mpName, NONE, SdXMLExportDataStyleNumber(), TextSpace, xmloff::token::XML_AUTOMATIC_ORDER, xmloff::token::XML_DATE_STYLE, xmloff::token::XML_NAME, XML_NAMESPACE_NUMBER, XML_NAMESPACE_STYLE, xmloff::token::XML_TIME_STYLE, and xmloff::token::XML_TRUE.
Referenced by SdXMLNumberStylesExporter::exportDateStyle(), and SdXMLNumberStylesExporter::exportTimeStyle().
const SdXMLFixedDataStyle aSdXML_DateStyle_1 |
Definition at line 134 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_DateStyle_2 |
Definition at line 147 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_DateStyle_3 |
Definition at line 160 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_DateStyle_4 |
Definition at line 173 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_DateStyle_5 |
Definition at line 186 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_DateStyle_6 |
Definition at line 201 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_Standard_Long |
Definition at line 119 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_Standard_Short |
Definition at line 106 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_1 |
Definition at line 216 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_2 |
Definition at line 229 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_3 |
Definition at line 239 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_4 |
Definition at line 251 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_5 |
Definition at line 263 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_6 |
Definition at line 274 of file XMLNumberStyles.cxx.
const SdXMLFixedDataStyle aSdXML_TimeStyle_7 |
Definition at line 287 of file XMLNumberStyles.cxx.
SdXMLDataStyleNumber const aSdXMLDataStyleNumbers[] |
Definition at line 49 of file XMLNumberStyles.cxx.
Referenced by SdXMLNumberFormatImportContext::add(), and SdXMLExportStyle().
const SdXMLFixedDataStyle* const aSdXMLFixedDateFormats[SdXMLDateFormatCount] |
Definition at line 300 of file XMLNumberStyles.cxx.
Referenced by SdXMLNumberFormatImportContext::endFastElement(), SdXMLNumberStylesExporter::exportDateStyle(), and SdXMLNumberStylesExporter::getDateStyleName().
const SdXMLFixedDataStyle* const aSdXMLFixedTimeFormats[SdXMLTimeFormatCount] |
Definition at line 312 of file XMLNumberStyles.cxx.
Referenced by SdXMLNumberFormatImportContext::endFastElement(), SdXMLNumberStylesExporter::exportDateStyle(), SdXMLNumberStylesExporter::exportTimeStyle(), and SdXMLNumberStylesExporter::getTimeStyleName().