Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-openxml/python-docx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Contractbook/python-docx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 23, 2024

  1. Convert str -> float before truncating it to int.

    Font sizes can be a float number when the docx document was created in google docs. We can do a bit of a simplification and truncate them to int but the string conversion needs to be to a float.
    bebuk authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    97446b8 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2025

  1. Configuration menu
    Copy the full SHA
    7978738 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2025

  1. Handle edge case in table.py

    There can be a case where the grid_span values don't match exactly with the offsets and an element may span beyond the remaining_offset. Case that prompted this discovery had grid_offset=0 and a single tc element with tc.grid_span=9.
    bebuk authored Mar 20, 2025
    Configuration menu
    Copy the full SHA
    bbdc49d View commit details
    Browse the repository at this point in the history
Loading