@univerjssheetsindexfunctionsConvertprimarywithcoordtoprimary

@univerjs/sheets v0.5.0-beta.1Docs


Function: convertPrimaryWithCoordToPrimary()

function convertPrimaryWithCoordToPrimary(primaryWithCoord): {
  actualColumn: number;
  actualRow: number;
  endColumn: number;
  endRow: number;
  isMerged: boolean;
  isMergedMainCell: boolean;
  startColumn: number;
  startRow: number;
}

Parameters

ParameterType
primaryWithCoordICellWithCoord

Returns

{
  actualColumn: number;
  actualRow: number;
  endColumn: number;
  endRow: number;
  isMerged: boolean;
  isMergedMainCell: boolean;
  startColumn: number;
  startRow: number;
}
NameTypeDefined in
actualColumnnumbersubmodules/univer/packages/sheets/src/basics/selection.ts:205
actualRownumbersubmodules/univer/packages/sheets/src/basics/selection.ts:204
endColumnnumbersubmodules/univer/packages/sheets/src/basics/selection.ts:211
endRownumbersubmodules/univer/packages/sheets/src/basics/selection.ts:210
isMergedbooleansubmodules/univer/packages/sheets/src/basics/selection.ts:206
isMergedMainCellbooleansubmodules/univer/packages/sheets/src/basics/selection.ts:207
startColumnnumbersubmodules/univer/packages/sheets/src/basics/selection.ts:209
startRownumbersubmodules/univer/packages/sheets/src/basics/selection.ts:208

Defined in

submodules/univer/packages/sheets/src/basics/selection.ts:200