#docx 4 articles
- A file-size limit doesn't stop a zip bomb — Office extraction needs a decompressed capgotchas / spfxAn upload-size limit only bounds the compressed archive; a crafted !ref still OOMs the tab
- Hand-built .docx / .pptx: the parts Office demands even though they do nothinggotchas / spfxHeader images are referenced from the header's own rels, Content_Types must know the image extension, namespaces are per part, and a .pptx without theme + master + layout is invalid; split parts from zipping so a…
- Uploaded .html grows after you set column values — SharePoint injects mso document properties (and rewrites Office files on upload)gotchas / rest-apiSetting column values rewrites the file; hash read-back fails for markup, holds for PDF; Office packages change on upload itself…
- What each format costs the model: tokens for the same content as .md, .docx, .pdf and a SharePoint pageguidesReal numbers: the same article as .md/.docx/.pdf/a SharePoint page — why extraction, not format, drives the token bill; plus a CZ-vs-EN language tax and a reproducible harness