With the current implementation of the RadFlowDocumentEditor`s CharacterFormatting.FontWeight.LocalValue accepts only FontWeights.Bold and FontWeights.Normal and throws an exception when setting different weights (ex. Black, Thin, etc.).
Is there a way to prevent font embedding in the RadFlow methodology or is utilizing RadFixed the only way to have a reasonably sized PDF document?
When a document has a list in it and the element containing it is cloned into another document, there is a key not found exception if you try to export the second document.
RadFlowDocument document = new RadFlowDocument();
if (tableDocument.Sections.First().Blocks.First() is Table workSheetTable)
{
Table clonedTable = workSheetTable.Clone(document);
var newSection = document.Sections.AddSection();
newSection.Blocks.Add(clonedTable);
}
byte[] pdfBytes = pdfProvider.Export(document);
byte[] docBytes = docxProvider.Export(document);
The Spacing Before property of the paragraph at the start of the page should not be respected if it is not the first one inside the current section.
Manually overriding the Spacing Before property would resolve the issue.