Word Numbered List

Home Forums Open-Xml-Sdk Word Numbered List

This topic contains 1 reply, has 2 voices, and was last updated by  Thierry 8 years, 1 month ago.

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

    ajaybabu.maddinani
    Participant

    Hi Eric,
    I am trying to merge two documents.

    1. First document contains Merge Field to replace
    2. Second document contains numbered list

    1. test
    2. test 2
    3. test 3

    When i am trying to add the second document’s paragraph with numbered list to first document,

    number list
    1.
    2.
    3.

    is replacec with

    a.
    b.
    c.

    below is the code used

    //GET THE PARAGRAPHS FROM SECOnd document
    foreach (var para in paragraphs)
    {
    run = new Run();
    var par = (Paragraph)para;
    run.Append(new Text(par.InnerText));
    //table cell is from first document
    tableCell.Append(par.CloneNode(true));
    }

    Appreciate your reply.

    #3859

    Thierry
    Participant

    I have the same problems too.

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

You must be logged in to reply to this topic.