1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
20 #ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
21 #define INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
23 #include "parametrizedattributedispatcher.hxx"
29 class OSelectAllDispatcher
: public ORichTextFeatureDispatcher
32 OSelectAllDispatcher( EditView
& _rView
, const css::util::URL
& _rURL
);
35 virtual ~OSelectAllDispatcher();
38 virtual void SAL_CALL
dispatch( const css::util::URL
& URL
, const css::uno::Sequence
< css::beans::PropertyValue
>& Arguments
)
39 throw (css::uno::RuntimeException
,
40 std::exception
) override
;
42 // ORichTextFeatureDispatcher
43 virtual css::frame::FeatureStateEvent
buildStatusEvent() const override
;
46 class OParagraphDirectionDispatcher
: public OAttributeDispatcher
49 OParagraphDirectionDispatcher(
51 AttributeId _nAttributeId
,
52 const css::util::URL
& _rURL
,
53 IMultiAttributeDispatcher
* _pMasterDispatcher
57 // ORichTextFeatureDispatcher
58 virtual css::frame::FeatureStateEvent
buildStatusEvent() const override
;
61 class OTextDirectionDispatcher
: public ORichTextFeatureDispatcher
64 OTextDirectionDispatcher( EditView
& _rView
, const css::util::URL
& _rURL
);
68 virtual void SAL_CALL
dispatch( const css::util::URL
& URL
, const css::uno::Sequence
< css::beans::PropertyValue
>& Arguments
) throw (css::uno::RuntimeException
, std::exception
) override
;
70 // ORichTextFeatureDispatcher
71 virtual css::frame::FeatureStateEvent
buildStatusEvent() const override
;
74 class OAsianFontLayoutDispatcher
: public OParametrizedAttributeDispatcher
77 OAsianFontLayoutDispatcher(
79 AttributeId _nAttributeId
,
80 const css::util::URL
& _rURL
,
81 IMultiAttributeDispatcher
* _pMasterDispatcher
85 // OParametrizedAttributeDispatcher
86 virtual const SfxPoolItem
* convertDispatchArgsToItem(
87 const css::uno::Sequence
< css::beans::PropertyValue
>& _rArguments
) override
;
94 #endif // INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */