OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _FPDFSAVE_H_ | 7 #ifndef _FPDFSAVE_H_ |
8 #define _FPDFSAVE_H_ | 8 #define _FPDFSAVE_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 // | 40 // |
41 int (*WriteBlock)( FPDF_FILEWRITE* pThis, const void* pData,
unsigned long size); | 41 int (*WriteBlock)( FPDF_FILEWRITE* pThis, const void* pData,
unsigned long size); |
42 | 42 |
43 }; | 43 }; |
44 | 44 |
45 | 45 |
46 /** @brief Incremental. */ | 46 /** @brief Incremental. */ |
47 #define FPDF_INCREMENTAL 1 | 47 #define FPDF_INCREMENTAL 1 |
48 /** @brief No Incremental. */ | 48 /** @brief No Incremental. */ |
49 #define FPDF_NO_INCREMENTAL 2 | 49 #define FPDF_NO_INCREMENTAL 2 |
50 | 50 /** @brief Remove security. */ |
| 51 #define FPDF_REMOVE_SECURITY» 3 |
51 | 52 |
52 // Function: FPDF_SaveAsCopy | 53 // Function: FPDF_SaveAsCopy |
53 // Saves the copy of specified document in custom way. | 54 // Saves the copy of specified document in custom way. |
54 // Parameters: | 55 // Parameters: |
55 // document - Handle to document. Retu
rned by FPDF_LoadDocument and FPDF_CreateNewDocument. | 56 // document - Handle to document. Retu
rned by FPDF_LoadDocument and FPDF_CreateNewDocument. |
56 // pFileWrite - A pointer to a custom fi
le write structure. | 57 // pFileWrite - A pointer to a custom fi
le write structure. |
57 // flags - The creating flags. | 58 // flags - The creating flags. |
58 // Return value: | 59 // Return value: |
59 // TRUE for succeed, FALSE for failed. | 60 // TRUE for succeed, FALSE for failed. |
60 // | 61 // |
(...skipping 11 matching lines...) Expand all Loading... |
72 // TRUE if succeed, FALSE if failed. | 73 // TRUE if succeed, FALSE if failed. |
73 // | 74 // |
74 DLLEXPORT FPDF_BOOL STDCALL FPDF_SaveWithVersion(FPDF_DOCUMENT document,FPDF_FIL
EWRITE * pFileWrite, | 75 DLLEXPORT FPDF_BOOL STDCALL FPDF_SaveWithVersion(FPDF_DOCUMENT document,FPDF_FIL
EWRITE * pFileWrite, |
75 FPDF_DWORD flags, int fileVersion); | 76 FPDF_DWORD flags, int fileVersion); |
76 | 77 |
77 #ifdef __cplusplus | 78 #ifdef __cplusplus |
78 }; | 79 }; |
79 #endif | 80 #endif |
80 | 81 |
81 #endif //_FPDFSAVE_H_ | 82 #endif //_FPDFSAVE_H_ |
OLD | NEW |