The ImagesDeflaterCompressionLevel and ContentsDeflaterCompressionLevel in the PdfFormatProvider's export settings have 0 for default value instead of -1. Workaround: Change the settings's properties to -1 explicitly.
<!DOCTYPE html>
<html>
<body>
<div><p>RadDocument</p></div>
<div>Document</div>
</body>
</html>
Dear all,
Exporting partially-selected annotation ranges (annotation markers around selection or only one annotation marker in the selection) with a DocumentFragment from a RadDocument does not seem possible (the DocumentFragment contains none of these annotation ranges).
For example, if I have a document ("[", "]" are the annotation markers):
"Test [annotated]",
select "Test [ann" and create a DocumentFragment, the Document fragment will contain "Test ann" and not "Test [ann]".
PS.: I am not sure if this falls into the feature request or bug report area.
The RtfFormatProvider does not take the fonts from the Font.Manager
Workaround:
Unregister all custom fonts and the use the FontSubstituting event to supply the correct fonts:
private void ImportSettings_FontSubstituting(object sender, Telerik.Windows.Documents.FormatProviders.FontSubstitutingEventArgs e)
{
var fonts = Wpf.Fonts.Fonts.GetAllAvailableFonts();
var ff = fonts.Where(x => x.Source == e.OriginalFontName).FirstOrDefault();
e.SubstitutionFontFamily = ff;
}
After the import is complete you can register the fonts again.
Import the type of the <ul> and <ol> tag, e.g. <ul type="disc"> or <ul type=circle>. Supported values are disc, circle, square.
Select current style (the style in the selection or under the caret) in styles gallery when selection or caret position is changed.
Implement support for content controls (a.k.a. Structured document tags), which will allow inserting editing controls in the document: - Rich Text - Plain Text - Check Box - Combo Box - Drop-down list - Date picker Do not confuse this feature with form fields support (see http://feedback.telerik.com/Project/143/Feedback/Details/146869 ).
Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.
Workaround:
private void RadRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
if (e.Command is PasteCommand)
{
Application.DoEvents();
bool cursorAtDocEnd = this.radRichTextBox.Document.CaretPosition.IsPositionAtDocumentEnd;
if (cursorAtDocEnd)
{
MoveCaretCommand command = new MoveCaretCommand(this.radRichTextBox.RichTextBoxElement);
command.Execute(MoveCaretDirections.Down);
}
}
}
Tab stops with visible tab leader (dot, hyphen, underscore) are not exported to PDF. Steps to reproduce: - Start with empty document - In Paragraph Properties dialog, choose Tabs - In Tab dialog, enter Tab stop position = 2, Leader = underscore, and press Set. Press OK - Add a word, press Tab, add another word - Export the text to PDF Expected: the words are separated with underscores in the exported PDF. Actual: the words are separated with blank space in the exported PDF.
a:hover { color: #3ca9f6 }