merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob929b52a5dd6729347ba2cba00a8ec40e66346778
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
28 #define EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
30 #include <svtools/genericunodialog.hxx>
31 #include "modulepcr.hxx"
32 #include <com/sun/star/awt/XTabControllerModel.hpp>
33 #include <com/sun/star/awt/XControlContainer.hpp>
35 //........................................................................
36 namespace pcr
38 //........................................................................
40 //====================================================================
41 //= OTabOrderDialog
42 //====================================================================
43 class OTabOrderDialog;
44 typedef ::svt::OGenericUnoDialog OTabOrderDialog_DBase;
45 typedef ::comphelper::OPropertyArrayUsageHelper< OTabOrderDialog > OTabOrderDialog_PBase;
47 class OTabOrderDialog
48 :public OTabOrderDialog_DBase
49 ,public OTabOrderDialog_PBase
50 ,public PcrClient
52 protected:
53 // <properties>
54 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabControllerModel >
55 m_xTabbingModel;
56 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer >
57 m_xControlContext;
58 // </properties>
60 public:
61 OTabOrderDialog( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext );
62 ~OTabOrderDialog();
64 // XTypeProvider
65 virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
67 // XServiceInfo
68 virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
69 virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
71 // XServiceInfo - static methods
72 static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException );
73 static ::rtl::OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException );
74 static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
75 SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&);
77 // XPropertySet
78 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
79 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
81 // OPropertyArrayUsageHelper
82 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
84 protected:
85 // OGenericUnoDialog overridables
86 virtual Dialog* createDialog(Window* _pParent);
89 //........................................................................
90 } // namespacepcr
91 //........................................................................
93 #endif // EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX