Unplanned
Last Updated: 11 Jun 2021 09:29 by ADMIN
Created by: Al
Comments: 0
Category: WordsProcessing
Type: Feature Request
1

Add support for Upper and Lower field switches  More info is available here: Formatting fields with switches

Here are the switches that should be supported:

First Name Upper: {MERGEFIELD FirstName \* Upper}
First Name Lower: {MERGEFIELD FirstName \* Lower}
Unplanned
Last Updated: 11 Jun 2021 09:23 by ADMIN
Created by: Al
Comments: 0
Category: WordsProcessing
Type: Feature Request
1

Add support for all number switches.  More info is available here: Formatting fields with switches

Here are the switches that should be supported:

Amount \# $,0.00: {MERGEFIELD FirstAmount \# $,0.00}
Amount \# $#,###,###: {MERGEFIELD FirstAmount \# $#,###,###}
Amount \*CardText:  {MERGEFIELD \\*CardText}
Amount \*DollarText:  {MERGEFIELD \\*DollarText}
Integer \*alphabetic: {MERGEFIELD \\*alphabetic}
Integer \* ALPHABETIC: {MERGEFIELD FirstInteger \* ALPHABETIC}
Integer \* OrdText: {MERGEFIELD FirstInteger \* OrdText}
Integer \* Ordinal: {MERGEFIELD FirstInteger \* Ordinal}
Integer \* roman: {MERGEFIELD FirstInteger \* roman}
Completed
Last Updated: 20 May 2022 05:51 by ADMIN
Release R2 2022 SP1

When exporting to PDF a document containing Table merged into a TableCell an extra empty space below the inner table is added:

Unplanned
Last Updated: 01 Jun 2021 08:22 by ADMIN

When we have Document properties set (no Section properties set) and the \sectd control word is missing the Document properties are not respected.

From the RTF Specification: When we have Section properties set the \sectd resets the values to that specified by the Document properties. But when we don't have Section properties set and the \sectd is missing we should inherit the values specified by the Document properties

Unplanned
Last Updated: 28 May 2021 07:23 by ADMIN
Created by: Oksana
Comments: 0
Category: WordsProcessing
Type: Feature Request
2
Provide support for import and export of Fields to HTML format.
Unplanned
Last Updated: 11 May 2021 10:45 by ADMIN
In the document produced by the mail merge, the general formatting applied is not respected and the value is in its default format. 
Completed
Last Updated: 27 Apr 2023 07:35 by ADMIN
Created by: Telerik Admin
Comments: 3
Category: WordsProcessing
Type: Bug Report
1
Header is not imported when it contains image
Unplanned
Last Updated: 10 May 2021 08:50 by ADMIN
Created by: Aymen
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
This element represents a multi-line text input control and can be mapped to content control. 
Unplanned
Last Updated: 05 May 2021 07:18 by ADMIN
Created by: SAI RADHA MANI
Comments: 0
Category: WordsProcessing
Type: Feature Request
5
The SVG element allows drawing paths, boxes, circles, text, and graphic images in HTML document.
Unplanned
Last Updated: 28 Jun 2021 05:11 by ADMIN
Converting table with custom borders to PDF does not work
Unplanned
Last Updated: 30 Apr 2021 06:35 by ADMIN
The margin property sets the margins for an element, and is a shorthand property for the following supported properties:
margin-top
margin-right
margin-bottom
margin-left
Unplanned
Last Updated: 30 Apr 2021 06:09 by ADMIN
Currently, "none", "inline", and "block" values are supported. 

A full list of the property value options could be found here: CSS Display Property.
Unplanned
Last Updated: 30 Apr 2021 05:26 by ADMIN

Background properties do not inherit, but the parent element's background will shine through by default because of the initial 'transparent' value on 'background-color'.

HTML content:

<div style="background-color: gray; color: red">
Text outside the list
	<ul>
		<li>
			Text in the list
		</li>
	</ul>
