| 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 _FDE_TEXTOUT | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_TTO_H_ |
| 8 #define _FDE_TEXTOUT | 8 #define XFA_SRC_FDP_INCLUDE_FDE_TTO_H_ |
| 9 |
| 9 class IFDE_TextOut; | 10 class IFDE_TextOut; |
| 10 #define FDE_TTOSTYLE_Underline 0x0001 | 11 #define FDE_TTOSTYLE_Underline 0x0001 |
| 11 #define FDE_TTOSTYLE_Strikeout 0x0002 | 12 #define FDE_TTOSTYLE_Strikeout 0x0002 |
| 12 #define FDE_TTOSTYLE_VerticalLayout 0x0004 | 13 #define FDE_TTOSTYLE_VerticalLayout 0x0004 |
| 13 #define FDE_TTOSTYLE_SingleLine 0x0010 | 14 #define FDE_TTOSTYLE_SingleLine 0x0010 |
| 14 #define FDE_TTOSTYLE_ExpandTab 0x0020 | 15 #define FDE_TTOSTYLE_ExpandTab 0x0020 |
| 15 #define FDE_TTOSTYLE_HotKey 0x0040 | 16 #define FDE_TTOSTYLE_HotKey 0x0040 |
| 16 #define FDE_TTOSTYLE_Ellipsis 0x0080 | 17 #define FDE_TTOSTYLE_Ellipsis 0x0080 |
| 17 #define FDE_TTOSTYLE_LineWrap 0x0100 | 18 #define FDE_TTOSTYLE_LineWrap 0x0100 |
| 18 #define FDE_TTOSTYLE_ArabicShapes 0x0200 | 19 #define FDE_TTOSTYLE_ArabicShapes 0x0200 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 CFX_RectF& rect) = 0; | 88 CFX_RectF& rect) = 0; |
| 88 virtual void DrawLogicText(const FX_WCHAR* pwsStr, | 89 virtual void DrawLogicText(const FX_WCHAR* pwsStr, |
| 89 int32_t iLength, | 90 int32_t iLength, |
| 90 FX_FLOAT x, | 91 FX_FLOAT x, |
| 91 FX_FLOAT y) = 0; | 92 FX_FLOAT y) = 0; |
| 92 virtual void DrawLogicText(const FX_WCHAR* pwsStr, | 93 virtual void DrawLogicText(const FX_WCHAR* pwsStr, |
| 93 int32_t iLength, | 94 int32_t iLength, |
| 94 const CFX_RectF& rect) = 0; | 95 const CFX_RectF& rect) = 0; |
| 95 virtual int32_t GetTotalLines() = 0; | 96 virtual int32_t GetTotalLines() = 0; |
| 96 }; | 97 }; |
| 97 #endif | 98 |
| 99 #endif // XFA_SRC_FDP_INCLUDE_FDE_TTO_H_ |
| OLD | NEW |