@univerjs-pro/sheets-print v0.5.4
Class: SheetPrintManagerService
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:84
Implements
Constructors
new SheetPrintManagerService()
new SheetPrintManagerService(
_univerInstanceService,
_sheetsSelectionsSrv,
_sheetPrintInterceptorService,
_renderManagerService): SheetPrintManagerService
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:121
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_sheetsSelectionsSrv | SheetsSelectionsService |
_sheetPrintInterceptorService | SheetPrintInterceptorService |
_renderManagerService | IRenderManagerService |
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
layoutConfig$ | readonly | Observable <ISheetPrintLayoutConfig > | packages/sheets-print/src/services/sheet-print-manager.service.ts:115 |
layoutInfos$ | readonly | Observable <ISheetPrintLayoutInfo []> | packages/sheets-print/src/services/sheet-print-manager.service.ts:119 |
renderConfig$ | readonly | Observable <ISheetPrintRenderConfig > | packages/sheets-print/src/services/sheet-print-manager.service.ts:117 |
Accessors
layoutConfig
Get Signature
get layoutConfig(): ISheetPrintLayoutConfig
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:136
Returns
Implementation of
ISheetPrintManagerService
.layoutConfig
layoutInfos
Get Signature
get layoutInfos(): ISheetPrintLayoutInfo[]
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:128
Returns
ISheetPrintLayoutInfo
[]
Implementation of
ISheetPrintManagerService
.layoutInfos
paperMargin
Get Signature
get paperMargin(): IPrintMargin
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:155
Returns
Implementation of
ISheetPrintManagerService
.paperMargin
paperSize
Get Signature
get paperSize(): {
h: number;
w: number;
}
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:140
Returns
{
h: number;
w: number;
}
Name | Type | Defined in |
---|---|---|
h | number | packages/sheets-print/src/common/types.ts:101 |
w | number | packages/sheets-print/src/common/types.ts:101 |
Implementation of
ISheetPrintManagerService
.paperSize
renderConfig
Get Signature
get renderConfig(): ISheetPrintRenderConfig
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:132
Returns
Implementation of
ISheetPrintManagerService
.renderConfig
Methods
reLayout()
reLayout(): void
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:188
Returns
void
Implementation of
ISheetPrintManagerService
.reLayout
replaceLayoutConfig()
replaceLayoutConfig(config): void
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:169
Parameters
Parameter | Type |
---|---|
config | ISheetPrintLayoutConfig |
Returns
void
Implementation of
ISheetPrintManagerService
.replaceLayoutConfig
replaceRenderConfig()
replaceRenderConfig(config): void
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:183
Parameters
Parameter | Type |
---|---|
config | ISheetPrintRenderConfig |
Returns
void
Implementation of
ISheetPrintManagerService
.replaceRenderConfig
reset()
reset(): void
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:193
Returns
void
Implementation of
ISheetPrintManagerService
.reset
updateLayoutConfig()
updateLayoutConfig(config): void
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:160
Parameters
Parameter | Type |
---|---|
config | Partial <ISheetPrintLayoutConfig > |
Returns
void
Implementation of
ISheetPrintManagerService
.updateLayoutConfig
updateRenderConfig()
updateRenderConfig(config): void
Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:175
Parameters
Parameter | Type |
---|---|
config | Partial <ISheetPrintRenderConfig > |
Returns
void