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

Side by Side Diff: core/fpdfdoc/doc_vt.cpp

Issue 1840413002: Split core/include/fpdfdoc/fpdf_ap.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 | « core/fpdfdoc/doc_formfield.cpp ('k') | core/fpdfdoc/include/ipdf_variabletext_provider.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 <algorithm> 7 #include <algorithm>
8 8
9 #include "core/fpdfdoc/include/ipdf_variabletext_provider.h"
9 #include "core/fpdfdoc/pdf_vt.h" 10 #include "core/fpdfdoc/pdf_vt.h"
10 #include "core/include/fpdfdoc/fpdf_doc.h" 11 #include "core/include/fpdfdoc/fpdf_doc.h"
11 #include "core/include/fpdfdoc/fpdf_vt.h" 12 #include "core/include/fpdfdoc/fpdf_vt.h"
12 13
13 const uint8_t gFontSizeSteps[] = {4, 6, 8, 9, 10, 12, 14, 18, 20, 14 const uint8_t gFontSizeSteps[] = {4, 6, 8, 9, 10, 12, 14, 18, 20,
14 25, 30, 35, 40, 45, 50, 55, 60, 70, 15 25, 30, 35, 40, 45, 50, 55, 60, 70,
15 80, 90, 100, 110, 120, 130, 144}; 16 80, 90, 100, 110, 120, 130, 144};
16 #define PVT_RETURN_LENGTH 1 17 #define PVT_RETURN_LENGTH 1
17 #define PVT_DEFAULT_FONTSIZE 18.0f 18 #define PVT_DEFAULT_FONTSIZE 18.0f
18 #define PVTWORD_SCRIPT_NORMAL 0 19 #define PVTWORD_SCRIPT_NORMAL 0
(...skipping 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after
1798 if (pSection->m_SecInfo.pSecProps) { 1799 if (pSection->m_SecInfo.pSecProps) {
1799 *pSection->m_SecInfo.pSecProps = section.SecProps; 1800 *pSection->m_SecInfo.pSecProps = section.SecProps;
1800 } 1801 }
1801 if (pSection->m_SecInfo.pWordProps) { 1802 if (pSection->m_SecInfo.pWordProps) {
1802 *pSection->m_SecInfo.pWordProps = section.WordProps; 1803 *pSection->m_SecInfo.pWordProps = section.WordProps;
1803 } 1804 }
1804 return TRUE; 1805 return TRUE;
1805 } 1806 }
1806 return FALSE; 1807 return FALSE;
1807 } 1808 }
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_formfield.cpp ('k') | core/fpdfdoc/include/ipdf_variabletext_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698