| 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 FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| 8 #define FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| 9 | 9 |
| 10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
| 11 #include "time.h" | 11 #include "time.h" |
| 12 #else | 12 #else |
| 13 #include <ctime> | 13 #include <ctime> |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 #include "core/fpdfdoc/include/fpdf_doc.h" | 16 #include "core/fpdfdoc/include/cpdf_aaction.h" |
| 17 #include "core/fpdfdoc/include/cpdf_annot.h" |
| 18 #include "core/fpdfdoc/include/cpdf_defaultappearance.h" |
| 17 #include "core/fxcrt/include/fx_basic.h" | 19 #include "core/fxcrt/include/fx_basic.h" |
| 18 #include "fpdfsdk/cfx_systemhandler.h" | 20 #include "fpdfsdk/cfx_systemhandler.h" |
| 19 #include "fpdfsdk/include/fsdk_common.h" | 21 #include "fpdfsdk/include/fsdk_common.h" |
| 20 #include "fpdfsdk/include/fsdk_define.h" | 22 #include "fpdfsdk/include/fsdk_define.h" |
| 21 | 23 |
| 22 class CPDFSDK_PageView; | 24 class CPDFSDK_PageView; |
| 23 class CPDF_Annot; | |
| 24 class CPDF_Page; | 25 class CPDF_Page; |
| 25 class CFX_Matrix; | 26 class CFX_Matrix; |
| 26 class CPDF_RenderOptions; | 27 class CPDF_RenderOptions; |
| 27 class CFX_RenderDevice; | 28 class CFX_RenderDevice; |
| 28 | 29 |
| 29 class CPDFSDK_DateTime { | 30 class CPDFSDK_DateTime { |
| 30 public: | 31 public: |
| 31 CPDFSDK_DateTime(); | 32 CPDFSDK_DateTime(); |
| 32 explicit CPDFSDK_DateTime(const CFX_ByteString& dtStr); | 33 explicit CPDFSDK_DateTime(const CFX_ByteString& dtStr); |
| 33 explicit CPDFSDK_DateTime(const FX_SYSTEMTIME& st); | 34 explicit CPDFSDK_DateTime(const FX_SYSTEMTIME& st); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 const CFX_ByteString& sAPState = ""); | 185 const CFX_ByteString& sAPState = ""); |
| 185 | 186 |
| 186 protected: | 187 protected: |
| 187 CPDF_Annot* m_pAnnot; | 188 CPDF_Annot* m_pAnnot; |
| 188 | 189 |
| 189 private: | 190 private: |
| 190 FX_BOOL CreateFormFiller(); | 191 FX_BOOL CreateFormFiller(); |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 194 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| OLD | NEW |