Populate Existing Template via Bookmark

Originally Posted 30 November 2016, 2:34 pm EST

  • Originally Posted 30 November 2016, 2:34 pm EST

    I am researching the C1.Word control and hoping to implement the following:
    - 1) Load an existing Word Document containing text, formatting and bookmarks.
    - 2) Insert text to the document at the various predefined bookmark positions.

    I can perform the first task.

    Does the control provide a way to perform the second task?

    Thanks,

  • Reply

    Hello,

    Sorry for such a long delay.
    I have escalated the second requirement to the Development Team and will update you once I have some information from them.

    Hope to get to you soon.

    Regards
    Ruchir Agarwal
  • Reply

    Hello,

    For adding text at Bookmark location, you may traverse C1Word's "MainSection.Content" and check if it is "RtfBookmarkStart" or "RtfBookmarkEnd" and add text accordingly.

    Please refer to the attached demo application for complete implementation.

    Regards
    Ruchir Agarwal
    2017/02/AddTextAtBookmark.zip
  • Marked as Answer

    Reply

    Thanks for the explanation and example.

    Regards
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels