tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / extensions / source / propctrlr / pcrunodialogs.hxx
blob87c99db3575386c0377068525cab8eb44cb032ba
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 #pragma once
21 #include <svtools/genericunodialog.hxx>
22 #include <com/sun/star/awt/XTabControllerModel.hpp>
23 #include <com/sun/star/awt/XControlContainer.hpp>
24 #include <comphelper/proparrhlp.hxx>
27 namespace pcr
31 //= OTabOrderDialog
33 class OTabOrderDialog;
34 typedef ::svt::OGenericUnoDialog OTabOrderDialog_DBase;
35 typedef ::comphelper::OPropertyArrayUsageHelper< OTabOrderDialog > OTabOrderDialog_PBase;
37 class OTabOrderDialog
38 :public OTabOrderDialog_DBase
39 ,public OTabOrderDialog_PBase
41 protected:
42 // <properties>
43 css::uno::Reference< css::awt::XTabControllerModel >
44 m_xTabbingModel;
45 css::uno::Reference< css::awt::XControlContainer >
46 m_xControlContext;
47 // </properties>
49 public:
50 explicit OTabOrderDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxContext );
51 virtual ~OTabOrderDialog() override;
53 // XTypeProvider
54 virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) override;
56 // XServiceInfo
57 virtual OUString SAL_CALL getImplementationName() override;
58 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
60 // XInitialization
61 virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
63 // XPropertySet
64 virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
65 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
67 // OPropertyArrayUsageHelper
68 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
70 protected:
71 // OGenericUnoDialog overridables
72 virtual std::unique_ptr<weld::DialogController> createDialog(const css::uno::Reference<css::awt::XWindow>& rParent) override;
76 } // namespacepcr
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */