diff options
Diffstat (limited to 'src/tags.h')
-rw-r--r-- | src/tags.h | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -39,17 +39,24 @@ #ifndef __TAGS_H__ #define __TAGS_H__ +/* + * IMPORTANT: When adding tags, attributes or values here make sure to update + * the XSL Schema for the output formats. + */ + static const char* kNSPrefix = "xmlns"; +static const wchar_t* kNSRtfx = L"http://memberwebs.com/ns/rtfx/"; // Tags used internally static const char* kElDest = "i_dest"; static const char* kElBlock = "i_block"; -static const char* kAtFix = "i_fix"; -static const char* kAtCell = "i_cell"; static const char* kElListtable = "i_listtable"; static const char* kElListdef = "i_listdef"; static const char* kElFontTable = "i_fonttable"; static const char* kElFontDef = "i_fontdef"; +static const char* kAtFix = "i_fix"; +static const char* kAtCell = "i_cell"; +static const char* kAtList = "i_list"; // All the main tags static const char* kElPara = "para"; @@ -70,7 +77,6 @@ static const char* kElHide = "hide"; static const char* kElI = "i"; static const char* kElStrike = "strike"; static const char* kElU = "u"; -static const char* kElColor = "color"; static const char* kElSuper = "super"; static const char* kElSub = "sub"; static const char* kElCell = "cell"; @@ -79,9 +85,9 @@ static const char* kElTable = "table"; static const char* kElFootNote = "footnote"; static const char* kElRef = "ref"; static const char* kElFont = "font"; +static const char* kElOptions = "options"; // Attributes -static const char* kAtList = "list"; static const char* kAtName = "name"; static const char* kAtBold = "bold"; static const char* kAtHidden = "hide"; @@ -93,7 +99,6 @@ static const char* kAtType = "type"; static const char* kAtOrdered = "ordered"; static const char* kAtStart = "start"; static const char* kAtId = "id"; -static const char* kAtIndex = "id"; static const char* kAtTo = "to"; static const char* kAtSize = "size"; @@ -109,5 +114,7 @@ static const wchar_t* kValFootNote = L"footnote"; static const wchar_t* kValList = L"list"; static const wchar_t* kValPara = L"para"; static const wchar_t* kValTable = L"table"; +static const wchar_t* kValTrue = L"true"; +static const wchar_t* kValZero = L"0"; #endif // __TAGS_H__ |