| // Copyright 2017 The PDFium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| #ifndef FPDFSDK_FORMFILLER_CFFL_TEXTOBJECT_H_ |
| #define FPDFSDK_FORMFILLER_CFFL_TEXTOBJECT_H_ |
| #include "fpdfsdk/formfiller/cffl_formfield.h" |
| // Class to implement common functionality for CFFL_FormField sub-classes with |
| class CFFL_TextObject : public CFFL_FormField { |
| CPWL_Wnd* ResetPWLWindow(const CPDFSDK_PageView* pPageView) override; |
| CPWL_Wnd* RestorePWLWindow(const CPDFSDK_PageView* pPageView) override; |
| CFFL_TextObject(CFFL_InteractiveFormFiller* pFormFiller, |
| CPDFSDK_Widget* pWidget); |
| ~CFFL_TextObject() override; |
| CPDF_BAFontMap* GetOrCreateFontMap(); |
| std::unique_ptr<CPDF_BAFontMap> font_map_; |
| #endif // FPDFSDK_FORMFILLER_CFFL_TEXTOBJECT_H_ |