mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
27 lines
601 B
Objective-C
27 lines
601 B
Objective-C
//
|
|
// PDFView.h
|
|
//
|
|
// Created by Nigel Barber on 15/10/2011.
|
|
// Copyright 2011 Mindbrix Limited. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
@interface PDFView : UIView
|
|
{
|
|
|
|
}
|
|
|
|
@property( nonatomic, assign ) int page;
|
|
@property( nonatomic, assign ) NSString *resourceName;
|
|
@property( nonatomic, assign ) NSURL *resourceURL;
|
|
|
|
+(CGRect) mediaRect:(NSString *)resourceName;
|
|
+(CGRect) mediaRectForURL:(NSURL *)resourceURL;
|
|
+(CGRect) mediaRectForURL:(NSURL *)resourceURL atPage:(int)page;
|
|
+(int) pageCountForURL:(NSURL *)resourceURL;
|
|
+(NSURL *)resourceURLForName:(NSString *)resourceName;
|
|
|
|
@end
|