/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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 .
*/
namespace com::sun::star { namespace drawing { class XDrawPage;
} namespace animations { class XAnimationNode;
}
} class SdDrawDocument; class KeyEvent; class OutputDevice; class Size; namespace vcl { class Window; } class SfxRequest; class WorkWindow; class CommandGestureSwipeData; class CommandGestureLongPressData; struct ImplSVEvent;
// TODO: Remove #define PAGE_NO_END 65535
/* Definition of SlideShow class */
namespace sd
{
class SlideshowImpl; class View; class ViewShell; class ViewShellBase; struct PresentationSettingsEx; class FrameView;
class SlideShow final : public SlideshowBase
{ public: /// used by the model to create a slideshow for it static rtl::Reference< SlideShow > Create( SdDrawDocument* pDoc );
/// returns true if there is a running presentation for the given ViewShellBase staticbool IsRunning( ViewShellBase const & rBase );
/// returns true if there is a running presentation inside the given ViewShell /// returns false even if there is a running presentation but in another ViewShell staticbool IsRunning( const ViewShell& rViewShell );
/// returns true if the interactive slideshow mode is activated staticbool IsInteractiveSlideshow(const ViewShellBase* pViewShellBase); bool IsInteractiveSlideshow() const;
/** sets or clears the pause state of the running slideshow.
!!!! This should only be called by the SdShowWindow !!!!*/ void pause( bool bPause ); bool swipe(const CommandGestureSwipeData &rSwipeData); bool longpress(const CommandGestureLongPressData& rLongPressData);
// events void resize( const Size &rSize ); // return false if the activate failed. callers should call end in response to failure bool activate(ViewShellBase& rBase); void deactivate(); void paint();
rtl::Reference< SlideshowImpl > mxController; /** This flag is used together with mxController.is() to prevent multiple instances of the slide show for one document. The flag covers the time before mxController is set.
*/ bool mbIsInStartup;
SdDrawDocument* mpDoc;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.