Unplanned
Last Updated: 09 Feb 2023 11:00 by Amit

When a span has nested strikethrough and underline tags applied to it only the inner tag is respected.

This HTML:

<u><del>UnderlineStrikethrough</del></u>

results in:

UnderlineStrikethrough

And this HTML:

<del><u>UnderlineStrikethrough</u></del>

results in:

UnderlineStrikethrough

 

As a possible workaround, you can add some text placeholder to the span that needs both "underline" and "strikethrough" and after import set the properties, and remove the placeholder text.

Sample HTML:

<u><del>##PlaceholderStart##UnderlineStrikethrough##PlaceholderEnd##</del></u>

after import, execute this:

const string PlaceholderTextStart = "##PlaceholderStart##";
const string PlaceholderTextEnd = "##PlaceholderEnd##";
RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);
Regex regex = new Regex(PlaceholderTextStart + "[a-zA-Z]*" + PlaceholderTextEnd);
var results = editor.FindAll(regex);
foreach (var result in results)
{
    foreach (var run in result.Runs)
    {
        run.Properties.Strikethrough.LocalValue = true;
        run.Properties.UnderlinePattern.LocalValue = Telerik.Windows.Documents.Flow.Model.Styles.UnderlinePattern.Single;
        run.Text = run.Text.Replace(PlaceholderTextStart, string.Empty);
        run.Text = run.Text.Replace(PlaceholderTextEnd, string.Empty);
    }
}

 

Completed
Last Updated: 17 May 2023 12:20 by ADMIN
Release R2 2023
The forecolor of table cells text is not preserved when exporting to PDF.
Unplanned
Last Updated: 21 Feb 2023 08:09 by Philip

If a TOC field uses TC fields only (with the \f switch) and there is a tab in the text of the TC field, after mail merge, the tab becomes really wide. If the file is opened in word and the field is updated, everything goes back to normal.

Expected:

Actual:

 

A possible workaround is to set the fields to be updated on opening of the document:

DocxFormatProvider provider = new DocxFormatProvider();
provider.ExportSettings.AutoUpdateFields= true;

Completed
Last Updated: 17 May 2023 11:40 by ADMIN
Release R2 2023

Using a RadFlowDocumentEditor to add a page break and then insert a table, adds an additional paragraph in between.

 

As a workaround you can call the CleanParagraphsBeforeTablesOnNewPage() method:

private void CleanParagraphsBeforeTablesOnNewPage()
{
    List<Paragraph> paragraphs = this.flowDocument.EnumerateChildrenOfType<Paragraph>().ToList();
    foreach (var paragraph in paragraphs)
    {
        BlockContainerBase parent = (BlockContainerBase)paragraph.Parent;
        int paragraphIndex = parent.Blocks.IndexOf(paragraph);
        int blocksCount = parent.Blocks.Count;

        bool isAfterPageBreak = paragraphIndex > 0 && this.PreviousBlockEndsWithPageBreak(parent.Blocks[paragraphIndex - 1]);

        int nextIndex = paragraphIndex + 1;
        bool nextBlockIsTable = nextIndex < blocksCount && parent.Blocks[nextIndex] is Table;

        if (isAfterPageBreak && nextBlockIsTable)
        {
            parent.Blocks.Remove(paragraph);
        }
    }
}

private bool PreviousBlockEndsWithPageBreak(BlockBase blockBase)
{
    bool isLastInlinePageBreak = false;
    bool isParagraph = blockBase is Paragraph;
    if (isParagraph)
    {
        Paragraph paragraph = (Paragraph)blockBase;
        InlineBase lastInline = paragraph.Inlines.Last();

        bool isBreak = lastInline is Break;
        if (isBreak)
        {
            isLastInlinePageBreak = ((Break)lastInline).BreakType == BreakType.PageBreak;
        }
    }

    return isLastInlinePageBreak;
}

Completed
Last Updated: 17 May 2023 14:44 by ADMIN
Release R2 2023
KeyNotFoundException when importing an rtf that references a font that is not declared. 
Unplanned
Last Updated: 01 Mar 2023 15:45 by Selva
The text inside content controls that are part of a table cell is not exported correctly when replaced.
Unplanned
Last Updated: 02 Mar 2023 15:55 by Jase
Table borders overlap and are not visible when set through the API for certain MS Word themes
Completed
Last Updated: 31 Mar 2023 12:26 by ADMIN
Release R2 2023
NullReferenceException when importing a watermark with no opacity
Unplanned
Last Updated: 05 Apr 2023 10:13 by ADMIN
Created by: wowis
Comments: 0
Category: WordsProcessing
Type: Feature Request
0

Similar to https://feedback.telerik.com/reporting/1356710-rendering-to-xlsx-should-not-add-bom-to-xml-files :

DOCX files exported with DocxFormatProvider contain a BOM in every exported XML file. Some programs fail to load those DOCX files.

Please remove the BOM, or add a toggle in DocxExportSettings.

Unplanned
Last Updated: 25 May 2023 13:29 by ADMIN

Updating a Table of Contents field with a custom TOC Style does not respect it.

As a workaround modify the style after the TOC fields are updated.

Unplanned
Last Updated: 28 Apr 2023 14:01 by Amar Galla
Content loss on Import/Export while having <w:drawing> in <wp:inline> element. The contents within the <wp:inline> element are lost.
Duplicated
Last Updated: 08 May 2023 12:03 by ADMIN
The last empty paragraph in the table cell is not imported.
Unplanned
Last Updated: 21 May 2024 08:26 by ADMIN
AngleSharp.Dom.DomException when importing a file with CSS style that starts with ".\!".
Unplanned
Last Updated: 14 Jul 2023 09:09 by Adam
Implement support for 'content' CSS property.
Completed
Last Updated: 08 Sep 2023 10:10 by ADMIN
Release R3 2023
Handle HTML import of base64 images with no data source.
Unplanned
Last Updated: 18 Aug 2023 06:59 by sitefinitysteve
Created by: sitefinitysteve
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
This element specifies a shape group in WordprocessingML.
Unplanned
Last Updated: 21 Aug 2023 06:57 by Becht Service Acount

With the current implementation of the RadFlowDocumentEditor`s CharacterFormatting.FontWeight.LocalValue accepts only FontWeights.Bold and FontWeights.Normal and throws an exception when setting different weights (ex. Black, Thin, etc.).

Completed
Last Updated: 27 Sep 2023 10:27 by ADMIN
Release R3 2023
System.InvalidOperationException is thrown on the import of a document containing content control with no content when it is the first item in the current section. The message is: "Sequence contains no elements".
Completed
Last Updated: 12 Sep 2023 08:16 by ADMIN
Release R3 2023
Exporting a document with a shape containing PictureFill fails with NullReferenceException.
Unplanned
Last Updated: 12 Sep 2023 18:33 by Abhishek
Created by: Abhishek
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
Introduce support for macros.