git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196845 13f79535-47bb-0310-9956-ffa450edef68pull/30/head
import org.apache.fop.area.AreaTree; | import org.apache.fop.area.AreaTree; | ||||
import org.apache.fop.area.AreaTreeModel; | import org.apache.fop.area.AreaTreeModel; | ||||
import org.apache.fop.extensions.Bookmarks; | |||||
import org.apache.fop.fo.extensions.Bookmarks; | |||||
import org.apache.fop.fo.FOTreeControl; | import org.apache.fop.fo.FOTreeControl; | ||||
import org.apache.fop.fo.FOTreeEvent; | import org.apache.fop.fo.FOTreeEvent; | ||||
import org.apache.fop.fo.FOTreeListener; | import org.apache.fop.fo.FOTreeListener; |
private void setupDefaultMappings() { | private void setupDefaultMappings() { | ||||
addElementMapping("org.apache.fop.fo.FOElementMapping"); | addElementMapping("org.apache.fop.fo.FOElementMapping"); | ||||
addElementMapping("org.apache.fop.svg.SVGElementMapping"); | addElementMapping("org.apache.fop.svg.SVGElementMapping"); | ||||
addElementMapping("org.apache.fop.extensions.ExtensionElementMapping"); | |||||
addElementMapping("org.apache.fop.fo.extensions.ExtensionElementMapping"); | |||||
// add mappings from available services | // add mappings from available services | ||||
Iterator providers = | Iterator providers = |
import java.util.Map; | import java.util.Map; | ||||
// FOP | // FOP | ||||
import org.apache.fop.extensions.Bookmarks; | |||||
import org.apache.fop.fo.extensions.Bookmarks; | |||||
import org.apache.fop.fonts.FontMetrics; | import org.apache.fop.fonts.FontMetrics; | ||||
/** | /** |
import org.apache.fop.fo.pagination.ColorProfile; | import org.apache.fop.fo.pagination.ColorProfile; | ||||
import org.apache.fop.fo.pagination.ConditionalPageMasterReference; | import org.apache.fop.fo.pagination.ConditionalPageMasterReference; | ||||
import org.apache.fop.fo.pagination.Declarations; | import org.apache.fop.fo.pagination.Declarations; | ||||
import org.apache.fop.extensions.ExtensionObj; | |||||
import org.apache.fop.extensions.Bookmarks; | |||||
import org.apache.fop.extensions.Label; | |||||
import org.apache.fop.extensions.Outline; | |||||
import org.apache.fop.fo.extensions.ExtensionObj; | |||||
import org.apache.fop.fo.extensions.Bookmarks; | |||||
import org.apache.fop.fo.extensions.Label; | |||||
import org.apache.fop.fo.extensions.Outline; | |||||
import org.apache.fop.fo.flow.ExternalGraphic; | import org.apache.fop.fo.flow.ExternalGraphic; | ||||
import org.apache.fop.fo.pagination.Flow; | import org.apache.fop.fo.pagination.Flow; | ||||
import org.apache.fop.fo.pagination.StaticContent; | import org.apache.fop.fo.pagination.StaticContent; |
/* | /* | ||||
* $Id: Bookmarks.java,v 1.7 2003/03/05 20:40:18 jeremias Exp $ | |||||
* $Id$ | |||||
* ============================================================================ | * ============================================================================ | ||||
* The Apache Software License, Version 1.1 | * The Apache Software License, Version 1.1 | ||||
* ============================================================================ | * ============================================================================ | ||||
* James Tauber <jtauber@jtauber.com>. For more information on the Apache | * James Tauber <jtauber@jtauber.com>. For more information on the Apache | ||||
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.extensions; | |||||
package org.apache.fop.fo.extensions; | |||||
import org.apache.fop.fo.FONode; | import org.apache.fop.fo.FONode; | ||||
import org.apache.fop.fo.FOTreeVisitor; | import org.apache.fop.fo.FOTreeVisitor; | ||||
import java.util.ArrayList; | import java.util.ArrayList; | ||||
import org.apache.fop.extensions.*; | |||||
/** | /** | ||||
* Bookmarks data is the top level element of the pdf bookmark extension. | * Bookmarks data is the top level element of the pdf bookmark extension. |
/* | /* | ||||
* $Id: ExtensionElementMapping.java,v 1.10 2003/03/05 20:40:18 jeremias Exp $ | |||||
* $Id$ | |||||
* ============================================================================ | * ============================================================================ | ||||
* The Apache Software License, Version 1.1 | * The Apache Software License, Version 1.1 | ||||
* ============================================================================ | * ============================================================================ | ||||
* James Tauber <jtauber@jtauber.com>. For more information on the Apache | * James Tauber <jtauber@jtauber.com>. For more information on the Apache | ||||
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.extensions; | |||||
package org.apache.fop.fo.extensions; | |||||
import org.apache.fop.fo.FONode; | import org.apache.fop.fo.FONode; | ||||
import org.apache.fop.fo.ElementMapping; | import org.apache.fop.fo.ElementMapping; | ||||
import java.util.HashMap; | import java.util.HashMap; | ||||
import org.apache.fop.extensions.*; | |||||
/** | /** | ||||
* Element mapping for the pdf bookmark extension. | * Element mapping for the pdf bookmark extension. | ||||
* This sets up the mapping for the classes that handle the | * This sets up the mapping for the classes that handle the |
/* | /* | ||||
* $Id: ExtensionObj.java,v 1.7 2003/03/05 20:40:18 jeremias Exp $ | |||||
* $Id$ | |||||
* ============================================================================ | * ============================================================================ | ||||
* The Apache Software License, Version 1.1 | * The Apache Software License, Version 1.1 | ||||
* ============================================================================ | * ============================================================================ | ||||
* James Tauber <jtauber@jtauber.com>. For more information on the Apache | * James Tauber <jtauber@jtauber.com>. For more information on the Apache | ||||
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.extensions; | |||||
package org.apache.fop.fo.extensions; | |||||
import org.apache.fop.fo.FONode; | import org.apache.fop.fo.FONode; | ||||
import org.apache.fop.fo.FObj; | import org.apache.fop.fo.FObj; |
/* | /* | ||||
* $Id: Label.java,v 1.7 2003/03/05 20:40:18 jeremias Exp $ | |||||
* $Id$ | |||||
* ============================================================================ | * ============================================================================ | ||||
* The Apache Software License, Version 1.1 | * The Apache Software License, Version 1.1 | ||||
* ============================================================================ | * ============================================================================ | ||||
* James Tauber <jtauber@jtauber.com>. For more information on the Apache | * James Tauber <jtauber@jtauber.com>. For more information on the Apache | ||||
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.extensions; | |||||
package org.apache.fop.fo.extensions; | |||||
import org.apache.fop.fo.FONode; | import org.apache.fop.fo.FONode; | ||||
import org.apache.fop.fo.FOTreeVisitor; | import org.apache.fop.fo.FOTreeVisitor; | ||||
/** | /** | ||||
* Labal for PDF bookmark extension. | * Labal for PDF bookmark extension. | ||||
* This element contains the label for the bookmark object. | * This element contains the label for the bookmark object. |
/* | /* | ||||
* $Id: Outline.java,v 1.10 2003/03/05 20:40:18 jeremias Exp $ | |||||
* $Id$ | |||||
* ============================================================================ | * ============================================================================ | ||||
* The Apache Software License, Version 1.1 | * The Apache Software License, Version 1.1 | ||||
* ============================================================================ | * ============================================================================ | ||||
* James Tauber <jtauber@jtauber.com>. For more information on the Apache | * James Tauber <jtauber@jtauber.com>. For more information on the Apache | ||||
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.extensions; | |||||
package org.apache.fop.fo.extensions; | |||||
import org.apache.fop.fo.FONode; | import org.apache.fop.fo.FONode; | ||||
import org.apache.fop.fo.FOTreeVisitor; | import org.apache.fop.fo.FOTreeVisitor; | ||||
import org.xml.sax.Attributes; | import org.xml.sax.Attributes; | ||||
/** | /** | ||||
* The outline object for the pdf bookmark extension. | * The outline object for the pdf bookmark extension. | ||||
* The outline element contains a label and optionally more outlines. | * The outline element contains a label and optionally more outlines. |
package org.apache.fop.layoutmgr; | package org.apache.fop.layoutmgr; | ||||
import org.apache.fop.area.extensions.BookmarkData; | import org.apache.fop.area.extensions.BookmarkData; | ||||
import org.apache.fop.extensions.Outline; | |||||
import org.apache.fop.fo.extensions.Outline; | |||||
import org.apache.fop.apps.Document; | import org.apache.fop.apps.Document; | ||||
import org.apache.fop.apps.FOPException; | import org.apache.fop.apps.FOPException; | ||||
import org.apache.fop.layout.LayoutStrategy; | import org.apache.fop.layout.LayoutStrategy; | ||||
import org.apache.fop.fo.pagination.PageSequence; | import org.apache.fop.fo.pagination.PageSequence; | ||||
import org.apache.fop.fo.FOTreeHandler; | import org.apache.fop.fo.FOTreeHandler; | ||||
import org.apache.fop.apps.*; | import org.apache.fop.apps.*; | ||||
import org.apache.fop.fo.extensions.*; | |||||
/** | /** | ||||
* The implementation of LayoutStrategy for the "redesign" or second generation | * The implementation of LayoutStrategy for the "redesign" or second generation |