Lines Matching refs:nSlideNumber
148 void setStartSlideNumber( sal_Int32 nSlideNumber ) { mnStartSlideNumber = nSlideNumber; } in setStartSlideNumber() argument
159 void insertSlideNumber( sal_Int32 nSlideNumber, bool bVisible = true );
175 bool isVisibleSlideNumber( sal_Int32 nSlideNumber ) const;
177 Reference< XDrawPage > getSlideByNumber( sal_Int32 nSlideNumber ) const;
184 …bool getSlideAPI( sal_Int32 nSlideNumber, Reference< XDrawPage >& xSlide, Reference< XAnimationNod…
185 sal_Int32 findSlideIndex( sal_Int32 nSlideNumber ) const;
188 …bool isValidSlideNumber( sal_Int32 nSlideNumber ) const { return (nSlideNumber >= 0) && (nSlideNum… in isValidSlideNumber()
203 Reference< XDrawPage > AnimationSlideController::getSlideByNumber( sal_Int32 nSlideNumber ) const in getSlideByNumber()
206 if( mxSlides.is() && (nSlideNumber >= 0) && (nSlideNumber < mxSlides->getCount()) ) in getSlideByNumber()
207 mxSlides->getByIndex( nSlideNumber ) >>= xSlide; in getSlideByNumber()
211 bool AnimationSlideController::isVisibleSlideNumber( sal_Int32 nSlideNumber ) const in isVisibleSlideNumber()
213 sal_Int32 nIndex = findSlideIndex( nSlideNumber ); in isVisibleSlideNumber()
316 void AnimationSlideController::insertSlideNumber( sal_Int32 nSlideNumber, bool bVisible /* = true *… in insertSlideNumber() argument
318 …DBG_ASSERT( isValidSlideNumber( nSlideNumber ), "sd::AnimationSlideController::insertSlideNumber()… in insertSlideNumber()
319 if( isValidSlideNumber( nSlideNumber ) ) in insertSlideNumber()
321 maSlideNumbers.push_back( nSlideNumber ); in insertSlideNumber()
327 bool AnimationSlideController::getSlideAPI( sal_Int32 nSlideNumber, Reference< XDrawPage >& xSlide,… in getSlideAPI() argument
329 if( isValidSlideNumber( nSlideNumber ) ) try in getSlideAPI()
331 xSlide = Reference< XDrawPage >( mxSlides->getByIndex(nSlideNumber), UNO_QUERY_THROW ); in getSlideAPI()
360 sal_Int32 AnimationSlideController::findSlideIndex( sal_Int32 nSlideNumber ) const in findSlideIndex()
367 if( maSlideNumbers[nIndex] == nSlideNumber ) in findSlideIndex()
834 sal_Int32 nSlideNumber = 0; in startPreview() local
836 xSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "Number" ) ) ) >>= nSlideNumber; in startPreview()
837 mpSlideController->insertSlideNumber( nSlideNumber-1 ); in startPreview()
1340 void SlideshowImpl::registerShapeEvents(sal_Int32 nSlideNumber) in registerShapeEvents() argument
1342 if( nSlideNumber >= 0 ) try in registerShapeEvents()
1348 xPages->getByIndex(nSlideNumber) >>= xDrawPage; in registerShapeEvents()
1774 void SlideshowImpl::displaySlideNumber( sal_Int32 nSlideNumber ) in displaySlideNumber() argument
1778 if( mpSlideController->jumpToSlideNumber( nSlideNumber ) ) in displaySlideNumber()
1803 sal_Int32 nSlideNumber = getSlideNumberForBookmark( sBookmark ); in jumpToBookmark() local
1804 if( nSlideNumber != -1 ) in jumpToBookmark()
1805 displaySlideNumber( nSlideNumber ); in jumpToBookmark()
3459 sal_Int32 nSlideNumber = getSlideNumberForBookmark( rBookmark ); in gotoBookmark() local
3460 if( nSlideNumber != -1 ) in gotoBookmark()
3461 displaySlideNumber( nSlideNumber ); in gotoBookmark()