| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Gentle ping on this. Word docs in the wild do write fractional twips in w:pgMar (LibreOffice does it), and python-docx currently raises on them, so this just rounds instead of rejecting. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Some Word documents store w:pgMar attributes like w:right="0.218505859375", which currently raises ValueError from int() when reading section.right_margin. This mirrors the rounding already done by ST_SignedTwipsMeasure so unsigned twips measures tolerate the same fractional values. Closes #1539