| 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_FORMFILLER_FFL_TEXTFIELD_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
| 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
| 9 | 9 |
| 10 #include "FFL_FormFiller.h" | 10 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" |
| 11 | 11 |
| 12 #define BF_ALIGN_LEFT 0 | 12 #define BF_ALIGN_LEFT 0 |
| 13 #define BF_ALIGN_MIDDLE 1 | 13 #define BF_ALIGN_MIDDLE 1 |
| 14 #define BF_ALIGN_RIGHT 2 | 14 #define BF_ALIGN_RIGHT 2 |
| 15 | 15 |
| 16 class CBA_FontMap; | 16 class CBA_FontMap; |
| 17 | 17 |
| 18 struct FFL_TextFieldState { | 18 struct FFL_TextFieldState { |
| 19 int nStart; | 19 int nStart; |
| 20 int nEnd; | 20 int nEnd; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // CFFL_FormFiller: | 60 // CFFL_FormFiller: |
| 61 FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView) override; | 61 FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView) override; |
| 62 #endif // PDF_ENABLE_XFA | 62 #endif // PDF_ENABLE_XFA |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 CBA_FontMap* m_pFontMap; | 65 CBA_FontMap* m_pFontMap; |
| 66 FFL_TextFieldState m_State; | 66 FFL_TextFieldState m_State; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 69 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
| OLD | NEW |