Skip to content

doc-codec reads a table with no cell borders at all when the borders are stated at row or table level #945

Description

@Mearman

The sprms that state one border set for a whole row or table and cascade it down to the cells (sprmTTableBorders, sprmTSetShdTable, sprmTCellShdStyle) are not read, so a table formatted the common way converts with zero borders rather than approximated ones. This is a visibly wrong output rather than a subtle fidelity loss, and it affects the most ordinary shape of a Word table. Separately, style-inherited formatting is dropped, so a Heading 1 paragraph reports its styleId but not the boldness or size the style would supply.

Evidence

README: "the sprms that state one border set for a whole row or table and cascade it down to the cells ... are not [read]. ... a table whose borders are stated only that way reads with no cell borders at all rather than with approximated ones"; and "A Heading 1 paragraph reports its styleId and headingLevel but not the boldness or size its style would supply."

Affected packages: doc-codec


Surfaced by a full-repository gap survey (feature/fidelity/write-support gaps), cross-checked against the existing issue history so it does not duplicate prior work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions