aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-09-16 17:33:07 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-09-16 17:33:07 +0000
commit5fc896f3078a6c27f02bce44b1763c64d4a10729 (patch)
tree5f59ae5931f1abc837e32fbdebf72fcf4e3a16f7
parent1af5e562a64c85c0119dc9019619d5e89f0010ca (diff)
downloadxmlgraphics-fop-5fc896f3078a6c27f02bce44b1763c64d4a10729.tar.gz
xmlgraphics-fop-5fc896f3078a6c27f02bce44b1763c64d4a10729.zip
add structure for handling table columns in fo/FOInputHandler and its subclasses -- submitted by Peter Herweg, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23085
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196916 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fo/FOInputHandler.java13
-rw-r--r--src/java/org/apache/fop/fo/FOTreeHandler.java15
-rw-r--r--src/java/org/apache/fop/mif/MIFHandler.java15
-rw-r--r--src/java/org/apache/fop/rtf/renderer/RTFHandler.java15
4 files changed, 58 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FOInputHandler.java b/src/java/org/apache/fop/fo/FOInputHandler.java
index 679ec3fe8..7a2b1a281 100644
--- a/src/java/org/apache/fop/fo/FOInputHandler.java
+++ b/src/java/org/apache/fop/fo/FOInputHandler.java
@@ -62,6 +62,7 @@ import org.apache.fop.fo.flow.Leader;
import org.apache.fop.fo.flow.ListBlock;
import org.apache.fop.fo.flow.ListItem;
import org.apache.fop.fo.flow.Table;
+import org.apache.fop.fo.flow.TableColumn;
import org.apache.fop.fo.flow.TableBody;
import org.apache.fop.fo.flow.TableCell;
import org.apache.fop.fo.flow.TableRow;
@@ -169,6 +170,18 @@ public abstract class FOInputHandler extends AbstractLogEnabled {
/**
*
+ * @param tc TableColumn that is starting;
+ */
+ public abstract void startColumn(TableColumn tc);
+
+ /**
+ *
+ * @param tc TableColumn that is ending;
+ */
+ public abstract void endColumn(TableColumn tc);
+
+ /**
+ *
* @param th TableBody that is starting;
*/
public abstract void startHeader(TableBody th);
diff --git a/src/java/org/apache/fop/fo/FOTreeHandler.java b/src/java/org/apache/fop/fo/FOTreeHandler.java
index 90fc2278d..a205f263d 100644
--- a/src/java/org/apache/fop/fo/FOTreeHandler.java
+++ b/src/java/org/apache/fop/fo/FOTreeHandler.java
@@ -66,6 +66,7 @@ import org.apache.fop.fo.flow.Leader;
import org.apache.fop.fo.flow.ListBlock;
import org.apache.fop.fo.flow.ListItem;
import org.apache.fop.fo.flow.Table;
+import org.apache.fop.fo.flow.TableColumn;
import org.apache.fop.fo.flow.TableBody;
import org.apache.fop.fo.flow.TableCell;
import org.apache.fop.fo.flow.TableRow;
@@ -250,6 +251,20 @@ public class FOTreeHandler extends FOInputHandler {
}
/**
+ *
+ * @param tc TableColumn that is starting;
+ */
+ public void startColumn(TableColumn tc) {
+ }
+
+ /**
+ *
+ * @param tc TableColumn that is ending;
+ */
+ public void endColumn(TableColumn tc) {
+ }
+
+ /**
* @see org.apache.fop.fo.FOInputHandler#startHeader(TableBody)
*/
public void startHeader(TableBody th) {
diff --git a/src/java/org/apache/fop/mif/MIFHandler.java b/src/java/org/apache/fop/mif/MIFHandler.java
index c1a77b57d..fbb714e63 100644
--- a/src/java/org/apache/fop/mif/MIFHandler.java
+++ b/src/java/org/apache/fop/mif/MIFHandler.java
@@ -73,6 +73,7 @@ import org.apache.fop.fo.flow.Leader;
import org.apache.fop.fo.flow.ListBlock;
import org.apache.fop.fo.flow.ListItem;
import org.apache.fop.fo.flow.Table;
+import org.apache.fop.fo.flow.TableColumn;
import org.apache.fop.fo.flow.TableBody;
import org.apache.fop.fo.flow.TableCell;
import org.apache.fop.fo.flow.TableRow;
@@ -237,6 +238,20 @@ public class MIFHandler extends FOInputHandler {
}
/**
+ *
+ * @param tc TableColumn that is starting;
+ */
+ public void startColumn(TableColumn tc) {
+ }
+
+ /**
+ *
+ * @param tc TableColumn that is ending;
+ */
+ public void endColumn(TableColumn tc) {
+ }
+
+ /**
* @see org.apache.fop.fo.FOInputHandler#startHeader(TableBody)
*/
public void startHeader(TableBody th) {
diff --git a/src/java/org/apache/fop/rtf/renderer/RTFHandler.java b/src/java/org/apache/fop/rtf/renderer/RTFHandler.java
index 54386ca90..2de35ed58 100644
--- a/src/java/org/apache/fop/rtf/renderer/RTFHandler.java
+++ b/src/java/org/apache/fop/rtf/renderer/RTFHandler.java
@@ -66,6 +66,7 @@ import org.apache.fop.fo.flow.Leader;
import org.apache.fop.fo.flow.ListBlock;
import org.apache.fop.fo.flow.ListItem;
import org.apache.fop.fo.flow.Table;
+import org.apache.fop.fo.flow.TableColumn;
import org.apache.fop.fo.flow.TableBody;
import org.apache.fop.fo.flow.TableCell;
import org.apache.fop.fo.flow.TableRow;
@@ -252,6 +253,20 @@ public class RTFHandler extends FOInputHandler {
}
/**
+ *
+ * @param tc TableColumn that is starting;
+ */
+ public void startColumn(TableColumn tc) {
+ }
+
+ /**
+ *
+ * @param tc TableColumn that is ending;
+ */
+ public void endColumn(TableColumn tc) {
+ }
+
+ /**
* @see org.apache.fop.fo.FOInputHandler#startRow(TableRow)
*/
public void startRow(TableRow tr) {