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

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

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fee/fde_txtedtpage.h ('k') | xfa/fgas/crt/fgas_stream.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_FEE_IFDE_TXTEDTENGINE_H_ 7 #ifndef XFA_FEE_IFDE_TXTEDTENGINE_H_
8 #define XFA_FEE_IFDE_TXTEDTENGINE_H_ 8 #define XFA_FEE_IFDE_TXTEDTENGINE_H_
9 9
10 #include "core/include/fxge/fx_dib.h" 10 #include "core/include/fxge/fx_dib.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 wDefChar(0xFEFF), 103 wDefChar(0xFEFF),
104 wLineBreakChar('\n'), 104 wLineBreakChar('\n'),
105 nCharRotation(0), 105 nCharRotation(0),
106 nLineEnd(0), 106 nLineEnd(0),
107 nHorzScale(100), 107 nHorzScale(100),
108 fCharSpace(0), 108 fCharSpace(0),
109 pEventSink(NULL) {} 109 pEventSink(NULL) {}
110 FX_FLOAT fPlateWidth; 110 FX_FLOAT fPlateWidth;
111 FX_FLOAT fPlateHeight; 111 FX_FLOAT fPlateHeight;
112 int32_t nLineCount; 112 int32_t nLineCount;
113 FX_DWORD dwLayoutStyles; 113 uint32_t dwLayoutStyles;
114 FX_DWORD dwAlignment; 114 uint32_t dwAlignment;
115 FX_DWORD dwMode; 115 uint32_t dwMode;
116 IFX_Font* pFont; 116 IFX_Font* pFont;
117 FX_FLOAT fFontSize; 117 FX_FLOAT fFontSize;
118 FX_ARGB dwFontColor; 118 FX_ARGB dwFontColor;
119 FX_FLOAT fLineSpace; 119 FX_FLOAT fLineSpace;
120 FX_FLOAT fTabWidth; 120 FX_FLOAT fTabWidth;
121 FX_BOOL bTabEquidistant; 121 FX_BOOL bTabEquidistant;
122 FX_WCHAR wDefChar; 122 FX_WCHAR wDefChar;
123 FX_WCHAR wLineBreakChar; 123 FX_WCHAR wLineBreakChar;
124 int32_t nCharRotation; 124 int32_t nCharRotation;
125 int32_t nLineEnd; 125 int32_t nLineEnd;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 virtual ~IFDE_TxtEdtParag() {} 249 virtual ~IFDE_TxtEdtParag() {}
250 virtual int32_t GetTextLength() const = 0; 250 virtual int32_t GetTextLength() const = 0;
251 virtual int32_t GetStartIndex() const = 0; 251 virtual int32_t GetStartIndex() const = 0;
252 virtual int32_t CountLines() const = 0; 252 virtual int32_t CountLines() const = 0;
253 virtual void GetLineRange(int32_t nLineIndex, 253 virtual void GetLineRange(int32_t nLineIndex,
254 int32_t& nStart, 254 int32_t& nStart,
255 int32_t& nCount) const = 0; 255 int32_t& nCount) const = 0;
256 }; 256 };
257 257
258 #endif // XFA_FEE_IFDE_TXTEDTENGINE_H_ 258 #endif // XFA_FEE_IFDE_TXTEDTENGINE_H_
OLDNEW
« no previous file with comments | « xfa/fee/fde_txtedtpage.h ('k') | xfa/fgas/crt/fgas_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698