LibreOffice Module sd (master) 1
|
Public Types | |
enum | Mode { ALL , FROM , CUSTOM , PREVIEW } |
Public Member Functions | |
AnimationSlideController (Reference< XIndexAccess > const &xSlides, Mode eMode) | |
void | setStartSlideNumber (sal_Int32 nSlideNumber) |
sal_Int32 | getStartSlideIndex () const |
sal_Int32 | getCurrentSlideNumber () const |
sal_Int32 | getCurrentSlideIndex () const |
sal_Int32 | getSlideIndexCount () const |
sal_Int32 | getSlideNumberCount () const |
sal_Int32 | getSlideNumber (sal_Int32 nSlideIndex) const |
void | insertSlideNumber (sal_Int32 nSlideNumber, bool bVisible=true) |
void | setPreviewNode (const Reference< XAnimationNode > &xPreviewNode) |
bool | jumpToSlideIndex (sal_Int32 nNewSlideIndex) |
bool | jumpToSlideNumber (sal_Int32 nNewSlideIndex) |
bool | nextSlide () |
bool | previousSlide () |
void | displayCurrentSlide (const Reference< XSlideShow > &xShow, const Reference< XDrawPagesSupplier > &xDrawPages, const bool bSkipAllMainSequenceEffects) |
sal_Int32 | getNextSlideIndex () const |
sal_Int32 | getPreviousSlideIndex () const |
bool | isVisibleSlideNumber (sal_Int32 nSlideNumber) const |
Reference< XDrawPage > | getSlideByNumber (sal_Int32 nSlideNumber) const |
sal_Int32 | getNextSlideNumber () const |
bool | hasSlides () const |
Private Member Functions | |
bool | getSlideAPI (sal_Int32 nSlideNumber, Reference< XDrawPage > &xSlide, Reference< XAnimationNode > &xAnimNode) |
sal_Int32 | findSlideIndex (sal_Int32 nSlideNumber) const |
bool | isValidIndex (sal_Int32 nIndex) const |
bool | isValidSlideNumber (sal_Int32 nSlideNumber) const |
Private Attributes | |
Mode | meMode |
sal_Int32 | mnStartSlideNumber |
std::vector< sal_Int32 > | maSlideNumbers |
std::vector< bool > | maSlideVisible |
std::vector< bool > | maSlideVisited |
Reference< XAnimationNode > | mxPreviewNode |
sal_Int32 | mnSlideCount |
sal_Int32 | mnCurrentSlideIndex |
sal_Int32 | mnHiddenSlideNumber |
Reference< XIndexAccess > | mxSlides |
Definition at line 124 of file slideshowimpl.cxx.
Enumerator | |
---|---|
ALL | |
FROM | |
CUSTOM | |
PREVIEW |
Definition at line 127 of file slideshowimpl.cxx.
sd::AnimationSlideController::AnimationSlideController | ( | Reference< XIndexAccess > const & | xSlides, |
Mode | eMode | ||
) |
Definition at line 210 of file slideshowimpl.cxx.
References eMode, meMode, mnSlideCount, and mxSlides.
void sd::AnimationSlideController::displayCurrentSlide | ( | const Reference< XSlideShow > & | xShow, |
const Reference< XDrawPagesSupplier > & | xDrawPages, | ||
const bool | bSkipAllMainSequenceEffects | ||
) |
Definition at line 442 of file slideshowimpl.cxx.
References Any, aProperties, comphelper::containerToSequence(), getCurrentSlideNumber(), getNextSlideNumber(), and getSlideAPI().
|
private |
Definition at line 336 of file slideshowimpl.cxx.
References maSlideNumbers, nCount, and nIndex.
Referenced by isVisibleSlideNumber(), and jumpToSlideNumber().
sal_Int32 sd::AnimationSlideController::getCurrentSlideIndex | ( | ) | const |
Definition at line 249 of file slideshowimpl.cxx.
References mnCurrentSlideIndex, and mnHiddenSlideNumber.
sal_Int32 sd::AnimationSlideController::getCurrentSlideNumber | ( | ) | const |
Definition at line 239 of file slideshowimpl.cxx.
References maSlideNumbers, mnCurrentSlideIndex, and mnHiddenSlideNumber.
Referenced by displayCurrentSlide().
sal_Int32 sd::AnimationSlideController::getNextSlideIndex | ( | ) | const |
Definition at line 350 of file slideshowimpl.cxx.
References ALL, CUSTOM, FROM, isValidIndex(), maSlideVisible, meMode, mnCurrentSlideIndex, mnHiddenSlideNumber, and PREVIEW.
Referenced by getNextSlideNumber(), and nextSlide().
sal_Int32 sd::AnimationSlideController::getNextSlideNumber | ( | ) | const |
Definition at line 388 of file slideshowimpl.cxx.
References getNextSlideIndex(), isValidIndex(), and maSlideNumbers.
Referenced by displayCurrentSlide().
sal_Int32 sd::AnimationSlideController::getPreviousSlideIndex | ( | ) | const |
Definition at line 406 of file slideshowimpl.cxx.
References ALL, isValidIndex(), maSlideVisible, maSlideVisited, meMode, mnCurrentSlideIndex, and PREVIEW.
Referenced by previousSlide().
|
private |
Definition at line 310 of file slideshowimpl.cxx.
References Exception, isValidSlideNumber(), meMode, mxPreviewNode, mxSlides, PREVIEW, and TOOLS_WARN_EXCEPTION.
Referenced by displayCurrentSlide().
Reference< XDrawPage > sd::AnimationSlideController::getSlideByNumber | ( | sal_Int32 | nSlideNumber | ) | const |
Definition at line 187 of file slideshowimpl.cxx.
References mxSlides.
|
inline |
Definition at line 138 of file slideshowimpl.cxx.
References maSlideNumbers.
sal_Int32 sd::AnimationSlideController::getSlideNumber | ( | sal_Int32 | nSlideIndex | ) | const |
Definition at line 291 of file slideshowimpl.cxx.
References isValidIndex(), and maSlideNumbers.
|
inline |
Definition at line 139 of file slideshowimpl.cxx.
References mnSlideCount.
sal_Int32 sd::AnimationSlideController::getStartSlideIndex | ( | ) | const |
Definition at line 222 of file slideshowimpl.cxx.
References maSlideNumbers, mnStartSlideNumber, nCount, and nIndex.
|
inline |
Definition at line 165 of file slideshowimpl.cxx.
References maSlideNumbers.
void sd::AnimationSlideController::insertSlideNumber | ( | sal_Int32 | nSlideNumber, |
bool | bVisible = true |
||
) |
Definition at line 299 of file slideshowimpl.cxx.
References bVisible, DBG_ASSERT, isValidSlideNumber(), maSlideNumbers, maSlideVisible, and maSlideVisited.
|
inlineprivate |
Definition at line 171 of file slideshowimpl.cxx.
References o3tl::make_unsigned(), maSlideNumbers, and nIndex.
Referenced by getNextSlideIndex(), getNextSlideNumber(), getPreviousSlideIndex(), getSlideNumber(), jumpToSlideIndex(), and jumpToSlideNumber().
|
inlineprivate |
Definition at line 172 of file slideshowimpl.cxx.
References mnSlideCount.
Referenced by getSlideAPI(), and insertSlideNumber().
bool sd::AnimationSlideController::isVisibleSlideNumber | ( | sal_Int32 | nSlideNumber | ) | const |
Definition at line 195 of file slideshowimpl.cxx.
References findSlideIndex(), maSlideVisible, and nIndex.
bool sd::AnimationSlideController::jumpToSlideIndex | ( | sal_Int32 | nNewSlideIndex | ) |
Definition at line 257 of file slideshowimpl.cxx.
References isValidIndex(), maSlideVisited, mnCurrentSlideIndex, and mnHiddenSlideNumber.
Referenced by jumpToSlideNumber(), nextSlide(), and previousSlide().
bool sd::AnimationSlideController::jumpToSlideNumber | ( | sal_Int32 | nNewSlideIndex | ) |
Definition at line 272 of file slideshowimpl.cxx.
References findSlideIndex(), isValidIndex(), jumpToSlideIndex(), mnHiddenSlideNumber, mnSlideCount, and nIndex.
bool sd::AnimationSlideController::nextSlide | ( | ) |
Definition at line 401 of file slideshowimpl.cxx.
References getNextSlideIndex(), and jumpToSlideIndex().
bool sd::AnimationSlideController::previousSlide | ( | ) |
Definition at line 437 of file slideshowimpl.cxx.
References getPreviousSlideIndex(), and jumpToSlideIndex().
void sd::AnimationSlideController::setPreviewNode | ( | const Reference< XAnimationNode > & | xPreviewNode | ) |
Definition at line 205 of file slideshowimpl.cxx.
References mxPreviewNode.
|
inline |
Definition at line 132 of file slideshowimpl.cxx.
References mnStartSlideNumber.
|
private |
Definition at line 177 of file slideshowimpl.cxx.
Referenced by findSlideIndex(), getCurrentSlideNumber(), getNextSlideNumber(), getSlideIndexCount(), getSlideNumber(), getStartSlideIndex(), hasSlides(), insertSlideNumber(), and isValidIndex().
|
private |
Definition at line 178 of file slideshowimpl.cxx.
Referenced by getNextSlideIndex(), getPreviousSlideIndex(), insertSlideNumber(), and isVisibleSlideNumber().
|
private |
Definition at line 179 of file slideshowimpl.cxx.
Referenced by getPreviousSlideIndex(), insertSlideNumber(), and jumpToSlideIndex().
|
private |
Definition at line 175 of file slideshowimpl.cxx.
Referenced by getNextSlideIndex(), getPreviousSlideIndex(), and getSlideAPI().
|
private |
Definition at line 182 of file slideshowimpl.cxx.
Referenced by getCurrentSlideIndex(), getCurrentSlideNumber(), getNextSlideIndex(), getPreviousSlideIndex(), and jumpToSlideIndex().
|
private |
Definition at line 183 of file slideshowimpl.cxx.
Referenced by getCurrentSlideIndex(), getCurrentSlideNumber(), getNextSlideIndex(), jumpToSlideIndex(), and jumpToSlideNumber().
|
private |
Definition at line 181 of file slideshowimpl.cxx.
Referenced by AnimationSlideController(), getSlideNumberCount(), isValidSlideNumber(), and jumpToSlideNumber().
|
private |
Definition at line 176 of file slideshowimpl.cxx.
Referenced by getStartSlideIndex(), and setStartSlideNumber().
|
private |
Definition at line 180 of file slideshowimpl.cxx.
Referenced by getSlideAPI(), and setPreviewNode().
|
private |
Definition at line 184 of file slideshowimpl.cxx.
Referenced by AnimationSlideController(), getSlideAPI(), and getSlideByNumber().