Results 1 to 4 of 4

Thread: Pdf generate and prview in browser?

  1. #1
    Join Date
    Nov 2007
    Posts
    11

    Default Pdf generate and prview in browser?

    hi,

    i wanna generate a pdf and preview it in the browser?

    I read about the AbstractPdfWriter, but i don't know how to use?

    Thanx for your help

    Tim

  2. #2
    Join Date
    Nov 2005
    Location
    Reutlingen, Germany
    Posts
    2,098

    Default

    From the Javadoc for AbstractPdfView I only get that you have to extend the class and implement buildPdfDocument(..). It's based on iText.

    Joerg
    This post can contain insufficient information.

  3. #3
    Join Date
    Nov 2007
    Posts
    11

    Default

    Hi,

    the problem is, how to extend it?

    Thanx

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Ehrm by simply extending it like any other java class and implement the needed methods....

    Code:
    public class YourPdfView extends AbstractPdfView {}
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •