15 #ifndef FS_PDFDOCVIEWERPREFS_H_ 16 #define FS_PDFDOCVIEWERPREFS_H_ 47 typedef enum _PrintScale {
59 typedef enum _ViewerPref {
368 #endif // FS_PDFDOCVIEWERPREFS_H_ void SetPrintClip(PDFPage::BoxType box_type)
设置打印文档时页面内容要被裁剪的页面边界。
指定是否将文档窗口位置居中显示在屏幕中央的标志。
Definition: fs_pdfdocviewerprefs.h:72
Definition: fs_common.h:1364
指定文档处于活动状态时是否隐藏查看器应用程序工具栏的标志。
Definition: fs_pdfdocviewerprefs.h:61
common::Range GetPrintRange() const
获取用于在为PDF文档打开打印对话框时初始化打印对话框的页面范围信息。
DocViewerPrefs & operator=(const DocViewerPrefs &other)
赋值运算符。
PDFPage::BoxType GetPrintClip()
获取打印文档时页面内容要被裁剪的页面边界。
bool operator !=(const DocViewerPrefs &other) const
不等于运算符。
ViewerPref
文档打开时各种GUI元素应如何表现的枚举。
Definition: fs_pdfdocviewerprefs.h:59
指定文档处于活动状态时是否隐藏查看器应用程序菜单栏的标志。
Definition: fs_pdfdocviewerprefs.h:63
PrintScale
页面缩放选项的枚举。
Definition: fs_pdfdocviewerprefs.h:47
void SetViewClip(PDFPage::BoxType box_type)
设置在屏幕上查看文档时页面内容要被裁剪的页面边界。
PrintScale GetPrintScale() const
获取为PDF文档显示打印对话框时要选择的页面缩放选项。
DocViewerPrefs(const PDFDoc &document, objects::PDFDictionary *pdf_dict=0)
带参数的构造函数。
objects::PDFDictionary * GetDict() const
从当前对象获取PDF字典。
BoxType
页面框类型枚举。
Definition: fs_pdfpage.h:466
Definition: fs_pdfdoc.h:771
指定是否调整文档窗口大小以适应第一个显示页面尺寸的标志。
Definition: fs_pdfdocviewerprefs.h:70
这表示打印对话框应该反映无页面缩放。
Definition: fs_pdfdocviewerprefs.h:49
指定窗口标题栏是否应显示从文档信息字典的"Title"条目中获取的 文档标题的标志。如果为false,标题栏应显示包含文档的PDF文件名。
Definition: fs_pdfdocviewerprefs.h:77
void SetPrintArea(PDFPage::BoxType box_type)
设置表示打印文档时要渲染的页面区域的页面边界。
这表示应用程序应该使用当前的打印缩放。
Definition: fs_pdfdocviewerprefs.h:51
PDFPage::BoxType GetPrintArea()
获取表示打印文档时要渲染的页面区域的页面边界。
void SetReadingDirection(bool is_left_to_right)
设置文本的主要阅读方向。
DisplayMode
显示模式的枚举,指定文档打开时应如何显示。
Definition: fs_pdfdoc.h:988
Definition: fs_pdfdocviewerprefs.h:40
PDFPage::BoxType GetViewArea()
获取表示在屏幕上查看文档时要显示的页面区域的页面边界。
bool IsEmpty() const
检查当前对象是否为空。
bool operator==(const DocViewerPrefs &other) const
等于运算符。
PDFDoc::DisplayMode GetNonFullScreenPageMode() const
获取指定文档在退出全屏模式时如何显示文档的显示模式, 当文档的显示模式为全屏时。
int GetPrintCopies() const
获取为PDF文档打开打印对话框时要打印的副本数量。
PDFPage::BoxType GetViewClip()
获取在屏幕上查看文档时页面内容要被裁剪的页面边界。
void SetPrintCopies(int print_copies)
设置为PDF文档打开打印对话框时要打印的副本数量。
void SetViewArea(PDFPage::BoxType box_type)
设置表示在屏幕上查看文档时要显示的页面区域的页面边界。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
void SetNonFullScreenPageMode(PDFDoc::DisplayMode display_mode)
设置指定文档在退出全屏模式时如何显示文档的显示模式, 当文档的显示模式为全屏时。
指定是否隐藏文档窗口中的用户界面元素(如滚动条和导航控件)的标志, 只显示文档内容。
Definition: fs_pdfdocviewerprefs.h:68
Definition: fs_basictypes.h:449
bool GetReadingDirection() const
获取文本的主要阅读方向。
Definition: fs_pdfobject.h:848
Foxit命名空间。
Definition: fs_taggedpdf.h:27
#define NULL
空指针值。
Definition: fx_system.h:792
bool GetUIDisplayStatus(ViewerPref pref) const
获取指定查看器首选项类型的UI显示状态。
void SetPrintRange(const common::Range &page_range)
设置用于在为PDF文档打开打印对话框时初始化打印对话框的页面范围。
void SetPrintScale(PrintScale print_scale)
设置为PDF文档显示打印对话框时要选择的页面缩放选项。
void SetUIDisplayStatus(ViewerPref pref, bool value)
设置指定查看器首选项类型的UI显示状态。