| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 enum FDE_TXTEDIT_LINEEND { | 66 enum FDE_TXTEDIT_LINEEND { |
| 67 FDE_TXTEDIT_LINEEND_Auto, | 67 FDE_TXTEDIT_LINEEND_Auto, |
| 68 FDE_TXTEDIT_LINEEND_CRLF, | 68 FDE_TXTEDIT_LINEEND_CRLF, |
| 69 FDE_TXTEDIT_LINEEND_CR, | 69 FDE_TXTEDIT_LINEEND_CR, |
| 70 FDE_TXTEDIT_LINEEND_LF, | 70 FDE_TXTEDIT_LINEEND_LF, |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 struct FDE_TXTEDTPARAMS { | 73 struct FDE_TXTEDTPARAMS { |
| 74 FDE_TXTEDTPARAMS(); | 74 FDE_TXTEDTPARAMS(); |
| 75 ~FDE_TXTEDTPARAMS(); |
| 75 | 76 |
| 76 FX_FLOAT fPlateWidth; | 77 FX_FLOAT fPlateWidth; |
| 77 FX_FLOAT fPlateHeight; | 78 FX_FLOAT fPlateHeight; |
| 78 int32_t nLineCount; | 79 int32_t nLineCount; |
| 79 uint32_t dwLayoutStyles; | 80 uint32_t dwLayoutStyles; |
| 80 uint32_t dwAlignment; | 81 uint32_t dwAlignment; |
| 81 uint32_t dwMode; | 82 uint32_t dwMode; |
| 82 CFGAS_GEFont* pFont; | 83 CFX_RetainPtr<CFGAS_GEFont> pFont; |
| 83 FX_FLOAT fFontSize; | 84 FX_FLOAT fFontSize; |
| 84 FX_ARGB dwFontColor; | 85 FX_ARGB dwFontColor; |
| 85 FX_FLOAT fLineSpace; | 86 FX_FLOAT fLineSpace; |
| 86 FX_FLOAT fTabWidth; | 87 FX_FLOAT fTabWidth; |
| 87 bool bTabEquidistant; | 88 bool bTabEquidistant; |
| 88 FX_WCHAR wDefChar; | 89 FX_WCHAR wDefChar; |
| 89 FX_WCHAR wLineBreakChar; | 90 FX_WCHAR wLineBreakChar; |
| 90 int32_t nCharRotation; | 91 int32_t nCharRotation; |
| 91 int32_t nLineEnd; | 92 int32_t nLineEnd; |
| 92 int32_t nHorzScale; | 93 int32_t nHorzScale; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 104 FDE_TXTEDT_TEXTCHANGE_INFO(); | 105 FDE_TXTEDT_TEXTCHANGE_INFO(); |
| 105 ~FDE_TXTEDT_TEXTCHANGE_INFO(); | 106 ~FDE_TXTEDT_TEXTCHANGE_INFO(); |
| 106 | 107 |
| 107 int32_t nChangeType; | 108 int32_t nChangeType; |
| 108 CFX_WideString wsInsert; | 109 CFX_WideString wsInsert; |
| 109 CFX_WideString wsDelete; | 110 CFX_WideString wsDelete; |
| 110 CFX_WideString wsPrevText; | 111 CFX_WideString wsPrevText; |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ | 114 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ |
| OLD | NEW |