Unplanned
Last Updated: 05 Jun 2018 08:27 by ADMIN
ADMIN
Created by: Anna
Comments: 2
Category: WordsProcessing
Type: Feature Request
3
There are multiple tags and attributes in the Open XML model which define the formatting of the complex script characters and are not implemented in the WordsProcessing model. 

Such tags are:
szCs: Complex script font size;
bCs: Complex script bold;
iCs: Complex script italic;

Attributes:
cstheme: Complex Script Theme Font;

The cs (Complex Script Font) attribute is implemented in the export, but it is not preserved in the model on import.
Completed
Last Updated: 04 Jul 2023 11:18 by ADMIN
Release R3 2023 SP1
When text content (text in paragraph, text in span) in HTML contains line break (\r, \n, or \r\n), it should be imported as space. Instead, the new lines are currently removed. 

For example, <p>first\nsecond</p> (line feed between the words) is imported as run with content "firstsecond" instead of "first second".
Unplanned
Last Updated: 18 May 2018 10:10 by ADMIN
Applying border="1" to a table element, should set table cells borders to the same value. Currently, only the table borders are set.
Unplanned
Last Updated: 11 May 2018 16:44 by ADMIN
When the RowSpan value is bigger than the available rows, a ArgumentOutOfRangeException is thrown while exporting the document.

Workaround: Change the value of RowSpan after importing:

foreach (var cell in document.EnumerateChildrenOfType<TableCell>())
{
    while (cell.RowSpan > cell.Row.Table.Rows.Count)
    {
        cell.RowSpan--;
    }
}
Unplanned
Last Updated: 28 Apr 2018 11:24 by ADMIN
When a table cell has a smaller width set and inside there is a paragraph with larger indent set or bullets, the table does not expand in order to show the text and the text becomes invisible.
Unplanned
Last Updated: 12 Apr 2018 12:19 by ADMIN
Applying LockAspectRatio to an image is not respected after opening the document in MS Word - the LockAspectRatio checkbox in the is not checked. An additional XML element (cNvGraphicFramePr) should be added so the UI can respect it.
Unplanned
Last Updated: 28 Jan 2019 15:02 by ADMIN
Allow to password-protect a document, so that it cannot be shown (read) without the password. Also, enable opening encrypted documents.

Workaround for encrypting: PdfProcessing can be used to encrypt the document:

using (MemoryStream ms = new MemoryStream())
{
    PdfFormatProvider pdfProcessingFormatProvider = new PdfFormatProvider();
    Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider pdfFormatProvider = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();
    pdfFormatProvider.Export(flowDocument, ms);
    RadFixedDocument fixedDocument = pdfProcessingFormatProvider.Import(ms);

    using (Stream output = new FileStream(outputPath, FileMode.OpenOrCreate))
    {
        pdfProcessingFormatProvider.ExportSettings.IsEncrypted = true;
        pdfProcessingFormatProvider.ExportSettings.UserPassword = "pass";
        pdfProcessingFormatProvider.ExportSettings.ImageQuality = ImageQuality.Medium;
        pdfProcessingFormatProvider.Export(fixedDocument, output);
    }
}
 
Completed
Last Updated: 23 Apr 2018 07:06 by ADMIN
Run's default constructor creates it with Text = null. When document with such run is exported to PDF, NullReferenceException is thrown.

Workaround: Create the Run and immediately set its Text property to string.Emtpy.

Available in LIB Version 2018.1.423.
Unplanned
Last Updated: 03 Apr 2018 10:19 by ADMIN
Currently there is no easy way to modify the properties of bookmarks and fields in the document. Think of providing API for easier manipulation.

