1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: config.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef CONFIG_HXX_INCLUDED
32 #define CONFIG_HXX_INCLUDED
35 #pragma warning (disable : 4786 4503 4917)
42 #define MODULE_NAME TEXT("shlxthdl.dll")
43 #define MODULE_NAME_FILTER TEXT("ooofilt.dll")
45 #define COLUMN_HANDLER_DESCRIPTIVE_NAME TEXT("OpenOffice.org Column Handler")
46 #define INFOTIP_HANDLER_DESCRIPTIVE_NAME TEXT("OpenOffice.org Infotip Handler")
47 #define PROPSHEET_HANDLER_DESCRIPTIVE_NAME TEXT("OpenOffice.org Property Sheet Handler")
48 #define THUMBVIEWER_HANDLER_DESCRIPTIVAE_NAME TEXT("OpenOffice.org Thumbnail Viewer")
50 #define META_CONTENT_NAME "meta.xml"
51 #define DOC_CONTENT_NAME "content.xml"
53 #define EMPTY_STRING L""
56 #define META_INFO_TITLE L"title"
57 #define META_INFO_AUTHOR L"initial-creator"
58 #define META_INFO_SUBJECT L"subject"
59 #define META_INFO_KEYWORDS L"keywords"
60 #define META_INFO_KEYWORD L"keyword"
61 #define META_INFO_DESCRIPTION L"description"
63 #define META_INFO_PAGES L"page-count"
64 #define META_INFO_TABLES L"table-count"
65 #define META_INFO_DRAWS L"image-count"
66 #define META_INFO_OBJECTS L"object-count"
67 #define META_INFO_OLE_OBJECTS L"object-count"
68 #define META_INFO_PARAGRAPHS L"paragraph-count"
69 #define META_INFO_WORDS L"word-count"
70 #define META_INFO_CHARACTERS L"character-count"
71 #define META_INFO_ROWS L"row-count"
72 #define META_INFO_CELLS L"cell-count"
73 #define META_INFO_DOCUMENT_STATISTIC L"document-statistic"
74 #define META_INFO_MODIFIED L"date"
75 #define META_INFO_DOCUMENT_NUMBER L"editing-cycles"
76 #define META_INFO_EDITING_TIME L"editing-duration"
78 #define META_INFO_LANGUAGE L"language"
79 #define META_INFO_CREATOR L"creator"
80 #define META_INFO_CREATION L"creation-date"
81 #define META_INFO_GENERATOR L"generator"
84 #define CONTENT_TEXT_A L"a"
85 #define CONTENT_TEXT_P L"p"
86 #define CONTENT_TEXT_H L"h"
87 #define CONTENT_TEXT_SPAN L"span"
88 #define CONTENT_TEXT_SEQUENCE L"sequence"
89 #define CONTENT_TEXT_BOOKMARK_REF L"bookmark-ref"
90 #define CONTENT_TEXT_INDEX_TITLE_TEMPLATE L"index-title-template"
91 #define CONTENT_TEXT_STYLENAME L"style-name"
93 #define CONTENT_STYLE_STYLE L"style"
94 #define CONTENT_STYLE_STYLE_NAME L"name"
95 #define CONTENT_STYLE_PROPERTIES L"properties"
96 #define CONTENT_TEXT_STYLE_PROPERTIES L"text-properties" // added for OASIS Open Office XML format.
97 #define CONTENT_STYLE_PROPERTIES_LANGUAGE L"language"
98 #define CONTENT_STYLE_PROPERTIES_COUNTRY L"country"
99 #define CONTENT_STYLE_PROPERTIES_LANGUAGEASIAN L"language-asian"
100 #define CONTENT_STYLE_PROPERTIES_COUNTRYASIAN L"country-asian"