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#include <svx/svdobj.hxx>
23
24namespace sdr
25{
26
27bool SelectionController::onKeyInput(const KeyEvent& /*rKEvt*/, vcl::Window* /*pWin*/)
28{
29 return false;
30}
31
33{
34 return false;
35}
36
38{
39 return false;
40}
41
43{
44 return false;
45}
46
48{
49}
50
52{
53}
54
56{
57}
58
60{
61}
62
64{
65 return false;
66}
67
68bool SelectionController::GetAttributes(SfxItemSet& /*rTargetSet*/, bool /*bOnlyHardAttr*/) const
69{
70 return false;
71}
72
73bool SelectionController::SetAttributes(const SfxItemSet& /*rSet*/, bool /*bReplaceAll*/)
74{
75 return false;
76}
77
78bool SelectionController::GetStyleSheet( SfxStyleSheet* &/*rpStyleSheet*/ ) const
79{
80 return false;
81}
82
83bool SelectionController::SetStyleSheet( SfxStyleSheet* /*pStyleSheet*/, bool /*bDontRemoveHardAttr*/ )
84{
85 return false;
86}
87
89{
90 return nullptr;
91}
92
94{
95 return false;
96}
97
98bool SelectionController::ApplyFormatPaintBrush( SfxItemSet& /*rFormatSet*/, bool /*bNoCharacterFormats*/, bool /*bNoParagraphFormats*/ )
99{
100 return false;
101}
102
104{
105 return false;
106}
107
109{
110}
111
112bool SelectionController::setCursorLogicPosition(const Point& /*rPosition*/, bool /*bPoint*/)
113{
114 return false;
115}
116
117
118bool SelectionController::ChangeFontSize(bool /*bGrow*/, const FontList* /*pFontList*/)
119{
120 return false;
121}
122
123}
124
125/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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 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 rtl::Reference< SdrObject > GetMarkedSdrObjClone(SdrModel &rTargetModel)
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)