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