xref: /trunk/main/shell/inc/internal/config.hxx (revision 322e2bd2)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef CONFIG_HXX_INCLUDED
25 #define CONFIG_HXX_INCLUDED
26 
27 #ifdef _MSC_VER
28 #pragma warning (disable : 4786 4503 4917)
29 #endif
30 
31 #ifndef OS2
32 #include <tchar.h>
33 #endif
34 
35 #ifdef _AMD64_
36 #define MODULE_NAME TEXT("shlxthdl_x64.dll")
37 #define MODULE_NAME_FILTER TEXT("ooofilt_x64.dll")
38 #else
39 #define MODULE_NAME TEXT("shlxthdl.dll")
40 #define MODULE_NAME_FILTER TEXT("ooofilt.dll")
41 #endif
42 
43 #define COLUMN_HANDLER_DESCRIPTIVE_NAME    TEXT("OpenOffice Column Handler")
44 #define INFOTIP_HANDLER_DESCRIPTIVE_NAME   TEXT("OpenOffice Infotip Handler")
45 #define PROPSHEET_HANDLER_DESCRIPTIVE_NAME TEXT("OpenOffice Property Sheet Handler")
46 #define THUMBVIEWER_HANDLER_DESCRIPTIVE_NAME TEXT("OpenOffice Thumbnail Viewer")
47 
48 #define META_CONTENT_NAME               "meta.xml"
49 #define DOC_CONTENT_NAME                "content.xml"
50 
51 #define EMPTY_STRING                    L""
52 #define SPACE                           L" "
53 #define LF                              L"\n"
54 #define META_INFO_TITLE                 L"title"
55 #define META_INFO_AUTHOR                L"initial-creator"
56 #define META_INFO_SUBJECT               L"subject"
57 #define META_INFO_KEYWORDS              L"keywords"
58 #define META_INFO_KEYWORD               L"keyword"
59 #define META_INFO_DESCRIPTION           L"description"
60 
61 #define META_INFO_PAGES                 L"page-count"
62 #define META_INFO_TABLES                L"table-count"
63 #define META_INFO_DRAWS                 L"image-count"
64 #define META_INFO_OBJECTS               L"object-count"
65 #define META_INFO_OLE_OBJECTS           L"object-count"
66 #define META_INFO_PARAGRAPHS            L"paragraph-count"
67 #define META_INFO_WORDS                 L"word-count"
68 #define META_INFO_CHARACTERS            L"character-count"
69 #define META_INFO_ROWS                  L"row-count"
70 #define META_INFO_CELLS                 L"cell-count"
71 #define META_INFO_DOCUMENT_STATISTIC    L"document-statistic"
72 #define META_INFO_MODIFIED              L"date"
73 #define META_INFO_DOCUMENT_NUMBER       L"editing-cycles"
74 #define META_INFO_EDITING_TIME          L"editing-duration"
75 
76 #define META_INFO_LANGUAGE              L"language"
77 #define META_INFO_CREATOR               L"creator"
78 #define META_INFO_CREATION              L"creation-date"
79 #define META_INFO_GENERATOR             L"generator"
80 
81 
82 #define CONTENT_TEXT_A                           L"a"
83 #define CONTENT_TEXT_P                           L"p"
84 #define CONTENT_TEXT_H                           L"h"
85 #define CONTENT_TEXT_SPAN                        L"span"
86 #define CONTENT_TEXT_SEQUENCE                    L"sequence"
87 #define CONTENT_TEXT_BOOKMARK_REF                L"bookmark-ref"
88 #define CONTENT_TEXT_INDEX_TITLE_TEMPLATE        L"index-title-template"
89 #define CONTENT_TEXT_STYLENAME                   L"style-name"
90 
91 #define CONTENT_STYLE_STYLE                      L"style"
92 #define CONTENT_STYLE_STYLE_NAME                 L"name"
93 #define CONTENT_STYLE_PROPERTIES                 L"properties"
94 #define CONTENT_TEXT_STYLE_PROPERTIES            L"text-properties" // added for OASIS Open Office XML format.
95 #define CONTENT_STYLE_PROPERTIES_LANGUAGE        L"language"
96 #define CONTENT_STYLE_PROPERTIES_COUNTRY         L"country"
97 #define CONTENT_STYLE_PROPERTIES_LANGUAGEASIAN   L"language-asian"
98 #define CONTENT_STYLE_PROPERTIES_COUNTRYASIAN    L"country-asian"
99 
100 #endif
101 
102 /* vim: set noet sw=4 ts=4: */
103