123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
- //
- // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
- // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
- // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
- // This notice may not be removed from this file.
- //
- #import <React/RCTBridgeModule.h>
- @interface RCT_EXTERN_MODULE(ComPDFKit, NSObject)
- RCT_EXTERN_METHOD(getVersionCode:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(getSDKBuildTag:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(init_:(NSString *)license
- withResolver:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(initialize:(NSString *)androidOnlineLicense
- iosOnlineLicense:(NSString *)iosOnlineLicense
- withResolver:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(openDocument:(NSURL *)document
- password:(NSString *)password
- configurationJson:(NSString *)configurationJson)
- RCT_EXTERN_METHOD(removeSignFileList:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(pickFile:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(setImportFontDir:(NSString *) fontDir
- addSysFont:(BOOL) addSysFont
- withResolver:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- + (BOOL)requiresMainQueueSetup
- {
- return NO;
- }
- @end
|