Unplanned
Last Updated: 18 Oct 2024 14:45 by Jose
ArgumentNullException when exporting a specific document with SVG image to PDF.
Unplanned
Last Updated: 08 Oct 2024 12:13 by Andre' Hazelwood

 Replace cannot match whole word with special characters (e.g. "#", "@", "&") at the start/end.

Workaround (RegEx):

editor.ReplaceText(new Regex($"(?<=\\s|^|[\\c_]){placeholder}(?=\\s|$|[\\c_])"),"new content");

 

Unplanned
Last Updated: 07 Oct 2024 09:59 by John
Created by: John
Comments: 0
Category: WordsProcessing
Type: Feature Request
0

Add support for Picture Styles.

Unplanned
Last Updated: 23 Sep 2024 08:49 by ADMIN
Created by: Hannah
Comments: 2
Category: WordsProcessing
Type: Feature Request
4

The mail merge should support conditional fields. Here is an example:

{ IF [Condition] [Display Result 1] [Display Result 2] }

Unplanned
Last Updated: 18 Sep 2024 11:57 by ADMIN

InvalidOperationException when cloning a document containing fields spanning multiple paragraphs.

Workaround: instead of new paragraphs, use line breaks (Shift+Enter).

Unplanned
Last Updated: 03 Sep 2024 14:10 by ADMIN
'Value cannot be null. Parameter name: relationshipId' exception is thrown when an image does not have a relationship id specified. MS Word is showing the image as invalid but renders the document.
Unplanned
Last Updated: 02 Sep 2024 09:02 by Sergei
Outline level is not respected when creating TOC with custom styles.
Unplanned
Last Updated: 26 Aug 2024 11:51 by Patrick

The default vertical alignment value of table data (<td>) is incorrect.

Current: "vertical-align: top;"

Expected: "vertical-align: middle;"

Workaround: Explicitly set the "vertical-align: middle;" of <td> elements.

Unplanned
Last Updated: 14 Aug 2024 11:23 by Kamil
Incorrect size of list symbols when list font size is set in "em" unit type.
Unplanned
Last Updated: 14 Aug 2024 06:43 by Patrick
Created by: Patrick
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
Unplanned
Last Updated: 13 Aug 2024 11:33 by Kamil
ADMIN
Created by: Tanya
Comments: 5
Category: WordsProcessing
Type: Feature Request
23
Add support for horizontal lines in documents.

In DOCX, such lines are defined using the legacy VML definitions:
<w:pict w14:anchorId="324D5836">
  <v:rect id="_x0000_i1025" style="width:0;height:1.5pt" o:hralign="center" o:hrstd="t" o:hr="t" fillcolor="#a0a0a0" stroked="f"/>
</w:pict>
The definitions above and the <hr/> HTML tag are currently not supported and skipped on import, leading to missing horizontal lines in the document.
Unplanned
Last Updated: 08 Aug 2024 10:23 by ADMIN

Wrong exported paragraph indentation when the paragraph is in a table cell.

Workaround: Iterate table`s paragraphs and set the negative indentations to zero:

IEnumerable<Table> tables = this.document.EnumerateChildrenOfType<Table>();
foreach (Table table in tables)
{
	IEnumerable<Paragraph> paragraphs = table.EnumerateChildrenOfType<Paragraph>();
	foreach (Paragraph paragraph in paragraphs)
	{
		if (paragraph.Indentation.LeftIndent < 0)
		{
			paragraph.Indentation.LeftIndent = 0;
		}
	}
}

Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
ADMIN
Created by: Tanya
Comments: 0
Category: WordsProcessing
Type: Feature Request
9
Enable the customers to import SVG images and use them in their documents.
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 });
        }
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
Currently, the text is exported but the strikethrough line is not drawn in the exported PDF.
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
DocFormatProvider: EndOfStreamException when importing document with specific image.
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)

The hanging indent of the paragraph affects the rendering of content with tabs. However, the indent is not respected while generating the PDF, leading to disordered content.

Workaround: Insert a tab stop with the position set to the value for hanging indent:

foreach (var paragraph in this.flowDocument.EnumerateChildrenOfType<Paragraph>())
{
    if (paragraph.Properties.HangingIndent.HasLocalValue)
    {
        Run run = paragraph.EnumerateChildrenOfType<Run>().Where(r => r.Text == "\t").FirstOrDefault();

        if (run != null)
        {
            paragraph.TabStops = paragraph.TabStops.Insert(new Telerik.Windows.Documents.Flow.Model.Styles.TabStop(paragraph.Properties.HangingIndent.LocalValue.Value));
        }

    }
}

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)
ADMIN
Created by: Peshito
Comments: 5
Category: WordsProcessing
Type: Bug Report
4

List indent is not correct when exported to PDF. All indents start from the same position.

Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
The indentation of the paragraph is wrong and the list is not aligned as expected when the paragraph in the list has all its indentations locally while the list style defines different values.