How can I insert multiple paragraphs in a ContentControlBuildingBlockGallery?

D

David Thielen

If I take ContentControl.Range.InsertXML() it does fine for 1
paragraph (I am inserting a flat DOCX XML). But for multiple
paragraphs:

1. If the first para is empty, it inserts all the text after the
ContentControl

2. If the first para is not empty, it inserts the first para in the
ContentControl and all subsequent paras after.

How can I insert all of my docx/xml inside the ContentControl?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
D

David Thielen

Figured this one out - needs to be inserted in an empty paragraph.

If I take ContentControl.Range.InsertXML() it does fine for 1
paragraph (I am inserting a flat DOCX XML). But for multiple
paragraphs:

1. If the first para is empty, it inserts all the text after the
ContentControl

2. If the first para is not empty, it inserts the first para in the
ContentControl and all subsequent paras after.

How can I insert all of my docx/xml inside the ContentControl?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top