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

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

Issue 1155273002: Replace XFA_HWIDGET with IXFA_Widget* (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ixfa_doc
Patch Set: Rebase. 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/fsdk_annothandler.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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; }
79 79
80 virtual FX_FLOAT GetMinWidth() const; 80 virtual FX_FLOAT GetMinWidth() const;
81 virtual FX_FLOAT GetMinHeight() const; 81 virtual FX_FLOAT GetMinHeight() const;
82 //define layout order to 5. 82 //define layout order to 5.
83 virtual int GetLayoutOrder() const { return 5; } 83 virtual int GetLayoutOrder() const { return 5; }
84 84
85 virtual CPDF_Annot* GetPDFAnnot() { return NULL; } 85 virtual CPDF_Annot* GetPDFAnnot() { return NULL; }
86 » virtual XFA_HWIDGET» » » GetXFAWidget() { return NULL; } 86 » virtual IXFA_Widget*» » GetXFAWidget() { return NULL; }
87 87
88 virtual CFX_ByteString GetType() const { return ""; } 88 virtual CFX_ByteString GetType() const { return ""; }
89 virtual CFX_ByteString GetSubType() const { return ""; } 89 virtual CFX_ByteString GetSubType() const { return ""; }
90 90
91 virtual void SetRect(const CPDF_Rect& rect) { } 91 virtual void SetRect(const CPDF_Rect& rect) { }
92 virtual CPDF_Rect GetRect() const { return CPDF_Re ct(); } 92 virtual CPDF_Rect GetRect() const { return CPDF_Re ct(); }
93 93
94 virtual void Annot_OnDraw(CFX_RenderDevice* p Device, CPDF_Matrix* pUser2Device,CPDF_RenderOptions* pOptions) {} 94 virtual void Annot_OnDraw(CFX_RenderDevice* p Device, CPDF_Matrix* pUser2Device,CPDF_RenderOptions* pOptions) {}
95 95
96 public: 96 public:
(...skipping 110 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/fsdk_annothandler.h ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698