Important differences in relation to the Microsoft DocumentPaginator

This page list the important differences between the SmartPaginator and the Microsoft DocumentPaginator.
  • BreakPageBefore is ignored for Sections - The SmartPaginator ignores the value of the BreakPageBefore property in a Section object. SmartPaginator always adds a page-break when a new section is started.
  • The left margin of ListItems does not depend on the MarkerStyle - As explained here, ListItems rendered by SmartPaginator will have the same left margin independent of the MarkerStyle property.
  • The Microsoft DocumentPaginator doesn't seem to apply the space between paragraphs when inside a table cell - The Microsoft DocumentPaginator will add some space between two paragraphs that are defined directly in the document, but will not do the same inside a table cell. SmartPaginator will add the space between the paragraphs in both cases.
Example of paragraphs rendered by the Microsoft DocumentPaginator:
MSParagraphInsideTable.jpg
Example of paragraphs rendered by Smart Paginator:
SPParagraphInsideTable.jpg
  • The Microsoft DocumentPaginator doesn't seem to apply the cell background if the cell spans multiple pages, but the content inside it doesn't - See the example below. In the example, the cell on the right has its background applied on every page, but the cell on the left only gets the background applied on the first page. Smart Paginator will apply the background on every page in both cases.
Example of cell backgrounds rendered by the Microsoft DocumentPaginator:
MSLongTable.jpg
Example of cell backgrounds rendered by Smart Paginator:
SPLongTable.jpg
  • The Microsoft DocumentPaginator seems to reserve space for the table's bottom border when not needed - See the example below. In the example, the table was given a top and bottom border of 200. Smart Paginator will only reserve the space if the border is being drawn.
Example of table with large borders rendered by the Microsoft DocumentPaginator:
MSTableLargeBorder.jpg
Example of table with large borders rendered by Smart Paginator:
SPTableLargeBorder.jpg

Last edited Jan 2, 2012 at 10:52 PM by fallinor, version 8

Comments

No comments yet.