The property controls whether a paragraph should be rendered at least partially on the same page with the following paragraph when the document is shown in page view mode.
The construct <link rel="stylesheet" href="main.min.css" /> doesn't raise the HtmlImportSettings.LoadFromUri event on import, as we currently require type="text\css" to be specified explicitly.
type attribute, but is actually now recommended practice.
Think of improving the message of the exception we throw if no data is loaded.
Workaround: set type explicitly:<link rel="stylesheet" type="text/css" href="main.min.css" />
HtmlFormatProvider does not maintain all the whitespaces on import even though {style="white-space: pre;"} was set.
It should support {style="white-space: pre-wrap;"} as well.
It can eventually be extended to support all the property's values: normal|nowrap|pre|pre-line|pre-wrap|initial|inherit.
private static void SplitDocument(RadFlowDocument sourceDocument, RadFlowDocument targetDocument){ DocumentElementImporter importer = new DocumentElementImporter(targetDocument, sourceDocument, ConflictingStylesResolutionMode.UseTargetStyle); Section section = sourceDocument.EnumerateChildrenOfType<Section>().First(); Section importedSection = importer.Import(section); targetDocument.Sections.Add(importedSection); sourceDocument.Sections.Remove(section);}When the document contains an image that is defined as an external resource but is not available in the specified location and cannot be found, a KeyNotFoundException is thrown. Handle this exception and replace the missing image with a default one for such cases. Consider exposing an option to notify the user about this error.
When the imported html contains an attribute of the type width="", Wordsprocessing throws ArgumentException and does not import the document.
Importing an image from HTML with URI as a source, which has applied only width or height and exporting it to PDF (which forces getting the image data so it can be drawn) leads to an incorrect value of 1 (a default value) for the dimension that is not specified.
When the document contains an image with extension, which is not among the supported ones, a KeyNotFoundException is thrown during Import.
An ArgumentException is thrown when importing HTML containing standard and non-standard pseudo classes or pseudo elements. The concreete scenario is the following: .myclass::-webkit-scrollbar or .myclass::-ms-expand The message of the exception is similar to this: "Unexpected character found at position [X]: ".. scrollbar::>>-<<webkit-scrollbar"".
document.DefaultTabStopWidth = 0.1;Implement support for pictures with references represented with the r:link attribute in the schema.