| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 CPDFSDK_PageView* pPageView, | 63 CPDFSDK_PageView* pPageView, |
| 64 CPDFSDK_InterForm* pInterForm); | 64 CPDFSDK_InterForm* pInterForm); |
| 65 ~CPDFSDK_Widget() override; | 65 ~CPDFSDK_Widget() override; |
| 66 | 66 |
| 67 // CPDFSDK_Annot | 67 // CPDFSDK_Annot |
| 68 CFX_ByteString GetSubType() const override; | 68 CFX_ByteString GetSubType() const override; |
| 69 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override; | 69 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override; |
| 70 | 70 |
| 71 int GetLayoutOrder() const override { return 2; } | 71 int GetLayoutOrder() const override { return 2; } |
| 72 | 72 |
| 73 int GetFieldType() const; |
| 74 |
| 73 // Possible values from PDF 32000-1:2008, table 221. | 75 // Possible values from PDF 32000-1:2008, table 221. |
| 74 // FIELDFLAG_READONLY | 76 // FIELDFLAG_READONLY |
| 75 // FIELDFLAG_REQUIRED | 77 // FIELDFLAG_REQUIRED |
| 76 // FIELDFLAG_NOEXPORT | 78 // FIELDFLAG_NOEXPORT |
| 77 int GetFieldType() const; | |
| 78 | |
| 79 int GetFieldFlags() const; | 79 int GetFieldFlags() const; |
| 80 int GetRotate() const; | 80 int GetRotate() const; |
| 81 | 81 |
| 82 FX_BOOL GetFillColor(FX_COLORREF& color) const; | 82 FX_BOOL GetFillColor(FX_COLORREF& color) const; |
| 83 FX_BOOL GetBorderColor(FX_COLORREF& color) const; | 83 FX_BOOL GetBorderColor(FX_COLORREF& color) const; |
| 84 FX_BOOL GetTextColor(FX_COLORREF& color) const; | 84 FX_BOOL GetTextColor(FX_COLORREF& color) const; |
| 85 FX_FLOAT GetFontSize() const; | 85 FX_FLOAT GetFontSize() const; |
| 86 | 86 |
| 87 int GetSelectedIndex(int nIndex) const; | 87 int GetSelectedIndex(int nIndex) const; |
| 88 CFX_WideString GetValue() const; | 88 CFX_WideString GetValue() const; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); | 299 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); |
| 300 | 300 |
| 301 CPDFSDK_PageView* m_pPageView; | 301 CPDFSDK_PageView* m_pPageView; |
| 302 CFX_ByteString m_sType; | 302 CFX_ByteString m_sType; |
| 303 CFX_ByteString m_sSubType; | 303 CFX_ByteString m_sSubType; |
| 304 int m_nTabs; | 304 int m_nTabs; |
| 305 CPDFSDK_Annots m_Annots; | 305 CPDFSDK_Annots m_Annots; |
| 306 }; | 306 }; |
| 307 | 307 |
| 308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |