Open GoogleCodeExporter opened 9 years ago
On reviewing the Sample more closely, the color changes are actually in the
footer ReportDemoApp.AddFancyFooter not in the columnar body. See issue 10.
Original comment by dentaroo@gmail.com
on 29 Mar 2009 at 11:48
This was largely a misunderstanding of the way that textStyle works, which is
unfortunate as it is an easy
mistake and copy from OOFILE.
For any stylable element, textStyle returns the rbrwTextStyle that applies to
it, be it from container or uniquely
specified. To get a style to which you can assign values for just the current
item, you need to use
uniqueTextStyle - using that in ReportDemoApp.AddFancyFooter fixed most of the
problems but, interestingly,
if you run report 7 and then 8 - the "Statement" in 8 is is still drawn in red,
so there's a deeper bug.
Original comment by dentaroo@gmail.com
on 30 Mar 2009 at 2:39
Original issue reported on code.google.com by
dentaroo@gmail.com
on 29 Mar 2009 at 11:45