Gered
64293ffcac
version 0.1-alpha5
2018-07-03 11:25:45 -04:00
Gered
ce2a7f78fe
fix default base-uri option to point to "resources" dir on classpath
...
this should fix the most common usage scenario where you would probably
like to be able to use e.g. <img> tags to point to image files that
exist locally within your project's "resources" directory somewhere.
the :base-uri option can still be overridden in the call to ->pdf for
the more uncommon scenarios
2018-07-03 11:15:36 -04:00
Gered
01f12c6f2c
bump clojure version ... long overdue. oops
2018-07-03 11:12:19 -04:00
Gered
f849f89b70
version 0.1-alpha4
2018-05-18 10:08:59 -04:00
Gered
dd9cdf8e7f
update README.md with some more examples
2018-05-18 10:08:19 -04:00
Gered
8ae9f65629
fixes to JSoup to W3C document conversion to allow for SVG usage
...
Open HTML to PDF's built-in support for this document tree conversion
breaks SVG support when using the Batik renderer. luckily, more recent
versions of JSoup include their own W3C document tree converter, so we
just use that one instead. and as a bonus, we're no longer using an
ancient version of JSoup.
2018-05-18 09:58:34 -04:00
Gered
8a74ba431f
version 0.1-alpha3
2018-05-16 15:50:42 -04:00
Gered
8f5f41bf13
update to openhtmltopdf 0.0.1-RC13
2018-05-16 15:50:23 -04:00
Gered
82ab388b66
version 0.1-alpha2
2017-08-29 14:59:06 -04:00
Gered
f74f879759
add support for caching xobject images with watermark rendering
2017-08-29 14:38:26 -04:00
Gered
d7526ae11a
little improvements to doc comments
2017-08-29 10:57:23 -04:00
Gered
5c32c3fba1
add more input argument flexibility to embed-image
...
the main benefit here is now being able to accept byte arrays directly
2017-08-29 10:50:25 -04:00
Gered
4d495368f0
reduce some css class duplication
2017-08-29 10:09:22 -04:00
Gered
f94c1fa82b
switch these over to css classes instead of element ids
2017-08-28 12:35:29 -04:00
Gered
ddd31d40fb
Update README.md
2017-08-23 17:35:09 -04:00
Gered
5e4f98db0f
version 0.1-alpha
2017-08-23 16:13:42 -04:00
Gered
fa027d8ee9
update README.md
2017-08-23 16:12:53 -04:00
Gered
afbe8e570b
enable openhtmltopdf SVG support
2017-08-18 09:32:23 -04:00
Gered
7885a2c4a3
rename image embedding helper function
...
i just like this name better. *shrug*
2017-08-18 09:04:36 -04:00
Gered
c4238ecda1
add some doc comments and make certain functions private
2017-08-18 09:00:59 -04:00
Gered
3320a2b305
add helper function for generating inline base64 image strings
2017-08-18 08:11:10 -04:00
Gered
8d1cde6129
fix pdf renderer exceptions being ignore due to the write-pdf! future
2017-08-17 20:05:01 -04:00
Gered
797232f2a6
add object drawer support
2017-08-17 19:46:21 -04:00
Gered
d9e61030e5
comment is not relevant anymore (bug was fixed)
2017-08-17 15:30:31 -04:00
Gered
fb6fcd4edd
bump up openhtmltopdf version
2017-08-17 15:09:40 -04:00
Gered
b83de09f9e
add image watermark rendering support
2017-08-16 19:57:55 -04:00
Gered
37bbe3f398
move watermark functionality to separate namespace
2017-08-16 19:08:18 -04:00
Gered
aa4a9fa302
add configuration-based text watermark support for simpler use-cases
2017-05-05 20:49:21 -04:00
Gered
d883f4fd72
initial watermark support
2017-05-04 21:19:04 -04:00
Gered
ca7bd70959
use entirely custom margin box element id instead of auto-generated one
2017-05-04 08:25:39 -04:00
Gered
66ccd26cb4
add base styles table class for repeated table headers
...
the -fs-table-paginate property has an old and still unfixed bug where
it basically resets/ignores the border-collapse property of the table.
setting border-spacing to 0 is a workaround for this, but it does
result in borders that are a tad bit thicker then they would be if
-fs-table-paginate was not used
2017-05-04 08:13:41 -04:00
Gered
7621ed74f2
add base styles for easily placing page counters at any arbitrary place
2017-05-04 07:49:43 -04:00
Gered
6c8e4c6898
update to openhtmltopdf 0.0.1-RC10
2017-05-04 07:42:53 -04:00
Gered
5275571487
version 0.1-SNAPSHOT
2017-04-02 19:06:45 -04:00
Gered
7038eeb469
update README.md
2017-04-02 19:06:29 -04:00
Gered
71df80e7dd
add support for quickly inserting page numbers into margin-boxes
2017-04-02 18:42:56 -04:00
Gered
48cfa584f5
add options for specifying margin-boxes (headers, footers, etc)
2017-04-02 18:33:49 -04:00
Gered
78cb34ff39
use em units in base css sheet so everything scales with font size
2017-04-02 17:08:29 -04:00
Gered
be6cc84c90
add margin preset keywords for more typical choices
2017-04-02 16:54:33 -04:00
Gered
8623a28514
updates to htmltopdf-base.css
2017-04-02 16:46:27 -04:00
Gered
1157824eba
once again include htmltopdf-base.css when :styles option is truthy
2017-04-02 16:46:08 -04:00
Gered
983753c859
fix css unit tests consistency
...
sort map attribute keys before generating style string so they always
get generated in the same way
2017-04-02 16:09:47 -04:00
Gered
75cf36f0af
add support for setting pdf properties like title, subject, author, etc
2017-04-02 16:02:30 -04:00
Gered
78979fd747
add page margin option support. clean up page option -> css rendering
2017-04-02 15:43:28 -04:00
Gered
823c8f0e7c
improve base css style support / options. add custom font support
2017-04-02 15:16:48 -04:00
Gered
17e8876070
do not output page options <style> tag if explicitly set to nil
2017-04-02 13:21:28 -04:00
Gered
9a1b0d9ed6
add debugging output options
2017-04-02 13:20:24 -04:00
Gered
b7676fcab1
some cleanup/organization
2017-04-02 12:52:01 -04:00
Gered
bcfca8cf38
simplify
2017-04-02 12:25:59 -04:00
Gered
48354a2ce9
render basic page/pdf options as css so they take effect in output pdfs
2017-04-02 12:07:00 -04:00