// 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;
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);
+ }
+
+}
public void handleAttrs(Attributes attlist) throws FOPException {
super.handleAttrs(attlist);
doSetup(); // init some basic property values
+
+ getFOTreeControl().getFOInputHandler().startCell(this);
}
/**
fotv.serveTableCell(this);
}
+ protected void end() {
+ getFOTreeControl().getFOInputHandler().endCell(this);
+ }
}
*/
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;
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);
+ }
}
*/
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;
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);
+ }
+
+}