Class ReportDocxExporter
Lowers a paginated report into a Word document.
public static class ReportDocxExporter
- Inheritance
-
ReportDocxExporter
- Inherited Members
Remarks
This is the only place the report world and the document world meet. It is a lowering of
the page model — the same model the PDF and the HTML projection read — and not a second reader: a
report never becomes a WordDocument on the way to being paginated, so the three outputs cannot
paginate differently. The package boundary says so too: DocWright.Dom appears in this assembly
and in no other part of the reporting stack.
Fixed layout is a positioning grid, the shape the reference implementation's Word
renderer produces: one borderless table per page whose rows are the horizontal bands the items fall
into and whose columns come from the items' own edges. A band holds the items that overlap it
vertically; an item that would overlap another one horizontally in the same band starts a new band, so
no cell is ever asked to hold two things. Row heights are AtLeast rather than exact, because an
exact height in Word clips what does not fit, and losing content silently is the one thing an export
may not do.
Methods
- Export(ReportPageModel, FontEngine, Stream, ReportDocxExportOptions?)
Writes a paginated report as a
.docxpackage.
- ToDocument(ReportPageModel, FontEngine)
Builds a Word document from a paginated report.
- ToDocument(ReportPageModel, FontEngine, ReportDocxExportOptions?)
Builds a Word document from a paginated report.