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