| 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 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fxge/include/cfx_fxgedevice.h" | 13 #include "core/fxge/cfx_fxgedevice.h" |
| 14 #include "core/fxge/include/cfx_renderdevice.h" | 14 #include "core/fxge/cfx_renderdevice.h" |
| 15 #include "core/fxge/include/fx_dib.h" | 15 #include "core/fxge/fx_dib.h" |
| 16 #include "xfa/fde/fde_object.h" | 16 #include "xfa/fde/fde_object.h" |
| 17 #include "xfa/fgas/crt/fgas_utils.h" | 17 #include "xfa/fgas/crt/fgas_utils.h" |
| 18 #include "xfa/fgas/font/fgas_font.h" | 18 #include "xfa/fgas/font/fgas_font.h" |
| 19 | 19 |
| 20 #define FDE_TTOSTYLE_Underline 0x0001 | 20 #define FDE_TTOSTYLE_Underline 0x0001 |
| 21 #define FDE_TTOSTYLE_Strikeout 0x0002 | 21 #define FDE_TTOSTYLE_Strikeout 0x0002 |
| 22 #define FDE_TTOSTYLE_VerticalLayout 0x0004 | 22 #define FDE_TTOSTYLE_VerticalLayout 0x0004 |
| 23 #define FDE_TTOSTYLE_SingleLine 0x0010 | 23 #define FDE_TTOSTYLE_SingleLine 0x0010 |
| 24 #define FDE_TTOSTYLE_ExpandTab 0x0020 | 24 #define FDE_TTOSTYLE_ExpandTab 0x0020 |
| 25 #define FDE_TTOSTYLE_HotKey 0x0040 | 25 #define FDE_TTOSTYLE_HotKey 0x0040 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 int32_t m_iCurLine; | 180 int32_t m_iCurLine; |
| 181 int32_t m_iCurPiece; | 181 int32_t m_iCurPiece; |
| 182 int32_t m_iTotalLines; | 182 int32_t m_iTotalLines; |
| 183 std::vector<FXTEXT_CHARPOS> m_CharPos; | 183 std::vector<FXTEXT_CHARPOS> m_CharPos; |
| 184 std::unique_ptr<CFDE_RenderDevice> m_pRenderDevice; | 184 std::unique_ptr<CFDE_RenderDevice> m_pRenderDevice; |
| 185 CFX_Int32Array m_hotKeys; | 185 CFX_Int32Array m_hotKeys; |
| 186 CFX_RectFArray m_rectArray; | 186 CFX_RectFArray m_rectArray; |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ | 189 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ |
| OLD | NEW |