Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/sd/source/ui/slideshow/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 15 kB image not shown  

Quellcode-Bibliothek slideshowimpl.hxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 *  , 20 copy of thewas distributed  this
 *
 * 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 underthe 
 *
 * This file incorporates work covered by the following license *License 2  ) younotusethis file
 *
 *   Licensed to the Apache*inwith the .  maymay acopy
 *   contributor licenseagreements. See the NOTICEfile distributed
*with thiswork for  informationregarding copyright
#java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 69
 *   Licensenamespace sd  class ;}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
://www.apache.org/licenses/LICENSE-2.0 .
 */


#pragma once

#include memory
#include <
#/compbase
#explicit  PresentationSettings  & ;
#include <comphelper/interfacecontainer4.hxx
#include java.lang.StringIndexOutOfBoundsException: Range [28, 21) out of bounds for length 91
#nclude<comsun//XSlideShowNavigationListener>
#include <com
#include{

#include <;

#include "showwindow.hxx"

#include  std:shared_ptr< > WrappedShapeEventImplPtrjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74

namespace com::sun::star::media { class XPlayer; }
  { class ; }
namespace sd { class ViewShell; }

class SfxBindings;
classSfxDispatcher;
class SfxViewFrame;
class StarBASIC;
class VclSimpleEvent;

namespace sd
{
class SlideShowView;
class AnimationSlideController;
class PaneHider;

 PresentationSettingsEx :  PresentationSettings
{
    bool java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
     mbPreview
    VclPtr<vcl::Window>     css ::>  )java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
    ::uno: css:drawing::XDrawPage>mxStartPage
    css::uno::Reference< css::animations::void removeShapeEventListener( const css::uno< css::drawing:>& xShape)java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95

    PresentationSettingsEx( const PresentationSettingsEx& );
    virtualvoid SAL_CALL endEvent const csscss:uno::Reference< css:animations:XAnimationNode>   java.lang.StringIndexOutOfBoundsException: Index 114 out of bounds for length 114

