Go to the documentation of this file.
10 #ifndef __VSDFIELDLIST_H__
11 #define __VSDFIELDLIST_H__
15 #include <librevenge/librevenge.h>
31 virtual librevenge::RVNGString
getString(
const std::map<unsigned, librevenge::RVNGString> &) = 0;
40 VSDTextField(
unsigned id,
unsigned level,
int nameId,
int formatStringId)
48 librevenge::RVNGString
getString(
const std::map<unsigned, librevenge::RVNGString> &strVec)
override;
60 VSDNumericField(
unsigned id,
unsigned level,
unsigned short format,
double number,
int formatStringId)
69 librevenge::RVNGString
getString(
const std::map<unsigned, librevenge::RVNGString> &)
override;
71 void setFormat(
unsigned short format)
override;
72 void setValue(
double number)
override;
74 librevenge::RVNGString
datetimeToString(
const char *format,
double datetime);
90 void addTextField(
unsigned id,
unsigned level,
int nameId,
int formatStringId);
91 void addNumericField(
unsigned id,
unsigned level,
unsigned short format,
double number,
int formatStringId);
112 #endif // __VSDFIELDLIST_H__
#define VSD_FIELD_FORMAT_DateDMMMMYYYY
Definition: VSDDocumentStructure.h:160
#define VSD_FIELD_FORMAT_TimeAMPMhmm_J
Definition: VSDDocumentStructure.h:174
#define VSD_FIELD_FORMAT_DateMmmDYYYY
Definition: VSDDocumentStructure.h:155
#define VSD_FIELD_FORMAT_TimeAMPM_hmm_C
Definition: VSDDocumentStructure.h:196
void setNameId(int) override
Definition: VSDFieldList.h:70
virtual void handle(VSDCollector *collector) const =0
#define VSD_FIELD_FORMAT_Dateyyyymd
Definition: VSDDocumentStructure.h:172
std::map< unsigned, VSDFieldListElement * > m_elements
Definition: VSDFieldList.h:105
Definition: VSDFieldList.h:58
VSDFieldListElement * clone() override
Definition: VSDFieldList.cpp:44
#define VSD_FIELD_FORMAT_Timehmm_C
Definition: VSDDocumentStructure.h:197
VSDFieldListElement()
Definition: VSDFieldList.h:27
#define VSD_FIELD_FORMAT_TimeAMPM_hmm_J
Definition: VSDDocumentStructure.h:194
int m_nameId
Definition: VSDFieldList.h:54
#define VSD_FIELD_FORMAT_Timehmm_K
Definition: VSDDocumentStructure.h:199
virtual librevenge::RVNGString getString(const std::map< unsigned, librevenge::RVNGString > &)=0
void addNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
Definition: VSDFieldList.cpp:223
int m_formatStringId
Definition: VSDFieldList.h:54
#define VSD_FIELD_FORMAT_MsoDateShort
Definition: VSDDocumentStructure.h:209
Definition: VSDFieldList.h:25
virtual void setFormat(unsigned short)=0
#define VSD_FIELD_FORMAT_MsoDateShortMon
Definition: VSDDocumentStructure.h:214
void setNameId(int nameId) override
Definition: VSDFieldList.cpp:33
void handle(VSDCollector *collector) const override
Definition: VSDFieldList.cpp:14
double m_number
Definition: VSDFieldList.h:77
VSDNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
Definition: VSDFieldList.h:60
Definition: VSDCollector.h:21
VSDFieldList & operator=(const VSDFieldList &fieldList)
Definition: VSDFieldList.cpp:184
#define VSD_FIELD_FORMAT_DateTWNfyyyymmddww_C
Definition: VSDDocumentStructure.h:178
#define VSD_FIELD_FORMAT_Dateyyyy_m_d
Definition: VSDDocumentStructure.h:190
#define VSD_FIELD_FORMAT_TimeAMPM_hmm_K
Definition: VSDDocumentStructure.h:198
void handle(VSDCollector *collector) const
Definition: VSDFieldList.cpp:229
#define VSD_FIELD_FORMAT_Dateyyyymdww_J
Definition: VSDDocumentStructure.h:181
#define VSD_FIELD_FORMAT_MsoTimeSec24
Definition: VSDDocumentStructure.h:225
#define VSD_FIELD_FORMAT_Dateyy_mm_dd
Definition: VSDDocumentStructure.h:191
#define VSD_FIELD_FORMAT_TimeAMPMhmm_S
Definition: VSDDocumentStructure.h:206
void addClonedField(unsigned id)
void setValue(double) override
Definition: VSDFieldList.h:51
#define VSD_FIELD_FORMAT_TimeHMMAMPM_E
Definition: VSDDocumentStructure.h:200
#define VSD_FIELD_FORMAT_MsoTimeDatePM
Definition: VSDDocumentStructure.h:220
#define VSD_FIELD_FORMAT_TimeHHMM
Definition: VSDDocumentStructure.h:163
#define VSD_FIELD_FORMAT_TimeHMM
Definition: VSDDocumentStructure.h:162
#define VSD_FIELD_FORMAT_MsoDateLongDay
Definition: VSDDocumentStructure.h:210
#define VSD_FIELD_FORMAT_TimeHMM24
Definition: VSDDocumentStructure.h:164
~VSDNumericField() override
Definition: VSDFieldList.h:66
#define VSD_FIELD_FORMAT_MsoDateEnglish
Definition: VSDDocumentStructure.h:217
unsigned long size() const
Definition: VSDFieldList.h:95
Definition: VSDFieldList.h:82
Definition: VSDFieldList.h:38
void addTextField(unsigned id, unsigned level, int nameId, int formatStringId)
Definition: VSDFieldList.cpp:217
#define VSD_FIELD_FORMAT_Dateyyyymd_S
Definition: VSDDocumentStructure.h:202
#define VSD_FIELD_FORMAT_DateDMMMYYYY
Definition: VSDDocumentStructure.h:159
#define VSD_FIELD_FORMAT_DateMmmmDYYYY
Definition: VSDDocumentStructure.h:156
virtual void setNameId(int)=0
#define VSD_FIELD_FORMAT_MsoDateShortSlash
Definition: VSDDocumentStructure.h:215
void setFormat(unsigned short format) override
Definition: VSDFieldList.cpp:155
std::vector< unsigned > m_elementsOrder
Definition: VSDFieldList.h:106
#define VSD_FIELD_FORMAT_TimeAMPMhhmm_S
Definition: VSDDocumentStructure.h:207
#define VSD_FIELD_FORMAT_TimeAMPMhmm_C
Definition: VSDDocumentStructure.h:192
void setValue(double number) override
Definition: VSDFieldList.cpp:159
#define VSD_FIELD_FORMAT_MsoTimePM
Definition: VSDDocumentStructure.h:222
bool empty() const
Definition: VSDFieldList.h:99
#define VSD_FIELD_FORMAT_Dateyymmdd
Definition: VSDDocumentStructure.h:173
unsigned m_level
Definition: VSDFieldList.h:107
librevenge::RVNGString getString(const std::map< unsigned, librevenge::RVNGString > &strVec) override
Definition: VSDFieldList.cpp:24
virtual VSDFieldListElement * clone()=0
#define VSD_FIELD_FORMAT_Dateyyyymmdd_S
Definition: VSDDocumentStructure.h:203
void setFormat(unsigned short) override
Definition: VSDFieldList.h:50
#define MAX_BUFFER
Definition: VSDFieldList.cpp:49
#define VSD_FIELD_FORMAT_DateTWNfyyyymmdd_C
Definition: VSDDocumentStructure.h:179
#define VSD_FIELD_FORMAT_MsoTimeSecPM
Definition: VSDDocumentStructure.h:223
~VSDFieldList()
Definition: VSDFieldList.cpp:199
unsigned m_id
Definition: VSDFieldList.h:107
#define VSD_FIELD_FORMAT_DateDMYY
Definition: VSDDocumentStructure.h:157
#define VSD_FIELD_FORMAT_DateYYYYMMMDDD_C
Definition: VSDDocumentStructure.h:185
void addFieldList(unsigned id, unsigned level)
Definition: VSDFieldList.cpp:211
unsigned m_level
Definition: VSDFieldList.h:53
#define VSD_FIELD_FORMAT_MsoDateLong
Definition: VSDDocumentStructure.h:211
#define VSD_FIELD_FORMAT_Dateyyyymdww_K
Definition: VSDDocumentStructure.h:187
#define VSD_FIELD_FORMAT_MsoDateISO
Definition: VSDDocumentStructure.h:213
#define VSD_FIELD_FORMAT_TimeHMMAMPM
Definition: VSDDocumentStructure.h:166
#define VSD_FIELD_FORMAT_DateTWNsYYYYMMDDD_C
Definition: VSDDocumentStructure.h:177
VSDTextField(unsigned id, unsigned level, int nameId, int formatStringId)
Definition: VSDFieldList.h:40
#define VSD_FIELD_FORMAT_DateMDYY
Definition: VSDDocumentStructure.h:153
#define VSD_FIELD_FORMAT_MsoDateShortAlt
Definition: VSDDocumentStructure.h:212
virtual void setValue(double)=0
VSDFieldList()
Definition: VSDFieldList.cpp:165
unsigned m_level
Definition: VSDFieldList.h:75
#define VSD_FIELD_FORMAT_TimeGen
Definition: VSDDocumentStructure.h:161
virtual void collectNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId)=0
#define VSD_FIELD_FORMAT_TimeAMPMhmm_K
Definition: VSDDocumentStructure.h:193
VSDFieldListElement * clone() override
Definition: VSDFieldList.cpp:19
unsigned m_id
Definition: VSDFieldList.h:75
void handle(VSDCollector *collector) const override
Definition: VSDFieldList.cpp:39
#define VSD_FIELD_FORMAT_TimeHHMMAMPM_E
Definition: VSDDocumentStructure.h:201
#define VSD_FIELD_FORMAT_Dategggemdww_J
Definition: VSDDocumentStructure.h:180
librevenge::RVNGString datetimeToString(const char *format, double datetime)
Definition: VSDFieldList.cpp:51
#define VSD_FIELD_FORMAT_MsoDateMon_Yr
Definition: VSDDocumentStructure.h:219
#define VSD_FIELD_FORMAT_Datewwyyyymd_S
Definition: VSDDocumentStructure.h:205
#define VSD_FIELD_FORMAT_MsoTimeDateSecPM
Definition: VSDDocumentStructure.h:221
#define VSD_FIELD_FORMAT_TimeHHMMAMPM
Definition: VSDDocumentStructure.h:167
#define VSD_FIELD_FORMAT_DateDDMMYY
Definition: VSDDocumentStructure.h:158
virtual void collectFieldList(unsigned id, unsigned level)=0
#define VSD_FIELD_FORMAT_DategeMMMMddddww_K
Definition: VSDDocumentStructure.h:186
#define VSD_FIELD_FORMAT_TimeHHMM24
Definition: VSDDocumentStructure.h:165
#define VSD_FIELD_FORMAT_DateTWNfYYYYMMDDD_C
Definition: VSDDocumentStructure.h:176
#define VSD_FIELD_FORMAT_Datewwyyyymmdd_S
Definition: VSDDocumentStructure.h:204
#define VSD_FIELD_FORMAT_Dateyyyymd_J
Definition: VSDDocumentStructure.h:183
#define VSD_FIELD_FORMAT_Dateyyyymd_K
Definition: VSDDocumentStructure.h:189
#define VSD_FIELD_FORMAT_DateYYYYMMMDDDWWW_C
Definition: VSDDocumentStructure.h:184
#define VSD_FIELD_FORMAT_MsoTime24
Definition: VSDDocumentStructure.h:224
int m_formatStringId
Definition: VSDFieldList.h:78
void clear()
Definition: VSDFieldList.cpp:252
virtual void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId)=0
virtual ~VSDFieldListElement()
Definition: VSDFieldList.h:28
unsigned short m_format
Definition: VSDFieldList.h:76
unsigned m_id
Definition: VSDFieldList.h:53
#define VSD_FIELD_FORMAT_Dategggemd_J
Definition: VSDDocumentStructure.h:182
librevenge::RVNGString getString(const std::map< unsigned, librevenge::RVNGString > &) override
Definition: VSDFieldList.cpp:65
VSDFieldListElement * getElement(unsigned index)
Definition: VSDFieldList.cpp:260
#define VSD_FIELD_FORMAT_DateMMDDYY
Definition: VSDDocumentStructure.h:154
~VSDTextField() override
Definition: VSDFieldList.h:45
void setElementsOrder(const std::vector< unsigned > &m_elementsOrder)
Definition: VSDFieldList.cpp:204
Definition: libvisio_utils.h:49
#define VSD_FIELD_FORMAT_Timehmm_J
Definition: VSDDocumentStructure.h:195
#define VSD_FIELD_FORMAT_MsoDateShortAbb
Definition: VSDDocumentStructure.h:216
#define VSD_FIELD_FORMAT_DategeMMMMddd_K
Definition: VSDDocumentStructure.h:188
#define VSD_FIELD_FORMAT_MsoDateMonthYr
Definition: VSDDocumentStructure.h:218
Generated for libvisio by
doxygen 1.8.20