fpdf_reflow_r.h File Reference

Header file for PDF Reflow module of Foxit PDF SDK. More...

Go to the source code of this file.

Classes

struct  FSPDF_REFLOWPAGE
 Handle type to PDF reflow page. More...
 

Macros

Macro Definitions for Reflow Parser Flags
#define FSPDF_REFLOWFLAG_NORMAL   0x0
 Reflow parsing flag for normal mode, without image.
 
#define FSPDF_REFLOWFLAG_IMAGE   0x1
 Reflow parsing flag for image mode.
 
#define FSPDF_REFLOWFLAG_NOTRUNCATE   0x2
 Reflow parsing flag for single screen mode. More...
 

Functions

FS_RESULT FSPDF_ReflowPage_Create (FSCRT_PAGE pdfPage, FSPDF_REFLOWPAGE *reflowPage)
 Create a reflow page from a PDF page. More...
 
FS_RESULT FSPDF_ReflowPage_Release (FSPDF_REFLOWPAGE reflowPage)
 Release all resources allocated for a PDF reflow page handle. More...
 
FS_RESULT FSPDF_ReflowPage_SetSize (FSPDF_REFLOWPAGE reflowPage, FS_FLOAT width, FS_FLOAT height)
 Set screen size before calling function FSPDF_ReflowPage_StartParse. More...
 
FS_RESULT FSPDF_ReflowPage_SetLineSpace (FSPDF_REFLOWPAGE reflowPage, FS_FLOAT lineSpace)
 Set line space before calling function FSPDF_ReflowPage_StartParse. More...
 
FS_RESULT FSPDF_ReflowPage_SetTopSpace (FSPDF_REFLOWPAGE reflowPage, FS_FLOAT topSpace)
 Set the top space of page before calling function FSPDF_ReflowPage_StartParse. More...
 
FS_RESULT FSPDF_ReflowPage_StartParse (FSPDF_REFLOWPAGE reflowPage, FS_DWORD flags, FSCRT_PROGRESS *reflowProgress)
 Start parsing process for a reflow page. More...
 
FS_RESULT FSPDF_ReflowPage_GetContentSize (FSPDF_REFLOWPAGE reflowPage, FS_FLOAT *width, FS_FLOAT *height)
 Get width and height of a reflow page after calling function FSPDF_ReflowPage_StartParse. More...
 
FS_RESULT FSPDF_ReflowPage_GetMatrix (FSPDF_REFLOWPAGE reflowPage, FS_INT32 x, FS_INT32 y, FS_INT32 width, FS_INT32 height, FS_INT32 rotation, FSCRT_MATRIX *matrix)
 Get matrix of a reflow page. More...
 
FS_RESULT FSPDF_RenderContext_StartReflowPage (FSPDF_RENDERCONTEXT pdfRenderContext, FSCRT_RENDERER renderer, FSPDF_REFLOWPAGE reflowPage, FSCRT_PROGRESS *renderProgress)
 Start rendering a reflow page. More...
 
FS_RESULT FSPDF_ReflowPage_GetFocusData (FSPDF_REFLOWPAGE reflowPage, const FSCRT_MATRIX *matrix, FS_INT32 x, FS_INT32 y, FSCRT_BSTR *focusData)
 Get focus data corresponding to a given position in device coordinate system. More...
 
FS_RESULT FSPDF_ReflowPage_GetFocusPosition (FSPDF_REFLOWPAGE reflowPage, const FSCRT_MATRIX *matrix, const FSCRT_BSTR *focusData, FS_INT32 *x, FS_INT32 *y)
 Get a point of a position in device coordinate system corresponding to a given focus data. More...
 

Detailed Description

Header file for PDF Reflow module of Foxit PDF SDK.

Copyright (C) 2003-2016, Foxit Software Inc.. All Rights Reserved.

http://www.foxitsoftware.com

The following code is copyrighted and contains proprietary information and trade secrets of Foxit Software Inc.. You cannot distribute any part of Foxit PDF SDK to any third party or general public, unless there is a separate license agreement with Foxit Software Inc. which explicitly grants you such rights.

This header file defines PDF page reflow supports.
It contains:

  • 1. Rearrange the content of parsed PDF pages.
  • 2. Reparse PDF pages, which have been already parsed, according to the user's required page size.
  • 3. Render a reflowed page.
  • 4. Get data and coordinates to the current reading position.
  • 5. Get a FSPDF_TEXTPAGE object from reflowed result.
Note
If you want to purchase Foxit PDF SDK license and use ANY of the following functions, please request for enabling Standard module explicitly.

Foxit Corporation