This commit is contained in:
Andreas Österreicher
2008-05-13 13:43:52 +00:00
parent c0e8e4ab7a
commit 2b72cf6dd4
5 changed files with 150 additions and 2 deletions
+4 -1
View File
@@ -209,7 +209,10 @@ class FO_ExternalGraphic extends FO_Block
$height = $this->getContext("height");
$x = $this->getContext("posx");
$y = $this->getContext("posy");
if($x=='')
$x = $this->getContext("x")+1;
if($y=='')
$y = $this->getContext("y")+1;
$pdf->Image($src, $x, $y, $width, $height, "jpg","");
}
}
+1 -1
View File
@@ -225,7 +225,7 @@ class MyPdf extends FPDF {
$showLine = substr($line, 0, $noc);
$textWidth = $this->GetStringWidth($showLine);
//echo "showline: $showLine<br>";
// echo "wmax:$nb:$x:$w:$textWidth:$showLine<br>";
//echo "nb:$nb x:$x w:$w textwidth:$textWidth showline:$showLine<br>";
switch ($align)
{
case "R":