|
I'm puzzled as to how I can take a header(or footer) from a sxw file and then modify it.
I tried:
====
my $style_file="/varsav/office/dictation/templates/oodoc_guide.sxw";
my $doc = ooDocument(file => $style_file, member=>CONTENT);
my $para = $doc->getHeaderParagraph(1,1);
print "$para"; exit;
====
I tried various combinations for the page/number values to getHeaderParagraph without any luck. I tried calling ooDocument with member=>STYLE as well.
[ The motivation for this is to have a standard header that might contain the token 'TOPIC' and then replace it with the actual topic for a particular document. ]
Thanks for any help.
Bob
|