diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-08-04 12:28:52 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-04 16:48:53 +0000 |
commit | 5c09f4ca825652f910d3ff406fcbf64d25f56e23 (patch) | |
tree | 9af51506fcc914244bc682878801b8d362f6cfdd /fpdfsdk/cpdfsdk_interform.h | |
parent | a2da7c5612f1fa26dde508da2a527a4bab381de0 (diff) | |
download | pdfium-5c09f4ca825652f910d3ff406fcbf64d25f56e23.tar.xz |
Remove CFX_ByteTextBuf from cpdfsdk_interform.cpp and others.chromium/3177
New version of the CL that include fpdf_parser_utility.cpp where
there is an overload for CFX_ByteTextBuf << CPDF_Object* used by
CFDF_Document.
Bug: pdfium:731
Change-Id: I54f4e9ee7e10e94388f6f6584f3999f43689e84c
Reviewed-on: https://pdfium-review.googlesource.com/10170
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_interform.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_interform.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fpdfsdk/cpdfsdk_interform.h b/fpdfsdk/cpdfsdk_interform.h index b613c731ba..c4a1ff13f9 100644 --- a/fpdfsdk/cpdfsdk_interform.h +++ b/fpdfsdk/cpdfsdk_interform.h @@ -90,10 +90,10 @@ class CPDFSDK_InterForm : public IPDF_FormNotify { bool bIncludeOrExclude, bool bUrlEncoded); bool SubmitForm(const CFX_WideString& sDestination, bool bUrlEncoded); - bool ExportFormToFDFTextBuf(CFX_ByteTextBuf& textBuf); - bool ExportFieldsToFDFTextBuf(const std::vector<CPDF_FormField*>& fields, - bool bIncludeOrExclude, - CFX_ByteTextBuf& textBuf); + CFX_ByteString ExportFormToFDFTextBuf(); + CFX_ByteString ExportFieldsToFDFTextBuf( + const std::vector<CPDF_FormField*>& fields, + bool bIncludeOrExclude); CFX_WideString GetTemporaryFileName(const CFX_WideString& sFileExt); bool IsNeedHighLight(int nFieldType); @@ -117,7 +117,6 @@ class CPDFSDK_InterForm : public IPDF_FormNotify { int BeforeFormImportData(CPDF_InterForm* pForm) override; void AfterFormImportData(CPDF_InterForm* pForm) override; - bool FDFToURLEncodedData(CFX_WideString csFDFFile, CFX_WideString csTxtFile); bool FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); int GetPageIndexByAnnotDict(CPDF_Document* pDocument, CPDF_Dictionary* pAnnotDict) const; |