summaryrefslogtreecommitdiff
path: root/public/fpdfview.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 10:47:32 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 10:47:32 -0800
commit326a2a78aaf7e0146bfcd283da888c08e34143f8 (patch)
treed43911b00e90c777b8c8365513d0abc942feef6d /public/fpdfview.h
parenta4754b4d4ebc5e518a1d1363648042a5c7add544 (diff)
downloadpdfium-326a2a78aaf7e0146bfcd283da888c08e34143f8.tar.xz
Make XFA public more closely match master.
There will be significant differences, but these are the minor ones. I removed a comment that doesn't seem to add a lot of value. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1465723002 .
Diffstat (limited to 'public/fpdfview.h')
-rw-r--r--public/fpdfview.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/public/fpdfview.h b/public/fpdfview.h
index fb514864a2..d5c5a32542 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -180,8 +180,8 @@ typedef struct FPDF_LIBRARY_CONFIG_ {
// Comments:
// You have to call this function before you can call any PDF
// processing functions.
-DLLEXPORT void STDCALL
-FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* config);
+DLLEXPORT void STDCALL FPDF_InitLibraryWithConfig(
+ const FPDF_LIBRARY_CONFIG* config);
// Function: FPDF_DestroyLibary
// Release all resources allocated by the FPDFSDK library.
@@ -222,9 +222,9 @@ DLLEXPORT void STDCALL FPDF_SetSandBoxPolicy(FPDF_DWORD policy,
// Loaded document can be closed by FPDF_CloseDocument().
// If this function fails, you can use FPDF_GetLastError() to retrieve
// the reason why it failed.
-// The application should call ::FPDF_LoadXFA function after PDF
-// document loaded
-// to support XFA fields in fpdfformfill.h file.
+// Notes:
+// The application should call FPDF_LoadXFA function after PDF
+// document loaded to support XFA fields in fpdfformfill.h file.
DLLEXPORT FPDF_DOCUMENT STDCALL FPDF_LoadDocument(FPDF_STRING file_path,
FPDF_BYTESTRING password);
@@ -529,9 +529,6 @@ DLLEXPORT int STDCALL FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document,
// defined above.
// Return value:
// None.
-// Notes:
-// FPDF_RenderPage can not be used if the document contains dynamic
-// form fields.
DLLEXPORT void STDCALL FPDF_RenderPage(HDC dc,
FPDF_PAGE page,
int start_x,
@@ -564,9 +561,6 @@ DLLEXPORT void STDCALL FPDF_RenderPage(HDC dc,
// defined above.
// Return value:
// None.
-// Notes:
-// FPDF_RenderPageBitmap can not be used if the document contains
-// dynamic form fields.
DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap,
FPDF_PAGE page,
int start_x,