KMOCTool.h 786 B

123456789101112131415161718192021222324
  1. //
  2. // KMOCTool.h
  3. // PDF Reader Pro
  4. //
  5. // Created by liujiajie on 2023/11/15.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <CoreGraphics/CoreGraphics.h>
  9. #import <Cocoa/Cocoa.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface KMOCTool : NSObject
  12. +(void)createPDFFile:(NSString *)filePath imagePaths:(NSArray *)paths results:(NSArray *)resultsArray scale:(CGFloat)scale;
  13. +(NSData*)convertStringsToPDFWithString:(NSArray *)strings;
  14. +(CGRect)localCropRectForWindow:(CGWindowID)wNumber withBounds:(CGRect)bounds;
  15. +(NSAttributedString *)transformAttr:(NSAttributedString *)astring withString:(NSString *)str;
  16. +(NSDictionary *)convertExcelToPdfFilePath:(NSString *)filePath savePath:(NSString *)savePath;
  17. +(NSDictionary *)convertOfficeFileToPdf:(NSString *)convertString;
  18. @end
  19. NS_ASSUME_NONNULL_END