Bump for 3.6-28
[LibreOffice.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob24390001f491189ae511744cbf076196b31fcc6f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
29 #define EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
31 #include <svtools/genericunodialog.hxx>
32 #include "modulepcr.hxx"
33 #include <com/sun/star/awt/XTabControllerModel.hpp>
34 #include <com/sun/star/awt/XControlContainer.hpp>
36 //........................................................................
37 namespace pcr
39 //........................................................................
41 //====================================================================
42 //= OTabOrderDialog
43 //====================================================================
44 class OTabOrderDialog;
45 typedef ::svt::OGenericUnoDialog OTabOrderDialog_DBase;
46 typedef ::comphelper::OPropertyArrayUsageHelper< OTabOrderDialog > OTabOrderDialog_PBase;
48 class OTabOrderDialog
49 :public OTabOrderDialog_DBase
50 ,public OTabOrderDialog_PBase
51 ,public PcrClient
53 protected:
54 // <properties>
55 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabControllerModel >
56 m_xTabbingModel;
57 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer >
58 m_xControlContext;
59 // </properties>
61 public:
62 OTabOrderDialog( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext );
63 ~OTabOrderDialog();
65 // XTypeProvider
66 virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
68 // XServiceInfo
69 virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
70 virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
72 // XServiceInfo - static methods
73 static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException );
74 static ::rtl::OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException );
75 static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
76 SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&);
78 // XPropertySet
79 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
80 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
82 // OPropertyArrayUsageHelper
83 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
85 protected:
86 // OGenericUnoDialog overridables
87 virtual Dialog* createDialog(Window* _pParent);
90 //........................................................................
91 } // namespacepcr
92 //........................................................................
94 #endif // EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */