I have the following code which fails at the `.Import` statement:
public
byte
[] PopulateHtmlAndTextBookmarks(
byte
[] input, List<BookmarkInfo> bookmarks)
{
// Get the bytes into the Telerik doc object and load that into an editor
DocxFormatProvider provider =
new
DocxFormatProvider();
RadFlowDocument document = provider.Import(input);
The error is "System.ArgumentNullException: 'Value cannot be null. Parameter name: relationshipId'"
The issue appears to be that I have two images in that file (Open XML relationship IDs "rId7" and "rId8") that point to external URLs. If I change those images to point at files inside the DocX container it works fine.
Does DocxFormatProvider work with external image links?
(I'm using 2018.2.619.40)
PS I've tried to attach the file but it says only .jpg, .jpeg, .gif, .png are allowed