@univerjs/engine-render v0.5.4


Function: mergeInfoOffset()

function mergeInfoOffset(
   mergeInfo, 
   offsetX, 
   offsetY): {
  endAbsoluteRefType: AbsoluteRefType;
  endColumn: number;
  endRow: number;
  endX: number;
  endY: number;
  rangeType: RANGE_TYPE;
  sheetId: string;
  startAbsoluteRefType: AbsoluteRefType;
  startColumn: number;
  startRow: number;
  startX: number;
  startY: number;
  unitId: string;
}

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:637

Parameters

ParameterType
mergeInfoIRangeWithCoord
offsetXnumber
offsetYnumber

Returns

{
  endAbsoluteRefType: AbsoluteRefType;
  endColumn: number;
  endRow: number;
  endX: number;
  endY: number;
  rangeType: RANGE_TYPE;
  sheetId: string;
  startAbsoluteRefType: AbsoluteRefType;
  startColumn: number;
  startRow: number;
  startX: number;
  startY: number;
  unitId: string;
}
NameTypeDescriptionDefined in
endAbsoluteRefType?AbsoluteRefType-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:473
endColumnnumberThe end column (exclusive) of the range endColumnpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:450
endRownumberThe end row (exclusive) of the range endRowpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:436
endXnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:643
endYnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:641
rangeType?RANGE_TYPE-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:469
sheetId?stringId of the Worksheet the range belongs to. When this field is not defined, it should be considered as the range in the currently activated worksheet.packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:422
startAbsoluteRefType?AbsoluteRefType-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:471
startColumnnumberThe start column (inclusive) of the range startColumnpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:444
startRownumberThe start row (inclusive) of the range startRowpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:430
startXnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:642
startYnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:640
unitId?stringId of the Workbook the range belongs to. When this field is not defined, it should be considered as the range in the currently activated worksheet.packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/typedef.ts:416