| 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(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); | 75 CPDFSDK_Annot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); |
| 76 virtual ~CPDFSDK_Annot(); | 76 virtual ~CPDFSDK_Annot(); |
| 77 public: | 77 public: |
| 78 virtual FX_FLOAT GetMinWidth() const; | 78 virtual FX_FLOAT GetMinWidth() const; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 FX_BOOL CreateFormFiller(); | 184 FX_BOOL CreateFormFiller(); |
| 185 protected: | 185 protected: |
| 186 CPDF_Annot* m_pAnnot; | 186 CPDF_Annot* m_pAnnot; |
| 187 CPDFSDK_PageView* m_pPageView; | 187 CPDFSDK_PageView* m_pPageView; |
| 188 FX_BOOL m_bSelected; | 188 FX_BOOL m_bSelected; |
| 189 int m_nTabOrder; | 189 int m_nTabOrder; |
| 190 | 190 |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 193 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| OLD | NEW |