Skip to content

Commit f51ec2d

Browse files
committed
Fixed Slugs.
1 parent d4d7538 commit f51ec2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

knowledge-base/radwordsprocessing-change-bookmark-content-preserve-formatting.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ This article shows how to change the content of an existing [Bookmark]({%slug ra
1919

2020
## Solution
2121

22-
* **Import DOCX**: Use [DocxFormatProvider]({%slug radwordsprocessing-formats-and-conversion-docx-format-provider%}) to read the input DOCX and obtain a [RadFlowDocument]({%slug radwordsprocessing-model-radflowdocument%}).
22+
* **Import DOCX**: Use [DocxFormatProvider]({%slug radwordsprocessing-formats-and-conversion-docx-docxformatprovider%}) to read the input DOCX and obtain a [RadFlowDocument]({%slug radwordsprocessing-model-radflowdocument%}).
2323
* **Initialize editor**: Create a [RadFlowDocumentEditor]({%slug radwordsprocessing-editing-radflowdocumenteditor%}) for cursor movement and editing.
24-
* **Find bookmark**: Enumerate [BookmarkRangeStart]({%slug radwordsprocessing-model-form-bookmarkrangestart%}) elements and select the bookmark by **Name**.
25-
* **Capture formatting**: Get the first [Run]({%slug radwordsprocessing-model-textfragment-run%}) within the bookmark and copy its **CharacterFormatting** properties.
24+
* **Find bookmark**: Enumerate [BookmarkRangeStart]({%slug radwordsprocessing-model-bookmark%}) elements and select the bookmark by **Name**.
25+
* **Capture formatting**: Get the first [Run]({%slug radwordsprocessing-model-run%}) within the bookmark and copy its **CharacterFormatting** properties.
2626
* **Delete original bookmark content**: Delete only the content between the start and end markers while keeping the bookmark structure intact.
2727
* **Position cursor**: Move the editor back to the start of the bookmark to insert new text in place.
2828
* **Copy formatting**: Apply the formatting of the original bookmark content to the editor properties.
2929
* **Insert text**: Add the replacement content.
30-
* **Export DOCX**: Write the updated document using [DocxFormatProvider]({%slug radwordsprocessing-formats-and-conversion-docx-format-provider%}).
30+
* **Export DOCX**: Write the updated document using [DocxFormatProvider]({%slug radwordsprocessing-formats-and-conversion-docx-docxformatprovider%}).
3131

3232
#### [C#] Replace bookmark content but keep formatting
3333

0 commit comments

Comments
 (0)