Skip to content

Conversation

@jrwishart
Copy link
Contributor

@jrwishart jrwishart commented Jan 21, 2026

Reimplements #126 but with two changes.

  1. The footerhtml attribute isn't saved in the same location when a table is subscripted. That is, the table caption is not retained when a table is subscripted.
  2. The footer for a subscribed table is saved in a new attribute called "subscripted.footerhtml". This footer is the same as the original footer but does the same transformation that was implemented in SAQ-2077: Insert subscripted dimnames into footerhtml attribute for improved visibility of table contents when printing #126

…mproved visibility of table contents when printing (#126)

Refactors how QTable names and subscripting are handled, with a focus on improving footer HTML updates when tables are subscripted. The changes
1. Simplify the name attribute handling (name isn't changed) as the subscripting indices are not concatenated to the name attribute.
2. Updates the `footerhtml` attribute by inserting the `dimnames` that are used in the subscript, in the format (name 1, name2). E.g. `table[1:2, 2:3]` may have updated `footerhtml` attribute `A by B (rowname1, rowname2), (colname2, colname3)`.
@jrwishart jrwishart marked this pull request as ready for review January 22, 2026 05:03
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.

2 participants