diff options
Diffstat (limited to 'src/tags.h')
-rw-r--r-- | src/tags.h | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/src/tags.h b/src/tags.h deleted file mode 100644 index 98787d9..0000000 --- a/src/tags.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright (c) 2004, Nate Nielsen - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above - * copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the - * above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or - * other materials provided with the distribution. - * * The names of contributors to this software may not be - * used to endorse or promote products derived from this - * software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * - * CONTRIBUTORS - * Nate Nielsen <nielsen@memberwebs.com> - * - */ - -#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* 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"; -static const char* kElDoc = "document"; -static const char* kElTab = "tab"; -static const char* kElSect = "sect"; -static const char* kElPage = "page"; -static const char* kElStyle = "style"; -static const char* kElLine = "line"; -static const char* kElList = "list"; -static const char* kElStylesheet = "stylesheet"; -static const char* kElInfo = "info"; -static const char* kElTitle = "title"; -static const char* kElAuthor = "author"; -static const char* kElOperator = "operator"; -static const char* kElB = "b"; -static const char* kElHide = "hide"; -static const char* kElI = "i"; -static const char* kElStrike = "strike"; -static const char* kElU = "u"; -static const char* kElSuper = "super"; -static const char* kElSub = "sub"; -static const char* kElCell = "cell"; -static const char* kElRow = "row"; -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* kAtName = "name"; -static const char* kAtBold = "bold"; -static const char* kAtHidden = "hide"; -static const char* kAtItalic = "italic"; -static const char* kAtStrike = "strike"; -static const char* kAtUnderline = "underline"; -static const char* kAtColor = "color"; -static const char* kAtType = "type"; -static const char* kAtOrdered = "ordered"; -static const char* kAtStart = "start"; -static const char* kAtId = "id"; -static const char* kAtTo = "to"; -static const char* kAtSize = "size"; - -// Values -static const wchar_t* kValDisc = L"disc"; -static const wchar_t* kValLowerAlpha = L"lower-alpha"; -static const wchar_t* kValUpperAlpha = L"upper-alpha"; -static const wchar_t* kValLowerRoman = L"lower-roman"; -static const wchar_t* kValUpperRoman = L"upper-roman"; -static const wchar_t* kValArabic = L"arabic"; -static const wchar_t* kValNull = L""; -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__ |