Completed
Last Updated: 04 Jun 2020 09:42 by ADMIN
Release R2 2020 SP1
KeyNotFoundException is thrown when importing RTF document which has an invalid Font Family name.
Completed
Last Updated: 03 Jun 2020 10:51 by ADMIN
Release R2 2020 SP1

The empty lines are not converted properly from RTF to HTML

Workaround: 

private static void FixEmptyParagraphs(RadFlowDocument document)
{
    var paragraphs = document.EnumerateChildrenOfType<Paragraph>();



    foreach (var paragraph in paragraphs)
    {
        if (paragraph.Inlines.Count < 1)
        {
            char nbsp = (char)160;
            paragraph.Inlines.AddRun(nbsp.ToString());
        }
    }
}



Completed
Last Updated: 02 Jun 2020 14:36 by ADMIN
Release LIB 2020.2.608 (06/08/2020)
The decimal values are exported using the symbol defined in the thread culture. However, they should always use the period as a decimal symbol. The wrong value can lead to wrong resizing of the image inside the exported document.

Workaround: Change the current culture settings of the thread before exporting:
string cultureName = Thread.CurrentThread.CurrentCulture.Name;
CultureInfo cultureInfo= new CultureInfo(cultureName);
if (cultureInfo.NumberFormat.NumberDecimalSeparator != ".")
{
    cultureInfo.NumberFormat.NumberDecimalSeparator = ".";
    Thread.CurrentThread.CurrentCulture = cultureInfo;
}

Duplicated
Last Updated: 28 May 2020 12:15 by ADMIN
Created by: Dimitar
Comments: 0
Category: WordsProcessing
Type: Bug Report
2

Borders are not correctly imported from HTML.

Workaround: Set borders in code:

var tables = document.EnumerateChildrenOfType<Table>();

var border = new Border(1, BorderStyle.Single, new ThemableColor(Colors.Black));

foreach (var table in tables)
{
    table.Borders = new TableBorders(border);

    foreach (var row in table.Rows)
    {
        foreach (var cell in row.Cells)
        {
            cell.Borders = new TableCellBorders(border);
        }
    }
}

Duplicated
Last Updated: 21 May 2020 11:00 by ADMIN
Created by: Martin
Comments: 0
Category: WordsProcessing
Type: Feature Request
1

Revisions in WordprocessingML provide a mechanism for storing information about the evolution of the
document (i.e. the set of modifications made to a document by one or more authors).

Unplanned
Last Updated: 20 May 2020 11:34 by ADMIN
Created by: Martin
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
 

This element specifies that this run contains literal text which shall be displayed in the document. The delText
element shall be used for all text runs which are part of a region of text that is contained in a deleted region
using the del element.

This is the preview (This is deleted text) of the following XML:

<w:p>
	<w:r>
		<w:t xml:space="preserve">This is </w:t>
	</w:r>
	<w:del w:author="Cooper W.">
		<w:r>
			<w:delText>deleted text</w:delText>
		</w:r>
	</w:del>
</w:p>

 

Unplanned
Last Updated: 19 May 2020 12:55 by ADMIN
Created by: Yiannis
Comments: 3
Category: WordsProcessing
Type: Bug Report
0

Dear all,

 

It seems that the RtfFormatProvider generates invalid alternative text in the "{\listtext }" RTF group when saving a RadFlowDocument that contains numbered paragraphs.

The text seems to always be "{N}" when level N of the list is used.

While this is no problem for readers that adhere to the latest RTF standard, RichEdit-based controls and WordPad in Windows 8-10 have issues with it and do not load the list. These versions of RichEdit are otherwise capable of reading list tables.

