Commit graph

63 commits

Author SHA1 Message Date
Gered 8443c1bac7 update reify based on changes to the FSObjectDrawerFactory interface 2019-09-26 18:28:48 -04:00
Gered b1077911c3
Merge pull request #3 from TomorrowLabs/feature/upgrade-dependencies
Update dependencies to fix vulnerabilities
2019-09-26 18:01:55 -04:00
Jaakko Suutarla 6cd83f24a3
Update dependencies to fix vulnerabilities 2019-09-26 15:00:55 +03:00
Gered 39dfa51a74 version 0.1-alpha6 2018-07-05 12:15:48 -04:00
Gered 1aabe8faa9 update README.md 2018-07-05 12:15:14 -04:00
Gered 8106547c8d fix potential clojure compiler error
if i had a nickel for every time this exact one with clojure.pprint has
tripped me up over the years ...
2018-07-05 11:17:13 -04:00
Gered d0aaef0261 remove unused imports/requires 2018-07-05 11:16:27 -04:00
Gered 3058b01d21 nitpicky tweak to naming 2018-07-05 11:15:52 -04:00
Gered 647990c43a replace broken method of getting base-uri with a custom uri resolver
apparently didn't test that get-base-resource-path-url function nearly
enough... oops.

this new ability to specify a custom uri resolver is much better anyway.
the default resolver (using the resolve-uri function) is geared towards
the common case (or what i assume will be the common case) where you
want to refer to css/image/etc resources located on the classpath (e.g.
under your project's "resources" directory somewhere).
2018-07-05 11:10:38 -04:00
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