diff options
author | thestig <thestig@chromium.org> | 2016-11-23 05:52:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-23 05:52:39 -0800 |
commit | 733e068e077bb59597180bc9b8ff934dd125ffdc (patch) | |
tree | a174a02225f1c42933605d516324dc8d0bdd42b8 /core/fpdfdoc/cpdf_pagelabel.h | |
parent | 1a7534a1a477323f7b8497e359f6af6e9bd54cd5 (diff) | |
download | pdfium-733e068e077bb59597180bc9b8ff934dd125ffdc.tar.xz |
Add API for getting page labels.
BUG=pdfium:479
Review-Url: https://codereview.chromium.org/2521843003
Diffstat (limited to 'core/fpdfdoc/cpdf_pagelabel.h')
-rw-r--r-- | core/fpdfdoc/cpdf_pagelabel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_pagelabel.h b/core/fpdfdoc/cpdf_pagelabel.h index 6a0664bfca..0f91f614d9 100644 --- a/core/fpdfdoc/cpdf_pagelabel.h +++ b/core/fpdfdoc/cpdf_pagelabel.h @@ -15,7 +15,7 @@ class CPDF_PageLabel { public: explicit CPDF_PageLabel(CPDF_Document* pDocument); - CFX_WideString GetLabel(int nPage) const; + bool GetLabel(int nPage, CFX_WideString* wsLabel) const; int32_t GetPageByLabel(const CFX_ByteStringC& bsLabel) const; int32_t GetPageByLabel(const CFX_WideStringC& wsLabel) const; |