Branch data Line data Source code
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 FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
21 : : #define FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
22 : :
23 : : #include "parametrizedattributedispatcher.hxx"
24 : :
25 : : //........................................................................
26 : : namespace frm
27 : : {
28 : : //........................................................................
29 : :
30 : : //====================================================================
31 : : //= OSelectAllDispatcher
32 : : //====================================================================
33 : : class OSelectAllDispatcher : public ORichTextFeatureDispatcher
34 : : {
35 : : public:
36 : : OSelectAllDispatcher( EditView& _rView, const ::com::sun::star::util::URL& _rURL );
37 : :
38 : : protected:
39 : : ~OSelectAllDispatcher();
40 : :
41 : : // XDispatch
42 : : virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException);
43 : :
44 : : // ORichTextFeatureDispatcher
45 : : virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const;
46 : : };
47 : :
48 : : //====================================================================
49 : : //= OParagraphDirectionDispatcher
50 : : //====================================================================
51 [ # # ]: 0 : class OParagraphDirectionDispatcher : public OAttributeDispatcher
52 : : {
53 : : public:
54 : : OParagraphDirectionDispatcher(
55 : : EditView& _rView,
56 : : AttributeId _nAttributeId,
57 : : const ::com::sun::star::util::URL& _rURL,
58 : : IMultiAttributeDispatcher* _pMasterDispatcher
59 : : );
60 : :
61 : : protected:
62 : : // ORichTextFeatureDispatcher
63 : : virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const;
64 : : };
65 : :
66 : : //====================================================================
67 : : //= OTextDirectionDispatcher
68 : : //====================================================================
69 [ # # ]: 0 : class OTextDirectionDispatcher : public ORichTextFeatureDispatcher
70 : : {
71 : : public:
72 : : OTextDirectionDispatcher( EditView& _rView, const ::com::sun::star::util::URL& _rURL );
73 : :
74 : : protected:
75 : : // XDispatch
76 : : virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException);
77 : :
78 : : // ORichTextFeatureDispatcher
79 : : virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const;
80 : : };
81 : :
82 : : //====================================================================
83 : : //= OAsianFontLayoutDispatcher
84 : : //====================================================================
85 [ # # ]: 0 : class OAsianFontLayoutDispatcher : public OParametrizedAttributeDispatcher
86 : : {
87 : : public:
88 : : OAsianFontLayoutDispatcher(
89 : : EditView& _rView,
90 : : AttributeId _nAttributeId,
91 : : const ::com::sun::star::util::URL& _rURL,
92 : : IMultiAttributeDispatcher* _pMasterDispatcher
93 : : );
94 : :
95 : : protected:
96 : : // OParametrizedAttributeDispatcher
97 : : virtual const SfxPoolItem* convertDispatchArgsToItem(
98 : : const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rArguments );
99 : : };
100 : :
101 : : //........................................................................
102 : : } // namespace frm
103 : : //........................................................................
104 : :
105 : : #endif // FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
106 : :
107 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|