I am having trouble building pages in PDF.

        I create a StreamRenderer with a PDFRenderer and a FileOutputStream.

        I then create an AreaTree with the StreamRenderer.

        I start the rendering process on the StreamRenderer.

        I then loop three times to create three pages with a SVG on each
page.

        In the Loop, I get a SVGDocument.

        Create an SVGArea and set the SVGDocument.

        I then create a PageMaster and make a Page passing the AreaTree.

        I then call 

        Page.getBody().getMainReferenceArea().addChild(SVGArea);

        I then add the Page to the AreaTree.

        After the Loop I call stoprender() on the StreamRenderer.

        This all works fine and creates a PDF file.

        When I try to view the file I get errors like 

                Illegal operation 'q' inside a text object

        What is this ?

        How do you create multiple PDF pages ?

        ??


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to