summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-04-05 14:54:34 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-05 14:54:34 +0000
commit14f8897509d9db8739951a90488fb1634a497db5 (patch)
treed8f90d40f94afeecffd24090ac1dc3571c0c6587 /public
parent32942201a456ace47c052536cba594be03e9aa6c (diff)
downloadpdfium-14f8897509d9db8739951a90488fb1634a497db5.tar.xz
Remove spellchecking code from XFAchromium/3390
The existing code for spellchecking is non-functional and we are not planning on fixing/finishing it, so removing it, since it currently is marking everything as misspelt. BUG=pdfium:1054 Change-Id: I23aaa13c09aed483376d7d06f47fdf31d890786b Reviewed-on: https://pdfium-review.googlesource.com/29790 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'public')
-rw-r--r--public/fpdf_formfill.h95
-rw-r--r--public/fpdfview.h1
2 files changed, 0 insertions, 96 deletions
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index 81c0ea25ac..33701ef9c1 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -1756,101 +1756,6 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_Widget_Paste(FPDF_DOCUMENT document,
FPDF_WIDGET hWidget,
FPDF_WIDESTRING wsText,
FPDF_DWORD size);
-/**
- * Function: FPDF_Widget_ReplaceSpellCheckWord
- * This method will implement the spell check feature for the specified
- *xfa field.
- * Parameters:
- * document - Handle to document. Returned by
- *FPDF_LoadDocument function.
- * hWidget - Handle to the xfa field.
- * x - The x value of the specified point.
- * y - The y value of the specified point.
- * bsText - The text buffer needed to be speck check, in
- *UTF-16LE format.
- * Return Value:
- * None.
- **/
-FPDF_EXPORT void FPDF_CALLCONV
-FPDF_Widget_ReplaceSpellCheckWord(FPDF_DOCUMENT document,
- FPDF_WIDGET hWidget,
- float x,
- float y,
- FPDF_BYTESTRING bsText);
-/**
- * Function: FPDF_Widget_GetSpellCheckWords
- * This method will implement the spell check feature for the specified
- * xfa field.
- * Parameters:
- * document - Handle to document as returned by
- * FPDF_LoadDocument function.
- * hWidget - Handle to the xfa field.
- * x - The x value of the specified point.
- * y - The y value of the specified point.
- * stringHandle - Pointer to FPDF_STRINGHANDLE to receive the
- * speck check text buffer, in UTF-16LE format.
- * Caller must free using FPDF_StringHandleRelease.
- * Return Value:
- * None.
- **/
-FPDF_EXPORT void FPDF_CALLCONV
-FPDF_Widget_GetSpellCheckWords(FPDF_DOCUMENT document,
- FPDF_WIDGET hWidget,
- float x,
- float y,
- FPDF_STRINGHANDLE* stringHandle);
-/**
- * Function: FPDF_StringHandleCounts
- * This method will get the count of the text buffer.
- * Parameters:
- * stringHandle - Pointer to FPDF_STRINGHANDLE.
- * Return Value:
- * None.
- **/
-FPDF_EXPORT int FPDF_CALLCONV
-FPDF_StringHandleCounts(FPDF_STRINGHANDLE stringHandle);
-/**
- * Function: FPDF_StringHandleGetStringByIndex
- * This method will get the specified index of the text buffer.
- * Parameters:
- * stringHandle - Pointer to FPDF_STRINGHANDLE.
- * index - The specified index of text buffer.
- * bsText - Pointer to data buffer to receive the text
- *buffer, in UTF-16LE format.
- * size - The byte size of data buffer.
- * Return Value:
- * TRUE indicates success, otherwise FALSE.
- **/
-FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
-FPDF_StringHandleGetStringByIndex(FPDF_STRINGHANDLE stringHandle,
- int index,
- FPDF_BYTESTRING bsText,
- FPDF_DWORD* size);
-/**
- * Function: FPDF_StringHandleRelease
- * This method will release the FPDF_STRINGHANDLE.
- * Parameters:
- * stringHandle - Pointer to FPDF_STRINGHANDLE.
- * Return Value:
- * None.
- **/
-FPDF_EXPORT void FPDF_CALLCONV
-FPDF_StringHandleRelease(FPDF_STRINGHANDLE stringHandle);
-/**
- * Function: FPDF_StringHandleAddString
- * This method will add the specified text buffer.
- * Parameters:
- * stringHandle - Pointer to FPDF_STRINGHANDLE.
- * bsText - Pointer to data buffer of the text buffer, in
- *UTF-16LE format.
- * size - The byte size of data buffer.
- * Return Value:
- * TRUE indicates success, otherwise FALSE.
- **/
-FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
-FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle,
- FPDF_BYTESTRING bsText,
- FPDF_DWORD size);
#endif // PDF_ENABLE_XFA
#ifdef __cplusplus
diff --git a/public/fpdfview.h b/public/fpdfview.h
index 0660eb1a3b..62b7b88410 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -56,7 +56,6 @@ typedef void* FPDF_TEXTPAGE;
typedef void const* FPDF_PATHSEGMENT;
#ifdef PDF_ENABLE_XFA
-typedef void* FPDF_STRINGHANDLE;
typedef void* FPDF_WIDGET;
#endif // PDF_ENABLE_XFA