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_ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 CFX_ByteString ToPDFDateTimeString(); | 51 CFX_ByteString ToPDFDateTimeString(); |
52 void ToSystemTime(FX_SYSTEMTIME& st); | 52 void ToSystemTime(FX_SYSTEMTIME& st); |
53 CPDFSDK_DateTime ToGMT(); | 53 CPDFSDK_DateTime ToGMT(); |
54 CPDFSDK_DateTime& AddDays(short days); | 54 CPDFSDK_DateTime& AddDays(short days); |
55 CPDFSDK_DateTime& AddSeconds(int seconds); | 55 CPDFSDK_DateTime& AddSeconds(int seconds); |
56 | 56 |
57 void ResetDateTime(); | 57 void ResetDateTime(); |
58 | 58 |
59 struct FX_DATETIME | 59 struct FX_DATETIME |
60 { | 60 { |
61 » » FX_SHORT» year; | 61 » » int16_t»year; |
62 » » FX_BYTE»» month; | 62 » » uint8_t»» month; |
63 » » FX_BYTE»» day; | 63 » » uint8_t»» day; |
64 » » FX_BYTE»» hour; | 64 » » uint8_t»» hour; |
65 » » FX_BYTE»» minute; | 65 » » uint8_t»» minute; |
66 » » FX_BYTE»» second; | 66 » » uint8_t»» second; |
67 » » FX_INT8 » tzHour; | 67 » » int8_t »tzHour; |
68 » » FX_BYTE»» tzMinute; | 68 » » uint8_t»» tzMinute; |
69 }dt; | 69 }dt; |
70 }; | 70 }; |
71 | 71 |
72 class CPDFSDK_Annot | 72 class CPDFSDK_Annot |
73 { | 73 { |
74 public: | 74 public: |
75 CPDFSDK_Annot(CPDFSDK_PageView* pPageView); | 75 CPDFSDK_Annot(CPDFSDK_PageView* pPageView); |
76 virtual ~CPDFSDK_Annot() {}; | 76 virtual ~CPDFSDK_Annot() {}; |
77 public: | 77 public: |
78 virtual FX_BOOL IsXFAField() { return FALSE; } | 78 virtual FX_BOOL IsXFAField() { return FALSE; } |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 const CPDF_Matrix& matrix, const CFX_ByteString& sContents, | 207 const CPDF_Matrix& matrix, const CFX_ByteString& sContents, |
208 const CFX_ByteString& sAPState = ""); | 208 const CFX_ByteString& sAPState = ""); |
209 | 209 |
210 private: | 210 private: |
211 FX_BOOL CreateFormFiller(); | 211 FX_BOOL CreateFormFiller(); |
212 protected: | 212 protected: |
213 CPDF_Annot* m_pAnnot; | 213 CPDF_Annot* m_pAnnot; |
214 }; | 214 }; |
215 | 215 |
216 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 216 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
OLD | NEW |