- testtool fixes

- xslfo2pdf php4 Anpassungen
This commit is contained in:
Andreas Österreicher
2007-04-05 13:46:31 +00:00
parent 849ab624aa
commit f8a450fabd
10 changed files with 161 additions and 148 deletions
+3 -3
View File
@@ -24,15 +24,15 @@ http://xslf2pdf.tegonal.com
require_once("fo_svg.php");
class FO_InstreamForeignObject extends FO_Object {
private static $CHILDNODES = array(
static $CHILDNODES = array(
'FO_SVG'
);
public function parse(DOMNode $node) {
function parse(DOMNode $node) {
$this->processChildNodes($node, self::$CHILDNODES);
}
protected function postParse(FO_Object $obj) {
function postParse(FO_Object $obj) {
$this->setLocalContext("width", $obj->getContext("width"));
$this->setLocalContext("height", $this->getContext("height")+
$obj->getContext("height"));