I have word document with numbered list.
- Static text 1.
- Bookmarked item.
- Static text 3.
One of those items is bookmarked and I need to replace the bookmark with text that consists of several paragraphs.
When I replace the bookmarked item with text that consists of several paragraphs I get autonumerated items for each paragraph added:
bookmark1.Range.Text = "Replaced P1."+Environment.NewLine
+"Replaced P2."+Environment.NewLine
- Static text 1.
- Replaced P1.
- Replaced P2.
- Static text 3.
How can I skip autonumerating and add all text to single list item?
UPD: Also numbered list style have left align, and each inserted paragraph must have the same left align.
Like this:
__1. Static text 1. more text
more text
__2. Replaced P1.
__Replaced P2. more text
more text
__3. Static text 3.