#include <Presentation.h>
Public Member Functions | |
Presentation (void) | |
~Presentation (void) | |
bool | showNext (void) |
bool | showNextPage (void) |
bool | start (AV_View *pView) |
bool | gotoPage (UT_sint32 iPage) |
bool | drawNthPage (UT_sint32 i) |
bool | showPrev (void) |
bool | showPrevPage (void) |
bool | end (void) |
GR_Image * | renderPageToImage (UT_sint32 iPage, UT_uint32 izoom) |
Private Member Functions | |
bool | _loadPresentationBindings (AV_View *view) |
Private Attributes | |
XAP_App * | m_pApp |
FV_View * | m_pView |
UT_sint32 | m_iPage |
UT_String | m_sPrevBindings |
UT_sint32 | m_iOldZoom |
XAP_Frame::tZoomType | m_OldZoomType |
bool | m_bDrewNext |
bool | m_bDrewPrev |
Presentation::Presentation | ( | void | ) |
References XAP_App::getApp(), and m_pApp.
Presentation::~Presentation | ( | void | ) |
bool Presentation::_loadPresentationBindings | ( | AV_View * | view | ) | [private] |
bool Presentation::drawNthPage | ( | UT_sint32 | i | ) |
References GR_Graphics::allCarets(), AllCarets::disable(), FV_View::draw(), GR_Painter::drawImage(), GR_Image::getDisplayHeight(), GR_Image::getDisplayWidth(), FV_View::getGraphics(), fp_Page::getHeight(), FV_View::getLayout(), FL_DocLayout::getNthPage(), FV_View::getPageViewSep(), GR_Graphics::getZoomPercentage(), m_pView, dg_DrawArgs::pG, renderPageToImage(), FV_View::setYScrollOffset(), UT_DEBUGMSG, dg_DrawArgs::xoff, and dg_DrawArgs::yoff.
Referenced by showNextPage(), and showPrevPage().
bool Presentation::end | ( | void | ) |
References UT_String::c_str(), EV_EditMethodContainer::findEditMethodByName(), EV_EditMethod::Fn(), XAP_App::getEditMethodContainer(), AV_View::getParentData(), XAP_Frame::hideMenuScroll(), m_iOldZoom, m_OldZoomType, m_pApp, m_pView, m_sPrevBindings, EV_EditMethodCallData::m_xPos, EV_EditMethodCallData::m_yPos, XAP_Frame::quickZoom(), XAP_App::setInputMode(), XAP_Frame::setZoomPercentage(), XAP_Frame::setZoomType(), and UT_String::size().
Referenced by Presentation_end().
bool Presentation::gotoPage | ( | UT_sint32 | iPage | ) |
Referenced by drawNthPage().
bool Presentation::showNext | ( | void | ) |
References showNextPage().
bool Presentation::showNextPage | ( | void | ) |
References FL_DocLayout::countPages(), drawNthPage(), FV_View::getLayout(), m_bDrewNext, m_bDrewPrev, m_iPage, and m_pView.
Referenced by Presentation_nextPage(), showNext(), and start().
bool Presentation::showPrev | ( | void | ) |
bool Presentation::showPrevPage | ( | void | ) |
References FL_DocLayout::countPages(), drawNthPage(), FV_View::getLayout(), m_bDrewNext, m_bDrewPrev, m_iPage, and m_pView.
Referenced by Presentation_prevPage().
bool Presentation::start | ( | AV_View * | pView | ) |
References _loadPresentationBindings(), GR_Graphics::allCarets(), AllCarets::disable(), EV_EditMethodContainer::findEditMethodByName(), EV_EditMethod::Fn(), XAP_App::getEditMethodContainer(), FV_View::getGraphics(), XAP_App::getInputMode(), AV_View::getParentData(), XAP_Frame::getZoomPercentage(), XAP_Frame::getZoomType(), XAP_Frame::hideMenuScroll(), m_iOldZoom, m_iPage, m_OldZoomType, m_pApp, m_pView, m_sPrevBindings, EV_EditMethodCallData::m_xPos, EV_EditMethodCallData::m_yPos, XAP_Frame::nullUpdate(), XAP_Frame::quickZoom(), XAP_App::setInputMode(), XAP_Frame::setZoomType(), showNextPage(), and XAP_Frame::z_PAGEWIDTH.
Referenced by Presentation_start().
bool Presentation::m_bDrewNext [private] |
Referenced by showNextPage(), and showPrevPage().
bool Presentation::m_bDrewPrev [private] |
Referenced by showNextPage(), and showPrevPage().
UT_sint32 Presentation::m_iOldZoom [private] |
UT_sint32 Presentation::m_iPage [private] |
Referenced by showNextPage(), showPrevPage(), and start().
XAP_App* Presentation::m_pApp [private] |
Referenced by _loadPresentationBindings(), end(), Presentation(), and start().
FV_View* Presentation::m_pView [private] |
Referenced by drawNthPage(), end(), showNextPage(), showPrevPage(), and start().
UT_String Presentation::m_sPrevBindings [private] |