@univerjssheets-uiindexfunctionsConvertpositionsheetovergridtoabsolute

@univerjs/sheets-ui v0.5.4


Function: convertPositionSheetOverGridToAbsolute()

function convertPositionSheetOverGridToAbsolute(
   unitId, 
   subUnitId, 
   sheetOverGridPosition, 
   sheetSkeletonManagerService): {
  height: number;
  left: number;
  subUnitId: string;
  top: number;
  unitId: string;
  width: number;
}

Defined in: submodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:23

Parameters

ParameterType
unitIdstring
subUnitIdstring
sheetOverGridPositionISheetOverGridPosition
sheetSkeletonManagerServiceSheetSkeletonManagerService

Returns

{
  height: number;
  left: number;
  subUnitId: string;
  top: number;
  unitId: string;
  width: number;
}
NameTypeDefined in
heightnumbersubmodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:73
leftnumbersubmodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:70
subUnitIdstringsubmodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:69
topnumbersubmodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:71
unitIdstringsubmodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:68
widthnumbersubmodules/univer/packages/sheets-ui/src/services/utils/drawing-position-util.ts:72