Completed
Last Updated: 05 Feb 2020 09:38 by ADMIN
Release LIB 2020.1.210 (02/10/2020)
When the last run from a paragraph is underlined, the associated bullet has underline applied as well. The same applies for the background color.
Completed
Last Updated: 04 Feb 2020 14:49 by ADMIN
Release LIB 2020.1.210 (02/10/2020)
When importing from HTML, all successive spaces in a spans are trimmed. Instead, in some cases one space should be left, e.g. between words. For example, the importing the following HTML should leave one space after the hyperlink:

<p><a href="www.telerik.com" target="_blank"><span>test</span></a>      and more.</p>

Workaround: After importing, check if the runs after the hyperlinks start with space:
foreach (var hyperlinkEnd in this.document.EnumerateChildrenOfType<FieldCharacter>().Where(f => f.FieldCharacterType == FieldCharacterType.End))
{
    Paragraph currentParagraph = hyperlinkEnd.Paragraph;
    int indexOfNextRun = currentParagraph.Inlines.IndexOf(hyperlinkEnd) + 1;
    if (currentParagraph.Inlines.Count > indexOfNextRun)
    {
        Run run = currentParagraph.Inlines[indexOfNextRun] as Run;
        if (run != null && run.Text[0] != ' ')
        {
            run.Text = " " + run.Text;
        }
    }
}
Completed
Last Updated: 22 Jan 2020 11:54 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
ADMIN
Created by: Deyan
Comments: 0
Category: WordsProcessing
Type: Feature Request
4
Currently Run.Shading is not exported to PDF.

Note: This scenario is common when converting HTML to PDF, as Run.Shading is set when construct like <span style="background-color:#ffcc00;"> is used.

Workaround: Iterate all the Runs in the already imported HTML document and set their HighlightColor to Shading.BackgroundColor.LocalValue. Check this code snippet:
foreach (Run run in document.EnumerateChildrenOfType<Run>())
{
	if (!run.Properties.HighlightColor.HasLocalValue)
	{
		run.HighlightColor = run.Shading.BackgroundColor.LocalValue;
	}
}


Completed
Last Updated: 22 Jan 2020 10:49 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
If HTML document is imported, and it contains image with invalid URL, then the image is imported with this URL in the document model. On subsequent export to Docx, the library tries to download the image data, which throws WebException. Instead, the image should be replaced with generic 'error' image.

Workaround: Manually test the image URL for correctness on HTML import, and replace the data:

        static void Main(string[] args)
        {
            HtmlFormatProvider htmlFormatProvider = new HtmlFormatProvider();
            htmlFormatProvider.ImportSettings.LoadFromUri += (sender, e) =>
            {
                if (!IsValid(e.Uri))
                {
                    e.SetData(File.ReadAllBytes("no-image.png"));
                }
            };
        }

        private static bool IsValid(string uri)
        {
            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadData(uri);
                }
            }
            catch (WebException)
            {
                return false;
            }

            return true;
        }

The same issue appears when exporting to PDF.
Completed
Last Updated: 21 Jan 2020 11:47 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
When a PAGE field containing a \* MERGEFORMAT switch it is suspended of getting the real number of a page.
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>
Unplanned
Last Updated: 30 Dec 2019 07:01 by ADMIN
Currently, ImportSettings allows importing a single stylesheet only. Users should be able to specify and load several external stylesheets.
Unplanned
Last Updated: 23 Dec 2019 10:49 by ADMIN
 When exporting to HTML file, the table width is wrongly evaluated when the table width (in the original document) is set to fixed width.

Workaround: 
IEnumerable<Table> tables = this.document.EnumerateChildrenOfType<Table>();
foreach (Table table in tables)
{
table.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Auto);
}

IEnumerable<Paragraph> paragraphs = this.document.EnumerateChildrenOfType<Paragraph>();
foreach (Paragraph paragraph in paragraphs)
{
paragraph.Spacing.SpacingAfter = 0;
}
Declined
Last Updated: 11 Dec 2019 06:32 by ADMIN
Created by: Benny
Comments: 1
Category: WordsProcessing
Type: Bug Report
2

Special chars (åäö) with PdfFormatProvider wont work.

Project submitted!

    public void SpecialCharsTest()
        {
            RadFlowDocument document = new RadFlowDocument();

            RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);

            editor.InsertText("Before text");
            editor.InsertText("åäö ÅÄÖ ☕"); // This line will not appear in the pdf 
            editor.InsertText("After text");
            using (Stream output = new FileStream("specialCharTest.pdf", FileMode.OpenOrCreate))
            {
                PdfFormatProvider provider = new PdfFormatProvider();
                provider.Export(document, output);
            }
        }

Special characters wont work :-/

Declined
Last Updated: 19 Nov 2019 08:55 by ADMIN

This element serves as a frame and allows the element to be positioned as a floating element. More information about it is available in section 22.9.2.18 ST_XAlign (Horizontal Alignment Location) of Open Office XML.

DECLINED: Duplicate with - Implement support for Text Frame Properties.

Declined
Last Updated: 13 Nov 2019 13:42 by ADMIN
The background color is not respected when it is applied to part of the spans in a paragraph and the document is exported to PDF.

Html code in which the background color property is respected: <span style=""background-color:red;"">test with background</span>
Html code in which the background color property is NOT respected: 
test<span style=""background-color:red;"">test with background</span>
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;
        }
    }
}

Declined
Last Updated: 30 Oct 2019 09:15 by ADMIN
Inserted inline images are not scaled when they are exported using PdfFormatProvider.
Unplanned
Last Updated: 14 Oct 2019 12:35 by ADMIN

When applying a table or table cell border with no thickness specified, the border is exported with a default thickness value of zero. However, by specification, the default value should be 2.

Workaround: Create a border by specifying the thickness value. For example:

table.Borders = new TableBorders(new Border(thickness, BorderStyle.Single, new ThemableColor(Colors.Black)));

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.
Unplanned
Last Updated: 02 Oct 2019 15:44 by ADMIN
When merging two documents each of which has header/footer with InsertDocument, the headers/footers are misplaced in the result document.
Unplanned
Last Updated: 02 Oct 2019 13:25 by ADMIN

In WordsProcessing on import only the lower case CSS attributes are correctly imported. Upper case and mixed case are ignored and the default values are used.

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: 27 Sep 2019 19:11 by ADMIN
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.
Unplanned
Last Updated: 11 Sep 2019 09:02 by ADMIN
Created by: Susan
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
An index lists the terms and topics that are discussed in a document, along with the pages that they appear on.