Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-pdf-generator

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-pdf-generator - npm Package Compare versions

Comparing version 0.9.8 to 0.9.9

src/android/PDFGenerator.java

2

package.json
{
"name": "cordova-pdf-generator",
"version": "0.9.8",
"version": "0.9.9",
"description": "is a HTML to PDF (offline) Generator.",

@@ -5,0 +5,0 @@ "cordova": {

@@ -7,10 +7,23 @@ # cordova-pdf-generator

The iOS HTML to PDF transformation is based in this work [BNHtmlPdfKit](https://github.com/brentnycum/BNHtmlPdfKit), I just add a new method to allow transformation between plain HTML to PDF.
The iOS HTML to PDF transformation is based in this work [BNHtmlPdfKit](https://github.com/brentnycum/BNHtmlPdfKit), I just add a new method to allow transformation between plain HTML to PDF.
For Android I'm using [PrintManager API](https://developer.android.com/reference/android/print/PrintManager.html), so for now the menu is by default in Android.
##Features
- Generates a PDF document using a URL or HTML raw data. for better results with raw HTML the CSS should be available for the device.
- Open-with menu.
- Return the Base64 file representation back, so you can upload the file to a server.
- It take raw HTML & CSS, and transform it to PDF, this is handy for dynamically generate content with a template engine like [Underscore](http://underscorejs.org/).
- You can use a URL to load HTML from a server like a normal webpage.
- supported features in IOS
- Open-with menu & Send to printer.
- Return the Base64 file representation back, so you can upload the file to a server.
- Portrait/Landscape.
- Page size.
- in Android (beta)
- Open-with menu is by **default** for now.
- Send to a printer.
## Installing using Plugman

@@ -17,0 +30,0 @@

@@ -0,0 +0,0 @@ # BNHtmlPdfKit

@@ -0,0 +0,0 @@ /*global cordova, module*/

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc