LibreOffice Module editeng (master) 1
unoedsrc.cxx
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
21
22#include <editeng/unoedsrc.hxx>
23
24#include <osl/diagnose.h>
25
26
27void SvxEditSource::addRange( SvxUnoTextRangeBase* )
28{
29}
30
31
32void SvxEditSource::removeRange( SvxUnoTextRangeBase* )
33{
34}
35
36
38{
39 static SvxUnoTextRangeBaseVec gList;
40 return gList;
41}
42
43
44SvxTextForwarder::~SvxTextForwarder() COVERITY_NOEXCEPT_FALSE
45{
46}
47
48
50{
51}
52
53
55{
56}
57
59{
60 return nullptr;
61}
62
64{
65 return nullptr;
66}
67
69{
70 OSL_FAIL("SvxEditSource::GetBroadcaster called for implementation missing this feature!");
71
72 static SfxBroadcaster aBroadcaster;
73
74 return aBroadcaster;
75}
76
77/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~SvxEditSource()
Definition: unoedsrc.cxx:54
virtual void addRange(SvxUnoTextRangeBase *pNewRange)
adds the given SvxUnoTextRangeBase to the text object capsulated by this SvxEditSource.
Definition: unoedsrc.cxx:27
virtual void removeRange(SvxUnoTextRangeBase *pOldRange)
removes the given SvxUnoTextRangeBase from the text object capsulated by this SvxEditSource.
Definition: unoedsrc.cxx:32
virtual SvxEditViewForwarder * GetEditViewForwarder(bool bCreate=false)
Query the edit view forwarder.
Definition: unoedsrc.cxx:63
virtual const SvxUnoTextRangeBaseVec & getRanges() const
returns a const list of all text ranges that are registered for the underlying text object.
Definition: unoedsrc.cxx:37
virtual SvxViewForwarder * GetViewForwarder()
Query the view forwarder.
Definition: unoedsrc.cxx:58
virtual SfxBroadcaster & GetBroadcaster() const
Returns broadcaster the underlying edit engine's events are sent from.
Definition: unoedsrc.cxx:68
Encapsulates EditView and OutlinerView for the purpose of unified EditEngine/Outliner access.
Definition: unoedsrc.hxx:493
virtual ~SvxTextForwarder() COVERITY_NOEXCEPT_FALSE
Definition: unoedsrc.cxx:44
Encapsulates the document view for the purpose of unified EditEngine/Outliner access.
Definition: unoedsrc.hxx:452
virtual ~SvxViewForwarder()
Definition: unoedsrc.cxx:49
std::vector< SvxUnoTextRangeBase * > SvxUnoTextRangeBaseVec
Definition: unoedsrc.hxx:45