15 #ifndef FS_REFLOWPAGE_H_ 16 #define FS_REFLOWPAGE_H_ 343 #endif // FS_REFLOWPAGE_H_ Matrix GetDisplayMatrix(float offset_x, float offset_y, int width, int height, common::Rotation rotate) const
Get the display matrix, according to the offset of top side between current reflow page and screen.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:216
void SetScreenMargin(int left, int top, int right, int bottom)
Set margin. This can be called before calling function ReflowPage::StartParse.
Definition: fs_common.h:568
Parsing flag to decide whether to allow to truncate the first/last image or line of text within the s...
Definition: fs_reflowpage.h:92
Flags
Enumeration for parsing flags used for a reflow page.
Definition: fs_reflowpage.h:69
Header file for common definitions and classes.
BYTE STRING CLASS.
Definition: fx_string.h:317
Definition: fx_coordinates.h:30
Rotation
Enumeration for rotation.
Definition: fs_common.h:344
ReflowPage(const PDFPage &page)
Constructor, from a parsed PDF page.
bool operator !=(const ReflowPage &other) const
Not equal operator.
Definition: fs_reflowpage.h:62
bool IsEmpty() const
Check whether current object is empty or not.
Foxit namespace.
Definition: fs_compare.h:27
void SetParseFlags(uint32 flags)
Set the parsing flag. This can be called before calling function ReflowPage::StartParse.
float GetContentHeight() const
Get content height after current reflow page object has been parsed.
Definition: fx_basic.h:3752
common::Progressive StartParse(common::PauseCallback *pause=0)
Start to parse current reflow page.
float GetContentWidth() const
Get content width after current reflow page object has been parsed.
#define NULL
The null-pointer value.
Definition: fx_system.h:767
bool IsParsed() const
Check if current reflow page has been parsed or not.
Definition: fs_pdfpage.h:342
String GetFocusData(const Matrix &matrix, const PointF &point) const
Get focus data corresponding to a given position in device coordinate system.
ReflowPage & operator=(const ReflowPage &other)
Assign operator.
void SetImageScale(float image_scale)
Set image scale. This can be called before calling function ReflowPage::StartParse.
bool operator==(const ReflowPage &other) const
Equal operator.
Definition: fx_coordinates.h:1076
void SetTopSpace(float top_space)
Set the top space. This can be called before calling function ReflowPage::StartParse.
Parsing flag for normal mode, without image.
Definition: fs_reflowpage.h:71
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:198
PointF GetFocusPosition(const Matrix &matrix, const char *focus_data) const
Get the position in device coordinate system corresponding to a given focus data.
Definition: fs_basictypes.h:399
void SetScreenSize(float width, float height)
Set screen size. This should be called before calling function ReflowPage::StartParse.
Parsing flag for image mode.
Definition: fs_reflowpage.h:73
void SetLineSpace(float line_space)
Set line space. This can be called before calling function ReflowPage::StartParse.
void SetZoom(int zoom)
Set zoom factor. This can be called before calling function ReflowPage::StartParse.