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 XFA_FDE_TTO_FDE_TEXTOUT_H_ | 7 #ifndef XFA_FDE_TTO_FDE_TEXTOUT_H_ |
8 #define XFA_FDE_TTO_FDE_TEXTOUT_H_ | 8 #define XFA_FDE_TTO_FDE_TEXTOUT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxge/include/fx_dib.h" | 12 #include "core/fxge/include/fx_dib.h" |
13 #include "core/fxge/include/fx_ge.h" | |
14 #include "xfa/fde/fde_object.h" | 13 #include "xfa/fde/fde_object.h" |
15 #include "xfa/fgas/crt/fgas_utils.h" | 14 #include "xfa/fgas/crt/fgas_utils.h" |
16 #include "xfa/fgas/font/fgas_font.h" | 15 #include "xfa/fgas/font/fgas_font.h" |
17 #include "xfa/fgas/layout/fgas_textbreak.h" | 16 #include "xfa/fgas/layout/fgas_textbreak.h" |
18 | 17 |
19 #define FDE_TTOSTYLE_Underline 0x0001 | 18 #define FDE_TTOSTYLE_Underline 0x0001 |
20 #define FDE_TTOSTYLE_Strikeout 0x0002 | 19 #define FDE_TTOSTYLE_Strikeout 0x0002 |
21 #define FDE_TTOSTYLE_VerticalLayout 0x0004 | 20 #define FDE_TTOSTYLE_VerticalLayout 0x0004 |
22 #define FDE_TTOSTYLE_SingleLine 0x0010 | 21 #define FDE_TTOSTYLE_SingleLine 0x0010 |
23 #define FDE_TTOSTYLE_ExpandTab 0x0020 | 22 #define FDE_TTOSTYLE_ExpandTab 0x0020 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 int32_t m_iCurPiece; | 178 int32_t m_iCurPiece; |
180 int32_t m_iTotalLines; | 179 int32_t m_iTotalLines; |
181 FXTEXT_CHARPOS* m_pCharPos; | 180 FXTEXT_CHARPOS* m_pCharPos; |
182 int32_t m_iCharPosSize; | 181 int32_t m_iCharPosSize; |
183 std::unique_ptr<CFDE_RenderDevice> m_pRenderDevice; | 182 std::unique_ptr<CFDE_RenderDevice> m_pRenderDevice; |
184 CFX_Int32Array m_hotKeys; | 183 CFX_Int32Array m_hotKeys; |
185 CFX_RectFArray m_rectArray; | 184 CFX_RectFArray m_rectArray; |
186 }; | 185 }; |
187 | 186 |
188 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ | 187 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ |
OLD | NEW |