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

Side by Side Diff: public/fpdf_text.h

Issue 1285183005: Merge to XFA: Cleanup: s/Torelance/Tolerance/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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/src/fpdftext.cpp ('k') | no next file » | 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 PUBLIC_FPDF_TEXT_H_ 7 #ifndef PUBLIC_FPDF_TEXT_H_
8 #define PUBLIC_FPDF_TEXT_H_ 8 #define PUBLIC_FPDF_TEXT_H_
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // detection, in point unit. 129 // detection, in point unit.
130 // Return Value: 130 // Return Value:
131 // The zero-based index of the character at, or nearby the point (x,y). 131 // The zero-based index of the character at, or nearby the point (x,y).
132 // If there is no character at or nearby the point, return value will 132 // If there is no character at or nearby the point, return value will
133 // be -1. 133 // be -1.
134 // If an error occurs, -3 will be returned. 134 // If an error occurs, -3 will be returned.
135 // 135 //
136 DLLEXPORT int STDCALL FPDFText_GetCharIndexAtPos(FPDF_TEXTPAGE text_page, 136 DLLEXPORT int STDCALL FPDFText_GetCharIndexAtPos(FPDF_TEXTPAGE text_page,
137 double x, 137 double x,
138 double y, 138 double y,
139 double xTorelance, 139 double xTolerance,
140 double yTolerance); 140 double yTolerance);
141 141
142 // Function: FPDFText_GetText 142 // Function: FPDFText_GetText
143 // Extract unicode text string from the page. 143 // Extract unicode text string from the page.
144 // Parameters: 144 // Parameters:
145 // text_page - Handle to a text page information structure. 145 // text_page - Handle to a text page information structure.
146 // Returned by FPDFText_LoadPage function. 146 // Returned by FPDFText_LoadPage function.
147 // start_index - Index for the start characters. 147 // start_index - Index for the start characters.
148 // count - Number of characters to be extracted. 148 // count - Number of characters to be extracted.
149 // result - A buffer (allocated by application) receiving the 149 // result - A buffer (allocated by application) receiving the
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // Return Value: 410 // Return Value:
411 // None. 411 // None.
412 // 412 //
413 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page); 413 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page);
414 414
415 #ifdef __cplusplus 415 #ifdef __cplusplus
416 } 416 }
417 #endif 417 #endif
418 418
419 #endif // PUBLIC_FPDF_TEXT_H_ 419 #endif // PUBLIC_FPDF_TEXT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdftext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698