diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-08-01 19:47:24 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-02 16:02:53 +0000 |
commit | aea80dcc0abc0c310316fa502f91a359bc684758 (patch) | |
tree | b431624ce24b261c93fe6963b5ed14b101ff2e1b /fpdfsdk/cpdfsdk_interform.h | |
parent | 33dd830890d38f9083b732cd908ef082f1d89d65 (diff) | |
download | pdfium-aea80dcc0abc0c310316fa502f91a359bc684758.tar.xz |
Remove CFX_ByteTextBuf from cpdfsdk_interform.cpp and others.
Bug: pdfium:731
Change-Id: I61d38ab3f2b0ac68b8479ade25bab50f3a73c27b
Reviewed-on: https://pdfium-review.googlesource.com/9770
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; |