Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1151

HTML Content to PDF using batik

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.7.1
    • None
    • SVG DOM
    • None
    • Win 7, 32 bit

    Description

      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>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sjegan Jegan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment