Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)

In a WPF project targeting .NET 6, the following code snippet results in an error:

        public MainWindow()
        {
            InitializeComponent();

            Telerik.Windows.Documents.Flow.FormatProviders.Html.HtmlFormatProvider provider = new Telerik.Windows.Documents.Flow.FormatProviders.Html.HtmlFormatProvider();
            RadFlowDocument document = provider.Import("<html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>");
        }
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.'

Workaround: edit the .csproj file and include the required package reference:

	<ItemGroup>
		<PackageReference Include="Telerik.Windows.Documents.Flow" Version="2024.2.426" />
		<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
	</ItemGroup>
	<ItemGroup>
		<FunctionsPreservedDependencies Include="System.Text.Encoding.CodePages.dll" />
	</ItemGroup>

 

 
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)

Latest version 2024.2.426:

Old version 2022.3.906:

Use the following code: 

        static void Main(string[] args)
        {
            Console.WriteLine("Test from 2022.3.906 to 2024.2.426.");
            string html = @"<html>
                <head>
                    <style type=""text/css"">
                            h1 {
                               background-color: red;
                              }
                            #highlight1{
                                background-color: blue;
                             }
                           .highlight2{
                                background-color: yellow;
                             }
                     </style>
                </head>
                <body>
                   <h1>H1 - This Works </h1>
                   <h2 id=""highlight1"">H2 with id selector.  This works too.</h2>
                   <h3 class=""highlight2"">H3 with class selector.  This didn't work</h3>
                </body>
                </html>";

            Telerik.Windows.Documents.Flow.FormatProviders.Html.HtmlFormatProvider html_provider = new Telerik.Windows.Documents.Flow.FormatProviders.Html.HtmlFormatProvider();
            RadFlowDocument document = html_provider.Import(html);

            string html_output = "output.html";
            using (Stream output = File.Create(html_output))
            {

                html_provider.Export(document, output);
            }
            Process.Start(new ProcessStartInfo() { FileName = html_output, UseShellExecute = true });
        }
Unplanned
Last Updated: 09 Jul 2024 10:39 by Smiljan

Center alignment is not respected for list numbering.

Expected:

Actual:

Unplanned
Last Updated: 14 Aug 2024 06:43 by Patrick
Created by: Patrick
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
Unplanned
Last Updated: 02 Sep 2024 09:02 by Sergei
Outline level is not respected when creating TOC with custom styles.
Completed
Last Updated: 13 Nov 2024 08:03 by ADMIN
Release 2024.4.1106 (Q4 2024)
When exporting a document containing a table with no cells an exception is thrown: System.InvalidOperationException: 'Sequence contains no elements'
Unplanned
Last Updated: 18 Oct 2024 14:45 by Jose
ArgumentNullException when exporting a specific document with SVG image to PDF.
Unplanned
Last Updated: 06 Nov 2024 07:41 by Mohammad
PdfFormatProvider: The rightmost content of an HTML table is slightly cropped after PDF export.
Unplanned
Last Updated: 27 Nov 2024 14:34 by Robert

(DIPs) is a unit type used in RadWordsProcessing when setting the FontSize of a Run. If you load a document with font size in WordPad set to 20 points and load it to RadFlowDocument, its value is converted by using the following method. If the RTF content stored from WordPad is saved to HTML format with WordPad, the font size is preserved with the same unit: style='font-size:20.0pt;'. We should add the option to control the font size unit when exporting to HTML format.

Unplanned
Last Updated: 23 Dec 2024 11:38 by Xiao
Importing a DOCX file (produced by the WPF RichTextBox) and exporting it to PDF format results in changed font from Arial to Verdana for some parts of the document.
Unplanned
Last Updated: 14 Jan 2025 09:20 by Simone
Import a DOCX file which contains part of the text with simulated bold font. Then, export it to PDF format. 
Unplanned
Last Updated: 14 Jan 2025 11:52 by Simone
Export a DOCX file with a header containing image and multiline text. After exporting it to PDF format, the header text is smashed. 
Unplanned
Last Updated: 14 Jan 2025 12:15 by Simone
			<w:r w:rsidRPr="00CB6D35">
				<w:rPr>
					<w:rFonts w:ascii="Calibri Light" w:hAnsi="Calibri Light"/>
					<w:b/>
					<w:u w:val="double"/>
				</w:rPr>
				<w:t>DETTAGLIO SINISTRO</w:t>
			</w:r>

Unplanned
Last Updated: 17 Jan 2025 11:42 by Simone

When you have indented and justified text, it is wrongly exported to PDF:

			<w:pPr>
				<w:spacing w:after="0" w:line="360" w:lineRule="auto"/>
				<w:ind w:left="567" w:right="567" w:firstLine="708"/>
				<w:jc w:val="both"/>
				<w:rPr>
					<w:rFonts w:ascii="Calibri Light" w:hAnsi="Calibri Light"/>
				</w:rPr>
			</w:pPr>

Unplanned
Last Updated: 17 Jan 2025 13:30 by Yim
HtmlFormatProvider: Failure to import CSS rules with class names containing escape characters.
Unplanned
Last Updated: 22 Jan 2025 11:08 by Ching-Wei
Document's East Asia font falls back to a different font when opened in MS Word.
Unplanned
Last Updated: 03 Mar 2025 09:09 by Vijayaprasad
Created by: Vijayaprasad
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
Preserve the comments when exporting the DOCX file to PDF format
Unplanned
Last Updated: 05 Mar 2025 12:03 by Jason
Completed
Last Updated: 17 May 2023 12:44 by ADMIN
Release R3 2023
When the document is encoded in two-byte encoding using Little-Endian, the CsQuery HTML parser provides the entire document as FirstChild of the <body> tag, which leads to incorrect import.
This seems to be occurring with MS Outlook messages saved as HTML.

Workaround: convert the file to Big-Endian encoding before importing.