Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob98c6a1342b5c4e1c2d27aee5d2fdce28037c5917
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
32 //= OTabOrderDialog
34 class OTabOrderDialog;
35 typedef ::svt::OGenericUnoDialog OTabOrderDialog_DBase;
36 typedef ::comphelper::OPropertyArrayUsageHelper< OTabOrderDialog > OTabOrderDialog_PBase;
38 class OTabOrderDialog
39 :public OTabOrderDialog_DBase
40 ,public OTabOrderDialog_PBase
41 ,public PcrClient
43 protected:
44 // <properties>
45 css::uno::Reference< css::awt::XTabControllerModel >
46 m_xTabbingModel;
47 css::uno::Reference< css::awt::XControlContainer >
48 m_xControlContext;
49 // </properties>
51 public:
52 explicit OTabOrderDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxContext );
53 virtual ~OTabOrderDialog() override;
55 // XTypeProvider
56 virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) override;
58 // XServiceInfo
59 virtual OUString SAL_CALL getImplementationName() override;
60 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
62 // XServiceInfo - static methods
63 /// @throws css::uno::RuntimeException
64 static css::uno::Sequence< OUString > getSupportedServiceNames_static();
65 /// @throws css::uno::RuntimeException
66 static OUString getImplementationName_static();
67 static css::uno::Reference< css::uno::XInterface >
68 SAL_CALL Create(const css::uno::Reference< css::uno::XComponentContext >&);
70 // XInitialization
71 virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
73 // XPropertySet
74 virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
75 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
77 // OPropertyArrayUsageHelper
78 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
80 protected:
81 // OGenericUnoDialog overridables
82 virtual VclPtr<Dialog> createDialog(vcl::Window* _pParent) override;
86 } // namespacepcr
89 #endif // INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_PCRUNODIALOGS_HXX
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */