Hi,
first of all thanks for the really nice and usefull library :)
If have some problems with the alignment of text in the footer. I need three columns in the footer so I added a table to the footer.
Within the cells of the table I want to align the text, that the text in the left column is aligned left, the text in the middle column shall be centered and the text in the right column is aligned right.
Alignment works correct for the first two cells but not for the third one. Even if I add a cell after the third one the alignment isn't done correct.
Here if part of my code:
```
$styleFooter1 = array('align'=>'left', 'valign'=>'top');
$styleFooter2 = array('width'=>$f_logo_prescaler*365, 'height'=>$f_logo_prescaler*17,'align'=>'center', 'valign'=>'top');
$styleFooter3 = array('align'=>'right', 'valign'=>'top');
...
$footer = $section->createFooter();
$f_table = $footer->addTable('top');
$f_table->addRow();
...
$f_table->addCell($helper->centimeterSizeToTwips(6))->addText($text, $styleFooter1);
$f_table->addCell($helper->centimeterSizeToTwips(9))->addImage('../logo.jpg', $styleFooter2);
$f_table->addCell($helper->centimeterSizeToTwips(6))->addPreserveText('Seite: {PAGE} von {NUMPAGES}', $styleFooter3);
```
Is anyone else experiencing the same Issue?
Best regards
Florian
first of all thanks for the really nice and usefull library :)
If have some problems with the alignment of text in the footer. I need three columns in the footer so I added a table to the footer.
Within the cells of the table I want to align the text, that the text in the left column is aligned left, the text in the middle column shall be centered and the text in the right column is aligned right.
Alignment works correct for the first two cells but not for the third one. Even if I add a cell after the third one the alignment isn't done correct.
Here if part of my code:
```
$styleFooter1 = array('align'=>'left', 'valign'=>'top');
$styleFooter2 = array('width'=>$f_logo_prescaler*365, 'height'=>$f_logo_prescaler*17,'align'=>'center', 'valign'=>'top');
$styleFooter3 = array('align'=>'right', 'valign'=>'top');
...
$footer = $section->createFooter();
$f_table = $footer->addTable('top');
$f_table->addRow();
...
$f_table->addCell($helper->centimeterSizeToTwips(6))->addText($text, $styleFooter1);
$f_table->addCell($helper->centimeterSizeToTwips(9))->addImage('../logo.jpg', $styleFooter2);
$f_table->addCell($helper->centimeterSizeToTwips(6))->addPreserveText('Seite: {PAGE} von {NUMPAGES}', $styleFooter3);
```
Is anyone else experiencing the same Issue?
Best regards
Florian