@univerjs-pro/sheets-print v0.5.4
Interface: ISheetPrintLayoutConfig
Defined in: packages/sheets-print/src/common/types.ts:65
Configuration interface for sheet print layout settings
Properties
Property | Type | Description | Defined in |
---|---|---|---|
area | PrintArea | Specifies which area of the sheet to print (e.g., current sheet, selection) | packages/sheets-print/src/common/types.ts:69 |
customScale | number | Custom scale percentage when scale type is custom | packages/sheets-print/src/common/types.ts:89 |
direction | PrintDirection | Page orientation (Portrait or Landscape) | packages/sheets-print/src/common/types.ts:81 |
freeze | PrintFreeze [] | Array of freeze settings for rows and columns | packages/sheets-print/src/common/types.ts:93 |
margin | PrintPaperMargin | Margin preset for the printed page | packages/sheets-print/src/common/types.ts:97 |
maxColumnsEachPage | number | Maximum number of columns to print per page | packages/sheets-print/src/common/types.ts:109 |
maxRowsEachPage | number | Maximum number of rows to print per page | packages/sheets-print/src/common/types.ts:105 |
pageSizeCustom? | { h : number ; w : number ; } | Custom page dimensions when using custom paper size | packages/sheets-print/src/common/types.ts:101 |
pageSizeCustom.h | number | - | packages/sheets-print/src/common/types.ts:101 |
pageSizeCustom.w | number | - | packages/sheets-print/src/common/types.ts:101 |
paperSize | PrintPaperSize | Paper size setting (e.g., A4, Letter) | packages/sheets-print/src/common/types.ts:77 |
scale | PrintScale | Scale type for fitting content to page | packages/sheets-print/src/common/types.ts:85 |
subUnitIds | ( | string | { id : string ; range : IRange ; })[] | List of sub-unit IDs to print, can include specific ranges within units | packages/sheets-print/src/common/types.ts:73 |