summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtimp.cxx')
-rw-r--r--xmloff/source/text/txtimp.cxx324
1 files changed, 0 insertions, 324 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 5380cd2491fb..6585a4b25517 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -87,330 +87,6 @@ using namespace ::com::sun::star::lang;
using namespace ::xmloff::token;
using namespace ::com::sun::star::ucb;
-const SvXMLTokenMapEntry aTextElemTokenMap[] =
-{
- { XML_NAMESPACE_TEXT, XML_P, XML_TOK_TEXT_P },
- { XML_NAMESPACE_LO_EXT, XML_P, XML_TOK_TEXT_P },
- { XML_NAMESPACE_TEXT, XML_H, XML_TOK_TEXT_H },
- { XML_NAMESPACE_TEXT, XML_LIST, XML_TOK_TEXT_LIST },
- { XML_NAMESPACE_DRAW, XML_FRAME, XML_TOK_TEXT_FRAME_PAGE },
- { XML_NAMESPACE_DRAW, XML_A, XML_TOK_DRAW_A_PAGE },
- { XML_NAMESPACE_TABLE,XML_TABLE, XML_TOK_TABLE_TABLE },
- { XML_NAMESPACE_LO_EXT,XML_TABLE, XML_TOK_TABLE_TABLE },
- { XML_NAMESPACE_TEXT, XML_VARIABLE_DECLS, XML_TOK_TEXT_VARFIELD_DECLS },
- { XML_NAMESPACE_TEXT, XML_USER_FIELD_DECLS, XML_TOK_TEXT_USERFIELD_DECLS },
- { XML_NAMESPACE_TEXT, XML_SEQUENCE_DECLS, XML_TOK_TEXT_SEQUENCE_DECLS },
- { XML_NAMESPACE_TEXT, XML_DDE_CONNECTION_DECLS, XML_TOK_TEXT_DDE_DECLS },
- { XML_NAMESPACE_TEXT, XML_SECTION, XML_TOK_TEXT_SECTION },
- { XML_NAMESPACE_TEXT, XML_TABLE_OF_CONTENT, XML_TOK_TEXT_TOC },
- { XML_NAMESPACE_TEXT, XML_OBJECT_INDEX, XML_TOK_TEXT_OBJECT_INDEX },
- { XML_NAMESPACE_TEXT, XML_TABLE_INDEX, XML_TOK_TEXT_TABLE_INDEX },
- { XML_NAMESPACE_TEXT, XML_ILLUSTRATION_INDEX, XML_TOK_TEXT_ILLUSTRATION_INDEX },
- { XML_NAMESPACE_TEXT, XML_USER_INDEX, XML_TOK_TEXT_USER_INDEX },
- { XML_NAMESPACE_TEXT, XML_ALPHABETICAL_INDEX, XML_TOK_TEXT_ALPHABETICAL_INDEX },
- { XML_NAMESPACE_TEXT, XML_BIBLIOGRAPHY, XML_TOK_TEXT_BIBLIOGRAPHY_INDEX },
- { XML_NAMESPACE_TEXT, XML_INDEX_TITLE, XML_TOK_TEXT_INDEX_TITLE },
- { XML_NAMESPACE_TEXT, XML_TRACKED_CHANGES, XML_TOK_TEXT_TRACKED_CHANGES },
- { XML_NAMESPACE_TEXT, XML_CHANGE_START, XML_TOK_TEXT_CHANGE_START },
- { XML_NAMESPACE_TEXT, XML_CHANGE_END, XML_TOK_TEXT_CHANGE_END },
- { XML_NAMESPACE_TEXT, XML_CHANGE, XML_TOK_TEXT_CHANGE },
- { XML_NAMESPACE_OFFICE, XML_FORMS, XML_TOK_TEXT_FORMS },
- { XML_NAMESPACE_TABLE, XML_CALCULATION_SETTINGS, XML_TOK_TEXT_CALCULATION_SETTINGS },
- { XML_NAMESPACE_TEXT, XML_ALPHABETICAL_INDEX_AUTO_MARK_FILE, XML_TOK_TEXT_AUTOMARK },
- // #i52127#
- { XML_NAMESPACE_TEXT, XML_NUMBERED_PARAGRAPH, XML_TOK_TEXT_NUMBERED_PARAGRAPH },
-
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextPElemTokenMap[] =
-{
- { XML_NAMESPACE_TEXT, XML_SPAN, XML_TOK_TEXT_SPAN },
- { XML_NAMESPACE_TEXT, XML_TAB, XML_TOK_TEXT_TAB_STOP },
- { XML_NAMESPACE_TEXT, XML_LINE_BREAK, XML_TOK_TEXT_LINE_BREAK },
- { XML_NAMESPACE_TEXT, XML_SOFT_PAGE_BREAK, XML_TOK_TEXT_SOFT_PAGE_BREAK },
- { XML_NAMESPACE_TEXT, XML_S, XML_TOK_TEXT_S },
- { XML_NAMESPACE_TEXT, XML_A, XML_TOK_TEXT_HYPERLINK },
- { XML_NAMESPACE_TEXT, XML_RUBY, XML_TOK_TEXT_RUBY },
-
- { XML_NAMESPACE_TEXT, XML_NOTE, XML_TOK_TEXT_NOTE },
- { XML_NAMESPACE_TEXT, XML_BOOKMARK, XML_TOK_TEXT_BOOKMARK },
- { XML_NAMESPACE_TEXT, XML_BOOKMARK_START, XML_TOK_TEXT_BOOKMARK_START },
- { XML_NAMESPACE_TEXT, XML_BOOKMARK_END, XML_TOK_TEXT_BOOKMARK_END },
- { XML_NAMESPACE_TEXT, XML_REFERENCE_MARK, XML_TOK_TEXT_REFERENCE },
- { XML_NAMESPACE_TEXT, XML_REFERENCE_MARK_START,
- XML_TOK_TEXT_REFERENCE_START },
- { XML_NAMESPACE_TEXT, XML_REFERENCE_MARK_END,
- XML_TOK_TEXT_REFERENCE_END },
-
- { XML_NAMESPACE_DRAW, XML_FRAME, XML_TOK_TEXT_FRAME },
- { XML_NAMESPACE_DRAW, XML_A, XML_TOK_DRAW_A },
-
- // index marks
- { XML_NAMESPACE_TEXT, XML_TOC_MARK, XML_TOK_TEXT_TOC_MARK },
- { XML_NAMESPACE_TEXT, XML_TOC_MARK_START, XML_TOK_TEXT_TOC_MARK_START },
- { XML_NAMESPACE_TEXT, XML_TOC_MARK_END, XML_TOK_TEXT_TOC_MARK_END },
- { XML_NAMESPACE_TEXT, XML_USER_INDEX_MARK, XML_TOK_TEXT_USER_INDEX_MARK },
- { XML_NAMESPACE_TEXT, XML_USER_INDEX_MARK_START,
- XML_TOK_TEXT_USER_INDEX_MARK_START },
- { XML_NAMESPACE_TEXT, XML_USER_INDEX_MARK_END,
- XML_TOK_TEXT_USER_INDEX_MARK_END },
- { XML_NAMESPACE_TEXT, XML_ALPHABETICAL_INDEX_MARK,
- XML_TOK_TEXT_ALPHA_INDEX_MARK },
- { XML_NAMESPACE_TEXT, XML_ALPHABETICAL_INDEX_MARK_START,
- XML_TOK_TEXT_ALPHA_INDEX_MARK_START },
- { XML_NAMESPACE_TEXT, XML_ALPHABETICAL_INDEX_MARK_END,
- XML_TOK_TEXT_ALPHA_INDEX_MARK_END },
-
- // sender fields
- { XML_NAMESPACE_TEXT, XML_SENDER_FIRSTNAME,XML_TOK_TEXT_SENDER_FIRSTNAME},
- { XML_NAMESPACE_TEXT, XML_SENDER_LASTNAME, XML_TOK_TEXT_SENDER_LASTNAME },
- // note: loext was written by accident in some LO versions, don't remove!
- { XML_NAMESPACE_LO_EXT, XML_SENDER_INITIALS, XML_TOK_TEXT_SENDER_INITIALS },
- { XML_NAMESPACE_TEXT, XML_SENDER_INITIALS, XML_TOK_TEXT_SENDER_INITIALS },
- { XML_NAMESPACE_TEXT, XML_SENDER_TITLE, XML_TOK_TEXT_SENDER_TITLE },
- { XML_NAMESPACE_TEXT, XML_SENDER_POSITION, XML_TOK_TEXT_SENDER_POSITION },
- { XML_NAMESPACE_TEXT, XML_SENDER_EMAIL, XML_TOK_TEXT_SENDER_EMAIL },
- { XML_NAMESPACE_TEXT, XML_SENDER_PHONE_PRIVATE,
- XML_TOK_TEXT_SENDER_PHONE_PRIVATE },
- { XML_NAMESPACE_TEXT, XML_SENDER_FAX, XML_TOK_TEXT_SENDER_FAX },
- { XML_NAMESPACE_TEXT, XML_SENDER_COMPANY, XML_TOK_TEXT_SENDER_COMPANY },
- { XML_NAMESPACE_TEXT, XML_SENDER_PHONE_WORK,
- XML_TOK_TEXT_SENDER_PHONE_WORK },
- { XML_NAMESPACE_TEXT, XML_SENDER_STREET, XML_TOK_TEXT_SENDER_STREET },
- { XML_NAMESPACE_TEXT, XML_SENDER_CITY, XML_TOK_TEXT_SENDER_CITY },
- { XML_NAMESPACE_TEXT, XML_SENDER_POSTAL_CODE,
- XML_TOK_TEXT_SENDER_POSTAL_CODE },
- { XML_NAMESPACE_TEXT, XML_SENDER_COUNTRY, XML_TOK_TEXT_SENDER_COUNTRY },
- { XML_NAMESPACE_TEXT, XML_SENDER_STATE_OR_PROVINCE,
- XML_TOK_TEXT_SENDER_STATE_OR_PROVINCE },
-
- // misc. document fields
- { XML_NAMESPACE_TEXT, XML_AUTHOR_NAME, XML_TOK_TEXT_AUTHOR_NAME },
- { XML_NAMESPACE_TEXT, XML_AUTHOR_INITIALS, XML_TOK_TEXT_AUTHOR_INITIALS },
- { XML_NAMESPACE_TEXT, XML_DATE, XML_TOK_TEXT_DATE },
- { XML_NAMESPACE_TEXT, XML_TIME, XML_TOK_TEXT_TIME },
- { XML_NAMESPACE_TEXT, XML_PAGE_NUMBER, XML_TOK_TEXT_PAGE_NUMBER },
- { XML_NAMESPACE_TEXT, XML_PAGE_CONTINUATION_STRING,
- XML_TOK_TEXT_PAGE_CONTINUATION_STRING },
-
- // variable fields
- { XML_NAMESPACE_TEXT, XML_VARIABLE_SET, XML_TOK_TEXT_VARIABLE_SET },
- { XML_NAMESPACE_TEXT, XML_VARIABLE_GET, XML_TOK_TEXT_VARIABLE_GET },
- { XML_NAMESPACE_TEXT, XML_VARIABLE_INPUT, XML_TOK_TEXT_VARIABLE_INPUT },
- { XML_NAMESPACE_TEXT, XML_USER_FIELD_GET, XML_TOK_TEXT_USER_FIELD_GET },
- { XML_NAMESPACE_TEXT, XML_USER_FIELD_INPUT,XML_TOK_TEXT_USER_FIELD_INPUT},
- { XML_NAMESPACE_TEXT, XML_SEQUENCE, XML_TOK_TEXT_SEQUENCE },
- { XML_NAMESPACE_TEXT, XML_EXPRESSION, XML_TOK_TEXT_EXPRESSION },
- { XML_NAMESPACE_TEXT, XML_TEXT_INPUT, XML_TOK_TEXT_TEXT_INPUT },
-
- // database fields
- { XML_NAMESPACE_TEXT, XML_DATABASE_DISPLAY,
- XML_TOK_TEXT_DATABASE_DISPLAY },
- { XML_NAMESPACE_TEXT, XML_DATABASE_NEXT,
- XML_TOK_TEXT_DATABASE_NEXT },
- { XML_NAMESPACE_TEXT, XML_DATABASE_ROW_SELECT,
- XML_TOK_TEXT_DATABASE_SELECT },
- { XML_NAMESPACE_TEXT, XML_DATABASE_ROW_NUMBER,
- XML_TOK_TEXT_DATABASE_ROW_NUMBER },
- { XML_NAMESPACE_TEXT, XML_DATABASE_NAME, XML_TOK_TEXT_DATABASE_NAME },
-
- // docinfo fields
- { XML_NAMESPACE_TEXT, XML_INITIAL_CREATOR,
- XML_TOK_TEXT_DOCUMENT_CREATION_AUTHOR },
- { XML_NAMESPACE_TEXT, XML_DESCRIPTION, XML_TOK_TEXT_DOCUMENT_DESCRIPTION},
- { XML_NAMESPACE_TEXT, XML_PRINTED_BY, XML_TOK_TEXT_DOCUMENT_PRINT_AUTHOR},
- { XML_NAMESPACE_TEXT, XML_TITLE, XML_TOK_TEXT_DOCUMENT_TITLE },
- { XML_NAMESPACE_TEXT, XML_SUBJECT, XML_TOK_TEXT_DOCUMENT_SUBJECT },
- { XML_NAMESPACE_TEXT, XML_KEYWORDS, XML_TOK_TEXT_DOCUMENT_KEYWORDS },
- { XML_NAMESPACE_TEXT, XML_CREATOR, XML_TOK_TEXT_DOCUMENT_SAVE_AUTHOR },
- { XML_NAMESPACE_TEXT, XML_EDITING_CYCLES,
- XML_TOK_TEXT_DOCUMENT_REVISION },
- { XML_NAMESPACE_TEXT, XML_CREATION_DATE,
- XML_TOK_TEXT_DOCUMENT_CREATION_DATE },
- { XML_NAMESPACE_TEXT, XML_CREATION_TIME,
- XML_TOK_TEXT_DOCUMENT_CREATION_TIME },
- { XML_NAMESPACE_TEXT, XML_PRINT_DATE, XML_TOK_TEXT_DOCUMENT_PRINT_DATE },
- { XML_NAMESPACE_TEXT, XML_PRINT_TIME, XML_TOK_TEXT_DOCUMENT_PRINT_TIME },
- { XML_NAMESPACE_TEXT, XML_MODIFICATION_DATE,
- XML_TOK_TEXT_DOCUMENT_SAVE_DATE },
- { XML_NAMESPACE_TEXT, XML_MODIFICATION_TIME,
- XML_TOK_TEXT_DOCUMENT_SAVE_TIME },
- { XML_NAMESPACE_TEXT, XML_EDITING_DURATION,
- XML_TOK_TEXT_DOCUMENT_EDIT_DURATION },
- { XML_NAMESPACE_TEXT, XML_USER_DEFINED,
- XML_TOK_TEXT_DOCUMENT_USER_DEFINED },
-
- // misc fields
- { XML_NAMESPACE_TEXT, XML_PLACEHOLDER, XML_TOK_TEXT_PLACEHOLDER },
- { XML_NAMESPACE_TEXT, XML_HIDDEN_TEXT, XML_TOK_TEXT_HIDDEN_TEXT },
- { XML_NAMESPACE_TEXT, XML_HIDDEN_PARAGRAPH,
- XML_TOK_TEXT_HIDDEN_PARAGRAPH },
- { XML_NAMESPACE_TEXT, XML_CONDITIONAL_TEXT,
- XML_TOK_TEXT_CONDITIONAL_TEXT },
- { XML_NAMESPACE_TEXT, XML_FILE_NAME, XML_TOK_TEXT_FILENAME },
- { XML_NAMESPACE_TEXT, XML_CHAPTER, XML_TOK_TEXT_CHAPTER },
- { XML_NAMESPACE_TEXT, XML_TEMPLATE_NAME, XML_TOK_TEXT_TEMPLATENAME },
- { XML_NAMESPACE_TEXT, XML_PARAGRAPH_COUNT, XML_TOK_TEXT_PARAGRAPH_COUNT },
- { XML_NAMESPACE_TEXT, XML_WORD_COUNT, XML_TOK_TEXT_WORD_COUNT },
- { XML_NAMESPACE_TEXT, XML_TABLE_COUNT, XML_TOK_TEXT_TABLE_COUNT },
- { XML_NAMESPACE_TEXT, XML_CHARACTER_COUNT, XML_TOK_TEXT_CHARACTER_COUNT },
- { XML_NAMESPACE_TEXT, XML_IMAGE_COUNT, XML_TOK_TEXT_IMAGE_COUNT },
- { XML_NAMESPACE_TEXT, XML_OBJECT_COUNT, XML_TOK_TEXT_OBJECT_COUNT },
- { XML_NAMESPACE_TEXT, XML_PAGE_COUNT, XML_TOK_TEXT_PAGE_COUNT },
- { XML_NAMESPACE_TEXT, XML_PAGE_VARIABLE_GET, XML_TOK_TEXT_GET_PAGE_VAR },
- { XML_NAMESPACE_TEXT, XML_PAGE_VARIABLE_SET, XML_TOK_TEXT_SET_PAGE_VAR },
- { XML_NAMESPACE_TEXT, XML_EXECUTE_MACRO, XML_TOK_TEXT_MACRO },
- { XML_NAMESPACE_TEXT, XML_DDE_CONNECTION, XML_TOK_TEXT_DDE },
- { XML_NAMESPACE_TEXT, XML_REFERENCE_REF, XML_TOK_TEXT_REFERENCE_REF },
- { XML_NAMESPACE_TEXT, XML_BOOKMARK_REF, XML_TOK_TEXT_BOOKMARK_REF },
- { XML_NAMESPACE_TEXT, XML_SEQUENCE_REF, XML_TOK_TEXT_SEQUENCE_REF },
- { XML_NAMESPACE_TEXT, XML_NOTE_REF, XML_TOK_TEXT_NOTE_REF },
- { XML_NAMESPACE_TEXT, XML_BIBLIOGRAPHY_MARK,
- XML_TOK_TEXT_BIBLIOGRAPHY_MARK },
- { XML_NAMESPACE_OFFICE, XML_ANNOTATION, XML_TOK_TEXT_ANNOTATION },
- { XML_NAMESPACE_OFFICE, XML_ANNOTATION_END, XML_TOK_TEXT_ANNOTATION_END },
- { XML_NAMESPACE_TEXT, XML_SCRIPT, XML_TOK_TEXT_SCRIPT },
- { XML_NAMESPACE_TEXT, XML_TABLE_FORMULA, XML_TOK_TEXT_TABLE_FORMULA },
- { XML_NAMESPACE_TEXT, XML_DROP_DOWN, XML_TOK_TEXT_DROP_DOWN },
-
- // Calc fields
- { XML_NAMESPACE_TEXT, XML_SHEET_NAME, XML_TOK_TEXT_SHEET_NAME },
-
- // draw fields
- { XML_NAMESPACE_TEXT, XML_MEASURE, XML_TOK_TEXT_MEASURE },
- { XML_NAMESPACE_LO_EXT, XML_PAGE_NAME, XML_TOK_TEXT_PAGE_NAME },
- { XML_NAMESPACE_TEXT, XML_PAGE_NAME, XML_TOK_TEXT_PAGE_NAME },
-
- // RDF metadata
- { XML_NAMESPACE_TEXT, XML_META, XML_TOK_TEXT_META },
- { XML_NAMESPACE_TEXT, XML_META_FIELD, XML_TOK_TEXT_META_FIELD },
-
- // redlining (aka change tracking)
- { XML_NAMESPACE_TEXT, XML_CHANGE_START, XML_TOK_TEXTP_CHANGE_START },
- { XML_NAMESPACE_TEXT, XML_CHANGE_END , XML_TOK_TEXTP_CHANGE_END },
- { XML_NAMESPACE_TEXT, XML_CHANGE, XML_TOK_TEXTP_CHANGE },
-
- { XML_NAMESPACE_PRESENTATION, XML_HEADER, XML_TOK_DRAW_HEADER },
- { XML_NAMESPACE_PRESENTATION, XML_FOOTER, XML_TOK_DRAW_FOOTER },
- { XML_NAMESPACE_PRESENTATION, XML_DATE_TIME, XML_TOK_DRAW_DATE_TIME },
- { XML_NAMESPACE_TEXT, XML_PAGE_CONTINUATION, XML_TOK_TEXT_PAGE_CONTINUATION },
-
- { XML_NAMESPACE_FIELD, XML_FIELDMARK, XML_TOK_TEXT_FIELDMARK },
- { XML_NAMESPACE_FIELD, XML_FIELDMARK_START, XML_TOK_TEXT_FIELDMARK_START },
- { XML_NAMESPACE_FIELD, XML_FIELDMARK_END, XML_TOK_TEXT_FIELDMARK_END },
-
-
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextPAttrTokenMap[] =
-{
- { XML_NAMESPACE_XML , XML_ID, XML_TOK_TEXT_P_XMLID },
- { XML_NAMESPACE_XHTML, XML_ABOUT, XML_TOK_TEXT_P_ABOUT },
- { XML_NAMESPACE_XHTML, XML_PROPERTY, XML_TOK_TEXT_P_PROPERTY },
- { XML_NAMESPACE_XHTML, XML_CONTENT, XML_TOK_TEXT_P_CONTENT },
- { XML_NAMESPACE_XHTML, XML_DATATYPE, XML_TOK_TEXT_P_DATATYPE },
- { XML_NAMESPACE_TEXT, XML_ID, XML_TOK_TEXT_P_TEXTID },
- { XML_NAMESPACE_TEXT, XML_STYLE_NAME, XML_TOK_TEXT_P_STYLE_NAME },
- { XML_NAMESPACE_TEXT, XML_COND_STYLE_NAME,
- XML_TOK_TEXT_P_COND_STYLE_NAME },
- { XML_NAMESPACE_LO_EXT, XML_OUTLINE_CONTENT_VISIBLE, XML_TOK_TEXT_P_OUTLINE_CONTENT_VISIBLE },
- { XML_NAMESPACE_TEXT, XML_OUTLINE_LEVEL,XML_TOK_TEXT_P_LEVEL },
- { XML_NAMESPACE_TEXT, XML_IS_LIST_HEADER,XML_TOK_TEXT_P_IS_LIST_HEADER },
- { XML_NAMESPACE_TEXT, XML_RESTART_NUMBERING,XML_TOK_TEXT_P_RESTART_NUMBERING },
- { XML_NAMESPACE_TEXT, XML_START_VALUE,XML_TOK_TEXT_P_START_VALUE },
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextNumberedParagraphAttrTokenMap[] =
-{
- { XML_NAMESPACE_XML , XML_ID, XML_TOK_TEXT_NUMBERED_PARAGRAPH_XMLID },
- { XML_NAMESPACE_TEXT, XML_LIST_ID,
- XML_TOK_TEXT_NUMBERED_PARAGRAPH_LIST_ID },
- { XML_NAMESPACE_TEXT, XML_LEVEL, XML_TOK_TEXT_NUMBERED_PARAGRAPH_LEVEL },
- { XML_NAMESPACE_TEXT, XML_STYLE_NAME,
- XML_TOK_TEXT_NUMBERED_PARAGRAPH_STYLE_NAME },
- { XML_NAMESPACE_TEXT, XML_CONTINUE_NUMBERING,
- XML_TOK_TEXT_NUMBERED_PARAGRAPH_CONTINUE_NUMBERING },
- { XML_NAMESPACE_TEXT, XML_START_VALUE,
- XML_TOK_TEXT_NUMBERED_PARAGRAPH_START_VALUE },
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextListBlockAttrTokenMap[] =
-{
- { XML_NAMESPACE_XML , XML_ID, XML_TOK_TEXT_LIST_BLOCK_XMLID },
- { XML_NAMESPACE_TEXT, XML_STYLE_NAME,
- XML_TOK_TEXT_LIST_BLOCK_STYLE_NAME },
- { XML_NAMESPACE_TEXT, XML_CONTINUE_NUMBERING,
- XML_TOK_TEXT_LIST_BLOCK_CONTINUE_NUMBERING },
- { XML_NAMESPACE_TEXT, XML_CONTINUE_LIST,
- XML_TOK_TEXT_LIST_BLOCK_CONTINUE_LIST },
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextListBlockElemTokenMap[] =
-{
- { XML_NAMESPACE_TEXT, XML_LIST_HEADER, XML_TOK_TEXT_LIST_HEADER },
- { XML_NAMESPACE_TEXT, XML_LIST_ITEM, XML_TOK_TEXT_LIST_ITEM },
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextFrameAttrTokenMap[] =
-{
- { XML_NAMESPACE_DRAW, XML_STYLE_NAME, XML_TOK_TEXT_FRAME_STYLE_NAME },
- { XML_NAMESPACE_DRAW, XML_NAME, XML_TOK_TEXT_FRAME_NAME },
- { XML_NAMESPACE_TEXT, XML_ANCHOR_TYPE, XML_TOK_TEXT_FRAME_ANCHOR_TYPE },
- { XML_NAMESPACE_TEXT, XML_ANCHOR_PAGE_NUMBER, XML_TOK_TEXT_FRAME_ANCHOR_PAGE_NUMBER },
- { XML_NAMESPACE_SVG, XML_X, XML_TOK_TEXT_FRAME_X },
- { XML_NAMESPACE_SVG, XML_Y, XML_TOK_TEXT_FRAME_Y },
- { XML_NAMESPACE_SVG, XML_WIDTH, XML_TOK_TEXT_FRAME_WIDTH },
- { XML_NAMESPACE_FO, XML_MIN_WIDTH, XML_TOK_TEXT_FRAME_MIN_WIDTH },
- { XML_NAMESPACE_STYLE, XML_REL_WIDTH, XML_TOK_TEXT_FRAME_REL_WIDTH },
- { XML_NAMESPACE_SVG, XML_HEIGHT, XML_TOK_TEXT_FRAME_HEIGHT },
- { XML_NAMESPACE_FO, XML_MIN_HEIGHT, XML_TOK_TEXT_FRAME_MIN_HEIGHT },
- { XML_NAMESPACE_STYLE, XML_REL_HEIGHT, XML_TOK_TEXT_FRAME_REL_HEIGHT },
- { XML_NAMESPACE_DRAW, XML_CHAIN_NEXT_NAME, XML_TOK_TEXT_FRAME_NEXT_CHAIN_NAME },
- { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_TEXT_FRAME_HREF },
- { XML_NAMESPACE_DRAW, XML_ZINDEX, XML_TOK_TEXT_FRAME_Z_INDEX },
- { XML_NAMESPACE_DRAW, XML_TRANSFORM, XML_TOK_TEXT_FRAME_TRANSFORM },
- { XML_NAMESPACE_DRAW, XML_CLASS_ID, XML_TOK_TEXT_FRAME_CLASS_ID },
- { XML_NAMESPACE_DRAW, XML_CODE, XML_TOK_TEXT_FRAME_CODE },
- { XML_NAMESPACE_DRAW, XML_OBJECT, XML_TOK_TEXT_FRAME_OBJECT },
- { XML_NAMESPACE_DRAW, XML_ARCHIVE, XML_TOK_TEXT_FRAME_ARCHIVE },
- { XML_NAMESPACE_DRAW, XML_MAY_SCRIPT, XML_TOK_TEXT_FRAME_MAY_SCRIPT },
- { XML_NAMESPACE_DRAW, XML_MIME_TYPE, XML_TOK_TEXT_FRAME_MIME_TYPE },
- { XML_NAMESPACE_DRAW, XML_APPLET_NAME, XML_TOK_TEXT_FRAME_APPLET_NAME },
- { XML_NAMESPACE_DRAW, XML_FRAME_NAME, XML_TOK_TEXT_FRAME_FRAME_NAME },
- { XML_NAMESPACE_DRAW, XML_NOTIFY_ON_UPDATE_OF_RANGES, XML_TOK_TEXT_FRAME_NOTIFY_ON_UPDATE },
- { XML_NAMESPACE_DRAW, XML_NOTIFY_ON_UPDATE_OF_TABLE, XML_TOK_TEXT_FRAME_NOTIFY_ON_UPDATE },
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextContourAttrTokenMap[] =
-{
- { XML_NAMESPACE_SVG, XML_WIDTH, XML_TOK_TEXT_CONTOUR_WIDTH },
- { XML_NAMESPACE_SVG, XML_HEIGHT, XML_TOK_TEXT_CONTOUR_HEIGHT },
- { XML_NAMESPACE_SVG, XML_VIEWBOX, XML_TOK_TEXT_CONTOUR_VIEWBOX },
- { XML_NAMESPACE_SVG, XML_D, XML_TOK_TEXT_CONTOUR_D },
- { XML_NAMESPACE_DRAW,XML_POINTS, XML_TOK_TEXT_CONTOUR_POINTS },
- { XML_NAMESPACE_DRAW,XML_RECREATE_ON_EDIT, XML_TOK_TEXT_CONTOUR_AUTO },
- XML_TOKEN_MAP_END
-};
-
-const SvXMLTokenMapEntry aTextHyperlinkAttrTokenMap[] =
-{
- { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_TEXT_HYPERLINK_HREF },
- { XML_NAMESPACE_OFFICE, XML_NAME, XML_TOK_TEXT_HYPERLINK_NAME },
- { XML_NAMESPACE_XLINK, XML_SHOW, XML_TOK_TEXT_HYPERLINK_SHOW },
- { XML_NAMESPACE_OFFICE, XML_TARGET_FRAME_NAME, XML_TOK_TEXT_HYPERLINK_TARGET_FRAME },
- { XML_NAMESPACE_TEXT, XML_STYLE_NAME, XML_TOK_TEXT_HYPERLINK_STYLE_NAME },
- { XML_NAMESPACE_TEXT, XML_VISITED_STYLE_NAME, XML_TOK_TEXT_HYPERLINK_VIS_STYLE_NAME },
- { XML_NAMESPACE_OFFICE, XML_SERVER_MAP, XML_TOK_TEXT_HYPERLINK_SERVER_MAP },
- XML_TOKEN_MAP_END
-};
-
// maximum allowed length of combined characters field
#define MAX_COMBINED_CHARACTERS 6