merge the formfield patch from ooo-build
[ooovba.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob5195e5debcc9898ce5f6d2bc8fcd5ffa57902f50
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: pcrunodialogs.hxx,v $
10 * $Revision: 1.5 $
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 ************************************************************************/
30 #ifndef EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
31 #define EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
33 #include <svtools/genericunodialog.hxx>
34 #include "modulepcr.hxx"
35 #include <com/sun/star/awt/XTabControllerModel.hpp>
36 #include <com/sun/star/awt/XControlContainer.hpp>
38 //........................................................................
39 namespace pcr
41 //........................................................................
43 //====================================================================
44 //= OTabOrderDialog
45 //====================================================================
46 class OTabOrderDialog;
47 typedef ::svt::OGenericUnoDialog OTabOrderDialog_DBase;
48 typedef ::comphelper::OPropertyArrayUsageHelper< OTabOrderDialog > OTabOrderDialog_PBase;
50 class OTabOrderDialog
51 :public OTabOrderDialog_DBase
52 ,public OTabOrderDialog_PBase
53 ,public PcrClient
55 protected:
56 // <properties>
57 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabControllerModel >
58 m_xTabbingModel;
59 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer >
60 m_xControlContext;
61 // </properties>
63 public:
64 OTabOrderDialog( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext );
65 ~OTabOrderDialog();
67 // XTypeProvider
68 virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
70 // XServiceInfo
71 virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
72 virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
74 // XServiceInfo - static methods
75 static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException );
76 static ::rtl::OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException );
77 static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
78 SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&);
80 // XPropertySet
81 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
82 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
84 // OPropertyArrayUsageHelper
85 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
87 protected:
88 // OGenericUnoDialog overridables
89 virtual Dialog* createDialog(Window* _pParent);
92 //........................................................................
93 } // namespacepcr
94 //........................................................................
96 #endif // EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX