Foxit PDF SDK  9.1
UIExtensionsConfig.h
1 
18 #import <Foundation/Foundation.h>
19 
20 NS_ASSUME_NONNULL_BEGIN
21 
22 @interface SettingObj : NSObject<NSCoding>
23 @property (nonatomic, copy, nullable) NSString *icon;
24 @property (nonatomic, copy, nullable) NSString *textFace;
25 @property (nonatomic, copy, nullable) NSString *scaleFromUnit;
26 @property (nonatomic, copy, nullable) NSString *scaleToUnit;
27 @property (nonatomic, assign) CGFloat textSize;
28 @property (nonatomic, assign) CGFloat opacity;
29 @property (nonatomic, assign) float thickness;
30 @property (nonatomic, assign) unsigned int rotation;
31 @property (nonatomic, assign) unsigned int scaleFromValue;
32 @property (nonatomic, assign) unsigned int scaleToValue;
33 @property (nonatomic, strong, nullable) UIColor *color;
34 @property (nonatomic, strong, nullable) UIColor *fillColor;
35 @property (nonatomic, strong, nullable) UIColor *textColor;
36 @property (nonatomic, assign) BOOL multipleSelection;
37 @property (nonatomic, assign) BOOL customText;
38 @end
39 
40 @interface Annotations : NSObject
41 @property (nonatomic, assign) BOOL continuouslyAdd;
42 @property (nonatomic, strong) SettingObj *highlight;
43 @property (nonatomic, strong) SettingObj *areaHighlight;
44 @property (nonatomic, strong) SettingObj *underline;
45 @property (nonatomic, strong) SettingObj *squiggly;
46 @property (nonatomic, strong) SettingObj *strikeout;
47 @property (nonatomic, strong) SettingObj *insert;
48 @property (nonatomic, strong) SettingObj *replace;
49 @property (nonatomic, strong) SettingObj *line;
50 @property (nonatomic, strong) SettingObj *rectangle;
51 @property (nonatomic, strong) SettingObj *oval;
52 @property (nonatomic, strong) SettingObj *arrow;
53 @property (nonatomic, strong) SettingObj *pencil;
54 @property (nonatomic, strong) SettingObj *highlighter;
55 @property (nonatomic, strong) SettingObj *polygon;
56 @property (nonatomic, strong) SettingObj *cloud;
57 @property (nonatomic, strong) SettingObj *polyline;
58 @property (nonatomic, strong) SettingObj *typewriter;
59 @property (nonatomic, strong) SettingObj *textbox;
60 @property (nonatomic, strong) SettingObj *callout;
61 @property (nonatomic, strong) SettingObj *note;
62 @property (nonatomic, strong) SettingObj *attachment;
63 @property (nonatomic, strong) SettingObj *measure;
64 @property (nonatomic, strong) SettingObj *image;
65 @property (nonatomic, strong) SettingObj *redaction;
66 @end
67 
68 @interface Form : NSObject
69 @property (nonatomic, strong) SettingObj *textField;
70 @property (nonatomic, strong) SettingObj *checkBox;
71 @property (nonatomic, strong) SettingObj *radioButton;
72 @property (nonatomic, strong) SettingObj *comboBox;
73 @property (nonatomic, strong) SettingObj *listBox;
74 @end
75 
76 @interface UISettingsModel : NSObject
77 @property (nonatomic, copy) NSString *pageMode;
78 @property (nonatomic, assign) BOOL continuous;
79 @property (nonatomic, copy) NSString *colorMode;
80 @property (nonatomic, copy) NSString *zoomMode;
84 @property (nonatomic, assign) BOOL fullscreen;
85 @property (nonatomic, assign) BOOL highlightForm;
86 @property (nonatomic, assign) BOOL highlightLink;
87 @property (nonatomic, assign) BOOL disableFormNavigationBar;
88 @property (nonatomic, assign) int enableTopbarDraggable;
89 @property (nonatomic, assign) int enableHandwritingRecognition;
90 @property (nonatomic, strong) UIColor *highlightFormColor;
91 @property (nonatomic, strong) UIColor *highlightLinkColor;
92 @property (nonatomic, strong) UIColor *mapForegroundColor;
93 @property (nonatomic, strong) UIColor *mapBackgroundColor;
94 @property (nonatomic, strong) UIColor *reflowBackgroundColor;
95 @property (nonatomic, strong) Annotations *annotations;
96 @property (nonatomic, strong) Form *form;
97 @property (nonatomic, strong) SettingObj *signature;
98 @property (nonatomic, strong) SettingObj *commonlyUsed;
99 @end
100 
102 + (instancetype)modelWithDict:(NSDictionary *)dict;
103 - (id)replaceSettingsWithDict:(NSDictionary *)dict;
104 + (NSDictionary *) defaultSettings;
105 @end
106 
108 @interface UIExtensionsConfig : NSObject
110 @property (nonatomic, assign) BOOL loadThumbnail;
112 @property (nonatomic, assign) BOOL loadReadingBookmark;
114 @property (nonatomic, assign) BOOL loadOutline;
116 @property (nonatomic, assign) BOOL loadAttachment;
118 @property (nonatomic, assign) BOOL loadForm;
120 @property (nonatomic, assign) BOOL loadSignature;
122 @property (nonatomic, assign) BOOL fillSign;
124 @property (nonatomic, assign) BOOL loadSearch;
126 @property (nonatomic, assign) BOOL loadPageNavigation;
128 @property (nonatomic, assign) BOOL loadEncryption;
130 @property (nonatomic, assign) BOOL runJavaScript;
132 @property (nonatomic, assign) BOOL copyText;
134 @property (nonatomic, assign) BOOL disableLink;
136 @property (nonatomic, strong, nullable) NSMutableSet<NSString *> *tools;
138 @property (nonatomic, nullable, readonly) UISettingsModel *defaultSettings;
146 - (id __nullable)initWithJSONData:(NSData *__nonnull)data;
147 
148 @end
149 
150 NS_ASSUME_NONNULL_END
SettingObj::rotation
unsigned int rotation
Definition: UIExtensionsConfig.h:30
SettingObj::color
UIColor * color
Definition: UIExtensionsConfig.h:33
UISettingsModel
Definition: UIExtensionsConfig.h:77
SettingObj::fillColor
UIColor * fillColor
Definition: UIExtensionsConfig.h:34
SettingObj::scaleFromValue
unsigned int scaleFromValue
Definition: UIExtensionsConfig.h:31
UIExtensionsConfig
Modules config for UIExtensionsManager.
Definition: UIExtensionsConfig.h:109
SettingObj::textColor
UIColor * textColor
Definition: UIExtensionsConfig.h:35
SettingObj::textSize
CGFloat textSize
Definition: UIExtensionsConfig.h:27
SettingObj::customText
BOOL customText
Definition: UIExtensionsConfig.h:37
SettingObj::scaleToUnit
NSString * scaleToUnit
Definition: UIExtensionsConfig.h:26
SettingObj::opacity
CGFloat opacity
Definition: UIExtensionsConfig.h:28
SettingObj::multipleSelection
BOOL multipleSelection
Definition: UIExtensionsConfig.h:36
SettingObj::scaleFromUnit
NSString * scaleFromUnit
Definition: UIExtensionsConfig.h:25
Form
Definition: UIExtensionsConfig.h:69
SettingObj::icon
NSString * icon
Definition: UIExtensionsConfig.h:23
SettingObj::textFace
NSString * textFace
Definition: UIExtensionsConfig.h:24
SettingObj::thickness
float thickness
Definition: UIExtensionsConfig.h:29
+[NSObject(UISettingsModel) defaultSettings]
NSDictionary * defaultSettings()
Annotations
Definition: UIExtensionsConfig.h:41
SettingObj
Definition: UIExtensionsConfig.h:22
SettingObj::scaleToValue
unsigned int scaleToValue
Definition: UIExtensionsConfig.h:32
NSObject(UISettingsModel)
Definition: UIExtensionsConfig.h:101