/* * 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 * */ #ifndef __TAGS_H__ #define __TAGS_H__ static const char* kNSPrefix = "xmlns"; // 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"; // 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* kElColor = "color"; 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"; // Attributes static const char* kAtList = "list"; 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* kAtIndex = "id"; static const char* kAtTo = "to"; // 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"; #endif // __TAGS_H__