RTF Library moved from root to render.rtf.rtflib, but kept separate from renderer itself. See: http://marc.theaimsgroup.com/?l=fop-dev&m=106753338719406&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196981 13f79535-47bb-0310-9956-ffa450edef68pull/30/head
<package name="org.apache.fop.viewer"/> | <package name="org.apache.fop.viewer"/> | ||||
</group> | </group> | ||||
<group title="Structural Rendering"> | <group title="Structural Rendering"> | ||||
<package name="org.apache.fop.rtf.renderer"/> | |||||
<package name="org.apache.fop.render.rtf"/> | |||||
<package name="org.apache.fop.render.mif"/> | <package name="org.apache.fop.render.mif"/> | ||||
</group> | </group> | ||||
<group title="Utility"> | <group title="Utility"> | ||||
<package name="org.apache.fop.util"/> | <package name="org.apache.fop.util"/> | ||||
</group> | </group> | ||||
<group title="RTFLib (formerly JFor) Subpackage Candidate"> | <group title="RTFLib (formerly JFor) Subpackage Candidate"> | ||||
<package name="org.apache.fop.rtf.rtflib"/> | |||||
<package name="org.apache.fop.rtf.rtflib.*"/> | |||||
<package name="org.apache.fop.render.rtf.rtflib"/> | |||||
<package name="org.apache.fop.render.rtf.rtflib.*"/> | |||||
</group> | </group> | ||||
</javadoc> | </javadoc> | ||||
</target> | </target> |
import org.apache.fop.fo.FOInputHandler; | import org.apache.fop.fo.FOInputHandler; | ||||
import org.apache.fop.fo.FOTreeHandler; | import org.apache.fop.fo.FOTreeHandler; | ||||
import org.apache.fop.render.mif.MIFHandler; | |||||
import org.apache.fop.render.Renderer; | import org.apache.fop.render.Renderer; | ||||
import org.apache.fop.render.awt.AWTRenderer; | import org.apache.fop.render.awt.AWTRenderer; | ||||
import org.apache.fop.rtf.renderer.RTFHandler; | |||||
import org.apache.fop.render.mif.MIFHandler; | |||||
import org.apache.fop.render.rtf.RTFHandler; | |||||
import org.apache.fop.tools.DocumentInputSource; | import org.apache.fop.tools.DocumentInputSource; | ||||
import org.apache.fop.tools.DocumentReader; | import org.apache.fop.tools.DocumentReader; | ||||
import org.apache.fop.layoutmgr.LayoutManagerLS; | import org.apache.fop.layoutmgr.LayoutManagerLS; |
* 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.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
import java.util.Stack; | import java.util.Stack; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfOptions; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfOptions; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer; | |||||
/** A BuilderContext holds context information when building an RTF document | /** A BuilderContext holds context information when building an RTF document |
* 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.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
import java.util.Map; | import java.util.Map; | ||||
import java.util.HashMap; | import java.util.HashMap; |
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
import org.apache.avalon.framework.logger.Logger; | import org.apache.avalon.framework.logger.Logger; | ||||
import org.apache.avalon.framework.logger.ConsoleLogger; | import org.apache.avalon.framework.logger.ConsoleLogger; | ||||
//FOP | //FOP | ||||
import org.apache.fop.apps.FOPException; | import org.apache.fop.apps.FOPException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfPage; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfPage; | |||||
import org.apache.fop.fo.PropertyList; | import org.apache.fop.fo.PropertyList; | ||||
import org.apache.fop.fo.Property; | import org.apache.fop.fo.Property; | ||||
/* | /* | ||||
* $Id: RTFHandler.java,v 1.4 2003/03/07 09:47:56 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.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
// Java | // Java | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.fo.Property; | import org.apache.fop.fo.Property; | ||||
import org.apache.fop.fo.PropertyList; | import org.apache.fop.fo.PropertyList; | ||||
import org.apache.fop.apps.Document; | import org.apache.fop.apps.Document; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfAfterContainer; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfBeforeContainer; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfPageNumberContainer; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfParagraphContainer; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfTextrunContainer; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAfter; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfBefore; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfColorTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfElement; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfFile; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfFontManager; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTextrun; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.IRtfTableContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfAfterContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfBeforeContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfPageNumberContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfParagraphContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfTextrunContainer; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAfter; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfBefore; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfColorTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFile; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFontManager; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.IRtfTableContainer; | |||||
import org.xml.sax.SAXException; | import org.xml.sax.SAXException; | ||||
/** | /** |
* 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.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
//RTF | //RTF | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.BorderAttributesConverter; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.BorderAttributesConverter; | |||||
//FOP | //FOP | ||||
import org.apache.avalon.framework.logger.Logger; | import org.apache.avalon.framework.logger.Logger; | ||||
import org.apache.fop.fo.NumberProperty; | import org.apache.fop.fo.NumberProperty; | ||||
import org.apache.fop.datatypes.ColorType; | import org.apache.fop.datatypes.ColorType; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.ITableAttributes; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfColorTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.ITableAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfColorTable; | |||||
/** | /** | ||||
* Contributor(s): | * Contributor(s): |
* 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.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
import java.util.ArrayList; | import java.util.ArrayList; | ||||
import org.apache.avalon.framework.logger.ConsoleLogger; | import org.apache.avalon.framework.logger.ConsoleLogger; | ||||
import org.apache.avalon.framework.logger.Logger; | import org.apache.avalon.framework.logger.Logger; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** Used when handling fo:table to hold information to build the table. | /** Used when handling fo:table to hold information to build the table. |
* Software Foundation, please see <http://www.apache.org/>. | * Software Foundation, please see <http://www.apache.org/>. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.renderer; | |||||
package org.apache.fop.render.rtf; | |||||
//XML | //XML | ||||
import org.xml.sax.Attributes; | import org.xml.sax.Attributes; | ||||
import org.apache.fop.datatypes.ColorType; | import org.apache.fop.datatypes.ColorType; | ||||
//RTF | //RTF | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfColorTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfFontManager; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfColorTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFontManager; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfText; | |||||
/** Converts FO properties to RtfAttributes | /** Converts FO properties to RtfAttributes |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.exceptions; | |||||
package org.apache.fop.render.rtf.rtflib.exceptions; | |||||
/** Base class for rtflib exceptions. | /** Base class for rtflib exceptions. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.exceptions; | |||||
package org.apache.fop.render.rtf.rtflib.exceptions; | |||||
/** Thrown when a method call would lead to an invalid RTF document structure. | /** Thrown when a method call would lead to an invalid RTF document structure. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
<HTML> | <HTML> | ||||
<TITLE>org.apache.fop.rtf.rtflib.exceptions</TITLE> | |||||
<TITLE>org.apache.fop.render.rtf.rtflib.exceptions</TITLE> | |||||
<BODY> | <BODY> | ||||
<P>Classes handling specialized exceptions that arise during RTF creation.</P> | <P>Classes handling specialized exceptions that arise during RTF creation.</P> | ||||
</BODY> | </BODY> |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.interfaces; | |||||
package org.apache.fop.render.rtf.rtflib.interfaces; | |||||
/** Used to get information about tables, for example when handling nested tables | /** Used to get information about tables, for example when handling nested tables | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
<HTML> | <HTML> | ||||
<TITLE>org.apache.fop.rtf.rtflib.interfaces</TITLE> | |||||
<TITLE>org.apache.fop.render.rtf.rtflib.interfaces</TITLE> | |||||
<BODY> | <BODY> | ||||
<P>Interfaces used to build RTF documents.</P> | <P>Interfaces used to build RTF documents.</P> | ||||
</BODY> | </BODY> |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
/** Constants for RTF border attribute names, and a static method for converting | /** Constants for RTF border attribute names, and a static method for converting | ||||
* fo attribute strings. */ | * fo attribute strings. */ |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
/** | /** | ||||
* Options for configuring the rtf elements. | * Options for configuring the rtf elements. |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** | /** | ||||
* Interface for RtfElements that can contain RtfTables | * Interface for RtfElements that can contain RtfTables |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.util.List; | import java.util.List; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.exceptions.RtfStructureException; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTextrun; | |||||
import org.apache.fop.render.rtf.rtflib.exceptions.RtfStructureException; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun; | |||||
/** Interface which enables an implementing class to contain linear text runs. | /** Interface which enables an implementing class to contain linear text runs. | ||||
* @author Peter Herweg, pherweg@web.de | * @author Peter Herweg, pherweg@web.de |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
/** | /** | ||||
* Constants for RTF table attribute names | * Constants for RTF table attribute names |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
/** | /** | ||||
* | * |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** Common code for RtfAfter and RtfBefore | /** Common code for RtfAfter and RtfBefore | ||||
* @author Andreas Lambert <andreas.lambert@cronidesoft.com> | * @author Andreas Lambert <andreas.lambert@cronidesoft.com> |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.HashMap; | import java.util.HashMap; | ||||
import java.util.Iterator; | import java.util.Iterator; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.Vector; | import java.util.Vector; | ||||
import java.util.Hashtable; | import java.util.Hashtable; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.util.LinkedList; | import java.util.LinkedList; | ||||
import java.util.List; | import java.util.List; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.exceptions.RtfStructureException; | |||||
import org.apache.fop.render.rtf.rtflib.exceptions.RtfStructureException; | |||||
/** An RtfElement that can contain other elements. | /** An RtfElement that can contain other elements. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
//import org.apache.fop.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
//import org.apache.fop.render.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
/** Base class for all elements of an RTF file. | /** Base class for all elements of an RTF file. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import org.apache.fop.rtf.rtflib.tools.ImageConstants; | |||||
import org.apache.fop.rtf.rtflib.tools.ImageUtil; | |||||
//import org.apache.fop.rtf.rtflib.tools.jpeg.Encoder; | |||||
//import org.apache.fop.rtf.rtflib.tools.jpeg.JPEGException; | |||||
import org.apache.fop.render.rtf.rtflib.tools.ImageConstants; | |||||
import org.apache.fop.render.rtf.rtflib.tools.ImageUtil; | |||||
//import org.apache.fop.render.rtf.rtflib.tools.jpeg.Encoder; | |||||
//import org.apache.fop.render.rtf.rtflib.tools.jpeg.JPEGException; | |||||
import java.io.BufferedInputStream; | import java.io.BufferedInputStream; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.util.LinkedList; | import java.util.LinkedList; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import java.util.Collections; | import java.util.Collections; | ||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** | /** |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import org.apache.fop.rtf.rtflib.exceptions.RtfStructureException; | |||||
import org.apache.fop.render.rtf.rtflib.exceptions.RtfStructureException; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.BufferedWriter; | import java.io.BufferedWriter; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.util.Hashtable; | import java.util.Hashtable; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.Map; | import java.util.Map; | ||||
import java.util.HashMap; | import java.util.HashMap; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
//import org.apache.fop.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
//import org.apache.fop.render.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
/** RTF file header, contains style, font and other document-level information. | /** RTF file header, contains style, font and other document-level information. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.Date; | import java.util.Date; | ||||
import java.util.Random; | import java.util.Random; | ||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
//import org.apache.fop.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
//import org.apache.fop.render.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
/** | /** | ||||
* RtfListTable: used to make the list table in the header section of the RtfFile. | * RtfListTable: used to make the list table in the header section of the RtfFile. |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
/** | /** | ||||
* Simplistic options definitions for RTF generation | * Simplistic options definitions for RTF generation |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.Writer; | import java.io.Writer; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** Models a section in an RTF document | /** Models a section in an RTF document | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.Writer; | import java.io.Writer; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.Map; | import java.util.Map; | ||||
import java.util.HashMap; | import java.util.HashMap; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.Vector; | import java.util.Vector; | ||||
import java.util.Hashtable; | import java.util.Hashtable; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** Container for RtfRow elements | /** Container for RtfRow elements | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** A cell in an RTF table, container for paragraphs, lists, etc. | /** A cell in an RTF table, container for paragraphs, lists, etc. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.Writer; | import java.io.Writer; |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.Writer; | import java.io.Writer; |
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.Writer; | import java.io.Writer; | ||||
import java.util.List; | import java.util.List; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.exceptions.RtfStructureException; | |||||
import org.apache.fop.render.rtf.rtflib.exceptions.RtfStructureException; | |||||
/** Class which contains a linear text run. It has methods to add attributes, text, paragraph breaks.... | /** Class which contains a linear text run. It has methods to add attributes, text, paragraph breaks.... | ||||
* @author Peter Herweg, pherweg@web.de | * @author Peter Herweg, pherweg@web.de |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.rtfdoc; | |||||
package org.apache.fop.render.rtf.rtflib.rtfdoc; | |||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import java.util.StringTokenizer; | import java.util.StringTokenizer; |
<HTML> | <HTML> | ||||
<TITLE>org.apache.fop.rtf.rtflib.rtfdoc</TITLE> | |||||
<TITLE>org.apache.fop.render.rtf.rtflib.rtfdoc</TITLE> | |||||
<BODY> | <BODY> | ||||
<P>Independent subsystem (not specific to FOP) classes that are used to build | <P>Independent subsystem (not specific to FOP) classes that are used to build | ||||
RTF documents.</P> | RTF documents.</P> |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfHyperLink; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHyperLink; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.File; | import java.io.File; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
//import org.apache.fop.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
//import org.apache.fop.render.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
/** Create test RTF documents from classes found in this package. | /** Create test RTF documents from classes found in this package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import org.apache.fop.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
import org.apache.fop.render.rtf.rtflib.interfaces.ITableColumnsInfo; | |||||
/** ITableColumnsInfo that does nothing, used in testodcs package | /** ITableColumnsInfo that does nothing, used in testodcs package | ||||
* to create documents without worrying about nested tables handling. | * to create documents without worrying about nested tables handling. |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfExternalGraphic; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
/** | /** |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfList; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfListItem; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfList; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListItem; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
/** Generates a simple RTF test document for the jfor rtflib package. | /** Generates a simple RTF test document for the jfor rtflib package. | ||||
*/ | */ |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
/** Generates an RTF test document containing merged table cells | /** Generates an RTF test document containing merged table cells | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
/** Generates an RTF document to test nested tables with the jfor rtflib package. | /** Generates an RTF document to test nested tables with the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
/** Generates a simple RTF test document for the jfor rtflib package. | /** Generates a simple RTF test document for the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
/** Generates a simple RTF test document for the jfor rtflib package. | /** Generates a simple RTF test document for the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfList; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfListItem; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfList; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListItem; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
/** Generates a simple RTF test document for the jfor rtflib package. | /** Generates a simple RTF test document for the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTable; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell; | |||||
/** Generates a simple RTF test document for the jfor rtflib package. | /** Generates a simple RTF test document for the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.util.Date; | import java.util.Date; | ||||
import java.io.File; | import java.io.File; | ||||
import java.io.IOException; | import java.io.IOException; | ||||
import java.io.FileWriter; | import java.io.FileWriter; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfFile; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
//import org.apache.fop.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFile; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
//import org.apache.fop.render.rtf.rtflib.jfor.main.JForVersionInfo; | |||||
/** Base class for generating RTF documents used to test the jfor rtflib package. | /** Base class for generating RTF documents used to test the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfText; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes; | |||||
/** Generates a simple RTF test document for the jfor rtflib package. | /** Generates a simple RTF test document for the jfor rtflib package. | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.testdocs; | |||||
package org.apache.fop.render.rtf.rtflib.testdocs; | |||||
import java.io.IOException; | import java.io.IOException; | ||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfDocumentArea; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection; | |||||
import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph; | |||||
/** Generates an RTF document to test the WhitespaceCollapser | /** Generates an RTF document to test the WhitespaceCollapser | ||||
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch | * @author Bertrand Delacretaz bdelacretaz@codeconsult.ch |
<HTML> | <HTML> | ||||
<TITLE>org.apache.fop.rtf.rtflib.testdocs</TITLE> | |||||
<TITLE>org.apache.fop.render.rtf.rtflib.testdocs</TITLE> | |||||
<BODY> | <BODY> | ||||
<P>Classes used to test/demonstrate RTFLib capabilities by generating sample | <P>Classes used to test/demonstrate RTFLib capabilities by generating sample | ||||
RTF documents.</P> | RTF documents.</P> |
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.tools; | |||||
package org.apache.fop.render.rtf.rtflib.tools; | |||||
import java.util.Hashtable; | import java.util.Hashtable; | ||||
* the FOP project. | * the FOP project. | ||||
*/ | */ | ||||
package org.apache.fop.rtf.rtflib.tools; | |||||
package org.apache.fop.render.rtf.rtflib.tools; | |||||
/** Misc.utilities for images handling | /** Misc.utilities for images handling | ||||
* This class belongs to the <fo:external-graphic> tag processing. | * This class belongs to the <fo:external-graphic> tag processing. |
<HTML> | <HTML> | ||||
<TITLE>org.apache.fop.rtf.rtflib.tools</TITLE> | |||||
<TITLE>org.apache.fop.render.rtf.rtflib.tools</TITLE> | |||||
<BODY> | <BODY> | ||||
<P>Utility classes used in RTF file generation.</P> | <P>Utility classes used in RTF file generation.</P> | ||||
</BODY> | </BODY> |
<HTML> | |||||
<TITLE>org.apache.fop.rtf.rtflib</TITLE> | |||||
<BODY> | |||||
<P>Classes used to build RTF documents in a generic way, i.e. they are usable by | |||||
systems other than FOP.</P> | |||||
</BODY> | |||||
</HTML> |