1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package cn.iocoder.yudao.module.qcreport.engine;
|
| /**
| * 纸张配置,结构等价于 Schema.page,但不依赖具体接口类型定义。
| * <p>
| * 前端 {@code engine/page.ts} 的 PageSetting 与之一一对应。
| */
| public record PageSetting(String size, String orientation, PageMargin margin) {
|
| /** 未配置任何纸张信息时使用 */
| public static PageSetting defaultSetting() {
| return new PageSetting(null, null, null);
| }
|
| }
|
|