bump product version to 5.0.4.1
[LibreOffice.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob35663f1e6b7ba93699291e1b131473798caececf
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 INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
20 #define INCLUDED_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>
28 namespace pcr
33 //= OTabOrderDialog
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 virtual ~OTabOrderDialog();
56 // XTypeProvider
57 virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
59 // XServiceInfo
60 virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
61 virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
63 // XServiceInfo - static methods
64 static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static() throw( ::com::sun::star::uno::RuntimeException );
65 static OUString getImplementationName_static() 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 // XInitialization
70 virtual void SAL_CALL initialize( const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
72 // XPropertySet
73 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
74 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
76 // OPropertyArrayUsageHelper
77 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const SAL_OVERRIDE;
79 protected:
80 // OGenericUnoDialog overridables
81 virtual VclPtr<Dialog> createDialog(vcl::Window* _pParent) SAL_OVERRIDE;
85 } // namespacepcr
88 #endif // INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */