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 #include "../../public/fpdf_edit.h" |
| 8 #include "../../public/fpdf_save.h" |
7 #include "../include/fsdk_define.h" | 9 #include "../include/fsdk_define.h" |
8 #include "../include/fpdfsave.h" | 10 |
9 #include "../include/fpdfedit.h" | |
10 #if _FX_OS_ == _FX_ANDROID_ | 11 #if _FX_OS_ == _FX_ANDROID_ |
11 #include "time.h" | 12 #include "time.h" |
12 #else | 13 #else |
13 #include <ctime> | 14 #include <ctime> |
14 #endif | 15 #endif |
15 | 16 |
16 class CFX_IFileWrite FX_FINAL : public IFX_StreamWrite | 17 class CFX_IFileWrite FX_FINAL : public IFX_StreamWrite |
17 { | 18 { |
18 | 19 |
19 public: | 20 public: |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 { | 88 { |
88 return _FPDF_Doc_Save(document, pFileWrite, flags, FALSE , 0); | 89 return _FPDF_Doc_Save(document, pFileWrite, flags, FALSE , 0); |
89 } | 90 } |
90 | 91 |
91 | 92 |
92 DLLEXPORT FPDF_BOOL STDCALL FPDF_SaveWithVersion( FPDF_DOCUMENT document,F
PDF_FILEWRITE * pFileWrite, | 93 DLLEXPORT FPDF_BOOL STDCALL FPDF_SaveWithVersion( FPDF_DOCUMENT document,F
PDF_FILEWRITE * pFileWrite, |
93 FPDF_DWORD flags, int fileVersion) | 94 FPDF_DWORD flags, int fileVersion) |
94 { | 95 { |
95 return _FPDF_Doc_Save(document, pFileWrite, flags, TRUE , fileVersion); | 96 return _FPDF_Doc_Save(document, pFileWrite, flags, TRUE , fileVersion); |
96 } | 97 } |
OLD | NEW |