LibreOffice Module svx (master) 1
selectioncontroller.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
20
22
23namespace sdr
24{
25
26bool SelectionController::onKeyInput(const KeyEvent& /*rKEvt*/, vcl::Window* /*pWin*/)
27{
28 return false;
29}
30
32{
33 return false;
34}
35
37{
38 return false;
39}
40
42{
43 return false;
44}
45
47{
48}
49
51{
52}
53
55{
56}
57
59{
60}
61
63{
64 return false;
65}
66
67bool SelectionController::GetAttributes(SfxItemSet& /*rTargetSet*/, bool /*bOnlyHardAttr*/) const
68{
69 return false;
70}
71
72bool SelectionController::SetAttributes(const SfxItemSet& /*rSet*/, bool /*bReplaceAll*/)
73{
74 return false;
75}
76
77bool SelectionController::GetStyleSheet( SfxStyleSheet* &/*rpStyleSheet*/ ) const
78{
79 return false;
80}
81
82bool SelectionController::SetStyleSheet( SfxStyleSheet* /*pStyleSheet*/, bool /*bDontRemoveHardAttr*/ )
83{
84 return false;
85}
86
88{
89 return nullptr;
90}
91
93{
94 return false;
95}
96
97bool SelectionController::ApplyFormatPaintBrush( SfxItemSet& /*rFormatSet*/, bool /*bNoCharacterFormats*/, bool /*bNoParagraphFormats*/ )
98{
99 return false;
100}
101
103{
104 return false;
105}
106
108{
109}
110
111bool SelectionController::setCursorLogicPosition(const Point& /*rPosition*/, bool /*bPoint*/)
112{
113 return false;
114}
115
116
117bool SelectionController::ChangeFontSize(bool /*bGrow*/, const FontList* /*pFontList*/)
118{
119 return false;
120}
121
122}
123
124/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Abstract DrawObject.
Definition: svdobj.hxx:261
virtual bool setCursorLogicPosition(const Point &rPosition, bool bPoint)
Allows adjusting the point or mark of the selection to a document coordinate.
virtual bool PasteObjModel(const SdrModel &rModel)
virtual bool SetAttributes(const SfxItemSet &rSet, bool bReplaceAll)
virtual bool onKeyInput(const KeyEvent &rKEvt, vcl::Window *pWin)
virtual void getSelectedCells(table::CellPos &rFirstPos, table::CellPos &rLastPos)
Get the position of the first and the last selected cell.
virtual void GetState(SfxItemSet &rSet)
virtual bool onMouseButtonDown(const MouseEvent &rMEvt, vcl::Window *pWin)
virtual bool onMouseMove(const MouseEvent &rMEvt, vcl::Window *pWin)
virtual bool GetStyleSheet(SfxStyleSheet *&rpStyleSheet) const
virtual bool ChangeFontSize(bool bGrow, const FontList *pFontList)
Changes the font (grow/shrink) according to the input parameters.
virtual SdrObject * GetMarkedSdrObjClone(SdrModel &rTargetModel)
virtual bool ApplyFormatPaintBrush(SfxItemSet &rFormatSet, bool bNoCharacterFormats, bool bNoParagraphFormats)
applies a format paint brush set from the current selection.
virtual bool onMouseButtonUp(const MouseEvent &rMEvt, vcl::Window *pWin)
virtual bool GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
virtual bool SetStyleSheet(SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
virtual bool hasSelectedCells() const
This is a table object, and one or more of its cells are selected.
virtual void Execute(SfxRequest &rReq)