123456789101112131415161718192021222324 |
- //
- // KMOCTool.h
- // PDF Reader Pro
- //
- // Created by liujiajie on 2023/11/15.
- //
- #import <Foundation/Foundation.h>
- #import <CoreGraphics/CoreGraphics.h>
- #import <Cocoa/Cocoa.h>
- 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;
- @end
- NS_ASSUME_NONNULL_END
|