Anyone written any reports in WPF yet?
It's a bit weird, FlowDocuments take block elements like paragraphs and tables. But don't offer much in the way of "real" pagination capabilities and fixed layout.
Fixed documents don't use block elements. they use UIElements, so no paragraphs/tables etc. The layout can be pretty fixed but in order to get sizes for layout you have to do:
fixedPage.Measure(sz);
fixedPage.Arrange(new Rect(new Point(), sz));
fixedPage.UpdateLayout();
every time you wan to get your size information. (I'm worried it may be slow.)
After about 50 false starts figuring out various ways to do this. I'm creating a fixed XPS document using grids and textblocks.
Was curious if anyone else had tried writing reports in WPF and if they had any luck with it?