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

Fix for issue #109 #113

Conversation

larsga
Copy link
Collaborator

@larsga larsga commented Feb 23, 2023

We ensure that empty table cells in the input have at least an empty paragraph in the output.

Note that this PR builds on the "refactor tests" PR, so that needs to be merged first.

@larsga larsga added the bug Something isn't working label Feb 23, 2023
@larsga larsga requested a review from drmacro February 23, 2023 11:27
@larsga
Copy link
Collaborator Author

larsga commented Feb 23, 2023

And I see my commits are now suddenly unverified again. I don't know why, but will fix that.

@drmacro
Copy link
Owner

drmacro commented Mar 12, 2023

I'm going to close this PR because the branch is out of date and we can get the useful stuff from this branch manually or via cherry pick if needed.

We can resolve on the most appropriate code fix once the other PRs have been integrated--ultimately it's a small change to the table handling.

@drmacro drmacro closed this Mar 12, 2023
@larsga
Copy link
Collaborator Author

larsga commented Mar 14, 2023

This branch still has commits that we need to get onto develop, so reopening it.

@larsga larsga reopened this Mar 14, 2023
contrext and others added 15 commits December 29, 2023 10:55
* Fixes drmacro#132: Handle arg-t to set the \t parameter in the toc instruction

* Fixes drmacro#132: Added support for all TOC instruction options

* drmacro#132: Remove unwanted log statements

---------

Co-authored-by: Eliot Kimber <ekimber@contrext.com>
Co-authored-by: Eliot Kimber <ekimber@contrext.com>
* Fixes drmacro#136: Test for external link rId passes

---------

Co-authored-by: Eliot Kimber <ekimber@contrext.com>
* drmacro#87: Properly handle nested tocentry elements
…core pro… (drmacro#142)

* Issue 140: Set up new markup for doc properties, implemented core properties handling
---------

Co-authored-by: eliot.kimber <eliot.kimber@servicenow.com>
Co-authored-by: eliot.kimber <eliot.kimber@servicenow.com>
Co-authored-by: eliot.kimber <eliot.kimber@servicenow.com>
… correctly (drmacro#148)

Co-authored-by: eliot.kimber <eliot.kimber@servicenow.com>
@larsga larsga force-pushed the lmg-fix-issue-109 branch from 51597a1 to 9fd0e7e Compare July 4, 2024 10:33
@larsga
Copy link
Collaborator Author

larsga commented Jul 4, 2024

The fix for issue #134 was basically a fix for the same issue as this PR, but that fix was too simple. It's necessary for table cells to end with a paragraph if Word is to be happy. This PR has two automated tests that verify this, and the code currently in the repo fails those two tests.

I've now merged in all the code from the repo, and then reapplied these fixes on top.

It would be great if we could get this PR merged, because this is a fix we really need in our software. We have been using our own build of Wordinator (which has this fix), but we would very much like to switch to the standard Wordinator. That requires this issue to be fixed, though.

@ekimbernow ekimbernow changed the base branch from develop to feature/Issue-109-nested-table-corrupt-doc August 4, 2024 19:33
@ekimbernow
Copy link
Collaborator

Closing as complete.

I manually copied the code from this PR into the code on the develop branch. New test cases and update empty table cell cases pass, generated Word docs open without error.

@ekimbernow ekimbernow closed this Aug 4, 2024
@larsga
Copy link
Collaborator Author

larsga commented Aug 4, 2024

Thanks for incorporating the fix. I don't really care how it's done, as long as the problems get fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants