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

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

Issue 1897993002: Remove IPDF_TextPage, IPDF_TextPageFind and IPDF_LinkExtract interfaces. (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/fpdftext/include/cpdf_textpagefind.h ('k') | core/fpdftext/include/ipdf_textpage.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FPDFTEXT_INCLUDE_IPDF_LINKEXTRACT_H_
8 #define CORE_FPDFTEXT_INCLUDE_IPDF_LINKEXTRACT_H_
9
10 #include "core/fpdftext/include/ipdf_textpage.h"
11 #include "core/fxcrt/include/fx_coordinates.h"
12 #include "core/fxcrt/include/fx_system.h"
13
14 class IPDF_LinkExtract {
15 public:
16 static IPDF_LinkExtract* CreateLinkExtract();
17 virtual ~IPDF_LinkExtract() {}
18
19 virtual FX_BOOL ExtractLinks(const IPDF_TextPage* pTextPage) = 0;
20 virtual int CountLinks() const = 0;
21 virtual CFX_WideString GetURL(int index) const = 0;
22 virtual void GetBoundedSegment(int index, int& start, int& count) const = 0;
23 virtual void GetRects(int index, CFX_RectArray& rects) const = 0;
24 };
25
26 #endif // CORE_FPDFTEXT_INCLUDE_IPDF_LINKEXTRACT_H_
OLDNEW
« no previous file with comments | « core/fpdftext/include/cpdf_textpagefind.h ('k') | core/fpdftext/include/ipdf_textpage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698