[
https://issues.apache.org/jira/browse/BATIK-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glenn Adams resolved BATIK-1151.
--------------------------------
Resolution: Won't Fix
Batik doesn't (and won't) accept HTML as input. Only SVG. You need to
decapsulate the SVG from your HTML and feed only the SVG to Batik.
> HTML Content to PDF using batik
> -------------------------------
>
> Key: BATIK-1151
> URL: https://issues.apache.org/jira/browse/BATIK-1151
> Project: Batik
> Issue Type: Wish
> Components: SVG DOM
> Affects Versions: 1.7.1
> Environment: Win 7, 32 bit
> Reporter: Jegan
>
> I am trying to export a html div tag(which has svg as well) to PDF using
> batik. I can achieve to transform just teh svg to PDF. But with div I am
> facing errors. Any suggestions on how to use html content to PDF using batik.
> I referred to this, https://xmlgraphics.apache.org/batik/using/transcoder.html
> SAMPLE HTML which I am trying to use, <div id="toexport"><svg>MY CHART</svg>
> <div>OTHER CONTENTS like LEGENDS</div></div>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]