Package org.apache.fop.layout

Examples of org.apache.fop.layout.AreaTree


     */
    public void format() throws FOPException {
        FontInfo fontInfo = new FontInfo();
        this.renderer.setupFontInfo(fontInfo);

        this.areaTree = new AreaTree();
        this.areaTree.setFontInfo(fontInfo);

        this.treeBuilder.format(areaTree);
    }
View Full Code Here


     */
    public void doFormat() throws FOPException {
        FontInfo fontInfo = new FontInfo();
        this.renderer.setupFontInfo(fontInfo);

        this.areaTree = new AreaTree();
        this.areaTree.setFontInfo(fontInfo);

        format(areaTree);
    }
View Full Code Here

      are not all valid. In this case we defer
      the rendering until they are all valid.
    */
    public void render(PageSequence pageSequence)
    throws SAXException {
        AreaTree a = new AreaTree(this);
        a.setFontInfo(fontInfo);

        try {
            pageSequence.format(a);
        } catch (FOPException e) {
            throw new SAXException(e);
View Full Code Here

        */
    public void format() throws FOPException {
        FontInfo fontInfo = new FontInfo();
        this.renderer.setupFontInfo(fontInfo);

        this.areaTree = new AreaTree();
        this.areaTree.setFontInfo(fontInfo);

        this.treeBuilder.format(areaTree);
    }
View Full Code Here

      are not all valid. In this case we defer
      the rendering until they are all valid.
    */
    public void render(PageSequence pageSequence)
    throws SAXException {
        AreaTree a = new AreaTree(this);
        a.setFontInfo(fontInfo);

        for(Enumeration e = extensions.elements(); e.hasMoreElements(); ) {
            ExtensionObj ext = (ExtensionObj)e.nextElement();
            try {
                ext.format(a);
View Full Code Here

      are not all valid. In this case we defer
      the rendering until they are all valid.
    */
    public void render(PageSequence pageSequence)
    throws SAXException {
        AreaTree a = new AreaTree(this);
        a.setFontInfo(fontInfo);

        for(int i = 0; i < extensions.size(); i++ ) {
            ExtensionObj ext = (ExtensionObj)extensions.get(i);
            try {
                ext.format(a);
View Full Code Here

                bestMarker.resetMarkerContent();
                return bestMarker.layoutMarker(area);
            }
            // If marker not yet found, and 'retrieve-boundary' permits,
            // search backward.
            AreaTree areaTree = containingPage.getAreaTree();
            if (retrieveBoundary == RetrieveBoundary.PAGE_SEQUENCE) {
                PageSequence pageSequence = areaTree.getCurrentPageSequence();
                if (pageSequence == containingPage.getPageSequence() ) {
                    return layoutBestMarker(areaTree.getCurrentPageSequenceMarkers(),area);
                }
            } else if (retrieveBoundary == RetrieveBoundary.DOCUMENT) {
                return layoutBestMarker(areaTree.getDocumentMarkers(),area);
            } else if (retrieveBoundary != RetrieveBoundary.PAGE) {
                throw new FOPException("Illegal 'retrieve-boundary' value", systemId, line, column);
            }
        } else if (bestMarker != null) {
            return bestMarker.layoutMarker(area);
View Full Code Here

     */
    public synchronized void format() throws FOPException {
        FontInfo fontInfo = new FontInfo();
        _renderer.setupFontInfo(fontInfo);

        _areaTree = new AreaTree();
        _areaTree.setFontInfo(fontInfo);

        _treeBuilder.format(_areaTree);
    }
View Full Code Here

    public void format()
  throws FOPException {
  FontInfo fontInfo = new FontInfo();
  this.renderer.setupFontInfo(fontInfo);

  this.areaTree = new AreaTree();
  this.areaTree.setFontInfo(fontInfo);

  this.treeBuilder.format(areaTree);
    }
View Full Code Here

  public void doFormat()
    throws FOPException {
    FontInfo fontInfo = new FontInfo();
    this.renderer.setupFontInfo(fontInfo);

    this.areaTree = new AreaTree();
    this.areaTree.setFontInfo(fontInfo);

    format(areaTree);
  }
View Full Code Here

TOP

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

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.