bump product version to 4.1.6.2
[LibreOffice.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob8c10693aa711c09131e737310314fa93269f2876
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
20 #define EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
22 #include <svtools/genericunodialog.hxx>
23 #include "modulepcr.hxx"
24 #include <com/sun/star/awt/XTabControllerModel.hpp>
25 #include <com/sun/star/awt/XControlContainer.hpp>
27 //........................................................................
28 namespace pcr
30 //........................................................................
32 //====================================================================
33 //= OTabOrderDialog
34 //====================================================================
35 class OTabOrderDialog;
36 typedef ::svt::OGenericUnoDialog OTabOrderDialog_DBase;
37 typedef ::comphelper::OPropertyArrayUsageHelper< OTabOrderDialog > OTabOrderDialog_PBase;
39 class OTabOrderDialog
40 :public OTabOrderDialog_DBase
41 ,public OTabOrderDialog_PBase
42 ,public PcrClient
44 protected:
45 // <properties>
46 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabControllerModel >
47 m_xTabbingModel;
48 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer >
49 m_xControlContext;
50 // </properties>
52 public:
53 OTabOrderDialog( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext );
54 ~OTabOrderDialog();
56 // XTypeProvider
57 virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
59 // XServiceInfo
60 virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
61 virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
63 // XServiceInfo - static methods
64 static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException );
65 static OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException );
66 static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
67 SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&);
69 // XPropertySet
70 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
71 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
73 // OPropertyArrayUsageHelper
74 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
76 protected:
77 // OGenericUnoDialog overridables
78 virtual Dialog* createDialog(Window* _pParent);
81 //........................................................................
82 } // namespacepcr
83 //........................................................................
85 #endif // EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */