1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 #include <svx/selectioncontroller.hxx>
22 #include <svx/svdobj.hxx>
27 bool SelectionController::onKeyInput(const KeyEvent
& /*rKEvt*/, vcl::Window
* /*pWin*/)
32 bool SelectionController::onMouseButtonDown(const MouseEvent
& /*rMEvt*/, vcl::Window
* /*pWin*/)
37 bool SelectionController::onMouseButtonUp(const MouseEvent
& /*rMEvt*/, vcl::Window
* /*pWin*/)
42 bool SelectionController::onMouseMove(const MouseEvent
& /*rMEvt*/, vcl::Window
* /*pWin*/)
47 void SelectionController::onSelectionHasChanged()
51 void SelectionController::onSelectAll()
55 void SelectionController::GetState( SfxItemSet
& /*rSet*/ )
59 void SelectionController::Execute( SfxRequest
& /*rReq*/ )
63 bool SelectionController::DeleteMarked()
68 bool SelectionController::GetAttributes(SfxItemSet
& /*rTargetSet*/, bool /*bOnlyHardAttr*/) const
73 bool SelectionController::SetAttributes(const SfxItemSet
& /*rSet*/, bool /*bReplaceAll*/)
78 bool SelectionController::GetStyleSheet( SfxStyleSheet
* &/*rpStyleSheet*/ ) const
83 bool SelectionController::SetStyleSheet( SfxStyleSheet
* /*pStyleSheet*/, bool /*bDontRemoveHardAttr*/ )
88 rtl::Reference
<SdrObject
> SelectionController::GetMarkedSdrObjClone( SdrModel
& /*rTargetModel*/ )
93 bool SelectionController::PasteObjModel( const SdrModel
& /*rModel*/ )
98 bool SelectionController::ApplyFormatPaintBrush( SfxItemSet
& /*rFormatSet*/, bool /*bNoCharacterFormats*/, bool /*bNoParagraphFormats*/ )
103 bool SelectionController::hasSelectedCells() const
108 void SelectionController::getSelectedCells(table::CellPos
& /*rFirstPos*/, table::CellPos
& /*rLastPos*/)
112 bool SelectionController::setCursorLogicPosition(const Point
& /*rPosition*/, bool /*bPoint*/)
118 bool SelectionController::ChangeFontSize(bool /*bGrow*/, const FontList
* /*pFontList*/)
125 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */