Go to the documentation of this file.00001
00021 #ifndef _FPDFPPO_H_
00022 #define _FPDFPPO_H_
00023
00024 #ifndef _FPDFVIEW_H_
00025 #include "fpdfview.h"
00026 #endif
00027
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031
00042 DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,FPDF_DOCUMENT src_doc, FPDF_BYTESTRING pagerange, int index);
00043
00044
00045
00047 #define FLATTEN_FAIL 0
00048
00049 #define FLATTEN_SUCCESS 1
00050
00051 #define FLATTEN_NOTINGTODO 2
00052
00053
00054 #define FLAT_NORMALDISPLAY 0
00055 #define FLAT_PRINT 1
00056
00064 DLLEXPORT int STDCALL FPDFPage_Flatten( FPDF_PAGE page,int nFlag );
00065
00066
00067
00078 DLLEXPORT FPDF_BOOL STDCALL FPDFPage_GetRectangle(FPDF_PAGE page, int iRect,
00079 double* left, double* right, double* bottom, double* top);
00080
00081
00094 DLLEXPORT FPDF_BOOL STDCALL FPDFPage_SetRectangle(FPDF_PAGE page, int iRect,
00095 double left, double right, double bottom, double top);
00096
00097
00098
00099
00106 DLLEXPORT int STDCALL FPDFPage_GetRotation(FPDF_PAGE page);
00107
00108
00109
00110
00120 DLLEXPORT void STDCALL FPDFPage_SetRotation(FPDF_PAGE page, int rotate);
00121
00122 #ifdef __cplusplus
00123 };
00124 #endif
00125
00126 #endif
00127
00129