Browse Source

move extensions package to fo.extensions (primarily to show that these classes are only related to the FO Tree itself)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196845 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
William Victor Mote 21 years ago
parent
commit
ad5b4cb8e6

+ 1
- 1
src/java/org/apache/fop/apps/Document.java View File

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;

+ 1
- 1
src/java/org/apache/fop/fo/FOTreeBuilder.java View File

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 =

+ 1
- 1
src/java/org/apache/fop/fo/FOTreeControl.java View File

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;


/** /**

+ 4
- 4
src/java/org/apache/fop/fo/FOTreeVisitor.java View File

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;

src/java/org/apache/fop/extensions/Bookmarks.java → src/java/org/apache/fop/fo/extensions/Bookmarks.java View File

/* /*
* $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.

src/java/org/apache/fop/extensions/ExtensionElementMapping.java → src/java/org/apache/fop/fo/extensions/ExtensionElementMapping.java View File

/* /*
* $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

src/java/org/apache/fop/extensions/ExtensionObj.java → src/java/org/apache/fop/fo/extensions/ExtensionObj.java View File

/* /*
* $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;

src/java/org/apache/fop/extensions/Label.java → src/java/org/apache/fop/fo/extensions/Label.java View File

/* /*
* $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.

src/java/org/apache/fop/extensions/Outline.java → src/java/org/apache/fop/fo/extensions/Outline.java View File

/* /*
* $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.

+ 2
- 1
src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java View File

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

Loading…
Cancel
Save