I am using phpword to generate a word file. I am having a problem with the footer. In the footer, I have page numbers and a text Confidential Document. The page numbers have to be aligned left and the Confidential Document has to be aligned right. I tried the below script but both text and page numbers are aligned to left only.

```
$phpword_object = new PHPWord();
$section = $phpword_object->createSection();

$footer = $section->createFooter();
$footer->addPreserveText('Page {PAGE} of {NUMPAGES}.',     
array(
    'align' => 'end',
    'positioning' => 'absolute'
));

$text = 'Confidential Document';

$footer->addPreserveText( $text,
    array(
        'align' => 'start',
        'positioning' => 'absolute'
    ));

```