@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

ParameterType
_univerInstanceServiceIUniverInstanceService
_sheetsSelectionsSrvSheetsSelectionsService
_sheetPrintInterceptorServiceSheetPrintInterceptorService
_renderManagerServiceIRenderManagerService

Returns

SheetPrintManagerService

Properties

PropertyModifierTypeDefined in
layoutConfig$readonlyObservable<ISheetPrintLayoutConfig>packages/sheets-print/src/services/sheet-print-manager.service.ts:115
layoutInfos$readonlyObservable<ISheetPrintLayoutInfo[]>packages/sheets-print/src/services/sheet-print-manager.service.ts:119
renderConfig$readonlyObservable<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

ISheetPrintLayoutConfig

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

IPrintMargin

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;
}
NameTypeDefined in
hnumberpackages/sheets-print/src/common/types.ts:101
wnumberpackages/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

ISheetPrintRenderConfig

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

ParameterType
configISheetPrintLayoutConfig

Returns

void

Implementation of

ISheetPrintManagerService.replaceLayoutConfig


replaceRenderConfig()

replaceRenderConfig(config): void

Defined in: packages/sheets-print/src/services/sheet-print-manager.service.ts:183

Parameters

ParameterType
configISheetPrintRenderConfig

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

ParameterType
configPartial<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

ParameterType
configPartial<ISheetPrintRenderConfig>

Returns

void

Implementation of

ISheetPrintManagerService.updateRenderConfig