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

Side by Side Diff: fpdfsdk/fxedit/fxet_ap.cpp

Issue 2383543002: Move core/fpdfapi/fpdf_parser/include to core/fpdfapi/fpdf_parser (Closed)
Patch Set: Created 4 years, 2 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/fsdk_actionhandler.cpp ('k') | fpdfsdk/fxedit/fxet_edit.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 "core/fpdfapi/fpdf_font/cpdf_font.h" 7 #include "core/fpdfapi/fpdf_font/cpdf_font.h"
8 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" 8 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h"
9 #include "core/fpdfdoc/include/cpvt_word.h" 9 #include "core/fpdfdoc/include/cpvt_word.h"
10 #include "core/fpdfdoc/include/ipvt_fontmap.h" 10 #include "core/fpdfdoc/include/ipvt_fontmap.h"
11 #include "fpdfsdk/fxedit/include/fx_edit.h" 11 #include "fpdfsdk/fxedit/include/fx_edit.h"
12 #include "fpdfsdk/fxedit/include/fxet_edit.h" 12 #include "fpdfsdk/fxedit/include/fxet_edit.h"
13 13
14 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, 14 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap,
15 int32_t nFontIndex, 15 int32_t nFontIndex,
16 uint16_t Word, 16 uint16_t Word,
17 uint16_t SubWord) { 17 uint16_t SubWord) {
18 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex); 18 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex);
(...skipping 10 matching lines...) Expand all
29 29
30 if (dwCharCode > 0) { 30 if (dwCharCode > 0) {
31 pPDFFont->AppendChar(sWord, dwCharCode); 31 pPDFFont->AppendChar(sWord, dwCharCode);
32 return sWord; 32 return sWord;
33 } 33 }
34 } 34 }
35 35
36 pPDFFont->AppendChar(sWord, Word); 36 pPDFFont->AppendChar(sWord, Word);
37 return sWord; 37 return sWord;
38 } 38 }
OLDNEW
« no previous file with comments | « fpdfsdk/fsdk_actionhandler.cpp ('k') | fpdfsdk/fxedit/fxet_edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698