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

Side by Side Diff: core/src/fpdfdoc/doc_form.cpp

Issue 1726803002: Remove more _CAPS names (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | core/src/fxge/apple/apple_int.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 #include "core/include/fpdfdoc/fpdf_doc.h" 7 #include "core/include/fpdfdoc/fpdf_doc.h"
8 #include "core/src/fpdfdoc/doc_utils.h" 8 #include "core/src/fpdfdoc/doc_utils.h"
9 #include "third_party/base/stl_util.h" 9 #include "third_party/base/stl_util.h"
10 10
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if (m < iCount) { 341 if (m < iCount) {
342 csTmp += csStr[m++]; 342 csTmp += csStr[m++];
343 } else { 343 } else {
344 bsNum.Format("%d", num++); 344 bsNum.Format("%d", num++);
345 } 345 }
346 m++; 346 m++;
347 } 347 }
348 return csTmp; 348 return csTmp;
349 } 349 }
350 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 350 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
351 typedef struct _PDF_FONTDATA { 351 typedef struct PDF_FONTDATA_ {
352 FX_BOOL bFind; 352 FX_BOOL bFind;
353 LOGFONTA lf; 353 LOGFONTA lf;
354 } PDF_FONTDATA, FAR* LPDF_FONTDATA; 354 } PDF_FONTDATA, FAR* LPDF_FONTDATA;
355 static int CALLBACK EnumFontFamExProc(ENUMLOGFONTEXA* lpelfe, 355 static int CALLBACK EnumFontFamExProc(ENUMLOGFONTEXA* lpelfe,
356 NEWTEXTMETRICEX* lpntme, 356 NEWTEXTMETRICEX* lpntme,
357 DWORD FontType, 357 DWORD FontType,
358 LPARAM lParam) { 358 LPARAM lParam) {
359 if (FontType != 0x004 || strchr(lpelfe->elfLogFont.lfFaceName, '@')) { 359 if (FontType != 0x004 || strchr(lpelfe->elfLogFont.lfFaceName, '@')) {
360 return 1; 360 return 1;
361 } 361 }
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 FDF_ImportField(pField, L"", bNotify); 1207 FDF_ImportField(pField, L"", bNotify);
1208 } 1208 }
1209 if (bNotify && m_pFormNotify) { 1209 if (bNotify && m_pFormNotify) {
1210 m_pFormNotify->AfterFormImportData(this); 1210 m_pFormNotify->AfterFormImportData(this);
1211 } 1211 }
1212 return TRUE; 1212 return TRUE;
1213 } 1213 }
1214 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) { 1214 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) {
1215 m_pFormNotify = (CPDF_FormNotify*)pNotify; 1215 m_pFormNotify = (CPDF_FormNotify*)pNotify;
1216 } 1216 }
OLDNEW
« no previous file with comments | « no previous file | core/src/fxge/apple/apple_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698