update dev300-m58
[ooovba.git] / filter / source / msfilter / powerpoint / pptcom.hxx
blob7e6aea4c6e6d2e55ccc9cc1fbec366853bd98abb
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: pptcom.hxx,v $
10 * $Revision: 1.4 $
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 _PPTCOM_HXX
32 #define _PPTCOM_HXX
34 #include <rtl/ustring.hxx>
35 #include <tools/debug.hxx>
36 #include <tools/stream.hxx>
37 #include <tools/string.hxx>
38 #include <tools/urlobj.hxx>
39 #include <tools/stack.hxx>
41 #include <com/sun/star/uno/Reference.h>
42 #include <com/sun/star/uno/RuntimeException.hpp>
43 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
44 #include <com/sun/star/lang/XComponent.hpp>
45 #include <com/sun/star/registry/XRegistryKey.hpp>
46 #include <com/sun/star/lang/XComponent.hpp>
47 #include <com/sun/star/io/XInputStream.hpp>
48 #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
49 #include <xmloff/xmlexp.hxx>
50 #include <xmloff/nmspmap.hxx>
51 #include <cppuhelper/implbase1.hxx>
52 #include <cppuhelper/implbase4.hxx>
53 #include <com/sun/star/document/XFilter.hpp>
54 #include <com/sun/star/document/XImporter.hpp>
55 #include <com/sun/star/lang/XInitialization.hpp>
56 #include <com/sun/star/lang/XServiceInfo.hpp>
58 // -----------------------------------------------------------------------------
60 #define NMSP_CPPU cppu
61 #define NMSP_RTL rtl
62 #define NMSP_UTL utl
63 #define NMSP_COMPHELPER comphelper
64 #define NMSP_UNO com::sun::star::uno
65 #define NMSP_BEANS com::sun::star::beans
66 #define NMSP_LANG com::sun::star::lang
67 #define NMSP_IO com::sun::star::io
68 #define NMSP_SAX com::sun::star::xml::sax
69 #define NMSP_PRES com::sun::star::presentation
70 #define NMSP_REGISTRY com::sun::star::registry
71 #define NMSP_DOCUMENT com::sun::star::document
74 #define REF( _def_Obj ) NMSP_UNO::Reference< _def_Obj >
75 #define SEQ( _def_Obj ) NMSP_UNO::Sequence< _def_Obj >
76 #define ANY NMSP_UNO::Any
77 #define B2UCONST( _def_pChar ) (NMSP_RTL::OUString(RTL_CONSTASCII_USTRINGPARAM(_def_pChar )))
78 #define PPT_DTD_STRING B2UCONST( "<!DOCTYPE office:document-styles PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"office.dtd\">"
79 #endif