I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-09-14 15:41:47-07 by bob
Accessing contents of headers and footers
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
Direct Responses: 989 | 1006 | Write a response