|
@@ -325,6 +325,8 @@ extern CPDFDocumentWriteOption const CPDFDocumentAllowsFormFieldEntryOption;
|
|
* A array of document’s bookmarks.
|
|
* A array of document’s bookmarks.
|
|
*/
|
|
*/
|
|
- (NSArray<CPDFBookmark *> *)bookmarks;
|
|
- (NSArray<CPDFBookmark *> *)bookmarks;
|
|
|
|
+
|
|
|
|
+- (void)bookmarksBlock:(void(^)(NSArray<CPDFBookmark *> *))block;
|
|
/**
|
|
/**
|
|
* Add a bookmark at the specified index number.
|
|
* Add a bookmark at the specified index number.
|
|
*
|
|
*
|
|
@@ -344,6 +346,7 @@ extern CPDFDocumentWriteOption const CPDFDocumentAllowsFormFieldEntryOption;
|
|
*/
|
|
*/
|
|
- (CPDFBookmark *)bookmarkForPageIndex:(NSUInteger)pageIndex;
|
|
- (CPDFBookmark *)bookmarkForPageIndex:(NSUInteger)pageIndex;
|
|
|
|
|
|
|
|
+- (void)bookmarkForPageIndex:(NSUInteger)pageIndex block:(void (^)(CPDFBookmark *bookmark))block;
|
|
#pragma mark - Watermark
|
|
#pragma mark - Watermark
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -483,7 +486,10 @@ extern CPDFDocumentWriteOption const CPDFDocumentAllowsFormFieldEntryOption;
|
|
* @discussion This method raises an exception if either index value is out of bounds.
|
|
* @discussion This method raises an exception if either index value is out of bounds.
|
|
*/
|
|
*/
|
|
- (BOOL)importPages:(NSIndexSet *)indexSet fromDocument:(CPDFDocument *)document atIndex:(NSUInteger)index;
|
|
- (BOOL)importPages:(NSIndexSet *)indexSet fromDocument:(CPDFDocument *)document atIndex:(NSUInteger)index;
|
|
-
|
|
|
|
|
|
+/**
|
|
|
|
+ * Retrieve the page data
|
|
|
|
+ */
|
|
|
|
+- (void)refreshPageData;
|
|
#pragma mark - Annotations
|
|
#pragma mark - Annotations
|
|
|
|
|
|
/**
|
|
/**
|