<commit_before>/*
 * Copyright (C) 2014
 * Html 2 Pdf iOS Code: <NAME> <<EMAIL>> (https://github.com/iclems/iOS-htmltopdf)
 * Cordova 3.3 Plugin & Html 2 Pdf Android Code: Modern Alchemists OG <<EMAIL>> (http://modalog.at)
 */

#import <Foundation/Foundation.h>

#import <Cordova/CDVPlugin.h>

//#import <Cordova/CDVJSON.h>

#import "AppDelegate.h"

#define kPaperSizeA4 CGSizeMake(595.2,841.8)
#define kPaperSizeLetter CGSizeMake(612,792)

@interface Html2pdf : CDVPlugin <UIWebViewDelegate, UIDocumentInteractionControllerDelegate>
{
}

// read / write
-(void) create: (CDVInvokedUrlCommand*)command;

// retain command for async repsonses
//@property (nonatomic, strong) CDVInvokedUrlCommand* command;
@property (nonatomic, strong) NSString* filePath;
@property (nonatomic, assign) CGSize pageSize;<commit_msg>Update Html2pdf.h<commit_after>/*
 * Copyright (C) 2014
 * Html 2 Pdf iOS Code: <NAME> <<EMAIL>> (https://github.com/iclems/iOS-htmltopdf)
 * Cordova 3.3 Plugin & Html 2 Pdf Android Code: Modern Alchemists OG <<EMAIL>> (http://modalog.at)
 */

#import <Foundation/Foundation.h>

#import <Cordova/CDVPlugin.h>

//#import <Cordova/CDVJSON.h>

#import "AppDelegate.h"

#define kPaperSizeA4 CGSizeMake(595.2,841.8)
#define kPaperSizeLetter CGSizeMake(612,792)

@interface Html2pdf : CDVPlugin <UIWebViewDelegate, UIDocumentInteractionControllerDelegate>
{
}

@property (nonatomic, copy) NSString* callbackId;

// read / write
-(void) create: (CDVInvokedUrlCommand*)command;

// retain command for async repsonses
//@property (nonatomic, strong) CDVInvokedUrlCommand* command;
@property (nonatomic, strong) NSString* filePath;
@property (nonatomic, assign) CGSize pageSize;
{'fraction_non_alphanumeric': 0.13622843545508626, 'fraction_numerical': 0.029149315883402735, 'mean_word_length': 5.648221343873518, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5959969', 'n_tokens_mistral': 639, 'n_tokens_neox': 579, 'n_words': 143}