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

Side by Side Diff: core/include/fpdftext/fpdf_text.h

Issue 1160443004: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Full style-guide compliance. 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 | « core/include/fpdfdoc/fpdf_vt.h ('k') | core/include/fxcodec/fx_codec.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 _FPDF_TEXT_H_ 7 #ifndef CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_
8 #define _FPDF_TEXT_H_ 8 #define CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_
9 #ifndef _FPDF_PARSER_ 9
10 #include "../fpdfapi/fpdf_page.h"
11 #include "../fpdfapi/fpdf_pageobj.h"
10 #include "../fpdfapi/fpdf_parser.h" 12 #include "../fpdfapi/fpdf_parser.h"
11 #endif 13
12 #ifndef _FPDF_PAGEOBJ_H_
13 #include "../fpdfapi/fpdf_pageobj.h"
14 #endif
15 #ifndef _FPDF_PAGE_
16 #include "../fpdfapi/fpdf_page.h"
17 #endif
18 class CPDF_PageObjects; 14 class CPDF_PageObjects;
19 #define PDF2TXT_AUTO_ROTATE 1 15 #define PDF2TXT_AUTO_ROTATE 1
20 #define PDF2TXT_AUTO_WIDTH 2 16 #define PDF2TXT_AUTO_WIDTH 2
21 #define PDF2TXT_KEEP_COLUMN 4 17 #define PDF2TXT_KEEP_COLUMN 4
22 #define PDF2TXT_USE_OCR 8 18 #define PDF2TXT_USE_OCR 8
23 #define PDF2TXT_INCLUDE_INVISIBLE 16 19 #define PDF2TXT_INCLUDE_INVISIBLE 16
24 void PDF_GetPageText(CFX_ByteStringArray& lines, CPDF_Document* pDoc, CPDF_Dicti onary* pPage, 20 void PDF_GetPageText(CFX_ByteStringArray& lines, CPDF_Document* pDoc, CPDF_Dicti onary* pPage,
25 int iMinWidth, FX_DWORD flags); 21 int iMinWidth, FX_DWORD flags);
26 void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CP DF_Dictionary* pPage, 22 void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CP DF_Dictionary* pPage,
27 int iMinWidth, FX_DWORD flags); 23 int iMinWidth, FX_DWORD flags);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 public: 159 public:
164 160
165 virtual int CountLinks() const = 0; 161 virtual int CountLinks() const = 0;
166 162
167 virtual CFX_WideString GetURL(int index) const = 0; 163 virtual CFX_WideString GetURL(int index) const = 0;
168 164
169 virtual void GetBoundedSegment(int index, int & start, int& count) const = 0; 165 virtual void GetBoundedSegment(int index, int & start, int& count) const = 0;
170 166
171 virtual void GetRects(int index, CFX_RectArra y& rects) const = 0; 167 virtual void GetRects(int index, CFX_RectArra y& rects) const = 0;
172 }; 168 };
173 #endif 169
170 #endif // CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_
OLDNEW
« no previous file with comments | « core/include/fpdfdoc/fpdf_vt.h ('k') | core/include/fxcodec/fx_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698