summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/Document.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-08 14:57:48 -0800
committerLei Zhang <thestig@chromium.org>2016-01-08 14:57:48 -0800
commitb8e1ab27372cdb5d8c83e57e004032f0d72715db (patch)
tree718888980718f0b0f5e8d283f91713bdb0712c70 /fpdfsdk/src/javascript/Document.h
parent111d8db83ac04d15bd8d879e7dad4651ee8e27e9 (diff)
downloadpdfium-b8e1ab27372cdb5d8c83e57e004032f0d72715db.tar.xz
Merge to XFA: Remove a bunch of dead code.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1567333003 . (cherry picked from commit 4a24ad858484ecdf9b49481e63060e4d476cf1c7) Review URL: https://codereview.chromium.org/1569783007 .
Diffstat (limited to 'fpdfsdk/src/javascript/Document.h')
-rw-r--r--fpdfsdk/src/javascript/Document.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/src/javascript/Document.h b/fpdfsdk/src/javascript/Document.h
index 94860fc425..2295fd7328 100644
--- a/fpdfsdk/src/javascript/Document.h
+++ b/fpdfsdk/src/javascript/Document.h
@@ -56,7 +56,6 @@ class Document : public CJS_EmbedObj {
Document(CJS_Object* pJSObject);
~Document() override;
- public:
FX_BOOL ADBE(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
FX_BOOL author(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
FX_BOOL baseURL(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
@@ -258,21 +257,14 @@ class Document : public CJS_EmbedObj {
CJS_Value& vRet,
CFX_WideString& sError);
- public:
void AttachDoc(CPDFSDK_Document* pDoc);
CPDFSDK_Document* GetReaderDoc();
- static FX_BOOL ExtractFileName(CPDFSDK_Document* pDoc,
- CFX_ByteString& strFileName);
- static FX_BOOL ExtractFolderName(CPDFSDK_Document* pDoc,
- CFX_ByteString& strFolderName);
void AddDelayData(CJS_DelayData* pData);
void DoFieldDelay(const CFX_WideString& sFieldName, int nControlIndex);
void SetIsolate(v8::Isolate* isolate) { m_isolate = isolate; }
CJS_Document* GetCJSDoc() const;
private:
- CFX_WideString ReversalStr(CFX_WideString cbFrom);
- CFX_WideString CutString(CFX_WideString cbFrom);
bool IsEnclosedInRect(CFX_FloatRect rect, CFX_FloatRect LinkRect);
int CountWords(CPDF_TextObject* pTextObj);
CFX_WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);