LibreOffice Module extensions (master) 1
formcontroller.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#pragma once
20
21#include "propcontroller.hxx"
22
25#include <comphelper/uno3.hxx>
26
27
28namespace pcr
29{
30
31
32 //= FormController
33
34 class FormController;
36 typedef ::comphelper::OPropertyArrayUsageHelper< FormController > FormController_PropertyBase2;
37
46 {
47 private:
48 css::uno::Reference< css::beans::XPropertySet >
51 css::uno::Sequence<OUString> m_aSupportedServiceNames;
52 public:
54 const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
55 OUString sImplementName,
56 const css::uno::Sequence<OUString>& aSupportedServiceNames,
57 bool _bUseFormFormComponentHandlers
58 );
59
60 protected:
61 virtual ~FormController() override;
62
64 DECLARE_XTYPEPROVIDER()
65
66 // XServiceInfo
67 virtual OUString SAL_CALL getImplementationName( ) override;
68 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
69
70 // XPropertySet and friends
71 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
72 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
73 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
74
76 css::uno::Any & rConvertedValue, css::uno::Any & rOldValue, sal_Int32 nHandle, const css::uno::Any& rValue
77 ) override;
78 virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
79 sal_Int32 nHandle, const css::uno::Any& rValue
80 ) override;
81 virtual void SAL_CALL getFastPropertyValue(
82 css::uno::Any& rValue, sal_Int32 nHandle
83 ) const override;
84 private:
86 };
87
88
89 //= DialogController
90
94 {
95 private:
98 };
99
100} // namespace pcr
101
102
103/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Legacy implementation of com.sun.star.awt.PropertyBrowserController.
DialogController(const DialogController &)=delete
DialogController & operator=(const DialogController &)=delete
Legacy implementation of com.sun.star.form.PropertyBrowserController.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
css::uno::Reference< css::beans::XPropertySet > m_xCurrentInspectee
virtual ~FormController() override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
css::uno::Sequence< OUString > m_aSupportedServiceNames
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
OUString m_sImplementationName
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
FormController(const css::uno::Reference< css::uno::XComponentContext > &_rxContext, OUString sImplementName, const css::uno::Sequence< OUString > &aSupportedServiceNames, bool _bUseFormFormComponentHandlers)
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual OUString SAL_CALL getImplementationName() override
a property handler for any virtual string properties
Definition: browserline.cxx:39
::comphelper::OPropertyArrayUsageHelper< FormController > FormController_PropertyBase2
::cppu::OPropertySetHelper FormController_PropertyBase1
unsigned char sal_Bool
#define DECLARE_XINTERFACE()