Completed
Last Updated: 21 Mar 2024 05:53 by ADMIN
Release 2024.1.305 (2024 Q1)

Handle import of documents with self-referring styles.

As a workaround, you can go through the RTF document structure of a single file and utilize Regex to resolve the self-referring styles like this:

string rtf = File.ReadAllText("inputFile.rtf");
rtf = FixSelfReferringStyles(rtf);

Telerik.Windows.Documents.Flow.FormatProviders.Rtf.RtfFormatProvider provider = new Telerik.Windows.Documents.Flow.FormatProviders.Rtf.RtfFormatProvider(); 

 var document = provider.Import(rtf);

...

private static string FixSelfReferringStyles(string rtf)
{
    string regexString = @"{\\s([0-9]+)[^}]*\\slink([0-9]+)";

    var matches = Regex.Matches(rtf, regexString);
    foreach (Match match in matches)
    {
        if (match.Groups[1].Value == match.Groups[2].Value)
        {
            var oldValue = match.Groups[0].Value;
            var newValue = oldValue.Replace(@" \slink" + match.Groups[1].Value, string.Empty);
            rtf = rtf.Replace(oldValue, newValue);
        }
    }

    return rtf;
}

 

Completed
Last Updated: 08 Sep 2023 12:44 by ADMIN
Release R3 2023
Created by: Fabien
Comments: 1
Category: WordsProcessing
Type: Feature Request
1
Introduce support for importing documents with nested runs.
Completed
Last Updated: 08 Sep 2023 12:43 by ADMIN
Release R3 2023
Introduce support for importing documents with fields inside of runs.
Completed
Last Updated: 08 Sep 2023 10:10 by ADMIN
Release R3 2023
Handle HTML import of base64 images with no data source.
Completed
Last Updated: 07 Sep 2023 12:53 by ADMIN
Release LIB 2023.2.918 (18 Sep 2023)
Created by: Fabian
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
Add support for BIN images
Completed
Last Updated: 23 Aug 2023 10:01 by ADMIN
ADMIN
Created by: Deyan
Comments: 23
Category: WordsProcessing
Type: Feature Request
62
Add support for shapes, and especially for shapes with textual content. 
In OOXML, shapes are represented by the wps:wsp element, and shapes with textual content by <wps:txbx>, <w:txbxContent>.
Such shape can be added to a Word document using the Insert -> Text -> Text Box -> Draw Text Box, or through a shape's context menu -> Add Text.

Do not confuse these shapes with Text/Rich Text content controls (see https://feedback.telerik.com/Project/184/Feedback/Details/190057 )
Completed
Last Updated: 18 May 2023 07:19 by ADMIN
Release R2 2023
Mail merge does not work if the template contains a Table Of Contents
Completed
Last Updated: 17 May 2023 10:55 by ADMIN
Release R2 2023
Provide support for setting color values using rgb() function.

Example: background-color: rgb(197,93,161);
Completed
Last Updated: 11 May 2023 13:31 by ADMIN
Release R2 2023
ADMIN
Created by: Deyan
Comments: 5
Category: WordsProcessing
Type: Feature Request
12

Currently some properties are supported only in their shorthand forms, and others - only in their longhand forms: - 'background' shorthand is not supported. - 'margin' shorthand is not supported.

- 'padding' shorthand is not supported. - 'border' shorthand is supported, but 'border-bottom-color', 'border-bottom-style', 'border-bottom-width', 'border-left-color', 'border-left-style', 'border-left-width', 'border-right-color', 'border-right-style', 'border-right-width', 'border-style', 'border-top-color', 'border-top-style', 'border-top-width', 'border-width' are not supported.

IMPORTANT: This feature is available in .NET Core, .NET 6 and above.

Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
Created by: SAI RADHA MANI
Comments: 1
Category: WordsProcessing
Type: Feature Request
0

You can add captions to figures, equations, or other objects.

From the Office Open XML File Formats Specification: This element specifies the contents and positioning for captions which can be used to automatically label objects in a WordprocessingML document. A caption is a string that labels an object included in a WordprocessingML document, and typically consists of a string plus a field which numbers this item within a collection of similar objects.

Similar functionality can be achieved using the CustomCodeField:

RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);
using (Stream stream = File.OpenRead("Image1.jpg"))
{
	ImageInline image = editor.InsertImageInline(stream, "jpg");
	editor.InsertBookmark("Image", image, image);
}

editor.InsertBreak(BreakType.LineBreak);
editor.InsertText("Figure ");
editor.InsertField("SEQ Image", "Update Figure Number");

Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R1 2023
ADMIN
Created by: Martin
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
A table of authorities lists the references in a legal document, along with the numbers of the pages the references appear on. To create a table of authorities a special TA (Table of Authorities Entry) field (TaField) should be inserted in the document.
Completed
Last Updated: 18 Jan 2023 10:59 by Vladimír
Release R1 2023
ADMIN
Created by: Deyan
Comments: 9
Category: WordsProcessing
Type: Feature Request
42
This feature includes: table of figure, table of tables etc.

TOC field contains PageRef fields inside it. To update it, we will need pagination (layout) support and PageRef fields implementation. Also TOC update can be influenced by TC fields presence in the document.

Implement export to PDF.
Completed
Last Updated: 07 Nov 2022 14:59 by ADMIN
Release R3 2022 SP1
Created by: Andres
Comments: 8
Category: WordsProcessing
Type: Feature Request
2
The .bin extension represents a binary file format which can contain images as well. When a document containing such an image is imported and exported using WordsProcessing, the image is lost and the default 'no-image' placeholder is used in its place.
Completed
Last Updated: 16 Aug 2022 05:04 by ADMIN
Release R3 2022
ADMIN
Created by: Mihail
Comments: 1
Category: WordsProcessing
Type: Feature Request
5
Office Open XML defines a mechanism for the storage of content which is not defined by this Office Open XML Standard, for example extensions developed by future software applications.

The stored data could be an image.
Completed
Last Updated: 05 Aug 2022 07:23 by ADMIN
Release R3 2022
The attached sample project below demonstrates a possible workaround for PAGE and NUMPAGES fields when exporting to PDF. The demo shows how to generate document from scratch containing PAGE and NUMPAGES fields and export it to PDF.
Completed
Last Updated: 18 Jul 2022 13:29 by ADMIN
Release R3 2022
This attribute specifies the caption for the current DrawingML object. Currently, it is omitted while importing the content with DocxFormatProvider.
Completed
Last Updated: 26 Apr 2022 11:16 by ADMIN
Release R2 2022
This attribute specifies the alternative text for the current DrawingML object, for use by assistive
technologies or applications which do not display the current object. Currently it is omitted while importing the content with DocxFormatProvider
Completed
Last Updated: 20 Apr 2022 11:00 by ADMIN
Release R2 2022
The WordsProcessing library doesn't support the import of image alternate attribute ("alt").
Completed
Last Updated: 18 Apr 2022 13:47 by ADMIN
Release R2 2022
When this type of section break is used, the next section should start on the same page instead on the next one.
Completed
Last Updated: 20 Jan 2022 08:21 by ADMIN
Release R1 2022
ADMIN
Created by: Deyan
Comments: 2
Category: WordsProcessing
Type: Feature Request
26
In WordsProcessing you could set 

table.Alignment = Telerik.Windows.Documents.Flow.Model.Styles.Alignment.Center;

But when the document is exported to PDF, this is not respected.
1 2 3