Foxit PDF SDK  9.1
UIExtensionsConfig Class Reference

Modules config for UIExtensionsManager. More...

Inheritance diagram for UIExtensionsConfig:

Instance Methods

(id __nullable) - initWithJSONData:
 Intialize extensions config. More...
 

Properties

BOOL copyText
 Whether allow user to copy the text on document or not. More...
 
UISettingsModeldefaultSettings
 More UI settings, internal use only. More...
 
BOOL disableLink
 Whether to disable the hyperlink. By default, view control will jump to the link when finger tap on. Set to YES to disable this behaviour. More...
 
BOOL fillSign
 Fillsign switch. Default is YES. More...
 
BOOL loadAttachment
 Whether to load the PDF attachment module, set YES to allow users to view the file attachment in PDF document. More...
 
BOOL loadEncryption
 Whether to load the encryption module, set YES to allow users to encrypt the PDF document by password. More...
 
BOOL loadForm
 Whether to load the PDF form module, set YES to allow users to fill the form or export/import form data to/from PDF document. More...
 
BOOL loadOutline
 Whether to load the PDF outline module, set YES to allow users to view/navigate from the outline in PDF document. More...
 
BOOL loadPageNavigation
 Whether to load the page navigation module, set YES to allow users to navigate pages by inputing page number. More...
 
BOOL loadReadingBookmark
 Whether to load the reading bookmark module, set YES to allow users to add/remove their own bookmark. More...
 
BOOL loadSearch
 Whether to load the text search module, set YES to allow users to search text on PDF document. More...
 
BOOL loadSignature
 Whether to load the PDF signature module, set YES to allow users to sign/verify the signature on PDF document. More...
 
BOOL loadThumbnail
 Whether to load the thumbnail module, set YES to allow users to delete/add/rotate PDF Pages. More...
 
BOOL runJavaScript
 Whether JavaScript is supported, set YES to allow users to response JavaScript. More...
 
NSMutableSet< NSString * > * tools
 Supported tools. For elements please refer to Tool_XXX values. Annotation of unsupported types are not interactable. More...
 

Detailed Description

Modules config for UIExtensionsManager.

Method Documentation

◆ initWithJSONData:

- (id __nullable) initWithJSONData: (NSData *__nonnull)  data

Intialize extensions config.

Parameters
[in]dataThe JSON data.
Returns
The extensions config instance.

Property Documentation

◆ copyText

- (BOOL) copyText
readwritenonatomicassign

Whether allow user to copy the text on document or not.

◆ defaultSettings

- (UISettingsModel*) defaultSettings
readnonatomicassign

More UI settings, internal use only.

◆ disableLink

- (BOOL) disableLink
readwritenonatomicassign

Whether to disable the hyperlink. By default, view control will jump to the link when finger tap on. Set to YES to disable this behaviour.

◆ fillSign

- (BOOL) fillSign
readwritenonatomicassign

Fillsign switch. Default is YES.

◆ loadAttachment

- (BOOL) loadAttachment
readwritenonatomicassign

Whether to load the PDF attachment module, set YES to allow users to view the file attachment in PDF document.

◆ loadEncryption

- (BOOL) loadEncryption
readwritenonatomicassign

Whether to load the encryption module, set YES to allow users to encrypt the PDF document by password.

◆ loadForm

- (BOOL) loadForm
readwritenonatomicassign

Whether to load the PDF form module, set YES to allow users to fill the form or export/import form data to/from PDF document.

◆ loadOutline

- (BOOL) loadOutline
readwritenonatomicassign

Whether to load the PDF outline module, set YES to allow users to view/navigate from the outline in PDF document.

◆ loadPageNavigation

- (BOOL) loadPageNavigation
readwritenonatomicassign

Whether to load the page navigation module, set YES to allow users to navigate pages by inputing page number.

◆ loadReadingBookmark

- (BOOL) loadReadingBookmark
readwritenonatomicassign

Whether to load the reading bookmark module, set YES to allow users to add/remove their own bookmark.

◆ loadSearch

- (BOOL) loadSearch
readwritenonatomicassign

Whether to load the text search module, set YES to allow users to search text on PDF document.

◆ loadSignature

- (BOOL) loadSignature
readwritenonatomicassign

Whether to load the PDF signature module, set YES to allow users to sign/verify the signature on PDF document.

◆ loadThumbnail

- (BOOL) loadThumbnail
readwritenonatomicassign

Whether to load the thumbnail module, set YES to allow users to delete/add/rotate PDF Pages.

◆ runJavaScript

- (BOOL) runJavaScript
readwritenonatomicassign

Whether JavaScript is supported, set YES to allow users to response JavaScript.

◆ tools

- (NSMutableSet<NSString *>*) tools
readwritenonatomicstrong

Supported tools. For elements please refer to Tool_XXX values. Annotation of unsupported types are not interactable.