- 화면 시험 틀 가짜(fakes/) 걷고 진짜 `applyCommand` · `createCalcEngine` · `createHistory` · 주소 · 숫자 형식으로 재시험 - 서식 · 병합 · 탭 이름 바꾸면 다른 시트 참조 식도 옮김 · 안↔안 클립보드 수식 상대 이동을 실제 엔진 계산값으로 확인 - 엑셀(<table> + mso 스타일 · colspan · x:str/x:num · 「수식 표시」) · 구글(google-sheets-html-origin · data-sheets-formula) 클립보드 HTML 견본 추가 · `parseClipboard` 로 붙여넣기 시험 - 이 PC 는 엑셀 앱 없음 · 구글 시트는 로그인 상태로 새 문서까지 열었으나 자동화 창이 OS 포커스를 못 받아(Document is not focused) 실제 클립보드 왕복은 못 함 — 견본 파일 시험으로 갈음 - toolbar · tabs · menu · clipboard 머리 주석에 D(`spreadsheet.ts`) 잇는 자리 설명 추가
40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
<!-- fixture_excel_paste.html — 엑셀이 클립보드에 싣는 실제 HTML 모양 견본(복사 → 붙여넣기 시험용).
|
|
StartFragment/EndFragment 표지 · mso-number-format 스타일 클래스 · x:str/x:num 데이터 형 ·
|
|
colspan(병합) 을 실제 엑셀 내보내기와 같은 짜임으로 재현. E `parseClipboard` 가 값(텍스트) ·
|
|
colspan → 병합만 읽고 mso 서식은 1단계 밖(설계 `9_엑셀검토.md` 3-2 표 참고). -->
|
|
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
<!--table
|
|
{mso-displayed-decimal-separator:"\.";
|
|
mso-displayed-thousand-separator:"\,";}
|
|
.xl65
|
|
{mso-number-format:"0.00";
|
|
text-align:right;}
|
|
.xl66
|
|
{mso-number-format:"General";
|
|
font-weight:700;
|
|
text-align:center;}
|
|
-->
|
|
</style>
|
|
</head>
|
|
<body link="#0563C1" vlink="#954F72">
|
|
<!--StartFragment-->
|
|
<table border=0 cellpadding=0 cellspacing=0 width=192 style='border-collapse:
|
|
collapse;width:144pt'>
|
|
<col width=64 span=3 style='width:48pt'>
|
|
<tr height=20 style='height:15.0pt'>
|
|
<td class=xl66 colspan=2 width=128 style='width:96pt' x:str>측구수로400</td>
|
|
<td class=xl65 width=64 style='width:48pt' x:num>12.50</td>
|
|
</tr>
|
|
<tr height=20 style='height:15.0pt'>
|
|
<td class=xl65 x:num>0.27</td>
|
|
<td x:str>=ROUNDDOWN((G31+J31/2)*P31,2)</td>
|
|
<td x:str>=</td>
|
|
</tr>
|
|
</table>
|
|
<!--EndFragment-->
|
|
</body>
|
|
</html>
|