File tree Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -966,6 +966,30 @@ - (NSNumber *)pageGrabberEnabledAsJSON
966
966
return @(_pdfController.configuration .pageGrabberEnabled );
967
967
}
968
968
969
+ - (void )setPageLabelEnabledForPSPDFViewControllerWithJSON : (NSNumber *)pageLabelEnabled
970
+ {
971
+ [_pdfController updateConfigurationWithBuilder: ^(PSPDFConfigurationBuilder *builder) {
972
+ builder.pageLabelEnabled = pageLabelEnabled.boolValue ;
973
+ }];
974
+ }
975
+
976
+ - (NSNumber *)pageLabelEnabledAsJSON
977
+ {
978
+ return @(_pdfController.configuration .pageLabelEnabled );
979
+ }
980
+
981
+ - (void )setDocumentLabelEnabledForPSPDFViewControllerWithJSON : (NSNumber *)documentLabelEnabled
982
+ {
983
+ [_pdfController updateConfigurationWithBuilder: ^(PSPDFConfigurationBuilder *builder) {
984
+ builder.documentLabelEnabled = documentLabelEnabled.boolValue ;
985
+ }];
986
+ }
987
+
988
+ - (NSNumber *)documentLabelEnabledAsJSON
989
+ {
990
+ return @(_pdfController.configuration .documentLabelEnabled );
991
+ }
992
+
969
993
#pragma mark PDFProcessing methods
970
994
971
995
- (void )convertPDFFromHTMLString : (CDVInvokedUrlCommand *)command
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " pspdfkit-cordova-ios" ,
3
- "version" : " 1.2.3 " ,
3
+ "version" : " 1.2.4 " ,
4
4
"description" : " PSPDFKit Cordova Plugin for iOS" ,
5
5
"cordova" : {
6
6
"id" : " pspdfkit-cordova-ios" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <plugin id =" pspdfkit-cordova-ios" version =" 1.2.3 " xmlns =" http://apache.org/cordova/ns/plugins/1.0" xmlns : android =" http://schemas.android.com/apk/res/android" >
2
+ <plugin id =" pspdfkit-cordova-ios" version =" 1.2.4 " xmlns =" http://apache.org/cordova/ns/plugins/1.0" xmlns : android =" http://schemas.android.com/apk/res/android" >
3
3
<engines >
4
4
<engine name =" cordova" version =" >=6.3.1" />
5
5
</engines >
You can’t perform that action at this time.
0 commit comments