| 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_BASEFORM_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| 9 | 9 |
| 10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 bModifier = FALSE; | 36 bModifier = FALSE; |
| 37 bShift = FALSE; | 37 bShift = FALSE; |
| 38 nCommitKey = 0; | 38 nCommitKey = 0; |
| 39 bKeyDown = FALSE; | 39 bKeyDown = FALSE; |
| 40 nSelEnd = nSelStart = 0; | 40 nSelEnd = nSelStart = 0; |
| 41 bWillCommit = FALSE; | 41 bWillCommit = FALSE; |
| 42 bFieldFull = FALSE; | 42 bFieldFull = FALSE; |
| 43 bRC = TRUE; | 43 bRC = TRUE; |
| 44 } | 44 } |
| 45 | 45 |
| 46 FX_BOOL bModifier; // in | 46 FX_BOOL bModifier; // in |
| 47 FX_BOOL bShift; // in | 47 FX_BOOL bShift; // in |
| 48 int nCommitKey; // in | 48 int nCommitKey; // in |
| 49 CFX_WideString sChange; // in[out] | 49 CFX_WideString sChange; // in[out] |
| 50 CFX_WideString sChangeEx; // in | 50 CFX_WideString sChangeEx; // in |
| 51 FX_BOOL bKeyDown; // in | 51 FX_BOOL bKeyDown; // in |
| 52 int nSelEnd; // in[out] | 52 int nSelEnd; // in[out] |
| 53 int nSelStart; // in[out] | 53 int nSelStart; // in[out] |
| 54 CFX_WideString sValue; // in[out] | 54 CFX_WideString sValue; // in[out] |
| 55 FX_BOOL bWillCommit; // in | 55 FX_BOOL bWillCommit; // in |
| 56 FX_BOOL bFieldFull; // in | 56 FX_BOOL bFieldFull; // in |
| 57 FX_BOOL bRC; // in[out] | 57 FX_BOOL bRC; // in[out] |
| 58 } PDFSDK_FieldAction; | 58 } PDFSDK_FieldAction; |
| 59 class CPDFSDK_Widget : public CPDFSDK_Annot { | 59 class CPDFSDK_Widget : public CPDFSDK_Annot { |
| 60 public: | 60 public: |
| 61 CPDFSDK_Widget(CPDF_Annot* pAnnot, | 61 CPDFSDK_Widget(CPDF_Annot* pAnnot, |
| 62 CPDFSDK_PageView* pPageView, | 62 CPDFSDK_PageView* pPageView, |
| 63 CPDFSDK_InterForm* pInterForm); | 63 CPDFSDK_InterForm* pInterForm); |
| 64 virtual ~CPDFSDK_Widget(); | 64 virtual ~CPDFSDK_Widget(); |
| 65 | 65 |
| 66 virtual CFX_ByteString GetSubType() const; | 66 virtual CFX_ByteString GetSubType() const; |
| 67 | 67 |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); | 298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); |
| 299 | 299 |
| 300 CPDFSDK_PageView* m_pPageView; | 300 CPDFSDK_PageView* m_pPageView; |
| 301 CFX_ByteString m_sType; | 301 CFX_ByteString m_sType; |
| 302 CFX_ByteString m_sSubType; | 302 CFX_ByteString m_sSubType; |
| 303 int m_nTabs; | 303 int m_nTabs; |
| 304 CPDFSDK_Annots m_Annots; | 304 CPDFSDK_Annots m_Annots; |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |