git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196917 13f79535-47bb-0310-9956-ffa450edef68tags/Root_Temp_KnuthStylePageBreaking
@@ -53,7 +53,11 @@ package org.apache.fop.fo.flow; | |||
// Java | |||
import java.util.ArrayList; | |||
// XML | |||
import org.xml.sax.Attributes; | |||
// FOP | |||
import org.apache.fop.apps.FOPException; | |||
import org.apache.fop.datatypes.ColorType; | |||
import org.apache.fop.datatypes.LengthRange; | |||
import org.apache.fop.fo.FONode; | |||
@@ -224,5 +228,19 @@ public class Table extends FObj { | |||
fotv.serveTable(this); | |||
} | |||
} | |||
/** | |||
* @see org.apache.fop.fo.FObj#handleAttrs | |||
*/ | |||
public void handleAttrs(Attributes attlist) throws FOPException { | |||
super.handleAttrs(attlist); | |||
setupID(); | |||
getFOTreeControl().getFOInputHandler().startTable(this); | |||
} | |||
protected void end() { | |||
getFOTreeControl().getFOInputHandler().endTable(this); | |||
} | |||
} |
@@ -159,6 +159,8 @@ public class TableCell extends FObj { | |||
public void handleAttrs(Attributes attlist) throws FOPException { | |||
super.handleAttrs(attlist); | |||
doSetup(); // init some basic property values | |||
getFOTreeControl().getFOInputHandler().startCell(this); | |||
} | |||
/** | |||
@@ -386,4 +388,7 @@ public class TableCell extends FObj { | |||
fotv.serveTableCell(this); | |||
} | |||
protected void end() { | |||
getFOTreeControl().getFOInputHandler().endCell(this); | |||
} | |||
} |
@@ -50,7 +50,11 @@ | |||
*/ | |||
package org.apache.fop.fo.flow; | |||
// XML | |||
import org.xml.sax.Attributes; | |||
// FOP | |||
import org.apache.fop.apps.FOPException; | |||
import org.apache.fop.datatypes.ColorType; | |||
import org.apache.fop.datatypes.Length; | |||
import org.apache.fop.fo.FONode; | |||
@@ -168,5 +172,20 @@ public class TableColumn extends FObj { | |||
fotv.serveTableColumn(this); | |||
} | |||
/** | |||
* Overriden from FObj. | |||
* @param attlist Collection of attributes passed to us from the parser. | |||
* @throws FOPException for FO errors | |||
*/ | |||
public void handleAttrs(Attributes attlist) throws FOPException { | |||
super.handleAttrs(attlist); | |||
doSetup(); // init some basic property values | |||
getFOTreeControl().getFOInputHandler().startColumn(this); | |||
} | |||
protected void end() { | |||
getFOTreeControl().getFOInputHandler().endColumn(this); | |||
} | |||
} | |||
@@ -50,7 +50,11 @@ | |||
*/ | |||
package org.apache.fop.fo.flow; | |||
// XML | |||
import org.xml.sax.Attributes; | |||
// FOP | |||
import org.apache.fop.apps.FOPException; | |||
import org.apache.fop.datatypes.ColorType; | |||
import org.apache.fop.datatypes.KeepValue; | |||
import org.apache.fop.fo.FONode; | |||
@@ -162,5 +166,19 @@ public class TableRow extends FObj { | |||
fotv.serveTableRow(this); | |||
} | |||
} | |||
/** | |||
* @see org.apache.fop.fo.FObj#handleAttrs | |||
*/ | |||
public void handleAttrs(Attributes attlist) throws FOPException { | |||
super.handleAttrs(attlist); | |||
setupID(); | |||
getFOTreeControl().getFOInputHandler().startRow(this); | |||
} | |||
protected void end() { | |||
getFOTreeControl().getFOInputHandler().endRow(this); | |||
} | |||
} |