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

Side by Side Diff: xfa/include/fxfa/xfa_ffwidget.h

Issue 1857073002: Make down-conversion explicit from CFX_Widetring to CFX_WideStringC. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: String argument type 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/fxfa/parser/xfa_script_signaturepseudomodel.cpp ('k') | no next file » | 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_INCLUDE_FXFA_XFA_FFWIDGET_H_ 7 #ifndef XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_
8 #define XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ 8 #define XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top); 157 int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top);
158 CFX_DIBitmap* XFA_LoadImageData(CXFA_FFDoc* pDoc, 158 CFX_DIBitmap* XFA_LoadImageData(CXFA_FFDoc* pDoc,
159 CXFA_Image* pImage, 159 CXFA_Image* pImage,
160 FX_BOOL& bNameImage, 160 FX_BOOL& bNameImage,
161 int32_t& iImageXDpi, 161 int32_t& iImageXDpi,
162 int32_t& iImageYDpi); 162 int32_t& iImageYDpi);
163 CFX_DIBitmap* XFA_LoadImageFromBuffer(IFX_FileRead* pImageFileRead, 163 CFX_DIBitmap* XFA_LoadImageFromBuffer(IFX_FileRead* pImageFileRead,
164 FXCODEC_IMAGE_TYPE type, 164 FXCODEC_IMAGE_TYPE type,
165 int32_t& iImageXDpi, 165 int32_t& iImageXDpi,
166 int32_t& iImageYDpi); 166 int32_t& iImageYDpi);
167 FXCODEC_IMAGE_TYPE XFA_GetImageType(const CFX_WideStringC& wsType); 167 FXCODEC_IMAGE_TYPE XFA_GetImageType(const CFX_WideString& wsType);
168 FX_CHAR* XFA_Base64Encode(const uint8_t* buf, int32_t buf_len); 168 FX_CHAR* XFA_Base64Encode(const uint8_t* buf, int32_t buf_len);
169 void XFA_RectWidthoutMargin(CFX_RectF& rt, 169 void XFA_RectWidthoutMargin(CFX_RectF& rt,
170 const CXFA_Margin& mg, 170 const CXFA_Margin& mg,
171 FX_BOOL bUI = FALSE); 171 FX_BOOL bUI = FALSE);
172 FX_FLOAT XFA_GetEdgeThickness(const CXFA_StrokeArray& strokes, 172 FX_FLOAT XFA_GetEdgeThickness(const CXFA_StrokeArray& strokes,
173 FX_BOOL b3DStyle, 173 FX_BOOL b3DStyle,
174 int32_t nIndex); 174 int32_t nIndex);
175 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem); 175 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);
176 FX_BOOL XFA_IsCreateWidget(XFA_ELEMENT iType); 176 FX_BOOL XFA_IsCreateWidget(XFA_ELEMENT iType);
177 #define XFA_DRAWBOX_ForceRound 1 177 #define XFA_DRAWBOX_ForceRound 1
178 #define XFA_DRAWBOX_Lowered3D 2 178 #define XFA_DRAWBOX_Lowered3D 2
179 void XFA_DrawBox(CXFA_Box box, 179 void XFA_DrawBox(CXFA_Box box,
180 CFX_Graphics* pGS, 180 CFX_Graphics* pGS,
181 const CFX_RectF& rtWidget, 181 const CFX_RectF& rtWidget,
182 CFX_Matrix* pMatrix, 182 CFX_Matrix* pMatrix,
183 uint32_t dwFlags = 0); 183 uint32_t dwFlags = 0);
184 184
185 #endif // XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ 185 #endif // XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698