Package org.apache.fop.layout

Examples of org.apache.fop.layout.ForeignObjectArea


        SVGDocument doc = new SVGDocumentImpl();
        svg.setSVGDocument(doc);
        svg.start();

        /* add the SVG area to the containing area */
        ForeignObjectArea foa = (ForeignObjectArea) area;
        foa.setObject(svg);
        foa.setIntrinsicWidth(svg.getWidth());
        foa.setIntrinsicHeight(svg.getHeight());

        doc.appendChild((SVGSVGElement) createGraphic());

        /* finish off the SVG area */
        svg.end();
View Full Code Here


        SVGDocument doc = new SVGDocumentImpl();
        svg.setSVGDocument(doc);
        svg.start();

        /* add the SVG area to the containing area */
        ForeignObjectArea foa = (ForeignObjectArea) area;
        foa.setObject(svg);
        foa.setIntrinsicWidth(svg.getWidth());
        foa.setIntrinsicHeight(svg.getHeight());

        doc.appendChild((SVGSVGElement) createGraphic());

        /* finish off the SVG area */
        svg.end();
View Full Code Here

TOP

Related Classes of org.apache.fop.layout.ForeignObjectArea

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.