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

Side by Side Diff: xfa/fde/fde_visualset.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/fde_iterator.h ('k') | xfa/fde/tto/fde_textout.cpp » ('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_FDE_FDE_VISUALSET_H_ 7 #ifndef XFA_FDE_FDE_VISUALSET_H_
8 #define XFA_FDE_FDE_VISUALSET_H_ 8 #define XFA_FDE_FDE_VISUALSET_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 class IFDE_TextSet : public IFDE_VisualSet { 45 class IFDE_TextSet : public IFDE_VisualSet {
46 public: 46 public:
47 virtual int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) = 0; 47 virtual int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) = 0;
48 virtual IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) = 0; 48 virtual IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) = 0;
49 virtual FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) = 0; 49 virtual FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) = 0;
50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; 50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0;
51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, 51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText,
52 FXTEXT_CHARPOS* pCharPos, 52 FXTEXT_CHARPOS* pCharPos,
53 FX_BOOL bCharCode = FALSE, 53 FX_BOOL bCharCode = FALSE,
54 CFX_WideString* pWSForms = NULL) = 0; 54 CFX_WideString* pWSForms = nullptr) = 0;
55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, 55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText,
56 CFX_RectFArray& rtArray) = 0; 56 CFX_RectFArray& rtArray) = 0;
57 }; 57 };
58 58
59 #endif // XFA_FDE_FDE_VISUALSET_H_ 59 #endif // XFA_FDE_FDE_VISUALSET_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_iterator.h ('k') | xfa/fde/tto/fde_textout.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698