2010-10-12 15:51:52 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2004-07-13 13:16:00 +00:00
|
|
|
|
2006-09-16 18:07:40 +00:00
|
|
|
|
2004-07-13 13:16:00 +00:00
|
|
|
#include "controller/SlsSlideFunction.hxx"
|
|
|
|
|
2008-04-03 13:30:18 +00:00
|
|
|
#include "SlideSorter.hxx"
|
2004-07-13 13:16:00 +00:00
|
|
|
#include "controller/SlideSorterController.hxx"
|
|
|
|
#include "view/SlideSorterView.hxx"
|
|
|
|
#include "model/SlideSorterModel.hxx"
|
|
|
|
|
|
|
|
|
|
|
|
namespace sd { namespace slidesorter { namespace controller {
|
|
|
|
|
|
|
|
TYPEINIT1(SlideFunction, FuPoor);
|
|
|
|
|
|
|
|
|
|
|
|
SlideFunction::SlideFunction (
|
2008-04-03 13:30:18 +00:00
|
|
|
SlideSorter& rSlideSorter,
|
2004-07-13 13:16:00 +00:00
|
|
|
SfxRequest& rRequest)
|
|
|
|
: FuPoor (
|
2008-04-03 13:30:18 +00:00
|
|
|
rSlideSorter.GetViewShell(),
|
2010-01-27 11:41:30 +01:00
|
|
|
rSlideSorter.GetContentWindow().get(),
|
2008-04-03 13:30:18 +00:00
|
|
|
&rSlideSorter.GetView(),
|
|
|
|
rSlideSorter.GetModel().GetDocument(),
|
2004-07-13 13:16:00 +00:00
|
|
|
rRequest)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-01-17 11:41:00 +01:00
|
|
|
sal_Bool SlideFunction::MouseMove(const MouseEvent& )
|
2004-07-13 13:16:00 +00:00
|
|
|
{
|
2011-01-17 11:41:00 +01:00
|
|
|
return sal_False;
|
2004-07-13 13:16:00 +00:00
|
|
|
}
|
|
|
|
|
2011-01-17 11:41:00 +01:00
|
|
|
sal_Bool SlideFunction::MouseButtonUp(const MouseEvent& )
|
2004-07-13 13:16:00 +00:00
|
|
|
{
|
2011-01-17 11:41:00 +01:00
|
|
|
return sal_False;
|
2004-07-13 13:16:00 +00:00
|
|
|
|
2005-12-14 16:21:18 +00:00
|
|
|
}
|
2004-07-13 13:16:00 +00:00
|
|
|
|
2011-01-17 11:41:00 +01:00
|
|
|
sal_Bool SlideFunction::MouseButtonDown(const MouseEvent& )
|
2004-07-13 13:16:00 +00:00
|
|
|
{
|
2011-01-17 11:41:00 +01:00
|
|
|
return sal_False;
|
2004-07-13 13:16:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} } } // end of namespace ::sd::slidesorter::controller
|
2010-10-12 15:51:52 +02:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|