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