Forum Documentation

Java wrapper

mrossi
Hello,

the Java wrapper exposes a method to pass an InputStream containing the bytes of the XML/HTML and an OutputStream to obtain the bytes of the resulting PDF.

However, there is no parameter for the CSS bytes. Does this mean that one has to embed the CSS in a <style> element within the HTML InputStream?
mikeday
Yes, or in an external style sheet with <link rel="stylesheet"> in HTML, or the addStyleSheet() method in Java.
mrossi
Thanks!