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 final : public CFWL_ThemePart {
15  public:
16   CFWL_ThemeText() = default;
17 
18   FDE_TextAlignment m_iTTOAlign = FDE_TextAlignment::kTopLeft;
19   CXFA_Graphics* m_pGraphics = nullptr;
20   WideString m_wsText;
21   FDE_TextStyle m_dwTTOStyles;
22 };
23 
24 #endif  // XFA_FWL_CFWL_THEMETEXT_H_
25