    /// @throws css::lang::IllegalArgumentException
    void SetArgumentsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    /// @throws css::lang::IllegalArgumentException
    void SetPropertyValue( std::u16string_view    virtual SAL_CALL resumed()override;
};

struct WrappedShapeEventImpl
{
    css::presentation::ClickAction meClickAction;
    sal_Int32virtual SAL_CALL slideAnimationsEnded()override;
    OUString maStrBookmark;
    WrappedShapeEventImplvirtual void SAL_CALL slideEnded(sal_Bool bReverse) override;
};

typedef std::shared_ptr< WrappedShapeEventImpl > WrappedShapeEventImplPtr;

class SlideShowListenerProxy :
virtual void SAL_CALL contextMenuShow(const :awt:Point& point) override;
{
public:
owListenerProxy(rtl:< SlideshowImpl > xController, css::uno:Reference<css::>java.lang.StringIndexOutOfBoundsException: Range [138, 136) out of bounds for length 139
    ~lideShowListenerProxy() override;

    void addAsSlideShowListener();
    void removeAsSlideShowListener

   addSlideShowListener( const css::uno::Reference css:presentation:XSlideShowListener &&nbsp;Listener ;
     removeSlideShowListener(const css:uno:Reference :java.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 113

    void java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 2
     css::Reference<css:drawing:X >& xShape);

    // css::animations::XAnimationListener
    virtual void
    virtualvoidSAL_CALL( const css:uno:Reference<:animations:XAnimationNode &Node)override;
    virtual void SAL_CALL repeat( const cssjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    // css::presentation::XSlideShowListener:
    virtual void     explicit (  css::no:Reference<css::presentation:>&  :*,* , W*)
    virtualvoid  resumed)override;
    virtual void SAL_CALL slideTransitionStarted() override    virtual sal_Bool SAL_CALL () override
    virtual    SAL_CALL ()override;
    void SAL_CALL slideAnimationsEnded() override;
    virtual void SAL_CALL slideEnded(sal_Bool bReversevirtual sal_Bool SAL_CALL getUsePen( override
    virtual void SAL_CALL hyperLinkClicked(const OUString      :sal_Int32  getPenColor( override;

    // css::presentation::XSlideShowNavigationListener:
    virtual  SAL_CALL contextMenuShowconst :awt:oint )override;

    // css::lang::XEventListener:
    java.lang.StringIndexOutOfBoundsException: Range [35, 11) out of bounds for length 84

    // css::presentation::XShapeEventListener:
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 146

private:
    std::mutex m_aMutex;
    ::comphelper::OInterfaceContainerHelper4<css::presentation::XSlideShowListener> maListeners;
     > mxController;
    css::uno::Reference< css::presentation::XSlideShow > mxSlideShow;
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

typedef comphelpervirtual voidSAL_CALL addSlideShowListenerconstcss:no: css:presentation:XSlideShowListener >&Listener )overridejava.lang.StringIndexOutOfBoundsException: Index 136 out of bounds for length 136

class SlideshowImpl final : public SlideshowImplBase, public SfxListener
{
friend class SlideShowvirtual void gotoPreviousEffect( )override;
friend  SlideShowView;

public:
    explicit virtual voidSAL_CALL gotoNextSlide(  )override;

    // css::presentation::XSlideShowController: void gotoPreviousSlide(  )override;
     sal_Bool SAL_CALL getAlwaysOnTop)override;
    virtual void virtual void SAL_CALL( constOUString&Bookmark )override;
    virtual sal_Bool SAL_CALL()override;
    virtual void SAL_CALL setMouseVisible( sal_Bool _mousevisible ) override;
    virtual sal_Bool SAL_CALL getUsePen() override;
    virtual void SAL_CALL setUsePen( sal_Bool _usepen ) override;
    virtual ::sal_Int32 SAL_CALL virtual void SAL_CALL pause(  ) override;
    virtual void SAL_CALLvoid SAL_CALL (  ) ;
doublegetPenWidth)override
    virtual void SAL_CALL setPenWidth( double dStrokeWidth ) override;
    /// @throws css::uno::RuntimeException
    virtual void SAL_CALL setEraseAllInkverridejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    virtual sal_Bool SAL_CALL isRunning(       css::Reference :drawing  java.lang.StringIndexOutOfBoundsException: Range [87, 83) out of bounds for length 97
   :sal_Int32 getSlideCount(  ) override;
    virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getSlideByIndex( ::sal_Int32 Index ) override;
    virtual void SAL_CALL addSlideShowListener( const css::uno::Reference< css::presentation::XSlideShowListener >& Listener ) override;
        virtualsal_Bool SAL_CALL isEndless(  ) override;
    virtual void virtual sal_BoolisFullScreen java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
    virtual::  (::al_Int32Indexjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
virtualvoid gotoNextSlide override
virtual  java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 57
    virtual voidSAL_CALL   );
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
    virtual void SAL_CALL gotoSlide( const css::uno    void const boolbReverse)
    virtual void SAL_CALL RuntimeException
    virtual voidSAL_CALL stopSound   override;
    virtual void SAL_CALL pause(  ) override;
    virtual void SAL_CALL resume(    void click( css:: :: >&;
    virtual sal_Bool longpress(const CommandGestureLongPressDatajava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    virtual voidSAL_CALL blankScreen::sal_Int32Color )override;
    java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
    virtual void SAL_CALL deactivate(  ) override;
    virtual sal_Bool SAL_CALL isActive(  ) override     AsyncNotifyEventconstcss:uno:<:: >&,SdrHintKind)
::>SAL_CALLjava.lang.StringIndexOutOfBoundsException: Range [84, 83) out of bounds for length 97
    virtual paint)java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    virtual ::sal_Int32    void mouseButtonUp( &rMEvt)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    /helpertocheckif given hint is associated CurrentSlide
    ual  SAL_CALL isFullScreen() override;
    virtual css::uno::Reference< css::presentation::XSlideShow > SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 0

    // XIndexAccess
    sendHintSlideChanged(SdrPage*pChangedPage)const;
    virtual cssjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtualisupondisposingthejava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 60
          disposing(std::unique_lock<std::mutex>&) override;

    //  SfxListener
    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0

    // will be called from the SlideShowListenerProxy when this event is fired from the XSlideShow
    void slideEnded css::Reference< &java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    void contextMenuShow(        :Window )
    /// @throws css::uno::RuntimeException
    void hyperLinkClicked(const OUString  /
    void click(voidstartInteractivePreview
   bool (const CommandGestureSwipeDatar;
    bool longpress(const CommandGestureLongPressData& rLongPressData);

    /// ends the presentation async
    void endPresentation();

    // possibly triggered from events @SlideshowImpl::Notify if needed, but make it asynchronous toisInteractiveSetup() const;
    
    void AsyncNotifyEvent(const css::uno::Reference< cssstartUpdateTimer);

    ViewShell* getViewShell() const { return mpViewShell; }

    void paint(
    void displayCurrentSlide ( bool bSkipAllMainSequenceEffects=false)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    void mouseButtonUp java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 44

private:
    SlideshowImpl(SlideshowImpl const &) =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    void operator =(SlideshowImpl const &) = delete;

     ~SlideshowImpl()override;

    // helper to check if given hint is associated with CurrentSlide
    bool isCurrentSlideInvolved    void resizeconst & rSize)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37

 helperto inform presentation::SlideShow about   that
    // prefetch can be corrected/flushed
    voidsendHintSlideChanged( SdrPage*pChangedPage)constjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

    // override WeakComponentImplHelperBase::disposing()
    // This function is called upon disposing the component,
    // if your component needs special work when it becomes
    // disposed, do it here.
     disposing(std:unique_lock<:mutex>) override

    // internal
    bool startShow( PresentationSettingsEx constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    bool startPreview(
        const css::uno::Reference< css::drawing (;
        const
        :* pParent;

    // methods for InterActiveSlideShow that support toprivate:
    // re-use a running FullScreen presentation for previews IASSstartShowImpl(
     java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
        constcss:uno:: css:rawing> xDrawPage,
 constcss:uno:Reference<css:animations:XAnimationNode > xAnimationNode;
    void endInteractivePreview();
    boolSAL_RET_MAYBENULL SfxBindings*getBindings) constjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55

        /** forces an async call to update in the main thread */
    voidvoidregisterShapeEvents(java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 55

    void updatevoid registerShapeEvents(css:uno:Reference :drawing: > constxShapes )

    voidcreateSlideList  bAll : java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 70

    voidgotoPreviousSlide(constboolbSkipAllMainSequenceEffects

    void displaySlideNumber to  the slideshow update(  and,depending java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    void displaySlideIndex( sal_Int32 nIndex );
    sal_Int32 getCurrentSlideNumber() const;
call to update() is scheduled

    void jumpToBookmark( constvoid updateSlideShow(;

    void hideChildWindows(:java.lang.StringIndexOutOfBoundsException: Range [22, 18) out of bounds for length 45
    void java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0

    void resize( const Size maDeactivateTimer;

    void setActiveXToolbarsVisible( ;

    DECL_LINK( updateHdl, Timer    
    VclPtr:>;
   DECL_LINK( endPresentationHdl void* void )java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    void ContextMenuSelectHdl(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
    DECL_LINK( ContextMenuHdl void*, void )java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    DECL_LINKPoint           java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    DECL_LINK( EventListenerHdl, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 36

    /** called only by the slideshow view when the first paint event occurs.
        This actually starts the slideshow. */

    void onFirstPaint<StarBASIC,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54

:tools:getRestoreSlide)const return ;}

private:
boolstartShowImpl(
        const bool            mbRehearseTimings;

    SAL_RET_MAYBENULL SfxViewFrame* getViewFrame() const;
SAL_RET_MAYBENULL SfxDispatcher* getDispatcher( const;
        bool      mbWasPaused;        // used to cache pause state during context menu

    boolmbActive

    void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    void( sal_Int32  ;
    /// @throws css::uno::Exception
    void registerShapeEvents( css::uno::java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 43

    static ::Reference<css:presentation:XSlideShow >createSlideShow();

    static void setAutoSaveState( maShapeEventMap;
    void gotoPreviousSlide (const bool bSkipAllMainSequenceEffects);

    /** Called by our maUpdateTimer's updateHdl handler this method is
        responsible to    css::uno::Reference css:media:X >mxPlayer;
        its return value,
        call to update() is scheduled.
    */

void)

    cssuno:Reference< :presentation: > mxShow
R<sd:SlideShowView mxView
    rtl::Reference                ;

    Timer css::uno::Reference< css::drawing::XDrawPage > mxPreviewDrawPage2 css::Referencecss::XAnimationNodemxPreviewAnimationNode2
    Timer}
    Timerjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    ::sd::View* mpView;
    ViewShell* mpViewShell;
    DrawDocShell* mpDocSh;
    SdDrawDocument* mpDoc;

    VclPtr<vcl::Window>    mpParentWindow;
    VclPtr<sd::ShowWindow>     mpShowWindow;

    std::shared_ptr< AnimationSlideController > mpSlideController;

    ::tools::Long            mnRestoreSlide;
    Point           maPopupMousePos;
    Size            maPresSize;
    AnimationMode   meAnimationMode;
    OUString        maCharBuffer;
    VclPtr< ::sd::Window>   mpOldActiveWindow;
    Link<StarBASIC*,bool>   maStarBASICGlobalErrorHdl;
    ::tools::ULong    mnChildMask;

    bool            mbDisposed;
    bool            mbAutoSaveWasOn;
    bool            mbRehearseTimings;
    bool            mbIsPaused;
    bool            mbWasPaused;        // used to cache pause state during context menu
    bool            mbInputFreeze;
    bool            mbActive;

    PresentationSettings maPresSettings;
    sal_Int32       mnUserPaintColor;

    bool            mbUsePen;
    double          mdUserPaintStrokeWidth;

    std::map< css::uno::Reference< css::drawing::XShape >, WrappedShapeEventImplPtr >
                    maShapeEventMap;

    css::uno::Reference< css::drawing::XDrawPage > mxPreviewDrawPage;
    css::uno::Reference< css::animations::XAnimationNode > mxPreviewAnimationNode;

    css::uno::Reference< css::media::XPlayer > mxPlayer;

    ::std::unique_ptr<PaneHider> mpPaneHider;

    ImplSVEvent * mnEndShowEvent;
    ImplSVEvent * mnContextMenuEvent;
    ImplSVEvent * mnEventObjectChange;
    ImplSVEvent * mnEventObjectInserted;
    ImplSVEvent * mnEventObjectRemoved;
    ImplSVEvent * mnEventPageOrderChange;

    css::uno::Reference< css::presentation::XPresentation2 > mxPresentation;
    ::rtl::Reference< SlideShowListenerProxy > mxListenerProxy;

    // local variables to support preview for a running SlideShow IASS
    css::uno::Reference< css::presentation::XSlideShow > mxShow2;
    rtl::Reference<sd::SlideShowView> mxView2;
    AnimationMode   meAnimationMode2;
    bool            mbInterActiveSetup;
    PresentationSettings maPresSettings2;
    css::uno::Reference< css::drawing::XDrawPage > mxPreviewDrawPage2;
    css::uno::Reference< css::animations::XAnimationNode > mxPreviewAnimationNode2;
    ::sal_Int32 mnSlideIndex;
};

} // namespace ::sd

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=96 H=99 G=97

¤ 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.0.9Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.