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

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

Issue 2031873003: Get rid of NULLs in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_fpdfsdk
Patch Set: 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/cfde_txtedtparag.cpp ('k') | xfa/fde/css/fde_cssdatatable.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_CFDE_TXTEDTTEXTSET_H_ 7 #ifndef XFA_FDE_CFDE_TXTEDTTEXTSET_H_
8 #define XFA_FDE_CFDE_TXTEDTTEXTSET_H_ 8 #define XFA_FDE_CFDE_TXTEDTTEXTSET_H_
9 9
10 #include "xfa/fde/fde_visualset.h" 10 #include "xfa/fde/fde_visualset.h"
(...skipping 10 matching lines...) Expand all
21 FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) override; 21 FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) override;
22 FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override; 22 FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override;
23 FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override; 23 FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override;
24 int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) override; 24 int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) override;
25 IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) override; 25 IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) override;
26 FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) override; 26 FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) override;
27 FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) override; 27 FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) override;
28 int32_t GetDisplayPos(FDE_HVISUALOBJ hText, 28 int32_t GetDisplayPos(FDE_HVISUALOBJ hText,
29 FXTEXT_CHARPOS* pCharPos, 29 FXTEXT_CHARPOS* pCharPos,
30 FX_BOOL bCharCode = FALSE, 30 FX_BOOL bCharCode = FALSE,
31 CFX_WideString* pWSForms = NULL) override; 31 CFX_WideString* pWSForms = nullptr) override;
32 int32_t GetCharRects(FDE_HVISUALOBJ hText, CFX_RectFArray& rtArray) override; 32 int32_t GetCharRects(FDE_HVISUALOBJ hText, CFX_RectFArray& rtArray) override;
33 int32_t GetCharRects_Impl(FDE_HVISUALOBJ hText, 33 int32_t GetCharRects_Impl(FDE_HVISUALOBJ hText,
34 CFX_RectFArray& rtArray, 34 CFX_RectFArray& rtArray,
35 FX_BOOL bBBox = FALSE); 35 FX_BOOL bBBox = FALSE);
36 36
37 private: 37 private:
38 CFDE_TxtEdtPage* const m_pPage; 38 CFDE_TxtEdtPage* const m_pPage;
39 }; 39 };
40 40
41 #endif // XFA_FDE_CFDE_TXTEDTTEXTSET_H_ 41 #endif // XFA_FDE_CFDE_TXTEDTTEXTSET_H_
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtparag.cpp ('k') | xfa/fde/css/fde_cssdatatable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698