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

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: Fix Windows 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
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 nHorzScale(100), 104 nHorzScale(100),
105 fCharSpace(0), 105 fCharSpace(0),
106 pEventSink(nullptr) {} 106 pEventSink(nullptr) {}
107 107
108 FX_FLOAT fPlateWidth; 108 FX_FLOAT fPlateWidth;
109 FX_FLOAT fPlateHeight; 109 FX_FLOAT fPlateHeight;
110 int32_t nLineCount; 110 int32_t nLineCount;
111 uint32_t dwLayoutStyles; 111 uint32_t dwLayoutStyles;
112 uint32_t dwAlignment; 112 uint32_t dwAlignment;
113 uint32_t dwMode; 113 uint32_t dwMode;
114 IFX_Font* pFont; 114 CFX_GEFont* pFont;
115 FX_FLOAT fFontSize; 115 FX_FLOAT fFontSize;
116 FX_ARGB dwFontColor; 116 FX_ARGB dwFontColor;
117 FX_FLOAT fLineSpace; 117 FX_FLOAT fLineSpace;
118 FX_FLOAT fTabWidth; 118 FX_FLOAT fTabWidth;
119 FX_BOOL bTabEquidistant; 119 FX_BOOL bTabEquidistant;
120 FX_WCHAR wDefChar; 120 FX_WCHAR wDefChar;
121 FX_WCHAR wLineBreakChar; 121 FX_WCHAR wLineBreakChar;
122 int32_t nCharRotation; 122 int32_t nCharRotation;
123 int32_t nLineEnd; 123 int32_t nLineEnd;
124 int32_t nHorzScale; 124 int32_t nHorzScale;
125 FX_FLOAT fCharSpace; 125 FX_FLOAT fCharSpace;
126 CFWL_EditImp* pEventSink; 126 CFWL_EditImp* pEventSink;
127 }; 127 };
128 128
129 enum FDE_TXTEDT_TEXTCHANGE_TYPE { 129 enum FDE_TXTEDT_TEXTCHANGE_TYPE {
130 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0, 130 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0,
131 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete, 131 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete,
132 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace, 132 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace,
133 }; 133 };
134 134
135 struct FDE_TXTEDT_TEXTCHANGE_INFO { 135 struct FDE_TXTEDT_TEXTCHANGE_INFO {
136 int32_t nChangeType; 136 int32_t nChangeType;
137 CFX_WideString wsInsert; 137 CFX_WideString wsInsert;
138 CFX_WideString wsDelete; 138 CFX_WideString wsDelete;
139 CFX_WideString wsPrevText; 139 CFX_WideString wsPrevText;
140 }; 140 };
141 141
142 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ 142 #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') | xfa/fgas/font/fgas_font.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698