Completed
Last Updated: 11 Sep 2019 06:17 by ADMIN
Release R3 2019

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.

According to mdn:
The common use of this attribute is to define the type of stylesheet being referenced (such as text/css), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the 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/csshref="main.min.css" />

Unplanned
Last Updated: 28 Aug 2019 17:46 by ADMIN
A paragraph containing multiple Hyperlinks inside Fields with missing End FieldCharacter, leads to OutOfMemoryException: 'Exception of type 'System.OutOfMemoryException' when exporting to PDF.

Workaround: Iterate all FieldCharacter instances and move any End FieldCharacter instance to paragraphs with Start FieldCharacters. See the attached project.
 
Completed
Last Updated: 30 Sep 2019 10:31 by ADMIN
Release 2019.3.930 (09/30/2019)
The exception is caused by the charts import which is not implemented for WordsProcessing but the processing tries to import the charts part and process it.
Unplanned
Last Updated: 10 Oct 2019 14:43 by ADMIN
When a heading element has a CSS class applied to it, the heading styling applied to it is lost and overridden by the CSS style.
Declined
Last Updated: 30 Oct 2019 09:15 by ADMIN
Inserted inline images are not scaled when they are exported using PdfFormatProvider.
Completed
Last Updated: 04 Nov 2019 11:19 by ADMIN
Release LIB 2019.3.1104 (11/04/2019)
When importing a table style, which has the w:link attribute, the style is linked with the style whose ID is the link attribute's value. However, according to the specification, If the parent style is a table style, then the link element shall be ignored. DocxFormatProvider doesn't ignore this case and links the styles which might lead to StackOverflowException during the style property value evaluation.

Workaround: Remove the Linked style from table styles:
foreach (var style in this.document.StyleRepository.Styles)
{
    if (style.StyleType == StyleType.Table)
    {
        if (style.LinkedStyleId != null)
        {
            style.LinkedStyleId = null;
        }
    }
}

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());
        }
    }
}



Unplanned
Last Updated: 21 Jan 2020 10:15 by ADMIN
Importing HTML list containing div element in the list item is leading to additional empty paragraph before the content:
<ul>
	<li>
		<div>Text</div>
	</li>
</ul>


Workaround: Using other Html elements (e.g. <p> or <span>) instead of <div>
Completed
Last Updated: 20 Apr 2022 11:00 by ADMIN
Release R2 2022
The WordsProcessing library doesn't support the import of image alternate attribute ("alt").
Unplanned
Last Updated: 05 Mar 2020 08:27 by ADMIN
Created by: Dimitar
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
Handle import of invalid font sizes.
Unplanned
Last Updated: 09 Mar 2020 09:41 by ADMIN
Created by: Dimitar
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
Add support for document comparison
Unplanned
Last Updated: 11 Mar 2020 17:27 by ADMIN

When nested div elements are imported the WordsProcessing library creates separate paragraph elements for each div. However, if the outer div doesn't contain any inline children preceding the inner div element, the first created paragraph will be removed and only the second paragraph will be left. This leads to losing any style properties of the outer div.

Example:

<div style="margin-top: 50px;">
    <div>Text</div>
</div>
This will produce a paragraph with no style paragraph property applied corresponding to the margin-top style.

Unplanned
Last Updated: 18 Mar 2020 09:06 by ADMIN
Add support for TableStart/TableEnd merge fields
Completed
Last Updated: 13 Apr 2020 12:49 by ADMIN
Release R2 2020
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();
                }

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 

 

 

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.
Declined
Last Updated: 23 Aug 2021 12:00 by ADMIN
Created by: Bermando
Comments: 1
Category: WordsProcessing
Type: Bug Report
0
I am trying to open a docx and send it to a client using DocxFormatProvider. I only use Import and Export methods. Sometimes it works well, but some of docs once get their markup broken when opened on a client. No errors, no messages, no difference which version of word is used.
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: 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;
}