Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 lars 1
#jsPDF - Generate PDF files in client-side JavaScript
2
 
3
You can [catch me on twitter](http://twitter.com/MrRio): [@MrRio](http://twitter.com/MrRio) or head over to [my company's website](http://snapshotmedia.co.uk) for consultancy.
4
 
5
## Creating your first document
6
 
7
See examples/basic.html. Make sure you include BlobBuilder.js and FileSaver.js.
8
 
9
```javascript
10
 
11
var doc = new jsPDF();
12
doc.text(20, 20, 'Hello world.');
13
doc.save('Test.pdf');
14
```
15
 
16
### Head over to [jsPDF.com](http://jspdf.com) for the live editor and examples
17
 
18
## Checking out the source
19
 
20
```bash
21
git clone --recursive git://github.com/MrRio/jsPDF.git
22
```
23
 
24
## Credits
25
 
26
Big thanks to Daniel Dotsenko from [Willow Systems Corporation](http://willow-systems.com) for making huge contributions to the codebase.
27
 
28
Thanks to Ajaxian.com for [featuring us back in 2009](http://ajaxian.com/archives/dynamically-generic-pdfs-with-javascript).
29
 
30
Everyone else that's contributed patches or bug reports. You rock.
31
 
32
## License
33
 
34
(MIT License)
35
 
36
Copyright (c) 2010-2012 James Hall, https://github.com/MrRio/jsPDF
37
 
38
Permission is hereby granted, free of charge, to any person obtaining
39
a copy of this software and associated documentation files (the
40
"Software"), to deal in the Software without restriction, including
41
without limitation the rights to use, copy, modify, merge, publish,
42
distribute, sublicense, and/or sell copies of the Software, and to
43
permit persons to whom the Software is furnished to do so, subject to
44
the following conditions:
45
 
46
The above copyright notice and this permission notice shall be
47
included in all copies or substantial portions of the Software.
48
 
49
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
50
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
51
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
52
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
53
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
54
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
55
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.