// // KMOCTool.h // PDF Reader Pro // // Created by liujiajie on 2023/11/15. // #import #import #import NS_ASSUME_NONNULL_BEGIN @interface KMOCTool : NSObject +(void)createPDFFile:(NSString *)filePath imagePaths:(NSArray *)paths results:(NSArray *)resultsArray scale:(CGFloat)scale; +(NSData*)convertStringsToPDFWithString:(NSArray *)strings; +(CGRect)localCropRectForWindow:(CGWindowID)wNumber withBounds:(CGRect)bounds; +(NSAttributedString *)transformAttr:(NSAttributedString *)astring withString:(NSString *)str; +(NSDictionary *)convertExcelToPdfFilePath:(NSString *)filePath savePath:(NSString *)savePath; +(NSDictionary *)convertOfficeFileToPdf:(NSString *)convertString; + (NSString *)getModificationDate:(NSDate *)modificationDate; @end NS_ASSUME_NONNULL_END