/* ============================================================================= * spreadsheet_fill.ts (주인 B) * 채우기 핸들 — 원본 범위를 대상 범위로 늘림: 수 하나 = 복사 · 수 둘 이상 = 등차 연속 · * 글 끝 번호(`구-01` → `구-02`) · 식 = 상대 참조 옮김(A `moveFormula`) · 서식 같이. * 결과는 `{ 종류: "칸" }` 명령에 넣을 칸 뭉치. 0 계약 머리 — 몸은 B 가 채움. * ========================================================================== */ import type { Cell, CellRange, Workbook } from "./spreadsheet_types"; const todo = (): never => { throw new Error("spreadsheet_fill: 아직 없음(B)"); }; /** `target` 은 `source` 를 한 방향으로 늘린 범위(방향은 둘을 견줘 앎) · A1 → 칸(null = 비움) */ export function fillCells( _book: Workbook, _sheet: string, _source: CellRange, _target: CellRange, ): Record { return todo(); }