Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LT-21672: Add Tables to Word Export #14

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

mark-sil
Copy link
Contributor

@mark-sil mark-sil commented Mar 21, 2024

This adds the basic table data, without styling. Styling
will be added in a separate change.
Tables cannot be added to a paragraph, they need to be added
directly to a Body. So, the majority of this change was to
not create paragraphs until the end of the process; when we
are in AddEntryData().
What previously was a single paragraph for
the Entry, could now be multiple paragraphs if there are one or
more tables not at the end of the Entry.


This change is Reviewable

This adds the basic table data, without styling. Styling
will be added in a separate change.
Tables cannot be added to a paragraph, they need to be added
directly to a Body. So, the majority of this change was to
not create paragraphs until the end of the process; when we
are in AddEntryData().
What previously was a single paragraph for
the Entry, could now be multiple paragraphs if there are one or
more tables not at the end of the Entry.

Change-Id: I4923a87c014c2c4f51159d37d22404fceb64e5f9
@mark-sil mark-sil requested a review from aror92 March 21, 2024 21:01
Copy link
Contributor

@aror92 aror92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really nice! Generalizes well to include tables, and the paragraph handling seems flexible too--there may be other situations in future, in addition to table handling, where we'll want to use the forceNewParagraph option in AppendToParagraph.

Copy link
Contributor

@aror92 aror92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @mark-sil)

@aror92 aror92 merged commit 8095b5e into release/9.1 Mar 22, 2024
3 checks passed
@aror92 aror92 deleted the Features/LT-21672 branch March 22, 2024 18:52
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