| 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_IFDE_TXTEDTENGINE_H_ | 7 #ifndef XFA_FDE_IFDE_TXTEDTENGINE_H_ |
| 8 #define XFA_FDE_IFDE_TXTEDTENGINE_H_ | 8 #define XFA_FDE_IFDE_TXTEDTENGINE_H_ |
| 9 | 9 |
| 10 #include "core/fxge/fx_dib.h" | 10 #include "core/fxge/fx_dib.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 FX_FLOAT fPlateHeight; | 88 FX_FLOAT fPlateHeight; |
| 89 int32_t nLineCount; | 89 int32_t nLineCount; |
| 90 uint32_t dwLayoutStyles; | 90 uint32_t dwLayoutStyles; |
| 91 uint32_t dwAlignment; | 91 uint32_t dwAlignment; |
| 92 uint32_t dwMode; | 92 uint32_t dwMode; |
| 93 CFGAS_GEFont* pFont; | 93 CFGAS_GEFont* pFont; |
| 94 FX_FLOAT fFontSize; | 94 FX_FLOAT fFontSize; |
| 95 FX_ARGB dwFontColor; | 95 FX_ARGB dwFontColor; |
| 96 FX_FLOAT fLineSpace; | 96 FX_FLOAT fLineSpace; |
| 97 FX_FLOAT fTabWidth; | 97 FX_FLOAT fTabWidth; |
| 98 FX_BOOL bTabEquidistant; | 98 bool bTabEquidistant; |
| 99 FX_WCHAR wDefChar; | 99 FX_WCHAR wDefChar; |
| 100 FX_WCHAR wLineBreakChar; | 100 FX_WCHAR wLineBreakChar; |
| 101 int32_t nCharRotation; | 101 int32_t nCharRotation; |
| 102 int32_t nLineEnd; | 102 int32_t nLineEnd; |
| 103 int32_t nHorzScale; | 103 int32_t nHorzScale; |
| 104 FX_FLOAT fCharSpace; | 104 FX_FLOAT fCharSpace; |
| 105 IFWL_Edit* pEventSink; | 105 IFWL_Edit* pEventSink; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 enum FDE_TXTEDT_TEXTCHANGE_TYPE { | 108 enum FDE_TXTEDT_TEXTCHANGE_TYPE { |
| 109 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0, | 109 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0, |
| 110 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete, | 110 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete, |
| 111 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace, | 111 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace, |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 struct FDE_TXTEDT_TEXTCHANGE_INFO { | 114 struct FDE_TXTEDT_TEXTCHANGE_INFO { |
| 115 FDE_TXTEDT_TEXTCHANGE_INFO(); | 115 FDE_TXTEDT_TEXTCHANGE_INFO(); |
| 116 ~FDE_TXTEDT_TEXTCHANGE_INFO(); | 116 ~FDE_TXTEDT_TEXTCHANGE_INFO(); |
| 117 | 117 |
| 118 int32_t nChangeType; | 118 int32_t nChangeType; |
| 119 CFX_WideString wsInsert; | 119 CFX_WideString wsInsert; |
| 120 CFX_WideString wsDelete; | 120 CFX_WideString wsDelete; |
| 121 CFX_WideString wsPrevText; | 121 CFX_WideString wsPrevText; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ | 124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ |
| OLD | NEW |