Pending Review
Last Updated: 10 Dec 2019 14:16 by ADMIN
Created by: Benny
Comments: 1
Category: WordsProcessing
Type: Bug Report
0

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: 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>
Approved
Last Updated: 08 Nov 2019 14:56 by ADMIN
When a PAGE field containing a \* MERGEFORMAT switch it is suspended of getting the real number of a page.
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.
Approved
Last Updated: 25 Oct 2019 15:43 by ADMIN
Empty lists with auto-close tags (i.e. <ol />) break the numbering of the lists declared after them.
Approved
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)));

Approved
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.
Approved
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.
Approved
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.
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" />

Approved
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.
 
Approved
Last Updated: 09 Aug 2019 13:35 by ADMIN
Such tags are not supported in RtfFormatProvider and while skipping them, there might be fields that are not properly imported. This can lead to issues while exporting the document. If the document is re-saved using MS Word, the HTML-related tags are removed and the content can be properly imported with WordsProcessing.
Completed
Last Updated: 07 Aug 2019 13:30 by ADMIN
Release LIB 2019.2.812 (08/12/2019)
According to the HMTL specification, the width and height attributes of an img tag has unsigned long values. When a width or height values with a unit suffix is imported, e.g.: 50%, FormatException: 'Input string was not in a correct format.' is thrown.
Completed
Last Updated: 07 Aug 2019 13:23 by ADMIN
Release LIB 2019.2.812 (08/12/2019)
Created by: Blane Bunderson
Comments: 0
Category: WordsProcessing
Type: Bug Report
1
Hyperlinks created via HtmlFormatProvider are not properly exported to PDF and cannot be clicked.
Completed
Last Updated: 07 Aug 2019 10:57 by ADMIN
Release LIB 2019.2.812 (08/12/2019)
When the document contains an image that is defined as an external resource but is not available in the specified location and cannot be found, a KeyNotFoundException is thrown. Handle this exception and replace the missing image with a default one for such cases. Consider exposing an option to notify the user about this error.
Approved
Last Updated: 07 Aug 2019 08:30 by ADMIN
RtfException "Group level reached negative value" is thrown when a document with an image defined as a resource but not found is imported and then exported to RTF
Approved
Last Updated: 07 Aug 2019 06:41 by ADMIN
When an image is placed in a table row and the document is exported to PDF the image top edge is placed at the center of the table border because the border thickness is not respected.
Completed
Last Updated: 06 Aug 2019 13:26 by ADMIN
Release LIB 2019.2.812 (08/12/2019)
When the imported html contains an attribute of the type width="", Wordsprocessing throws ArgumentException and does not import the document. 
1 2 3 4 5 6