bump product version to 6.3.0.0.beta1
[LibreOffice.git] / extensions / source / propctrlr / MasterDetailLinkDialog.hxx
blobcfc779459bdf696c505c3812dce91ea28aa38bf5
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_MASTERDETAILLINKDIALOG_HXX
20 #define INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_MASTERDETAILLINKDIALOG_HXX
22 #include <comphelper/proparrhlp.hxx>
23 #include <svtools/genericunodialog.hxx>
24 #include "modulepcr.hxx"
26 namespace pcr
30 class MasterDetailLinkDialog;
31 typedef ::svt::OGenericUnoDialog MasterDetailLinkDialog_DBase;
32 typedef ::comphelper::OPropertyArrayUsageHelper< MasterDetailLinkDialog > MasterDetailLinkDialog_PBase;
34 class MasterDetailLinkDialog : public MasterDetailLinkDialog_DBase
35 ,public MasterDetailLinkDialog_PBase
37 public:
38 explicit MasterDetailLinkDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
40 // XServiceInfo - static methods
41 /// @throws css::uno::RuntimeException
42 static css::uno::Sequence< OUString > getSupportedServiceNames_static();
43 /// @throws css::uno::RuntimeException
44 static OUString getImplementationName_static();
45 static css::uno::Reference< css::uno::XInterface >
46 Create(const css::uno::Reference< css::uno::XComponentContext >&);
47 private:
48 // XTypeProvider
49 virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) override;
51 // XServiceInfo
52 virtual OUString SAL_CALL getImplementationName() override;
53 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
55 // XPropertySet
56 virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
57 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
59 // OPropertyArrayUsageHelper
60 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
62 // OGenericUnoDialog overridables
63 virtual svt::OGenericUnoDialog::Dialog createDialog(const css::uno::Reference<css::awt::XWindow>& rParent) override;
64 virtual void implInitialize(const css::uno::Any& _rValue) override;
66 css::uno::Reference< css::beans::XPropertySet> m_xDetail;
67 css::uno::Reference< css::beans::XPropertySet> m_xMaster;
68 OUString m_sExplanation;
69 OUString m_sDetailLabel;
70 OUString m_sMasterLabel;
74 } // namespace pcr
76 #endif // INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_MASTERDETAILLINKDIALOG_HXX
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */