LibreOffice Module forms (master) 1
specialdispatchers.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#pragma once
21
23
24
25namespace frm
26{
27
29 {
30 public:
31 OSelectAllDispatcher( EditView& _rView, const css::util::URL& _rURL );
32
33 protected:
34 virtual ~OSelectAllDispatcher() override;
35
36 // XDispatch
37 virtual void SAL_CALL dispatch( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments ) override;
38
39 // ORichTextFeatureDispatcher
40 virtual css::frame::FeatureStateEvent buildStatusEvent() const override;
41 };
42
44 {
45 public:
47 EditView& _rView,
48 AttributeId _nAttributeId,
49 const css::util::URL& _rURL,
50 IMultiAttributeDispatcher* _pMasterDispatcher
51 );
52
53 protected:
54 // ORichTextFeatureDispatcher
55 virtual css::frame::FeatureStateEvent buildStatusEvent() const override;
56 };
57
59 {
60 public:
61 OTextDirectionDispatcher( EditView& _rView, const css::util::URL& _rURL );
62
63 protected:
64 // XDispatch
65 virtual void SAL_CALL dispatch( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments ) override;
66
67 // ORichTextFeatureDispatcher
68 virtual css::frame::FeatureStateEvent buildStatusEvent() const override;
69 };
70
72 {
73 public:
75 EditView& _rView,
76 AttributeId _nAttributeId,
77 const css::util::URL& _rURL,
78 IMultiAttributeDispatcher* _pMasterDispatcher
79 );
80
81 protected:
82 // OParametrizedAttributeDispatcher
84 const css::uno::Sequence< css::beans::PropertyValue >& _rArguments ) override;
85 };
86
87
88} // namespace frm
89
90
91/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual const SfxPoolItem * convertDispatchArgsToItem(const css::uno::Sequence< css::beans::PropertyValue > &_rArguments) override
convert the arguments as got in a XDispatch::dispatch call into an SfxPoolItem, which can be used wit...
OAsianFontLayoutDispatcher(EditView &_rView, AttributeId _nAttributeId, const css::util::URL &_rURL, IMultiAttributeDispatcher *_pMasterDispatcher)
OParagraphDirectionDispatcher(EditView &_rView, AttributeId _nAttributeId, const css::util::URL &_rURL, IMultiAttributeDispatcher *_pMasterDispatcher)
virtual css::frame::FeatureStateEvent buildStatusEvent() const override
virtual ~OSelectAllDispatcher() override
virtual css::frame::FeatureStateEvent buildStatusEvent() const override
virtual void SAL_CALL dispatch(const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
OSelectAllDispatcher(EditView &_rView, const css::util::URL &_rURL)
virtual css::frame::FeatureStateEvent buildStatusEvent() const override
virtual void SAL_CALL dispatch(const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
OTextDirectionDispatcher(EditView &_rView, const css::util::URL &_rURL)
ListBox is a bit confusing / different from other form components, so here are a few notes:
Definition: BaseListBox.hxx:25
sal_Int32 AttributeId
the id of an attribute