The commands that toggle different span styles (bold, italic, underline, strikethrough) stop working after using them several times on different ranges of cells. If a single cell is selected, the span could be properly changed. The issue is reproducible with 2013 Q1 version and newer. It is not observed with version 2012 Q1.
Stretching the text is done by modifying the Scale Property of the Character Spacing properties. In the Office Open XML specification, it is represented by the <w:w w:val="300"/> tag.
When a table is the only content in a document and is copy/pasted, it is inserted in the copied table as nested. The issue is observed only when the table is the only content in the table. It is not observed when an empty paragraph is available before the table or any spacing is inserted after the table. To workaround the issue, the selected table could be deleted before pasting.
ArgumentOutOfRangeException is thrown when replacing all (Replace All button is clicked from the FindReplace dialog) occurrences of given text if the replace text is with smaller length than the searched text. For example if we have the following text written in the RadRichTextBox: "Some Text" and we want to replace all occurrences of "Some Tex" with "AA" (open find and replace dialog and click ReplaceAll button), the exception occurs Workaround: Change the FindReplaceDialog with a custom one (see how in this SDK demo - https://github.com/telerik/xaml-sdk/tree/master/RichTextBox/CustomFindReplaceDialog ). In the new custom dialog, buttonReplaceAll_Click event handler, change the initialization of the 'startFindPosition' variable to be in the body of the while loop. Available in LIB Version 20181.205.
There is no command or API in the editor for deleting paragraph, but there is such for, for example, deleting table.
Currently list styles cannot be removed from the document model.
When exporting to HTML, each two consequent spaces in a run are treated as . However, when a style is applied to one of the spaces, the span is split and the two spaces are not considered as a pair, therefore, the HtmlFormatProvider exports them as normal spaces. When the two spaces are the whole content of a paragraph, this paragraph is not visible when the HTML is visualized in a browser.
Hi Telerik,
We are converting XAML content into PDF file with below code.
private byte[] Xaml2Pdf(string xamlContent)
{
try
{
XamlFormatProvider xamlFormatProvider = new XamlFormatProvider();
PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
PdfExportSettings exportSettings = new PdfExportSettings();
exportSettings.ContentsCompressionMode = PdfContentsCompressionMode.Automatic;
exportSettings.ContentsDeflaterCompressionLevel = 9;
exportSettings.DocumentInfo = new PdfDocumentInfo() { Producer = "ALIS", Author = "ALIS", Creator = "ALIS" };
exportSettings.ImagesCompressionMode = PdfImagesCompressionMode.Automatic;
exportSettings.ImagesDeflaterCompressionLevel = 9;
pdfFormatProvider.ExportSettings = exportSettings;
byte[] content = pdfFormatProvider.Export(xamlFormatProvider.Import(xamlContent));
return content;
}
catch
{
throw;
}
}
When there is applied a local font family, the font family of the theme should be set to none. Otherwise, the font family of the elements that have a local value will be changed. Workaround: Reset the theme font family after import: this.radRichTextBox.Document.Style.SpanProperties.ThemeFontFamily = Telerik.Windows.Documents.Model.Themes.ThemeFontsEnum.none;
When a conditional table style is applied to a table and the document is exported to RTF format, when the exported document is opened in MS Word, the FontWeight and ForeColor properties are not respected. Examples: If Grid Table 4 style from the gallery is applied and the document is exported and opened in MS Word, the FontWeight property is not respected and the text is not bolded. If Grid Table 5 Dark style from the gallery is applied and the document is exported and opened in MS Word, the FontWeight and ForeColor properties are not respected.
Performing Undo of bolded selection when the selection includes two tables separated by a paragraph is nesting the tables which were siblings.
Text in a section before continuous section break is not evenly distributed among columns when Left column type is applied. As a result the first column's height is bigger than the height of the second column.
When one column section is selected, "Line between" and "Equal column width" checkboxes should be disabled.