DocumentBuilder and MergeField

Home Forums WordprocessingML DocumentBuilder and MergeField

This topic contains 1 reply, has 1 voice, and was last updated by  littledaem 8 years, 3 months ago.

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

    littledaem
    Participant

    Hello everyone,

    First, thanks to Eric White and developers for this forum and tools.

    What I am trying to do :
    – Get content from an xml file (OK)
    – Duplicate some parts of a docx template (OK)
    – Update template with content (KO)

    The templated document contains MERGEFIELD. And the content could be an html string.
    When the content is just a simple string, it is easiest to change only the value of the text element. But to insert html element, it’s not easiest.
    Could you give me some tricks to do it?

    Thanks in advance.

    #3598

    littledaem
    Participant

    Solved by creating a specifique recursive method which create the Paragraph element.

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

You must be logged in to reply to this topic.