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.
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. 
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;
}

Unplanned
Last Updated: 27 Feb 2023 07:29 by Nikko
When converting to pdf and the document contains a section break after a page break additional page is added
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 12:20 by ADMIN
Release R2 2023
The forecolor of table cells text is not preserved when exporting to PDF.
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: 03 Nov 2023 10:46 by ADMIN
Release R3 2023
When a value contains points (w:pos="85.50pt") can't be properly converted. FormatException: 'Input string was not in a correct format.' occurs. 
Unplanned
Last Updated: 07 Feb 2023 08:58 by Sachin
Merging documents with bookmarks causes an error message when opening with Word.
Completed
Last Updated: 27 Feb 2023 10:40 by ADMIN
Release R1 2023 SP1
Completed
Last Updated: 14 Feb 2023 12:43 by ADMIN
Release R1 2023 SP1
The Table Of Contents (TOC) is populated with additional elements when StyleLevel is set.
Completed
Last Updated: 14 Feb 2023 11:18 by ADMIN
Release R1 2023 SP1
Importing a TOC field with /t switch (containing a style like "Heading 1") causes IndexOutOfRangeException.
Declined
Last Updated: 27 Jan 2023 11:11 by ADMIN
Created by: Vladimír
Comments: 1
Category: WordsProcessing
Type: Feature Request
1

When exporting RadFlowDocument that contains TOC field, resultant PDF document should contain link point to the page shown in TOC.


note this is different from already existing request as this request is to link to the page, which is possible in telerik PDF export as demonstrated here and not to the bookmark.

Completed
Last Updated: 03 Nov 2023 11:42 by Kurt
Release R3 2023
FormatException when importing a document with "start" or "end" values for borders. 
Completed
Last Updated: 13 Feb 2023 13:49 by ADMIN
Release R1 2023 SP1
InvalidOperationException (Sequence contains no elements) when updating TOC field in a document
Completed
Last Updated: 14 Feb 2023 06:48 by ADMIN
Release R1 2023 SP1
ArgumentException when importing a document and the culture is set to "sv-SE".
Unplanned
Last Updated: 23 Jan 2023 09:32 by ADMIN
Table Cell width is increased after converting from RTF to HTML
Unplanned
Last Updated: 09 Jan 2023 07:31 by Goutham
Created by: Goutham
Comments: 0
Category: WordsProcessing
Type: Bug Report
0
Empty div elements are not imported.
Unplanned
Last Updated: 23 Dec 2022 10:02 by Charles
HtmlFormatProvider does not format super- and subscript content size on export
Unplanned
Last Updated: 20 Dec 2022 15:54 by Charles
When an HTML document is exported with IndentDocument, there are unwanted whitespaces in the content.