Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: fpdfsdk/include/fsdk_baseannot.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_util.h ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_util.h ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698