123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // KMFileAttribute.h
- // PDF to Word
- //
- // Created by wangshuai on 13-8-14.
- // Copyright (c) 2013年 kdanmobile. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <Quartz/Quartz.h>
- #import <ComPDFKit/ComPDFKit.h>
- typedef NS_OPTIONS(NSUInteger, KMPDFSelectPageStringType) {
- KMPDFSeleectPageType_AllPages = 0 ,
- KMPDFSeleectPageType_OnlyOdd,
- KMPDFSeleectPageType_OnlyEven,
- KMPDFSeleectPageType_PagesString,
- };
- @interface KMFileAttribute : NSObject{
- NSString *_filePath;
- BOOL _bAllPage;
- NSMutableArray *_selectPages;
- NSString *_pagesString;
-
- BOOL _isLocked;
- NSString *_password;
- }
- @property (nonatomic,retain) NSString *filePath;
- @property (nonatomic, retain) NSString *oriFilePath;
- @property (nonatomic,retain) PDFDocument *myPDFDocument;
- @property (nonatomic,retain) CPDFDocument *pdfDocument;
- @property (nonatomic) BOOL bAllPage;
- @property (nonatomic,retain) NSMutableArray *selectPages;
- @property (nonatomic,retain) NSString *pagesString;
- @property (nonatomic) BOOL isLocked;
- @property (nonatomic,retain) NSString *password;
- @property (nonatomic,assign) KMPDFSelectPageStringType pagesType;
- @property (nonatomic, assign) BOOL pageRangeError;
- @end
|