Liking cljdoc? Tell your friends :D

clj-htmltopdf.options


->base-uriclj

(->base-uri options)
source

->page-margin-boxes-declaration-cssclj

(->page-margin-boxes-declaration-css {:keys [margin-box] :as page-options})
source

->page-margin-boxes-running-element-cssclj

(->page-margin-boxes-running-element-css {:keys [margin-box] :as page-options})
source

->page-margin-cssclj

(->page-margin-css {:keys [margin] :as page-options})
source

->page-size-cssclj

(->page-size-css {:keys [size orientation] :as page-options})
source

->uri-resolverclj

(->uri-resolver f)
source

(append-css-link-tag! parent href)
source

append-doc-meta-tags!clj

(append-doc-meta-tags! parent options)
source

append-meta-tag!clj

(append-meta-tag! parent name content)
source

append-style-tag!clj

(append-style-tag! parent css-styles)
source

(append-stylesheet-link-tags! parent stylesheets)
source

build-and-append-base-css-styles!clj

(build-and-append-base-css-styles! parent styles)
source

build-base-css-stylesclj

(build-base-css-styles styles)
source

build-body-css-styleclj

(build-body-css-style styles)
source

build-font-face-stylesclj

(build-font-face-styles styles)
source

default-optionsclj

source

get-final-optionsclj

(get-final-options options)
source

inject-options-into-html!clj

(inject-options-into-html! doc options)
source

page-options->cssclj

(page-options->css page-options)
source

parse-margin-box-paging-contentclj

(parse-margin-box-paging-content paging-content)
source

resolve-uriclj

(resolve-uri base-uri uri)

default URI resolver. if the combination of base-uri + uri is found to be an absolute URI, then that absolute URI is returned. if the uri itself is an absolute URI, then base-uri is not used at all. otherwise, the relative URI (again, the combination of base-uri and uri) is resolved as a resource URL via clojure.java.io/resource.

because java.net.URI defines an 'absolute URI' as a URI that includes a scheme (e.g. http:// or file://), if you want to use an absolute path to a file on disk, you MUST prefix your uri with 'file:' else it will be treated as a relative URI and resolved via clojure.java.io/resource (likely resulting in a nil return)

default URI resolver. if the combination of base-uri + uri is found to be an absolute URI, then that
absolute URI is returned. if the uri itself is an absolute URI, then base-uri is not used at all.
otherwise, the relative URI (again, the combination of base-uri and uri) is resolved as a resource
URL via clojure.java.io/resource.

because java.net.URI defines an 'absolute URI' as a URI that includes a scheme (e.g. http:// or file://),
if you want to use an absolute path to a file on disk, you MUST prefix your uri with 'file:' else it will
be treated as a relative URI and resolved via clojure.java.io/resource (likely resulting in a nil return)
sourceraw docstring

sanitize-margin-box-textclj

(sanitize-margin-box-text s)
source

set-uri-resolver!clj

(set-uri-resolver! builder options)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close