</div>

The result when exported to DOCX/PDF:

Workaround: set the style directly to the <ul> element:

<div style="background-color: gray; color: red">
Text outside the list
	<ul style="background-color: gray;">
		<li>
			Text in the list
		</li>
	</ul>
</div>

Unplanned
Last Updated: 27 Apr 2021 08:30 by ADMIN
Import HTML where the image does not have a closing tag. Here are the valid closing ways: html - How to close <img> tag properly? - Stack Overflow
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");

Unplanned
Last Updated: 21 Apr 2021 10:58 by ADMIN

When exporting a document containing a FloatingImage in the header/footer the measurement of the header/footer height doesn't take into account the height of this image.

This leads to overlapping the page content with the image.

Workaround: Increase the Header (or Footer) top page margin by the height of the image:

foreach (Section section in this.document.Sections)
{
	double floatingImageHeight = 0;
	foreach (BlockBase block in section.Headers.Default.Blocks)
	{
		if (block is Paragraph paragraph)
		{
			FloatingImage floatingImage = (FloatingImage)paragraph.Inlines.FirstOrDefault(i => i is FloatingImage);
			floatingImageHeight = floatingImage.Image.Height;
		}
	}

	double left = section.PageMargins.Left;
	double top = section.PageMargins.Top + floatingImageHeight;
	double right = section.PageMargins.Right;
	double bottom = section.PageMargins.Bottom;
	section.PageMargins = new Telerik.Windows.Documents.Primitives.Padding(left, top, right, bottom);
}

Unplanned
Last Updated: 20 Apr 2021 11:04 by ADMIN

When the table is nested in another table with fixed-width and the nested one has more than one cell in the row, where the one has a preferred width set to auto and the other has content that split on more than one row, then the first cell is exported with a wrong width.

Unplanned
Last Updated: 13 Apr 2021 08:20 by ADMIN
WordsProcessing: A border is missing from a table when converting to PDF
Unplanned
Last Updated: 14 Jun 2021 11:30 by ADMIN

 Table with specified width in inches is not correctly exported when the size is set in inches (this is  done in the imported HTML) 

Workaround: set the table size in the code and remove the style.

foreach (Table table in document2.EnumerateChildrenOfType<Table>())
{
    table.LayoutType = TableLayoutType.FixedWidth;
    table.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Fixed, 950);
}
Completed
Last Updated: 12 Apr 2021 08:55 by ADMIN
Release R2 2021

The Hyperlink field is wrongly exported when the Code fragment is divided into several text fragments.

Actual:

Expected:

Workaround: Iterate the document content after importing it into RadFlowDocument in order to modify the Code fragment:

bool isBetweenStartAndSeparation = false;
string fieldInfoText = string.Empty;
int startIndex = 0;
IEnumerable<Paragraph> paragraphs = document.EnumerateChildrenOfType<Paragraph>();
foreach (Paragraph paragraph in paragraphs)
{
	foreach (InlineBase inline in paragraph.Inlines.ToList())
	{
		if (inline is FieldCharacter)
		{
			FieldCharacter fieldCharacter = inline as FieldCharacter;
			if (fieldCharacter.FieldCharacterType == FieldCharacterType.Separator)
			{
				isBetweenStartAndSeparation = false;
				Run run = new Run(this.document)
				{
					Text = fieldInfoText
				};

				paragraph.Inlines.Insert(startIndex, run);
			}
			else if (fieldCharacter.FieldCharacterType == FieldCharacterType.Start)
			{
				isBetweenStartAndSeparation = true;
				startIndex = paragraph.Inlines.IndexOf(inline) + 1;
				fieldInfoText = fieldCharacter.FieldInfo.GetCode().Trim().ToLowerInvariant();
			}
		}
		else if (isBetweenStartAndSeparation)
		{
			paragraph.Inlines.Remove(inline);
		}
	}
}