Skip to content

feat: parse workbook properties (core + extended) - #2

Draft
Alex-ley-scrub wants to merge 8 commits into
masterfrom
feat/677-workbook-properties
Draft

feat: parse workbook properties (core + extended)#2
Alex-ley-scrub wants to merge 8 commits into
masterfrom
feat/677-workbook-properties

Conversation

@Alex-ley-scrub

Copy link
Copy Markdown
Owner

This is the base PR for a local stacked PR chain in this fork.

Canonical upstream review PR:

This fork-local PR exists so GitHub can model the stacked PR relationship for follow-up work based on feat/677-workbook-properties, such as:

The actual maintainer-facing review remains on the upstream PR linked above.

Alex-ley-scrub and others added 8 commits July 22, 2026 08:45
Adds WorkbookProperties to Metadata, exposing XLSX docProps/core.xml
and docProps/app.xml fields such as creator, last_modified_by,
application, company, etc.

Closes tafia#677
read_workbook's record loop left unmatched workbook-global records
unconsumed, so the next read_type() call would misread the leftover
body as the next record id. Depending on the body size this either
dropped every sheet silently or panicked while decoding BrtBundleSh
from an empty buffer.

Consume the body of any unhandled record via fill_buffer, same as the
other matched arms already do.

Fixes tafia#666
- Close the unclosed delimiter in test_xlsx_workbook_properties_missing.
- Add blank lines between WorkbookProperties fields for readability.
- Rename PropField to DocProperty.
Reuses the existing XLSX property parsers (now pub(crate)) since XLSB
uses the same OPC XML package layout for document properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants