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_SRC_FDE_TTO_FDE_TEXTOUT_H_ | 7 #ifndef XFA_FDE_TTO_FDE_TEXTOUT_H_ |
8 #define XFA_SRC_FDE_TTO_FDE_TEXTOUT_H_ | 8 #define XFA_FDE_TTO_FDE_TEXTOUT_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_dib.h" | 10 #include "core/include/fxge/fx_dib.h" |
11 #include "core/include/fxge/fx_ge.h" | 11 #include "core/include/fxge/fx_ge.h" |
12 #include "xfa/src/fgas/font/fgas_font.h" | 12 #include "xfa/fgas/font/fgas_font.h" |
13 | 13 |
14 #define FDE_TTOSTYLE_Underline 0x0001 | 14 #define FDE_TTOSTYLE_Underline 0x0001 |
15 #define FDE_TTOSTYLE_Strikeout 0x0002 | 15 #define FDE_TTOSTYLE_Strikeout 0x0002 |
16 #define FDE_TTOSTYLE_VerticalLayout 0x0004 | 16 #define FDE_TTOSTYLE_VerticalLayout 0x0004 |
17 #define FDE_TTOSTYLE_SingleLine 0x0010 | 17 #define FDE_TTOSTYLE_SingleLine 0x0010 |
18 #define FDE_TTOSTYLE_ExpandTab 0x0020 | 18 #define FDE_TTOSTYLE_ExpandTab 0x0020 |
19 #define FDE_TTOSTYLE_HotKey 0x0040 | 19 #define FDE_TTOSTYLE_HotKey 0x0040 |
20 #define FDE_TTOSTYLE_Ellipsis 0x0080 | 20 #define FDE_TTOSTYLE_Ellipsis 0x0080 |
21 #define FDE_TTOSTYLE_LineWrap 0x0100 | 21 #define FDE_TTOSTYLE_LineWrap 0x0100 |
22 #define FDE_TTOSTYLE_ArabicShapes 0x0200 | 22 #define FDE_TTOSTYLE_ArabicShapes 0x0200 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void DrawLogicText(const FX_WCHAR* pwsStr, | 92 virtual void DrawLogicText(const FX_WCHAR* pwsStr, |
93 int32_t iLength, | 93 int32_t iLength, |
94 FX_FLOAT x, | 94 FX_FLOAT x, |
95 FX_FLOAT y) = 0; | 95 FX_FLOAT y) = 0; |
96 virtual void DrawLogicText(const FX_WCHAR* pwsStr, | 96 virtual void DrawLogicText(const FX_WCHAR* pwsStr, |
97 int32_t iLength, | 97 int32_t iLength, |
98 const CFX_RectF& rect) = 0; | 98 const CFX_RectF& rect) = 0; |
99 virtual int32_t GetTotalLines() = 0; | 99 virtual int32_t GetTotalLines() = 0; |
100 }; | 100 }; |
101 | 101 |
102 #endif // XFA_SRC_FDE_TTO_FDE_TEXTOUT_H_ | 102 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ |
OLD | NEW |