diff options
author | Lei Zhang <thestig@chromium.org> | 2018-07-12 20:29:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-12 20:29:40 +0000 |
commit | 4c7ad66463bfcdeb03f4240571d143b35a2c02cf (patch) | |
tree | e8235a97a48ddc6e814374256e13cb1e02a4feef /fxjs/cjs_field.h | |
parent | 07520f6e9cfd1c1f304d18af614d83938e382adb (diff) | |
download | pdfium-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.h | 1 |
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); |