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

Side by Side Diff: fpdfsdk/include/fsdk_baseform.h

Issue 2031653003: Get rid of NULLs in fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_core
Patch Set: rebase 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 | « fpdfsdk/include/fsdk_annothandler.h ('k') | fpdfsdk/include/fsdk_mgr.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 FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 CPDFSDK_XFAWidget* GetXFAWidget(CXFA_FFWidget* hWidget); 274 CPDFSDK_XFAWidget* GetXFAWidget(CXFA_FFWidget* hWidget);
275 void XfaEnableCalculate(FX_BOOL bEnabled); 275 void XfaEnableCalculate(FX_BOOL bEnabled);
276 FX_BOOL IsXfaCalculateEnabled() const; 276 FX_BOOL IsXfaCalculateEnabled() const;
277 FX_BOOL IsXfaValidationsEnabled(); 277 FX_BOOL IsXfaValidationsEnabled();
278 void XfaSetValidationsEnabled(FX_BOOL bEnabled); 278 void XfaSetValidationsEnabled(FX_BOOL bEnabled);
279 #endif // PDF_ENABLE_XFA 279 #endif // PDF_ENABLE_XFA
280 280
281 FX_BOOL OnKeyStrokeCommit(CPDF_FormField* pFormField, 281 FX_BOOL OnKeyStrokeCommit(CPDF_FormField* pFormField,
282 const CFX_WideString& csValue); 282 const CFX_WideString& csValue);
283 FX_BOOL OnValidate(CPDF_FormField* pFormField, const CFX_WideString& csValue); 283 FX_BOOL OnValidate(CPDF_FormField* pFormField, const CFX_WideString& csValue);
284 void OnCalculate(CPDF_FormField* pFormField = NULL); 284 void OnCalculate(CPDF_FormField* pFormField = nullptr);
285 CFX_WideString OnFormat(CPDF_FormField* pFormField, FX_BOOL& bFormated); 285 CFX_WideString OnFormat(CPDF_FormField* pFormField, FX_BOOL& bFormated);
286 286
287 void ResetFieldAppearance(CPDF_FormField* pFormField, 287 void ResetFieldAppearance(CPDF_FormField* pFormField,
288 const FX_WCHAR* sValue, 288 const FX_WCHAR* sValue,
289 FX_BOOL bValueChanged); 289 FX_BOOL bValueChanged);
290 void UpdateField(CPDF_FormField* pFormField); 290 void UpdateField(CPDF_FormField* pFormField);
291 291
292 FX_BOOL DoAction_Hide(const CPDF_Action& action); 292 FX_BOOL DoAction_Hide(const CPDF_Action& action);
293 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action); 293 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action);
294 FX_BOOL DoAction_ResetForm(const CPDF_Action& action); 294 FX_BOOL DoAction_ResetForm(const CPDF_Action& action);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 const CPDFSDK_Annot* p2); 390 const CPDFSDK_Annot* p2);
391 391
392 TabOrder m_eTabOrder; 392 TabOrder m_eTabOrder;
393 CPDFSDK_PageView* m_pPageView; 393 CPDFSDK_PageView* m_pPageView;
394 CFX_ByteString m_sType; 394 CFX_ByteString m_sType;
395 CFX_ByteString m_sSubType; 395 CFX_ByteString m_sSubType;
396 std::vector<CPDFSDK_Annot*> m_Annots; 396 std::vector<CPDFSDK_Annot*> m_Annots;
397 }; 397 };
398 398
399 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 399 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fsdk_annothandler.h ('k') | fpdfsdk/include/fsdk_mgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698