KMFileAttribute.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // KMFileAttribute.h
  3. // PDF to Word
  4. //
  5. // Created by wangshuai on 13-8-14.
  6. // Copyright (c) 2013年 kdanmobile. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <Quartz/Quartz.h>
  10. #import <ComPDFKit/ComPDFKit.h>
  11. typedef NS_OPTIONS(NSUInteger, KMPDFSelectPageStringType) {
  12. KMPDFSeleectPageType_AllPages = 0 ,
  13. KMPDFSeleectPageType_OnlyOdd,
  14. KMPDFSeleectPageType_OnlyEven,
  15. KMPDFSeleectPageType_PagesString,
  16. };
  17. @interface KMFileAttribute : NSObject{
  18. NSString *_filePath;
  19. BOOL _bAllPage;
  20. NSMutableArray *_selectPages;
  21. NSString *_pagesString;
  22. BOOL _isLocked;
  23. NSString *_password;
  24. }
  25. @property (nonatomic,retain) NSString *filePath;
  26. @property (nonatomic, retain) NSString *oriFilePath;
  27. @property (nonatomic,retain) PDFDocument *myPDFDocument;
  28. @property (nonatomic,retain) CPDFDocument *pdfDocument;
  29. @property (nonatomic) BOOL bAllPage;
  30. @property (nonatomic,retain) NSMutableArray *selectPages;
  31. @property (nonatomic,retain) NSString *pagesString;
  32. @property (nonatomic) BOOL isLocked;
  33. @property (nonatomic,retain) NSString *password;
  34. @property (nonatomic,assign) KMPDFSelectPageStringType pagesType;
  35. @property (nonatomic, assign) BOOL pageRangeError;
  36. @end