#include "ie_types.h"
#include "fv_View.h"
#include <set>
Go to the source code of this file.
Functions | |
UT_Error | fileOpen (XAP_Frame *pFrame, const char *pNewFile, IEFileType ieft) |
bool | s_actuallyPrint (PD_Document *doc, GR_Graphics *pGraphics, FV_View *pPrintView, const char *pDocName, UT_uint32 nCopies, bool bCollate, UT_sint32 inWidth, UT_sint32 inHeight, UT_sint32 nToPage, UT_sint32 nFromPage) |
bool | s_actuallyPrint (PD_Document *doc, GR_Graphics *pGraphics, FV_View *pPrintView, const char *pDocName, UT_uint32 nCopies, bool bCollate, UT_sint32 inWidth, UT_sint32 inHeight, const std::set< UT_sint32 > &pages) |
void | s_getPageMargins (FV_View *inView, double &margin_left, double &margin_right, double &page_margin_left, double &page_margin_right, double &page_margin_top, double &page_margin_bottom) |
bool | s_doTabDlg (FV_View *pView) |
UT_Error fileOpen | ( | XAP_Frame * | pFrame, | |
const char * | pNewFile, | |||
IEFileType | ieft | |||
) |
References EX, XAP_App::findFrame(), XAP_App::getApp(), XAP_Frame::getCurrentView(), XAP_Frame::getFilename(), XAP_App::getFrame(), XAP_Frame::getFrameData(), XAP_Frame::getViewNumber(), IEFT_Unknown, XAP_Frame::isDirty(), XAP_Frame::loadDocument(), AP_FrameData::m_bIsWidget, XAP_App::newFrame(), s_AskRevertFile(), s_CouldNotLoadFileMessage(), s_StartStopLoadingCursor(), XAP_Frame::show(), XAP_Frame::updateZoom(), UT_DEBUGMSG, UT_ERROR, UT_IS_IE_SUCCESS, and UT_return_val_if_fail.
Referenced by _openRecent(), and Defun1().
bool s_actuallyPrint | ( | PD_Document * | doc, | |
GR_Graphics * | pGraphics, | |||
FV_View * | pPrintView, | |||
const char * | pDocName, | |||
UT_uint32 | nCopies, | |||
bool | bCollate, | |||
UT_sint32 | inWidth, | |||
UT_sint32 | inHeight, | |||
UT_sint32 | nToPage, | |||
UT_sint32 | nFromPage | |||
) |
References s_actuallyPrint().
Referenced by IE_Exp_Cairo::_writeDocument(), AP_Convert::print(), AP_Convert::printFirstPage(), and s_actuallyPrint().
bool s_actuallyPrint | ( | PD_Document * | doc, | |
GR_Graphics * | pGraphics, | |||
FV_View * | pPrintView, | |||
const char * | pDocName, | |||
UT_uint32 | nCopies, | |||
bool | bCollate, | |||
UT_sint32 | inWidth, | |||
UT_sint32 | inHeight, | |||
const std::set< UT_sint32 > & | pages | |||
) |
References FV_View::draw(), GR_Graphics::endPrint(), gchar, XAP_App::getApp(), XAP_App::getLastFocussedFrame(), FV_View::getPageSize(), XAP_App::getStringSet(), XAP_StringSet::getValue(), fp_PageSize::isPortrait(), GR_Graphics::m_iRasterPosition, XAP_Frame::nullUpdate(), dg_DrawArgs::pG, GR_Graphics::setPortrait(), XAP_Frame::setStatusMessage(), GR_Graphics::startPage(), and GR_Graphics::startPrint().
bool s_doTabDlg | ( | FV_View * | pView | ) |
References AP_Dialog_Tab::a_CANCEL, AP_Dialog_Tab::a_OK, AP_DIALOG_ID_TAB, AP_Dialog_Tab::getAnswer(), XAP_Frame::getDialogFactory(), AV_View::getParentData(), XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), AP_Dialog_Tab::runModal(), s_TabSaveCallBack(), s_TellNotImplemented(), AP_Dialog_Tab::setSaveCallback(), UT_ASSERT_HARMLESS, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by Defun1(), AP_UnixDialog_Paragraph::event_Tabs(), and s_doParagraphDlg().
void s_getPageMargins | ( | FV_View * | inView, | |
double & | margin_left, | |||
double & | margin_right, | |||
double & | page_margin_left, | |||
double & | page_margin_right, | |||
double & | page_margin_top, | |||
double & | page_margin_bottom | |||
) |
References gchar, FV_View::getBlockFormat(), PP_getAttribute(), UT_convertToInches(), and UT_return_if_fail.
Referenced by Defun1(), Defun_EV_GetToolbarItemState_Fn(), and XAP_UnixDialog_Print::setupPrint().