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

Side by Side Diff: xfa/fee/fde_txtedtpage.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, 9 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_txtedtengine.h ('k') | xfa/fee/ifde_txtedtengine.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_FDE_TXTEDTPAGE_H_ 7 #ifndef XFA_FEE_FDE_TXTEDTPAGE_H_
8 #define XFA_FEE_FDE_TXTEDTPAGE_H_ 8 #define XFA_FEE_FDE_TXTEDTPAGE_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } else { 57 } else {
58 return FDE_TXTEDT_CHARTYPE_Char; 58 return FDE_TXTEDT_CHARTYPE_Char;
59 } 59 }
60 } 60 }
61 61
62 struct FDE_TEXTEDITPIECE { 62 struct FDE_TEXTEDITPIECE {
63 int32_t nStart; 63 int32_t nStart;
64 int32_t nCount; 64 int32_t nCount;
65 int32_t nBidiLevel; 65 int32_t nBidiLevel;
66 CFX_RectF rtPiece; 66 CFX_RectF rtPiece;
67 FX_DWORD dwCharStyles; 67 uint32_t dwCharStyles;
68 }; 68 };
69 typedef CFX_MassArrayTemplate<FDE_TEXTEDITPIECE> CFDE_TXTEDTPieceMassArray; 69 typedef CFX_MassArrayTemplate<FDE_TEXTEDITPIECE> CFDE_TXTEDTPieceMassArray;
70 70
71 class CFDE_TxtEdtTextSet : public IFDE_TextSet { 71 class CFDE_TxtEdtTextSet : public IFDE_TextSet {
72 public: 72 public:
73 CFDE_TxtEdtTextSet(CFDE_TxtEdtPage* pPage); 73 CFDE_TxtEdtTextSet(CFDE_TxtEdtPage* pPage);
74 ~CFDE_TxtEdtTextSet(); 74 ~CFDE_TxtEdtTextSet();
75 75
76 virtual FDE_VISUALOBJTYPE GetType(); 76 virtual FDE_VISUALOBJTYPE GetType();
77 virtual FX_BOOL GetBBox(FDE_HVISUALOBJ hVisualObj, CFX_RectF& bbox); 77 virtual FX_BOOL GetBBox(FDE_HVISUALOBJ hVisualObj, CFX_RectF& bbox);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 int32_t m_nPageIndex; 159 int32_t m_nPageIndex;
160 FX_BOOL m_bLoaded; 160 FX_BOOL m_bLoaded;
161 CFX_RectF m_rtPage; 161 CFX_RectF m_rtPage;
162 CFX_RectF m_rtPageMargin; 162 CFX_RectF m_rtPageMargin;
163 CFX_RectF m_rtPageContents; 163 CFX_RectF m_rtPageContents;
164 CFX_RectF m_rtPageCanvas; 164 CFX_RectF m_rtPageCanvas;
165 int32_t* m_pCharWidth; 165 int32_t* m_pCharWidth;
166 }; 166 };
167 167
168 #endif // XFA_FEE_FDE_TXTEDTPAGE_H_ 168 #endif // XFA_FEE_FDE_TXTEDTPAGE_H_
OLDNEW
« no previous file with comments | « xfa/fee/fde_txtedtengine.h ('k') | xfa/fee/ifde_txtedtengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698