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

Side by Side Diff: core/src/fpdftext/txtproc.h

Issue 1250433003: Merge to XFA: Remove dead code found by Scythe. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@xfa
Patch Set: Created 5 years, 5 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/src/fpdftext/text_int.h ('k') | core/src/fxcodec/codec/codec_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 #ifndef CORE_SRC_FPDFTEXT_TXTPROC_H_ 7 #ifndef CORE_SRC_FPDFTEXT_TXTPROC_H_
8 #define CORE_SRC_FPDFTEXT_TXTPROC_H_ 8 #define CORE_SRC_FPDFTEXT_TXTPROC_H_
9 9
10 class CTextColumn 10 class CTextColumn
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 CTextPage(); 53 CTextPage();
54 ~CTextPage(); 54 ~CTextPage();
55 void ProcessObject(CPDF_PageObject* pObj); 55 void ProcessObject(CPDF_PageObject* pObj);
56 CTextBaseLine* InsertTextBox(CTextBaseLine* pBaseLine, FX_FLOAT basey, FX_FL OAT leftx, 56 CTextBaseLine* InsertTextBox(CTextBaseLine* pBaseLine, FX_FLOAT basey, FX_FL OAT leftx,
57 FX_FLOAT rightx, FX_FLOAT topy, FX_FLOAT bottom y, FX_FLOAT spacew, FX_FLOAT fontsize_v, 57 FX_FLOAT rightx, FX_FLOAT topy, FX_FLOAT bottom y, FX_FLOAT spacew, FX_FLOAT fontsize_v,
58 CFX_ByteString& str, CPDF_Font* pFont); 58 CFX_ByteString& str, CPDF_Font* pFont);
59 void WriteOutput(CFX_WideStringArray& lines, int iMinWidth); 59 void WriteOutput(CFX_WideStringArray& lines, int iMinWidth);
60 FX_BOOL m_bAutoWidth; 60 FX_BOOL m_bAutoWidth;
61 FX_BOOL m_bKeepColumn; 61 FX_BOOL m_bKeepColumn;
62 FX_BOOL m_bBreakSpace; 62 FX_BOOL m_bBreakSpace;
63 FX_BOOL» m_bOCR; 63
64 private: 64 private:
65 CFX_PtrArray m_BaseLines; 65 CFX_PtrArray m_BaseLines;
66 CFX_PtrArray m_TextColumns; 66 CFX_PtrArray m_TextColumns;
67 void FindColumns(); 67 void FindColumns();
68 CTextColumn* FindColumn(FX_FLOAT xpos); 68 CTextColumn* FindColumn(FX_FLOAT xpos);
69 void BreakSpace(CPDF_TextObject* pTextObj); 69 void BreakSpace(CPDF_TextObject* pTextObj);
70 }; 70 };
71 71
72 #endif // CORE_SRC_FPDFTEXT_TXTPROC_H_ 72 #endif // CORE_SRC_FPDFTEXT_TXTPROC_H_
OLDNEW
« no previous file with comments | « core/src/fpdftext/text_int.h ('k') | core/src/fxcodec/codec/codec_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698