Completed
Last Updated: 09 Feb 2018 15:20 by ADMIN
ADMIN
Tanya
Created on: 30 Jan 2018 11:24
Category: RichTextBox
Type: Bug Report
0
RichTextBox: RtfFormatProvider: KeyNotFoundException is thrown when exporting document with elements that have style name pointing to non-existing style
When an element refers to a style name of a style that is not present in the document, trying to export it with RtfFormatProvider leads to KeyNotFoundException. A similar document could be produced when copying content from MS Word.

The same case is working properly with the other providers as well as in WordsProcessing (check the related 133762).

Workaround: Check all the styles used in the document and remove the NextStyleName or LinkedStyle values that point to non-existing in the document styles.

Available in LIB Version 2018.1.212.
0 comments