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