merge the formfield patch from ooo-build
[ooovba.git] / stoc / inc / stocservices.hxx
blob2a6737e7f845cfc41f067dc09a77c92c80b4f12b
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: stocservices.hxx,v $
10 * $Revision: 1.3 $
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 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_stoc.hxx"
34 #include <rtl/ustring.hxx>
35 #include <com/sun/star/uno/Sequence.hxx>
36 #include <com/sun/star/uno/Reference.hxx>
37 #include <com/sun/star/uno/RuntimeException.hpp>
39 namespace com { namespace sun { namespace star { namespace uno {
40 class XInterface;
41 class XComponentContext;
42 } } } }
44 namespace stoc_services
46 // typeconv
47 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL TypeConverter_Impl_CreateInstance(
48 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & )
49 throw( ::com::sun::star::uno::RuntimeException );
50 ::com::sun::star::uno::Sequence< ::rtl::OUString > tcv_getSupportedServiceNames();
51 ::rtl::OUString tcv_getImplementationName();
53 namespace ExternalUriReferenceTranslator
55 com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
56 com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context)
57 SAL_THROW((com::sun::star::uno::Exception));
58 rtl::OUString SAL_CALL getImplementationName();
59 com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames();
62 namespace UriReferenceFactory
64 com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
65 com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context)
66 SAL_THROW((com::sun::star::uno::Exception));
67 rtl::OUString SAL_CALL getImplementationName();
68 com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames();
71 namespace UriSchemeParser_vndDOTsunDOTstarDOTexpand
73 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL create(
74 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const &)
75 SAL_THROW((::com::sun::star::uno::Exception));
76 ::rtl::OUString SAL_CALL getImplementationName();
77 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames();
80 namespace UriSchemeParser_vndDOTsunDOTstarDOTscript
82 com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
83 com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const &)
84 SAL_THROW((com::sun::star::uno::Exception));
85 rtl::OUString SAL_CALL getImplementationName();
86 com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames();
89 namespace VndSunStarPkgUrlReferenceFactory
91 com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
92 com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context)
93 SAL_THROW((com::sun::star::uno::Exception));
94 rtl::OUString SAL_CALL getImplementationName();
95 com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames();
97 } // namespace