Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1836)

Unified Diff: core/fpdfdoc/cpdf_pagelabel.h

Issue 2521843003: Add API for getting page labels. (Closed)
Patch Set: Add tests, distinguish between failure and empty label Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fpdfdoc/cpdf_pagelabel.cpp » ('j') | fpdfsdk/fpdfdoc_embeddertest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/cpdf_pagelabel.h
diff --git a/core/fpdfdoc/cpdf_pagelabel.h b/core/fpdfdoc/cpdf_pagelabel.h
index 6a0664bfca3c800dd893fafa3b4f52530c2a92f7..0f91f614d98f1f76b9896117487be07a91383514 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;
« no previous file with comments | « no previous file | core/fpdfdoc/cpdf_pagelabel.cpp » ('j') | fpdfsdk/fpdfdoc_embeddertest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698