summaryrefslogtreecommitdiff
path: root/fxjs/cjs_field.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-12 20:29:40 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-12 20:29:40 +0000
commit4c7ad66463bfcdeb03f4240571d143b35a2c02cf (patch)
treee8235a97a48ddc6e814374256e13cb1e02a4feef /fxjs/cjs_field.h
parent07520f6e9cfd1c1f304d18af614d83938e382adb (diff)
downloadpdfium-4c7ad66463bfcdeb03f4240571d143b35a2c02cf.tar.xz
Add CJS_Field::GetFirstFormField().
Its what many CJS_Field methods really want to do. Change-Id: I18cf61a15be7b783b795c61a5c26c42ef5d82127 Reviewed-on: https://pdfium-review.googlesource.com/37711 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjs_field.h')
-rw-r--r--fxjs/cjs_field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fxjs/cjs_field.h b/fxjs/cjs_field.h
index 52ddbf70d1..1263f0b775 100644
--- a/fxjs/cjs_field.h
+++ b/fxjs/cjs_field.h
@@ -405,6 +405,7 @@ class CJS_Field : public CJS_Object {
int& iControlNo);
std::vector<CPDF_FormField*> GetFormFields(
const WideString& csFieldName) const;
+ CPDF_FormField* GetFirstFormField() const;
CPDF_FormControl* GetSmartFieldControl(CPDF_FormField* pFormField);
bool ValueIsOccur(CPDF_FormField* pFormField, WideString csOptLabel);