From 1cad898916c9e4a21429b5325c834a51fa6f361e Mon Sep 17 00:00:00 2001 From: "epoger@google.com" Date: Wed, 6 Mar 2013 00:05:13 +0000 Subject: PDF: add support for named destinations Imported from https://codereview.appspot.com/7374052/ on behalf of dml@google.com Review URL: https://codereview.chromium.org/12466008 git-svn-id: http://skia.googlecode.com/svn/trunk@8000 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/pdf/SkPDFPage.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pdf/SkPDFPage.h') diff --git a/src/pdf/SkPDFPage.h b/src/pdf/SkPDFPage.h index 72ba335e66..285a2f565e 100644 --- a/src/pdf/SkPDFPage.h +++ b/src/pdf/SkPDFPage.h @@ -48,6 +48,11 @@ public: void finalizePage(SkPDFCatalog* catalog, bool firstPage, SkTDArray* resourceObjects); + /** Add destinations for this page to the supplied dictionary. + * @param dict Dictionary to add destinations to. + */ + void appendDestinations(SkPDFDict* dict); + /** Determine the size of the page content and store to the catalog * the offsets of all nonresource-indirect objects that make up the page * content. This must be called before emitPage(), but after finalizePage. -- cgit v1.2.3