Please note that I am not talking about loading the document to Windows 7 RichEdit, since that does not support list tables at all (it is stuck to the Word '95 "{\*\pn ...}" format).

I submit a simple list example that can be read by WordPad in Windows 10 and the outcome after loading and saving it back with RtfFormatProvider.

The outcome loads correctly in Word and RadRichtextBox, but not in WordPad. Removing or correcting the "{\listtext ...}" for each paragraph manually makes the list load properly in WordPad.

 

BTW, I strongly disagree with the nonexistent support for the Word '95 RTF numbering format, since it either forces us to use some other product or create our own code to parse and massage the RTF prior to loading into your products.

The problem is great, as many controls/products are still based on the RichEdit control (including some versions of our products).

It is not only old RTF data that needs migration, but pasted content from WordPad or other applications as well, since otherwise numbering is killed, without even displaying any text present in "{\pntext ... }" groups, intended for readers that do not understand "{\*\pn ...}".

Finally, to make things worse, even in Windows 10, RichEdit uses Word '95 format for saving single-level lists (resulting in content with mixed list formats).

 

Anyway, thank you for your time.

Completed
Last Updated: 15 May 2020 08:58 by ADMIN
Release LIB 2020.2.518 (18.05.2020)
The image size of EMF/WMF images is wrongly exported when exporting to PDF.
Unplanned
Last Updated: 06 May 2020 13:50 by ADMIN
Created by: Brett
Comments: 0
Category: WordsProcessing
Type: Feature Request
6

Add support for VML shapes.

Related: Add support for Shape Group.

Shape Group is used to collect shapes and groups so they can be positioned and transformed as a single unit. A group contains group, shapetype, shape, pre-defined shape - arc, curve, image, line, oval, polyline, rect, roundrect - and lock elements.

When the object is serialized out as XML, its qualified name is v:group.

Unplanned
Last Updated: 23 Apr 2020 08:11 by ADMIN
Created by: Dimitar
Comments: 0
Category: WordsProcessing
Type: Bug Report
0

WordsProcessing: Invalid font size when exporting to pdf.

Workaround: 

var runs = document.EnumerateChildrenOfType<Run>();
foreach (var item in runs)
{
     item.FontSize -= 5;
}
Unplanned
Last Updated: 17 Apr 2020 07:44 by ADMIN
Currently, the Float property is not supported and it is skipped on import.
Unplanned
Last Updated: 16 Apr 2020 12:05 by ADMIN
The numbering list level restarted when nesting one-level numberings in a table cell.
Unplanned
Last Updated: 16 Apr 2020 08:15 by ADMIN
Wrong exported paragraph indentation when hanging indent set and the paragraph is in list
Completed
Last Updated: 15 Apr 2020 11:16 by ADMIN
Release R2 2020
HtmlFormatProvider treats <script type="text/javascript"> as document elements and inserts the content (js code) as text in the document.

The issue is observed when CDATA is used as well.
Completed
Last Updated: 15 Apr 2020 11:13 by ADMIN
Release R2 2020
The link element should not have style. HtmlFormatProvider doesn't skip the style but instead tries to evaluate and apply it. As a result, the error is thrown.
Unplanned
Last Updated: 15 Apr 2020 09:52 by ADMIN
Currently, the Multilevel Numbering list is supported but when nesting one-level Numberings this results in wrongly exported to HTML multilevel list. 
Completed
Last Updated: 13 Apr 2020 12:49 by ADMIN
Release R2 2020
Declined
Last Updated: 13 Apr 2020 09:11 by ADMIN
Created by: Deepa
Comments: 1
Category: WordsProcessing
Type: Bug Report
0

We are using the Telerik Xamarin UI components, which were released on 18th March 2020, for one of our micro-services hosted in Azure cloud, to convert rtf text to raw text. Currently we have Linux containers in Azure. The code which we are using is as follows -

var rtfFormatProvider = new RtfFormatProvider();

var txtFormatProvider = new TxtFormatProvider();

RadFlowDocument doc = null;

doc = rtfFormatProvider.Import(<<Base64_Inputstring>>.DecodeFromBase64String());

string result = txtFormatProvider.Export(doc);

However, we observed that the output of the above code is different when run on Windows platform as compared to when run on Linux platform. For Linux, the CR characters are not included in the raw text. We would like to see the same output for Linux as what we get for Windows, that is raw text with the CR characters. Is this something which can be fixed? Can you suggest a work-around for this issue?

I am attaching a sample input along with this mail, as well as the Windows output and the Linux output, for your reference.

Thanks,

Deepa 

 

 

Unplanned
Last Updated: 09 Apr 2020 13:39 by ADMIN

This results in a missing paragraph. For example, having a table with three cells and Page field in the footer of a document and exporting it to PDF, will not export the last paragraph. 

As a workaround add new run after the last field character in the cell's table before exporting the document to PDF.

                BlockCollection footerContent = this.document.Sections.First().Footers.Default.Blocks;
                Table footerTable = footerContent.First() as Table;
                var cells = footerTable.Rows.Last().Cells.Where(x => x.EnumerateChildrenOfType<FieldCharacter>().Any());
                foreach (var cell in cells)
                {
                    cell.Blocks.AddParagraph().Inlines.AddRun();
                }

Unplanned
Last Updated: 31 Mar 2020 16:43 by ADMIN
When the indentation of a paragraph, which is located in a list, is locally set, its indentation is not property exported to RTF.