Main Content

Page Layout

Alignment, margins, page breaks, fonts, headers and footers

You can specify formatting by using Microsoft® Word, PDF, and HTML template formatting styles.

Classes

expand all

mlreportgen.report.ReportLayout Page layout of report
mlreportgen.report.ReporterLayout Layout for reporter
mlreportgen.dom.HAlignSpecify horizontal alignment of document object
mlreportgen.dom.VAlignVertical alignment of document object
mlreportgen.dom.HeightHeight of object
mlreportgen.dom.WidthObject width
mlreportgen.dom.StyleRefPlaceholder for reference to content with specified style name or outline level
mlreportgen.dom.InnerMarginMargin between content and bounding box
mlreportgen.dom.OuterMarginMargin between bounding box and its surroundings
mlreportgen.dom.NumPagesCreate placeholder for number of document pages
mlreportgen.dom.PageMarginsPage margins for Microsoft Word and PDF page layout
mlreportgen.dom.KeepLinesTogetherStart paragraph on new page if necessary
mlreportgen.dom.KeepWithNextKeep paragraph on same page as next
mlreportgen.dom.LineBreakLine break in a Word or PDF report
mlreportgen.dom.PageBreakPage break in a Word or PDF report
mlreportgen.dom.PageBreakBeforeStart paragraph on new page
mlreportgen.dom.WidowOrphanControlWidow and orphan handling
mlreportgen.dom.BackgroundColorBackground color of document element
mlreportgen.dom.CharEntityCreate character entity reference
mlreportgen.dom.FlowDirectionDirection of text or table column flow
mlreportgen.dom.HorizontalRuleHorizontal line between report content
mlreportgen.dom.HyphenationEnable hyphenation
mlreportgen.dom.PageBorderPage borders for Microsoft Word and PDF page layouts
mlreportgen.dom.WatermarkAdd watermark to pages in sections of PDF reports
mlreportgen.dom.WhiteSpaceWhite space type
mlreportgen.dom.DOCXPageLayoutPage format and layout for section of Microsoft Word document
mlreportgen.dom.PDFPageLayoutPage format and layout for section of PDF document
mlreportgen.dom.DOCXPageHeaderPage header definition for Microsoft Word document
mlreportgen.dom.DOCXPageFooterPage footer definition for Microsoft Word document
mlreportgen.dom.PDFPageHeaderPage header definition for PDF document
mlreportgen.dom.PDFPageFooterPage footer definition for PDF document
mlreportgen.dom.PageRawFormatXML markup for array of Microsoft Word formats
mlreportgen.dom.RawTextWord XML or HTML markup to insert in document
mlreportgen.report.HTMLModuleTabsCreate tabbed panels
mlreportgen.dom.PageCreate page number placeholder
mlreportgen.dom.PageSizeSize and orientation of pages in Microsoft Word and PDF reports
mlreportgen.dom.DOCXPageSizeSize and orientation of pages in Microsoft Word document
mlreportgen.dom.NumPagesCreate placeholder for number of document pages
mlreportgen.dom.StyleRefPlaceholder for reference to content with specified style name or outline level
mlreportgen.dom.VerticalAlignVertical alignment of an inline document element
mlreportgen.dom.CSSPropertiesArray of CSS properties for formatting HTML output
mlreportgen.dom.CSSPropertyCSS property object for formatting HTML output
mlreportgen.dom.FOPropertiesArray of FO properties for formatting PDF output
mlreportgen.dom.FOPropertyFO property for PDF output

Topics