diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-20 10:47:32 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-20 10:47:32 -0800 |
commit | 326a2a78aaf7e0146bfcd283da888c08e34143f8 (patch) | |
tree | d43911b00e90c777b8c8365513d0abc942feef6d /public/fpdf_edit.h | |
parent | a4754b4d4ebc5e518a1d1363648042a5c7add544 (diff) | |
download | pdfium-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/fpdf_edit.h')
-rw-r--r-- | public/fpdf_edit.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 253f6686d7..64eef263a5 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -40,7 +40,6 @@ extern "C" { // None. // Return value: // A handle to a document. If failed, NULL is returned. -// DLLEXPORT FPDF_DOCUMENT STDCALL FPDF_CreateNewDocument(); ////////////////////////////////////////////////////////////////////// @@ -61,10 +60,6 @@ DLLEXPORT FPDF_DOCUMENT STDCALL FPDF_CreateNewDocument(); // The handle to the page. // Comments: // Loaded page can be deleted by FPDFPage_Delete. -// Notes: -// The method can not support to create a new page for the document -// consists of dynamic XFA fields. -// DLLEXPORT FPDF_PAGE STDCALL FPDFPage_New(FPDF_DOCUMENT document, int page_index, double width, @@ -78,10 +73,6 @@ DLLEXPORT FPDF_PAGE STDCALL FPDFPage_New(FPDF_DOCUMENT document, // page_index - The index of a page. // Return value: // None. -// Notes: -// The method can not support to delete page for the document consists -// of dynamic XFA fields. -// DLLEXPORT void STDCALL FPDFPage_Delete(FPDF_DOCUMENT document, int page_index); // Function: FPDFPage_GetRotation @@ -94,10 +85,6 @@ DLLEXPORT void STDCALL FPDFPage_Delete(FPDF_DOCUMENT document, int page_index); // The PDF page rotation. // Comment: // The PDF page rotation is rotated clockwise. -// Notes: -// The method can not support to get the page rotate for the document -// consists of dynamic XFA fields. -// DLLEXPORT int STDCALL FPDFPage_GetRotation(FPDF_PAGE page); // Function: FPDFPage_SetRotation @@ -111,9 +98,6 @@ DLLEXPORT int STDCALL FPDFPage_GetRotation(FPDF_PAGE page); // None. // Comment: // The PDF page rotation is rotated clockwise. -// Notes: -// The method can not support to set this feature for the document -// consists of dynamic XFA fields. // DLLEXPORT void STDCALL FPDFPage_SetRotation(FPDF_PAGE page, int rotate); @@ -128,10 +112,6 @@ DLLEXPORT void STDCALL FPDFPage_SetRotation(FPDF_PAGE page, int rotate); // FPDFPageObj_NewPathObj. // Return value: // None. -// Notes: -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT void STDCALL FPDFPage_InsertObject(FPDF_PAGE page, FPDF_PAGEOBJECT page_obj); @@ -142,10 +122,6 @@ DLLEXPORT void STDCALL FPDFPage_InsertObject(FPDF_PAGE page, // FPDF_LoadPage. // Return value: // The number of the page object. -// Notes: -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT int STDCALL FPDFPage_CountObject(FPDF_PAGE page); // Function: FPDFPage_GetObject @@ -156,10 +132,6 @@ DLLEXPORT int STDCALL FPDFPage_CountObject(FPDF_PAGE page); // index - The index of a page object. // Return value: // The handle of the page object. Null for failed. -// Notes: -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT FPDF_PAGEOBJECT STDCALL FPDFPage_GetObject(FPDF_PAGE page, int index); // Function: FPDFPage_HasTransparency @@ -171,10 +143,6 @@ DLLEXPORT FPDF_PAGEOBJECT STDCALL FPDFPage_GetObject(FPDF_PAGE page, int index); // Return value: // TRUE means that the PDF page does contains transparency. // Otherwise, returns FALSE. -// Notes: -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT FPDF_BOOL STDCALL FPDFPage_HasTransparency(FPDF_PAGE page); // Function: FPDFPage_GenerateContent @@ -188,10 +156,6 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFPage_HasTransparency(FPDF_PAGE page); // Before you save the page to a file, or reload the page, you must // call the FPDFPage_GenerateContent function. // Or the changed information will be lost. -// Notes: -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT FPDF_BOOL STDCALL FPDFPage_GenerateContent(FPDF_PAGE page); ////////////////////////////////////////////////////////////////////// @@ -244,9 +208,6 @@ DLLEXPORT void STDCALL FPDFPageObj_Transform(FPDF_PAGEOBJECT page_object, // f - The coefficient "f" of the matrix. // Return value: // None. -// Notes: -// The method can not support this feature for the document consists of -// dynamic XFA fields. DLLEXPORT void STDCALL FPDFPage_TransformAnnots(FPDF_PAGE page, double a, double b, @@ -296,9 +257,6 @@ FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document); // shared and cached by the loaded pages, In this case, we need to // clear the cache of image for all the loaded pages. // Pass pages and count to this API to clear the image cache. -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_LoadJpegFile(FPDF_PAGE* pages, int nCount, @@ -337,10 +295,6 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_SetMatrix(FPDF_PAGEOBJECT image_object, // it to the image object. // Return value: // TRUE if successful, FALSE otherwise. -// Notes; -// The method can not support this feature for the document consists of -// dynamic XFA fields. -// DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_SetBitmap(FPDF_PAGE* pages, int nCount, FPDF_PAGEOBJECT image_object, |