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

Side by Side Diff: fpdfsdk/src/formfiller/FFL_TextField.cpp

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 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/src/formfiller/FFL_RadioButton.cpp ('k') | fpdfsdk/src/formfiller/FFL_Utils.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 #include "../../include/formfiller/FFL_TextField.h" 7 #include "../../include/formfiller/FFL_TextField.h"
8 #include "../../include/formfiller/FFL_CBA_Fontmap.h" 8 #include "../../include/formfiller/FFL_CBA_Fontmap.h"
9 9
10 /* ------------------------------- CFFL_TextField ------------------------------ - */ 10 /* ------------------------------- CFFL_TextField ------------------------------ - */
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 pWnd->AttachFFLData(this); 107 pWnd->AttachFFLData(this);
108 pWnd->Create(cp); 108 pWnd->Create(cp);
109 109
110 110
111 111
112 ASSERT(m_pApp != NULL); 112 ASSERT(m_pApp != NULL);
113 CFFL_IFormFiller* pIFormFiller = m_pApp->GetIFormFiller(); 113 CFFL_IFormFiller* pIFormFiller = m_pApp->GetIFormFiller();
114 pWnd->SetFillerNotify(pIFormFiller); 114 pWnd->SetFillerNotify(pIFormFiller);
115 115
116 ASSERT(m_pWidget != NULL); 116 ASSERT(m_pWidget != NULL);
117 » FX_INT32 nMaxLen = m_pWidget->GetMaxLen(); 117 » int32_t nMaxLen = m_pWidget->GetMaxLen();
118 CFX_WideString swValue = m_pWidget->GetValue(); 118 CFX_WideString swValue = m_pWidget->GetValue();
119 119
120 if (nMaxLen > 0) 120 if (nMaxLen > 0)
121 { 121 {
122 if (pWnd->HasFlag(PES_CHARARRAY)) 122 if (pWnd->HasFlag(PES_CHARARRAY))
123 { 123 {
124 pWnd->SetCharArray(nMaxLen); 124 pWnd->SetCharArray(nMaxLen);
125 pWnd->SetAlignFormatV(PEAV_CENTER); 125 pWnd->SetAlignFormatV(PEAV_CENTER);
126 } 126 }
127 else 127 else
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 383
384 void CFFL_TextField::DoPaste(CPDFSDK_Document* pDocument) 384 void CFFL_TextField::DoPaste(CPDFSDK_Document* pDocument)
385 { 385 {
386 386
387 } 387 }
388 388
389 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) 389 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit)
390 { 390 {
391 } 391 }
392 392
OLDNEW
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_RadioButton.cpp ('k') | fpdfsdk/src/formfiller/FFL_Utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698