Preserve isolated numbered lists in tables (DocumentBuilder)

Home Forums Open-Xml-PowerTools Preserve isolated numbered lists in tables (DocumentBuilder)

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 4 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7916

    Elena_P
    Participant

    Dear Eric,

    I have encountered a problem with preserving the numbered lists in table after using DocumentBuilder. In my main document I have a table with one column, which contains header rows followed by content rows arranged into a numbered list, like so:
    _________________
    Some Header
    _________________
    1. Item 1
    _________________
    2. Item 2
    _________________
    Some other header
    _________________
    1. Item 1
    ___________
    etc.

    I am using DocumentBuilder to insert parts into my main document, completely elsewhere from the table. Those parts are inserted correctly, but the merge breaks numbered lists in the table. Originally, the numbered lists are isolated within one header and each have unique numId, but after merging the numbering continues throughout the entire table. In the XML I see that the merge has removed all the w:numPr tags except the first one. I want to preserve separate numbering as in the original document.
    My sources are arranged in proper way, the main document with correct formatting is the first on the list. In addition, the parts which I insert have no numbered lists, so formatting conflict is also not the case. Do you have any ideas on how to solve this issue?

    Thank you in advance,
    Elena

    #7918

    Eric White
    Keymaster

    Hi Elena,

    Your issue seems a fairly complex one. It is not entirely clear from your description what the situation is.

    It probably would take a few hours to suss out the issue and solve it. Unfortunately, I’m not in the position to do unpaid work, but if you want to engage me to solve the problem, you can reach out to me at eric@ericwhite.com

    Best regards, Eric

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.