How do you get elements in a header/footer of a odt doc?
for example I have:
use OpenOffice::OODoc;
my $doc = odfDocument(file => 'whatever.odt');
my $t=0;
while (my $table = $doc->getTable($t))
{
print "Table $t exists\n";
$t++;
}
When I check the tables they are all from the body. I can’t seem to find elements for anything in the header or footer?
I found sample code here which led me to the answer:
The master page style defines the look and feel of the document — think CSS. Apparently ‘Standard’ is the default name for the master page style of a document created by OpenOffice… that was the toughest nut to crack… once I found the example code, that fell out in my lap.