HTML export: place pictures and charts at their anchors

Save as Web Page wrote only the cell table, so pictures and charts on a sheet
were dropped. A sheet that has either now keeps its own geometry and draws them:

- The table gets the sheet's column widths and row heights (`table-layout:fixed`,
  a `<colgroup>`, a height per row); hidden columns and rows take no room and
  merged-cell spans count only visible lines.
- A picture is an `<img>` with a `data:` URI, a chart is inline SVG built from
  the chart crate's drawing primitives (titles, axes, legends and data labels
  included), each absolutely positioned at its anchor cell plus offset.
- Sheets without pictures or charts write byte-identical HTML.

Adds contributors/people.toml entry for bilalmughal.
This commit is contained in:
Mirza Bilal
2026-10-21 01:35:58 +05:00
parent 68e58a2eae
commit feac1679a1
6 changed files with 393 additions and 11 deletions
+3
View File
@@ -68,3 +68,6 @@ sync_github_name = false
[people.Shnrqpdr]
sync_github_name = true
[people.bilalmughal]
sync_github_name = true