For example, following is one of the easiest approached to change the target of hyperlinks:

                    var hyperlinkStarts = document
                        .EnumerateChildrenOfType<FieldCharacter>()
                        .Where(fc => fc.FieldCharacterType == FieldCharacterType.Start && fc.FieldInfo.Field is Hyperlink);

                    foreach (var fieldCharacter in hyperlinkStarts)
                    {
                        int indexOfCodeRun = fieldCharacter.Paragraph.Inlines.IndexOf(fieldCharacter) + 1;
                        Run hyperlinkCode = (Run)fieldCharacter.Paragraph.Inlines[indexOfCodeRun];

                        string oldUri = ((Hyperlink)fieldCharacter.FieldInfo.Field).Uri;
                        string newUri = "mailto:mail@mail.com";

                        hyperlinkCode.Text = hyperlinkCode.Text.Replace($"\"{oldUri}\"", $"\"{newUri}\"");
                        fieldCharacter.FieldInfo.UpdateField();
                    }
Unplanned
Last Updated: 02 Apr 2018 16:01 by ADMIN
If the background color is applied to <tr> element then it is not imported.

Workaround: The background color may be applied to the cells (<td> elements) in the desired row and this should have the same effect.
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.
Unplanned
Last Updated: 05 Apr 2018 14:22 by ADMIN
Add support for exporting hyperlinks which are not valid URIs to PDF. Currently such hyperlink URIs are not exported to the PDF document.

Example of such hyperlink is "mailto:abc%20abc-abc-abc%20%3cabc@abc.com%3e" (mailto:abc abc-abc-abc <abc@abc.com>), but there could be more types. Currently the internal API relies on creating instance of the system Uri class, which is not possible in this case.
Completed
Last Updated: 05 Jul 2022 08:24 by ADMIN
Release R3 2022
When a break element is defined in the middle of a Run, DocxFormatProvider imports it at the end of the same run. For example, the following content: 

<w:r>
  <w:t>This is</w:t>
  <w:br/>
  <w:t xml:space="preserve"> a simple sentence.</w:t>
</w:r>

Results in "This is a simple sentence " + break element after it.
Completed
Last Updated: 20 Nov 2020 09:37 by ADMIN
Release R1 2021
Add support for setting and exporting document metadata, like Title, Author and similar.
Completed
Last Updated: 17 May 2023 06:56 by ADMIN
Release R2 2023

The measurements of the table cell are incorrect and an ArgumentException is thrown in TableCell.Draw when trying to create a rectangle with negative height: "Width and Height must be non-negative." 
 
Workaround (only in a specific scenario in which HTML content is merged into a TableCell): When HTML content is merged into a TableCell using InsertDocument() with ConflictingStylesResolutionMode=RenameSourceStyle, If the HTML or ConflictingStylesResolutionMod is changed, the exception is not thrown: ConflictingStylesResolutionMode.UseTargetStyle
Unplanned
Last Updated: 25 May 2018 07:16 by ADMIN

The issue is reproducible only in a specific setup with a specific document. It is related to the calculations of the line spacing when the table row should be split between two pages. Workaround: Change the line spacing:

foreach (var paragraph in this.document.EnumerateChildrenOfType<Paragraph>())
{
    paragraph.Properties.LineSpacingType.LocalValue = HeightType.Auto;
    paragraph.Properties.LineSpacing.LocalValue = 1;
}

Unplanned
Last Updated: 01 Feb 2018 09:41 by ADMIN
The exception is thrown because we try to export a tblGrid element, but currently we do not support this: https://feedback.telerik.com/Project/184/Feedback/Details/190082-wordsprocessing-export-tblgrid-table-grid-property-for-table-elements
Unplanned
Last Updated: 16 May 2024 13:28 by ADMIN
ADMIN
Created by: Tanya
Comments: 2
Category: WordsProcessing
Type: Feature Request
1
Add support for importing the text values of the input element. They could be imported as a simple text to preserve the content.
Completed
Last Updated: 28 Jul 2020 13:55 by ADMIN
Release R3 2020
The exception is thrown because the AltChunk element is added for import, but we currently do not have implementation for importing of AltChunk elements: https://feedback.telerik.com/Project/184/Feedback/Details/190095-wordsprocessing-add-support-for-altchunk-element
Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
The theme xml element (root of the theme.xml part) has a name property which is optional. However, WordsProcessing throws an exception when it doesn't find a name.