Unplanned
Last Updated: 02 Apr 2024 13:27 by Graeme

Original DOCX document:

Exported DOCX document:

Workaround:

            Telerik.Windows.Documents.Flow.Model.RadFlowDocument document;

            Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider docXprovider = new Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider();

            using (Stream input = File.OpenRead("PT1987 VU22888 Moodle Specification List [2024032716].docx"))
            {
                document = docXprovider.Import(input);
            }

            string normalStyleId = BuiltInStyleNames.NormalStyleId;
            Style normalStyle = document.StyleRepository.AddBuiltInStyle(normalStyleId);
            normalStyle.ParagraphProperties.SpacingAfter.LocalValue = 0;
            normalStyle.ParagraphProperties.LineSpacing.LocalValue = 1;

Completed
Last Updated: 15 May 2024 06:27 by ADMIN
Release 2024.2.426 (2024 Q2)
NullReferenceException caused by a Hyperlink Field during nested Mail Merge.
Unplanned
Last Updated: 10 Apr 2024 14:03 by Benjamin

Use the code for inserting the code:

        static void Main(string[] args)
        {
                      Telerik.Windows.Documents.Flow.Model.RadFlowDocument templateDocument = GetDocument("Template.rtf");
            Telerik.Windows.Documents.Flow.Model.RadFlowDocument contentDocument = GetDocument("Content.rtf");
            InsertDocumentOptions options = new InsertDocumentOptions();
            options.ConflictingStylesResolutionMode = ConflictingStylesResolutionMode.RenameSourceStyle;
            options.InsertLastParagraphMarker = true;

            RadFlowDocumentEditor editor = new RadFlowDocumentEditor(templateDocument);
            editor.InsertDocument(contentDocument, options);

            string mergedDocumentFilePath ="MergeDocumentsWithWordsProcessing.rtf";
            File.Delete(mergedDocumentFilePath);
            WriteDocToFile(templateDocument, mergedDocumentFilePath);

        }
        private static Telerik.Windows.Documents.Flow.Model.RadFlowDocument GetDocument(string rtfFilePath)
        {
            Telerik.Windows.Documents.Flow.Model.RadFlowDocument document = null;
            var rtfImporter = new Telerik.Windows.Documents.Flow.FormatProviders.Rtf.RtfFormatProvider();
            using (Stream stream = File.OpenRead(rtfFilePath))
            {
                document = rtfImporter.Import(stream);
            }
            return document;
        }


        private static void WriteDocToFile(Telerik.Windows.Documents.Flow.Model.RadFlowDocument doc, string filename)
        {
            var rtfExporter = new Telerik.Windows.Documents.Flow.FormatProviders.Rtf.RtfFormatProvider();
            string rtfText = rtfExporter.Export(doc);
            File.WriteAllText(filename, rtfText);

            Process.Start(filename);
        }

Observed result: The After spacing is reset

Expected result: keep the style settings from the original documents.

Unplanned
Last Updated: 15 Apr 2024 13:10 by Belma
Created by: Belma
Comments: 0
Category: WordsProcessing
Type: Bug Report
0
Outline color of some shapes is not respected.
Unplanned
Last Updated: 15 May 2024 16:13 by Anu
When HTML content is inserted, the formatting is lost if the HTML contains 3 tables in it. However, it is OK if the HTML contains 2 tables only.
Unplanned
Last Updated: 17 May 2024 07:49 by Vyacheslav
Unplanned
Last Updated: 17 May 2024 08:29 by Vyacheslav
Unplanned
Last Updated: 28 May 2024 10:20 by Anu

The generated document looks OK before printing:

However, hitting the print preview button in MS Words leads to missing text in the fields:

Unplanned
Last Updated: 05 Jun 2024 15:01 by Thomas
When the document contains a big image that almost doesn't fit on the page and it is followed by an empty paragraph to generate a blank page with the footer in the DOCX file leads to losing the empty page in the exported PDF.
Completed
Last Updated: 02 Aug 2024 11:08 by ADMIN
Release 2024.3.802 (2024 Q3)

When importing a RTF document with bullet lists and exporting the RadFlowDocument back to RTF format the following result is observed:

- the bullet's left offset is changed

- the bullets color is also changed

Workaround: use the Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider available in the Telerik.Windows.Documents.FormatProviders.Rtf.dll

Unplanned
Last Updated: 28 Jun 2024 14:53 by Anu

When a document with multiple headings ( Heading 1) are imported and then exported, their type from letters is changed to numbers, for example:

Original content: Part A, Part B, Part C

Exported content: Part 1, Part 2, Part 3

Unplanned
Last Updated: 12 Jul 2024 14:51 by Akesh Gupta

Restrict the TableCellProperties API of a style according to specification.

Unplanned
Last Updated: 23 Jul 2024 10:20 by RV
Created by: RV
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
Unplanned
Last Updated: 30 Jul 2024 05:57 by Vladislav
Created by: Vladislav
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
The DataBinding property tells the editor to show the linked content instead of the actual runs in the content control.
Completed
Last Updated: 13 Nov 2024 08:02 by ADMIN
Release 2024.4.1106 (Q4 2024)
ADMIN
Created by: Peshito
Comments: 0
Category: WordsProcessing
Type: Bug Report
0
Exporting documents to with headings to RTF does not properly export some heading colors in the document.
Unplanned
Last Updated: 01 Aug 2024 06:19 by George

XmlException is thrown when importing documents containing DAT files.

Workaround

1) Delete the files from the file structure before import:

RadFlowDocument flowDocument; using (Stream str = new FileStream("input.docx", FileMode.OpenOrCreate)) { MemoryStream ms = new MemoryStream(); str.CopyTo(ms); ms.Seek(0, SeekOrigin.Begin); using (ZipArchive archive = ZipArchive.Update(ms, null)) { var zipEntries = archive.Entries; // Skip glossary on importfor (int i = zipEntries.Count() - 1; i >= 0; i--) { var entry = zipEntries.ElementAt(i); string entryName = entry.FullName; if (Regex.IsMatch(entryName, @"\[trash\]")) { entry.Delete(); } } }

}

2) Re-save the document with Word before import. At least one change (that can then be reverted) is required. 
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: 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.

Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
ArgumentException is thrown during MailMerge with a document with inline shape in its header/footer.
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.