Package org.axsl.output

Examples of org.axsl.output.Renderer


    public void render(final PageSequence pageSequence) throws FOrayException {
        this.pageSequenceCount ++;
        if (this.outputTarget instanceof Renderer) {
            getLogger().info("Starting layout of page-sequence "
                    + this.pageSequenceCount + ".");
            final Renderer renderer = (Renderer) this.outputTarget;
            final org.axsl.galley.Galley areaTreeR = getRenderedAreaTree();
            renderer.setGalley(areaTreeR);
            final org.axsl.area.PageCollection pageCollection;
            try {
                pageCollection = this.areaTree.makePageCollection(pageSequence);
                this.layout.formatPageSequence(pageCollection);
            } catch (final AreaTreeException e) {
View Full Code Here


    /**
     * {@inheritDoc}
     */
    public void pageComplete(final AreaTreeEvent event) {
        final org.axsl.galley.Page page = event.getPage();
        final Renderer renderer = (Renderer) this.outputTarget;
        try {
            renderer.render(page);
        } catch (final GalleyVisitorException e) {
            this.getLogger().error("Rendering error: " + e.getMessage());
        }
        this.pageCount++;
    }
View Full Code Here

TOP

Related Classes of org.axsl.output.Renderer

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.