diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-05 10:11:22 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-05 10:11:22 -0700 |
commit | 18d0aafda2d4984f510f4f679bfc5393c2c8a81b (patch) | |
tree | d236e8bd408a51d1ef928d5ec9a348c9314443bc /core/include/fpdfapi/fpdf_serial.h | |
parent | 29007840b6deb699174ae5a6ef6b1188d001aa05 (diff) | |
download | pdfium-18d0aafda2d4984f510f4f679bfc5393c2c8a81b.tar.xz |
Merge to XFA: FPDF_Creator can only create file through callbacks.
(cherry picked from commit 5cd398545141226f082b2f757f23c73303058a83)
Original Review URL: https://codereview.chromium.org/1264423003 .
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1275623002 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_serial.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_serial.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h index efa30f646b..0e317ff6d9 100644 --- a/core/include/fpdfapi/fpdf_serial.h +++ b/core/include/fpdfapi/fpdf_serial.h @@ -110,22 +110,15 @@ class CPDF_PageArchiveLoader : public CPDF_ObjArchiveLoader { #define FPDFCREATE_NO_ORIGINAL 2 #define FPDFCREATE_PROGRESSIVE 4 #define FPDFCREATE_OBJECTSTREAM 8 + class CPDF_Creator { public: CPDF_Creator(CPDF_Document* pDoc); - ~CPDF_Creator(); void RemoveSecurity(); - - FX_BOOL Create(const FX_WCHAR* filename, FX_DWORD flags = 0); - - FX_BOOL Create(const FX_CHAR* filename, FX_DWORD flags = 0); - FX_BOOL Create(IFX_StreamWrite* pFile, FX_DWORD flags = 0); - int32_t Continue(IFX_Pause* pPause = NULL); - FX_BOOL SetFileVersion(int32_t fileVersion = 17); protected: |