Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: xfa/fde/ifde_txtedtengine.h

Issue 2037563002: Replace IFGAS_Font with underlying concrete type (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fde/fde_visualset.h ('k') | xfa/fde/tto/fde_textout.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/include/fx_dib.h" 10 #include "core/fxge/include/fx_dib.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 nHorzScale(100), 102 nHorzScale(100),
103 fCharSpace(0), 103 fCharSpace(0),
104 pEventSink(nullptr) {} 104 pEventSink(nullptr) {}
105 105
106 FX_FLOAT fPlateWidth; 106 FX_FLOAT fPlateWidth;
107 FX_FLOAT fPlateHeight; 107 FX_FLOAT fPlateHeight;
108 int32_t nLineCount; 108 int32_t nLineCount;
109 uint32_t dwLayoutStyles; 109 uint32_t dwLayoutStyles;
110 uint32_t dwAlignment; 110 uint32_t dwAlignment;
111 uint32_t dwMode; 111 uint32_t dwMode;
112 IFGAS_Font* pFont; 112 CFGAS_GEFont* pFont;
113 FX_FLOAT fFontSize; 113 FX_FLOAT fFontSize;
114 FX_ARGB dwFontColor; 114 FX_ARGB dwFontColor;
115 FX_FLOAT fLineSpace; 115 FX_FLOAT fLineSpace;
116 FX_FLOAT fTabWidth; 116 FX_FLOAT fTabWidth;
117 FX_BOOL bTabEquidistant; 117 FX_BOOL bTabEquidistant;
118 FX_WCHAR wDefChar; 118 FX_WCHAR wDefChar;
119 FX_WCHAR wLineBreakChar; 119 FX_WCHAR wLineBreakChar;
120 int32_t nCharRotation; 120 int32_t nCharRotation;
121 int32_t nLineEnd; 121 int32_t nLineEnd;
122 int32_t nHorzScale; 122 int32_t nHorzScale;
123 FX_FLOAT fCharSpace; 123 FX_FLOAT fCharSpace;
124 CFWL_EditImp* pEventSink; 124 CFWL_EditImp* pEventSink;
125 }; 125 };
126 126
127 enum FDE_TXTEDT_TEXTCHANGE_TYPE { 127 enum FDE_TXTEDT_TEXTCHANGE_TYPE {
128 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0, 128 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0,
129 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete, 129 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete,
130 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace, 130 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace,
131 }; 131 };
132 132
133 struct FDE_TXTEDT_TEXTCHANGE_INFO { 133 struct FDE_TXTEDT_TEXTCHANGE_INFO {
134 int32_t nChangeType; 134 int32_t nChangeType;
135 CFX_WideString wsInsert; 135 CFX_WideString wsInsert;
136 CFX_WideString wsDelete; 136 CFX_WideString wsDelete;
137 CFX_WideString wsPrevText; 137 CFX_WideString wsPrevText;
138 }; 138 };
139 139
140 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ 140 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_visualset.h ('k') | xfa/fde/tto/fde_textout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698