-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathComPspdfkitViewProxy.h
103 lines (70 loc) · 3.01 KB
/
ComPspdfkitViewProxy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
//
// Copyright (c) 2011-2021 PSPDFKit GmbH. All rights reserved.
//
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY AUSTRIAN COPYRIGHT LAW
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
// This notice may not be removed from this file.
//
#import <PSPDFKitUI/PSPDFKitUI.h>
#import <TitaniumKit/TitaniumKit.h>
// Relays methods to the internal TIPSPDFViewControllerProxy.
@interface ComPspdfkitViewProxy : TiViewProxy
/// Returns the current page.
- (id)page;
/// Returns total pages count.
- (id)totalPages;
/// Scroll to a specific page. Argument 1 = integer, argument 2 = animated. (optional, defaults to YES)
- (void)scrollToPage:(id)args;
/// Change view mode argument 1 = integer, argument 2 = animated. (optional, defaults to YES)
- (void)setViewMode:(id)args;
/// Open search.
- (void)searchForString:(id)args;
/// Close controller. (argument 1 = animated)
- (void)close:(id)args;
/// Register a callback for the didTapOnAnnotation event. Return true if you manually use the annotation, else false.
- (void)setDidTapOnAnnotationCallback:(id)args;
/// Exposes a helper to change link annotation stroke width. Set to change.
- (void)setLinkAnnotationStrokeWidth:(id)arg;
/// Exposes a helper to change link annotation color. Set to change.
- (void)setLinkAnnotationBorderColor:(id)arg;
/// Exposes a helper to change link annotation highlight color. Set to change.
- (void)setLinkAnnotationHighlightColor:(id)arg;
/// Set list of editable annotation types.
- (void)setEditableAnnotationTypes:(id)arg;
/// Exposes helper to set `thumbnailController.filterOptions`.
- (void)setThumbnailFilterOptions:(id)arg;
/// Exposes helper to set `outlineBarButtonItem.availableControllerOptions`.
- (void)setOutlineControllerFilterOptions:(id)arg;
/// Document's menu actions.
- (void)setAllowedMenuActions:(id)arg;
/// Expose the scrollingEnabled property
- (void)setScrollEnabled:(id)arg;
/// Return document path.
- (id)documentPath;
// Save changed annotations.
- (void)saveAnnotations:(id)args;
/// PSPDFDocument's annotationSaveMode property.
- (void)setAnnotationSaveMode:(id)args;
/// Hide any visible popover. arg: animated YES/NO
- (void)hidePopover:(id)args;
/// Opens the PSPDFOutlineViewController
- (void)showOutlineView:(id)arg;
/// Opens the PSPDFSearchViewController
- (void)showSearchView:(id)arg;
/// Opens the PSPDFBrightnessViewController
- (void)showBrightnessView:(id)arg;
/// Opens the UIPrintInteractionController
- (void)showPrintView:(id)arg;
/// Opens the MFMailComposeViewController
- (void)showEmailView:(id)arg;
/// Open the PSPDFAnnotationToolbar
- (void)showAnnotationView:(id)arg;
/// Opens the UIDocumentInteractionController
- (void)showOpenInView:(id)arg;
/// Opens the UIActivityViewController
- (void)showActivityView:(id)arg;
/// Bookmark the current page
- (void)bookmarkPage:(id)arg;
@end
@interface ComPspdfkitSourceViewProxy : ComPspdfkitViewProxy @end