LibreOffice Module svx (master)  1
xfm_addcondition.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 #ifndef INCLUDED_SVX_SOURCE_INC_XFM_ADDCONDITION_HXX
21 #define INCLUDED_SVX_SOURCE_INC_XFM_ADDCONDITION_HXX
22 
23 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
24 #include <com/sun/star/xforms/XModel.hpp>
27 
28 
29 namespace svxform
30 {
31 
32  typedef ::svt::OGenericUnoDialog OAddConditionDialogBase;
33  class OAddConditionDialog final
34  :public OAddConditionDialogBase
35  ,public ::comphelper::OPropertyArrayUsageHelper< OAddConditionDialog >
36  {
37  public:
38  static css::uno::Reference< css::uno::XInterface >
39  Create( const css::uno::Reference< css::lang::XMultiServiceFactory >& );
40 
41  private:
42  OAddConditionDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
43 
44  // XTypeProvider
45  virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) override;
46 
47  // XServiceInfo
48  virtual OUString SAL_CALL getImplementationName() override;
49  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
50 
51  // XPropertySet
52  virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
53  virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
54 
55  // OPropertyArrayUsageHelper
56  virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
57 
58  // OGenericUnoDialog overridables
59  virtual std::unique_ptr<weld::DialogController> createDialog(const css::uno::Reference<css::awt::XWindow>& rParent) override;
60  virtual void executedDialog(sal_Int16 _nExecutionResult) override;
61 
62  css::uno::Reference< css::beans::XPropertySet >
64  OUString m_sFacetName;
66  css::uno::Reference< css::xforms::XModel >
68  };
69 
70 
71 }
72 
73 
74 #endif // INCLUDED_SVX_SOURCE_INC_XFM_ADDCONDITION_HXX
75 
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual OUString SAL_CALL getImplementationName() override
OAddConditionDialog(const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
virtual std::unique_ptr< weld::DialogController > createDialog(const css::uno::Reference< css::awt::XWindow > &rParent) override
css::uno::Reference< css::beans::XPropertySet > m_xBinding
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
::svt::OGenericUnoDialog OAddConditionDialogBase
virtual void executedDialog(sal_Int16 _nExecutionResult) override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
class FmSearchEngine - Impl class for FmSearchDialog
css::uno::Reference< css::xforms::XModel > m_xWorkModel
static css::uno::Reference< css::uno::XInterface > Create(const css::uno::Reference< css::lang::XMultiServiceFactory > &)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override