@univerjs-pro/sheets-print v0.5.0-beta.1 • Docs
Class: SheetPrintManagerService
Implements
Constructors
new SheetPrintManagerService()
new SheetPrintManagerService(
_univerInstanceService,
_sheetsSelectionsSrv,
_sheetPrintInterceptorService,
_renderManagerService): SheetPrintManagerService
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_sheetsSelectionsSrv | SheetsSelectionsService |
_sheetPrintInterceptorService | SheetPrintInterceptorService |
_renderManagerService | IRenderManagerService |
Returns
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:121
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
Returns
Implementation of
ISheetPrintManagerService
.layoutConfig
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:136
layoutInfos
Get Signature
get layoutInfos(): ISheetPrintLayoutInfo[]
Returns
ISheetPrintLayoutInfo
[]
Implementation of
ISheetPrintManagerService
.layoutInfos
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:128
paperMargin
Get Signature
get paperMargin(): IPrintMargin
Returns
Implementation of
ISheetPrintManagerService
.paperMargin
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:155
paperSize
Get Signature
get paperSize(): {
h: number;
w: number;
}
Returns
{
h: number;
w: number;
}
Name | Type | Defined in |
---|---|---|
h | number | packages/sheets-print/src/common/types.ts:42 |
w | number | packages/sheets-print/src/common/types.ts:42 |
Implementation of
ISheetPrintManagerService
.paperSize
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:140
renderConfig
Get Signature
get renderConfig(): ISheetPrintRenderConfig
Returns
Implementation of
ISheetPrintManagerService
.renderConfig
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:132
Methods
reLayout()
reLayout(): void
Returns
void
Implementation of
ISheetPrintManagerService
.reLayout
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:188
replaceLayoutConfig()
replaceLayoutConfig(config): void
Parameters
Parameter | Type |
---|---|
config | ISheetPrintLayoutConfig |
Returns
void
Implementation of
ISheetPrintManagerService
.replaceLayoutConfig
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:169
replaceRenderConfig()
replaceRenderConfig(config): void
Parameters
Parameter | Type |
---|---|
config | ISheetPrintRenderConfig |
Returns
void
Implementation of
ISheetPrintManagerService
.replaceRenderConfig
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:183
reset()
reset(): void
Returns
void
Implementation of
ISheetPrintManagerService
.reset
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:193
updateLayoutConfig()
updateLayoutConfig(config): void
Parameters
Parameter | Type |
---|---|
config | Partial <ISheetPrintLayoutConfig > |
Returns
void
Implementation of
ISheetPrintManagerService
.updateLayoutConfig
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:160
updateRenderConfig()
updateRenderConfig(config): void
Parameters
Parameter | Type |
---|---|
config | Partial <ISheetPrintRenderConfig > |
Returns
void
Implementation of
ISheetPrintManagerService
.updateRenderConfig
Defined in
packages/sheets-print/src/services/sheet-print-manager.service.ts:175