| 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 _FPDF_SERIAL_ | 7 #ifndef _FPDF_SERIAL_ |
| 8 #define _FPDF_SERIAL_ | 8 #define _FPDF_SERIAL_ |
| 9 #ifndef _FPDF_PAGE_ | 9 #ifndef _FPDF_PAGE_ |
| 10 #include "fpdf_page.h" | 10 #include "fpdf_page.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 CPDF_GeneralState m_LastGeneralState; | 106 CPDF_GeneralState m_LastGeneralState; |
| 107 | 107 |
| 108 CPDF_PageObjects* m_pCurPage; | 108 CPDF_PageObjects* m_pCurPage; |
| 109 | 109 |
| 110 CFX_MapPtrToPtr m_ObjectMap; | 110 CFX_MapPtrToPtr m_ObjectMap; |
| 111 }; | 111 }; |
| 112 #define FPDFCREATE_INCREMENTAL 1 | 112 #define FPDFCREATE_INCREMENTAL 1 |
| 113 #define FPDFCREATE_NO_ORIGINAL 2 | 113 #define FPDFCREATE_NO_ORIGINAL 2 |
| 114 #define FPDFCREATE_PROGRESSIVE 4 | 114 #define FPDFCREATE_PROGRESSIVE 4 |
| 115 #define FPDFCREATE_OBJECTSTREAM 8 | 115 #define FPDFCREATE_OBJECTSTREAM 8 |
| 116 class CPDF_Creator : public CFX_Object | 116 class CPDF_Creator |
| 117 { | 117 { |
| 118 public: | 118 public: |
| 119 | 119 |
| 120 CPDF_Creator(CPDF_Document* pDoc); | 120 CPDF_Creator(CPDF_Document* pDoc); |
| 121 | 121 |
| 122 ~CPDF_Creator(); | 122 ~CPDF_Creator(); |
| 123 | 123 |
| 124 void RemoveSecurity(); | 124 void RemoveSecurity(); |
| 125 | 125 |
| 126 FX_BOOL Create(FX_LPCWSTR filename, FX_DWORD fla
gs = 0); | 126 FX_BOOL Create(FX_LPCWSTR filename, FX_DWORD fla
gs = 0); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 CFX_DWordListArray m_ObjectSize; | 196 CFX_DWordListArray m_ObjectSize; |
| 197 CFX_DWordArray m_NewObjNumArray; | 197 CFX_DWordArray m_NewObjNumArray; |
| 198 | 198 |
| 199 CPDF_Array* m_pIDArray; | 199 CPDF_Array* m_pIDArray; |
| 200 | 200 |
| 201 FX_INT32 m_FileVersion; | 201 FX_INT32 m_FileVersion; |
| 202 friend class CPDF_ObjectStream; | 202 friend class CPDF_ObjectStream; |
| 203 friend class CPDF_XRefStream; | 203 friend class CPDF_XRefStream; |
| 204 }; | 204 }; |
| 205 #endif | 205 #endif |
| OLD | NEW |