Unplanned
Last Updated: 08 Dec 2020 09:57 by ADMIN
Created by: Simi
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
In MS Word, the users can change the background color of the page. 

A 'w:background' property is applied to the whole document in DOCX, and this property is used as a page color in Paged layout mode, and as a background color in Web layout mode. 
Unplanned
Last Updated: 15 Dec 2020 15:33 by ADMIN

Currently, the content of the span of such elements  is imported:

<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
	<div id="progressBar" style="width: 100%; display: none;" class="themed-progressbar k-widget k-progressbar k-progressbar-horizontal" data-role="progressbar">
		<span class="k-progress-status-wrap k-progress-end"><span class="k-progress-status">100%</span></span>
		<div class="k-state-selected k-complete" style="width: 100%;">
			<span class="k-progress-status-wrap k-progress-end" style="width: 100%;"><span class="k-progress-status">100%</span></span>
		</div>
	</div>
</body>
</html

Actual: the content of the spans is not skippet (100% 100%)

Expected: to be skipped

 

Unplanned
Last Updated: 18 Dec 2020 10:42 by ADMIN
According to the Office Open XML specification, the border thickness should be preserved in a DOCX file using a positive whole number, whose contents consist of measurement in eighths of a point. However, the current logic of WordsProcessing works with double values that might result in fractional numbers while converting them. 
Unplanned
Last Updated: 15 Jan 2021 10:29 by ADMIN

When importing a document with a style set in a parent <div> element its children`s content doesn't inherit it.

Steps to reproduce:

  1. Import the following HTML string:
    <div style="background-color: green;">
    	<h1>Test heading</h1>
    	<div>Test div</div>
    </div>
  2. Export it as PDF (or any other supported format)

Actual vs Expected:
 

Completed
Last Updated: 26 Jan 2021 10:28 by ADMIN
Release R1 2021 SP1
The exception is thrown while importing an image that has any value for height property applied through a style.
Completed
Last Updated: 26 Jan 2021 12:11 by ADMIN
Release R1 2021 SP1
When the URI source applied to the image cannot be parsed as a Path object to obtain its extension, an ArgumentException is thrown.
Unplanned
Last Updated: 22 Feb 2021 14:31 by ADMIN
Created by: Vladislav
Comments: 0
Category: WordsProcessing
Type: Feature Request
0

This element specifies that an absolute position tab character shall be placed at the current location in the run content.

Unplanned
Last Updated: 10 Feb 2021 14:35 by ADMIN
 Add an option to export the content controls as a form fields. 
Completed
Last Updated: 18 Feb 2021 15:00 by ADMIN
Release R1 2021 SP1
 ArgumentException when trying to set the font size to zero on import.
Completed
Last Updated: 19 Feb 2021 16:54 by ADMIN
Release R1 2021 SP1
The height of the empty paragraphs when they are exported to PDF is shorter than it should be.
Completed
Last Updated: 02 Apr 2021 11:36 by ADMIN
Release R2 2021

Make it possible to import HTML file with an external style sheet, without the need to handle the LoadStyleSheetFromUri event in HtmlImportSettings. If the URL is correct the data can be internally downloaded.

Completed
Last Updated: 25 Mar 2021 16:31 by ADMIN
Release R2 2021
If there is a document with a Date field inside it, when you replace the word "date", a part of the field code will be changed as well.
Unplanned
Last Updated: 04 Mar 2021 10:41 by ADMIN

When the table width is set to fixed with the value of zero:

<w:tblW w:w="0" w:type="dxa"/>
 the table is exported as a vertical line split into several pages.

Completed
Last Updated: 17 Mar 2021 10:01 by ADMIN
Release R2 2021
Import crashes when opening document with Structured Document Tag which has "w:dataBinding" element defined.
Completed
Last Updated: 12 Apr 2021 08:39 by ADMIN
Release R2 2021

The Nonbreaking space is exported as a Unicode character instead of the appropriate Control word.

Actual: "\n160?"

Expected: "\~"

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

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

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");