Subject: | Incorrect output for stylesheet, filetbl, colortbl, listtables, revtbl |
The 'stylesheet' and other prolog options simply output the passed text without outputting the corresponding RTF code (e.g. '{stylesheet ... }').
Please find attached a patch for v1.11 which fixes this issue.
Hope this helps,
Dan Dascalescu
--- D:\Perl\site\lib\RTF\Writer.bak 2005-Jan-04 20:58:20
+++ D:\Perl\site\lib\RTF\Writer.pm 2005-Jan-04 21:19:12
@@ -626,632 +626,632 @@
$$fonts,
map( ref( $h{$_} || '' ) eq 'SCALAR'
- ? ${ $h{$_} } : ( $h{$_} || '' ),
+ ? ${ $h{$_} } : ( $h{$_}? "\n{\\$_\n$h{$_}}\n" : '' ),
qw( filetbl colortbl stylesheet listtables revtbl )
),