1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FWL_CFWL_THEMETEXT_H_ 8 #define XFA_FWL_CFWL_THEMETEXT_H_ 9 10 #include "core/fxcrt/fx_string.h" 11 #include "core/fxcrt/fx_system.h" 12 #include "xfa/fwl/cfwl_themepart.h" 13 14 class CFWL_ThemeText : public CFWL_ThemePart { 15 public: CFWL_ThemeText()16 CFWL_ThemeText() : m_pGraphics(nullptr) {} 17 18 WideString m_wsText; 19 FDE_TextStyle m_dwTTOStyles; 20 FDE_TextAlignment m_iTTOAlign; 21 CXFA_Graphics* m_pGraphics; 22 }; 23 24 #endif // XFA_FWL_CFWL_THEMETEXT_H_ 25