MimeConstants.MIME_RTF_ALT2};\r
\r
\r
- /** @see org.apache.fop.render.AbstractFOEventHandlerMaker */\r
+ /**\r
+ * @see org.apache.fop.render.AbstractFOEventHandlerMaker\r
+ * @param ua FOUserAgent\r
+ * @param out OutputStream\r
+ * @return created RTFHandler\r
+ */\r
public FOEventHandler makeFOEventHandler(FOUserAgent ua, OutputStream out) {\r
return new RTFHandler(ua, out);\r
}\r
\r
- /** @see org.apache.fop.render.AbstractFOEventHandlerMaker#needsOutputStream() */\r
+ /**\r
+ * @see org.apache.fop.render.AbstractFOEventHandlerMaker#needsOutputStream()\r
+ * @return true, if an outputstream is needed\r
+ */\r
public boolean needsOutputStream() {\r
return true;\r
}\r
\r
- /** @see org.apache.fop.render.AbstractFOEventHandlerMaker#getSupportedMimeTypes() */\r
+ /**\r
+ * @see org.apache.fop.render.AbstractFOEventHandlerMaker#getSupportedMimeTypes()\r
+ * @return array of MIME types\r
+ */\r
public String[] getSupportedMimeTypes() {\r
return MIMES;\r
}\r
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
/** Used to get information about tables, for example when handling nested tables
* @author Bertrand Delacretaz bdelacretaz@codeconsult.ch
*/
*
* @return true, if it's the first of multiple spanning columns
*/
- public boolean getFirstSpanningCol();
+ boolean getFirstSpanningCol();
}
\ No newline at end of file
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
/**
*
* This context is used to manage the "keepn" RTF attribute
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.util.HashMap;
import java.util.Iterator;
import org.xml.sax.Attributes;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.util.Vector;
import java.util.Hashtable;
import java.io.IOException;
* @author <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
*/
-public class RtfColorTable {
+public final class RtfColorTable {
//////////////////////////////////////////////////
// @@ Symbolic constants
//////////////////////////////////////////////////
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.util.LinkedList;
import java.util.List;
/**
* Add by Boris Poudérous on 07/22/2002
* Set the children list
- * @param children list of child objects
+ * @param list list of child objects
* @return true if process succeeded
*/
- public boolean setChildren (List children) {
- if (children instanceof LinkedList) {
- this.children = (LinkedList)children;
+ public boolean setChildren (List list) {
+ if (list instanceof LinkedList) {
+ this.children = (LinkedList) list;
return true;
}
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
import java.util.Iterator;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import org.apache.commons.io.IOUtils;
import org.apache.fop.render.rtf.rtflib.tools.ImageConstants;
import org.apache.fop.render.rtf.rtflib.tools.ImageUtil;
* @param imagedata Binary imagedata as read from file.
* @throws IOException On error
*/
- public void setImageData(byte[] imagedata) throws IOException {
- this.imagedata = imagedata;
+ public void setImageData(byte[] data) throws IOException {
+ this.imagedata = data;
}
/**
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
import java.util.List;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import org.apache.fop.render.rtf.rtflib.exceptions.RtfStructureException;
import java.io.Writer;
import java.io.IOException;
* @throws RtfStructureException for illegal RTF structure
*/
public RtfPageArea startPageArea()
- throws IOException, RtfStructureException {
+ throws IOException {
if (pageArea != null) {
throw new RtfStructureException("startPageArea called more than once");
}
* @throws RtfStructureException for illegal RTF structure
*/
public RtfPageArea getPageArea()
- throws IOException, RtfStructureException {
+ throws IOException {
if (pageArea == null) {
return startPageArea();
}
* @throws RtfStructureException for illegal RTF structure
*/
public RtfDocumentArea startDocumentArea()
- throws IOException, RtfStructureException {
+ throws IOException {
if (docArea != null) {
throw new RtfStructureException("startDocumentArea called more than once");
}
* @throws RtfStructureException for illegal RTF structure
*/
public RtfDocumentArea getDocumentArea()
- throws IOException, RtfStructureException {
+ throws IOException {
if (docArea == null) {
return startDocumentArea();
}
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;
* RTF font table
* @author Andreas Putz a.putz@skynamics.com
*/
-public class RtfFontManager {
+public final class RtfFontManager {
//////////////////////////////////////////////////
// @@ Members
//////////////////////////////////////////////////
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
-
import java.io.Writer;
import java.util.Iterator;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
-
import java.io.Writer;
import java.io.IOException;
/* $Id$ */
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
* the FOP project.
*/
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
-
import java.io.Writer;
import java.io.IOException;
closeCurrentBefore();
}
+ /**
+ * Returns the current RtfTextrun.
+ * @return Current RtfTextrun
+ * @throws IOException Thrown when an IO-problem occurs.
+ */
public RtfTextrun getTextrun()
throws IOException {
return RtfTextrun.getTextrun(this, writer, null);