页面布局
You can specify formatting by usingMicrosoft®Word,PDF和HTML模板格式化样式。
Classes
Topics
- Create Page Layout Sections
创建报告部分。将单词或PDF报告分为具有不同布局的部分。
- Create Page Footers and Headers
为报告创建页脚和标头。
- 通过编程报告自定义报告的页面和边距
Use Report API objects to customize page dimensions.
- 在单词报告中设置页面边距
Define margins and header, footer, and gutter sizes for a DOCX page.
- 使用模板自定义单词报告的页面大小和边距
Modify the page dimensions in the Word templates for the title page, table of contents, and chapter reporters.
- Set Page Margins in a PDF Report
Define margins and header, footer, and gutter sizes for a PDF page.
- Customize the Page Size and Margins of a PDF Report Using Templates
Modify the page dimensions in the PDF templates for the title page, table of contents, and chapter reporters.
- 标头和页脚的样式板单元
Use style sheet cells to manage headers and footers in reports.
- Create a Report with Landscape Pages
Generate a report that has landscape pages.
- 创建一个带有肖像和景观页面的报告
生成一份既有肖像和景观页面的报告。
- 并排图
在页面上安排Matlab数字彼此相邻。
- 并排图像
Arrange images next to each other on a page.
- Scale Image to Fit Page
Use an
mlreportgen.dom.scaletofit
对象使图像适合页面。 - Center Figure Snapshot on a Page
将图形快照集中在PDF和单词报告的景观页面上。
- Center Image on a Page
Center an image using an invisible 1-by-1 table that has the same size as the page body.
- 在一个PDF报告中心正式的形象
使用与页面主体相同的1 x-1桌子的正式图像。
- Configure PDF Fonts
For PDF output,MATLAB®报告Generator™comes configured with default fonts: a serif, a sans serif, and dingbats.
- Report Formatting Approaches
Format a report by using style sheets, format objects, or format properties.
- 使用样式表格
A style is a collection of formats that define the appearance of a document object, such as a paragraph, table, or list.
- Format Inheritance
DOM API允许您使用基于模板的样式和基于格式的基于对象的样式(或等效格式属性)来指定对象的外观。