1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 08:27:22 +03:00
Commit Graph

33 Commits

Author SHA1 Message Date
Simon Sapin
d694a98350 Rename the utils module to 'urls' 2012-05-23 15:13:57 +02:00
Simon Sapin
848bf33f87 Have PDF readers display the bookmarks by default.
... although evince seems to just ignore it.
2012-05-22 14:47:50 +02:00
Simon Sapin
267010a930 Rename destinations to anchors for internal hyperlinks. 2012-05-22 12:37:48 +02:00
Simon Sapin
d7676f8081 Test hyperlinks, fix internal hyperlink parsing. 2012-05-21 18:43:08 +02:00
Simon Sapin
866efdf62c Do not repeat bookmarks on a fragmented box
Also a better way not to repeat margin/padding/border and list markers.
2012-05-21 14:22:32 +02:00
Simon Sapin
33cd706f0d Refactor the metadata stuff into the pdf module. 2012-05-20 17:04:22 +02:00
Simon Sapin
1b3f7d478f Test the PDF parser (but not writer) 2012-05-20 16:11:50 +02:00
Simon Sapin
b1b5d85b41 Write bookmarks and links with the new PDF module. 2012-05-20 15:55:57 +02:00
Simon Sapin
8b994c2ec6 Use the new pdf module. 2012-05-20 13:56:04 +02:00
Simon Sapin
699af8a9f5 Remove the old pdf module. 2012-05-20 13:55:07 +02:00
Simon Sapin
c828f3835d Avoid using OrderedDict (for Python 2.6). 2012-05-18 17:18:58 +02:00
Simon Sapin
383f7b642b PDF: use a line iterator instead of .pop(0) 2012-05-18 16:31:39 +02:00
Guillaume Ayoub
525f1030c5 Useless typo 2012-05-18 16:23:08 +02:00
Guillaume Ayoub
9211fa570d Remove borders around links 2012-05-18 16:08:18 +02:00
Guillaume Ayoub
bfeb102c98 Test bookmarks 2012-05-18 15:38:57 +02:00
Simon Sapin
8c3f16fc8c Fix URI encoding per RFC 3986 and 3987. 2012-05-18 09:13:09 +02:00
Guillaume Ayoub
64cb7b4104 Handle the bookmarks as a tree 2012-05-17 22:46:03 +02:00
Guillaume Ayoub
111932edf5 Add first-level bookmarks, use floats for XY positions, fix little things 2012-05-15 19:29:54 +02:00
Simon Sapin
1ff949b888 Have the PDF post-process run on Python3 (links are broken) 2012-05-15 13:40:36 +02:00
Guillaume Ayoub
76c15235e6 Replace the PDF class by a function 2012-05-15 03:29:57 +02:00
Guillaume Ayoub
488a6a99c9 Remove the "active" attribute 2012-05-15 01:56:19 +02:00
Guillaume Ayoub
ff8d50ce3e Remove a useless attribute 2012-05-15 01:28:09 +02:00
Guillaume Ayoub
65a286f12f Stupid typo 2012-05-15 01:16:39 +02:00
Guillaume Ayoub
bb2727417f Write the PDF without the second iteration on initial lines 2012-05-15 01:15:07 +02:00
Guillaume Ayoub
34c12fe3ef Remove a useless continue 2012-05-15 00:32:19 +02:00
Guillaume Ayoub
b38ce4f0a3 Clean again the pdf module 2012-05-15 00:30:20 +02:00
Guillaume Ayoub
6848846b8e Add a docstring 2012-05-14 23:59:24 +02:00
Guillaume Ayoub
802a7351d8 Clean and document the pdf module 2012-05-14 23:58:18 +02:00
Guillaume Ayoub
42f2cf4e0e Display correctly unknown links 2012-05-14 23:34:07 +02:00
Guillaume Ayoub
da08226ccd Use bytes in the whole pdf module 2012-05-14 23:24:27 +02:00
Guillaume Ayoub
ba75a84e95 Don't add another sharp for inner links 2012-05-14 23:18:20 +02:00
Guillaume Ayoub
22635c0c71 Initial support of internal links 2012-05-14 19:40:38 +02:00
Guillaume Ayoub
9ea53bf466 Add initial support of external hyperlinks 2012-05-14 18:31:51 +02:00