Unplanned
Last Updated: 09 Apr 2020 13:39 by ADMIN

This results in a missing paragraph. For example, having a table with three cells and Page field in the footer of a document and exporting it to PDF, will not export the last paragraph. 

As a workaround add new run after the last field character in the cell's table before exporting the document to PDF.

                BlockCollection footerContent = this.document.Sections.First().Footers.Default.Blocks;
                Table footerTable = footerContent.First() as Table;
                var cells = footerTable.Rows.Last().Cells.Where(x => x.EnumerateChildrenOfType<FieldCharacter>().Any());
                foreach (var cell in cells)
                {
                    cell.Blocks.AddParagraph().Inlines.AddRun();
                }

Declined
Last Updated: 13 Apr 2020 09:11 by ADMIN
Created by: Deepa
Comments: 1
Category: WordsProcessing
Type: Bug Report
0

We are using the Telerik Xamarin UI components, which were released on 18th March 2020, for one of our micro-services hosted in Azure cloud, to convert rtf text to raw text. Currently we have Linux containers in Azure. The code which we are using is as follows -

var rtfFormatProvider = new RtfFormatProvider();

var txtFormatProvider = new TxtFormatProvider();

RadFlowDocument doc = null;

doc = rtfFormatProvider.Import(<<Base64_Inputstring>>.DecodeFromBase64String());

string result = txtFormatProvider.Export(doc);

However, we observed that the output of the above code is different when run on Windows platform as compared to when run on Linux platform. For Linux, the CR characters are not included in the raw text. We would like to see the same output for Linux as what we get for Windows, that is raw text with the CR characters. Is this something which can be fixed? Can you suggest a work-around for this issue?

I am attaching a sample input along with this mail, as well as the Windows output and the Linux output, for your reference.

Thanks,

Deepa 

 

 

Completed
Last Updated: 15 Apr 2020 11:13 by ADMIN
Release R2 2020
The link element should not have style. HtmlFormatProvider doesn't skip the style but instead tries to evaluate and apply it. As a result, the error is thrown.
Declined
Last Updated: 23 Aug 2021 12:00 by ADMIN
Created by: Bermando
Comments: 1
Category: WordsProcessing
Type: Bug Report
0
I am trying to open a docx and send it to a client using DocxFormatProvider. I only use Import and Export methods. Sometimes it works well, but some of docs once get their markup broken when opened on a client. No errors, no messages, no difference which version of word is used.
Unplanned
Last Updated: 16 Apr 2020 12:05 by ADMIN
The numbering list level restarted when nesting one-level numberings in a table cell.
Unplanned
Last Updated: 23 Apr 2020 08:11 by ADMIN
Created by: Dimitar
Comments: 0
Category: WordsProcessing
Type: Bug Report
0

WordsProcessing: Invalid font size when exporting to pdf.

Workaround: 

var runs = document.EnumerateChildrenOfType<Run>();
foreach (var item in runs)
{
     item.FontSize -= 5;
}
Unplanned
Last Updated: 19 May 2020 12:55 by ADMIN
Created by: Yiannis
Comments: 3
Category: WordsProcessing
Type: Bug Report
0

Dear all,

 

It seems that the RtfFormatProvider generates invalid alternative text in the "{\listtext }" RTF group when saving a RadFlowDocument that contains numbered paragraphs.

The text seems to always be "{N}" when level N of the list is used.

While this is no problem for readers that adhere to the latest RTF standard, RichEdit-based controls and WordPad in Windows 8-10 have issues with it and do not load the list. These versions of RichEdit are otherwise capable of reading list tables.

Please note that I am not talking about loading the document to Windows 7 RichEdit, since that does not support list tables at all (it is stuck to the Word '95 "{\*\pn ...}" format).

I submit a simple list example that can be read by WordPad in Windows 10 and the outcome after loading and saving it back with RtfFormatProvider.

The outcome loads correctly in Word and RadRichtextBox, but not in WordPad. Removing or correcting the "{\listtext ...}" for each paragraph manually makes the list load properly in WordPad.

 

BTW, I strongly disagree with the nonexistent support for the Word '95 RTF numbering format, since it either forces us to use some other product or create our own code to parse and massage the RTF prior to loading into your products.

The problem is great, as many controls/products are still based on the RichEdit control (including some versions of our products).

It is not only old RTF data that needs migration, but pasted content from WordPad or other applications as well, since otherwise numbering is killed, without even displaying any text present in "{\pntext ... }" groups, intended for readers that do not understand "{\*\pn ...}".

Finally, to make things worse, even in Windows 10, RichEdit uses Word '95 format for saving single-level lists (resulting in content with mixed list formats).

 

Anyway, thank you for your time.

Unplanned
Last Updated: 20 May 2020 11:34 by ADMIN
Created by: Martin
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
 

This element specifies that this run contains literal text which shall be displayed in the document. The delText
element shall be used for all text runs which are part of a region of text that is contained in a deleted region
using the del element.

This is the preview (This is deleted text) of the following XML:

<w:p>
	<w:r>
		<w:t xml:space="preserve">This is </w:t>
	</w:r>
	<w:del w:author="Cooper W.">
		<w:r>
			<w:delText>deleted text</w:delText>
		</w:r>
	</w:del>
</w:p>

 

Completed
Last Updated: 03 Jul 2020 08:07 by ADMIN
Release R3 2020
Font properties set from RadFlowDocumentEditor`s CharacterFormatting are not taken into account when inserting PAGE field:
editor.InsertField("PAGE", "1")
Unplanned
Last Updated: 02 Jul 2020 13:37 by ADMIN
A possible workaround could be to remove the image with the invalid Uri from the RadFlowDocument before export:
foreach (ImageInline image in document.EnumerateChildrenOfType<ImageInline>().ToList())
{
	UriImageSource uriImageSource = (UriImageSource)image.Image.ImageSource;
	if (uriImageSource != null && !IsValid(uriImageSource.Uri.OriginalString))
	{
		image.Paragraph.Inlines.Remove(image);
	}
}
private static bool IsValid(string uri)
{
	try
	{
		Path.GetExtension(uri);
	}
	catch (ArgumentException)
	{
		return false;
	}

	return true;
}

Completed
Last Updated: 31 Oct 2023 14:44 by ADMIN
Release R3 2023 SP1
List item (HTML) that contains paragraph is shown on the next line when exporting to PDF
Unplanned
Last Updated: 22 Jul 2020 12:19 by ADMIN
The exported rtf file is not valid and cannot be imported when converting from HTML.
Completed
Last Updated: 19 May 2022 12:12 by ADMIN
Release R2 2022 SP1

Wrongly exported table width when the table preferred width is set to fixed:

<w:tblW w:w="11160" w:type="dxa"/>

and it is greater than the available page width: 

<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="630" w:right="1440" w:bottom="540" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>

Available page width = 12240 - (1440 + 1440) = 9360

A possible workaround is to set the page width to Auto:

IEnumerable<Table> tables = document.EnumerateChildrenOfType<Table>();
foreach (Table table in tables)
{
	if (table.PreferredWidth.Type == TableWidthUnitType.Fixed)
	{
		table.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Auto, table.PreferredWidth.Value);
	}
}

 

Unplanned
Last Updated: 11 Sep 2020 10:01 by ADMIN
The negative margin is not respected when exporting to pdf.
Unplanned
Last Updated: 18 Sep 2020 05:47 by ADMIN
Introduce support for the "page-break-inside" tag when importing an HTML
Completed
Last Updated: 25 Sep 2020 14:08 by ADMIN
Release R3 2020 SP1
When the associated document style is not of type StyleType.Table (does not contain TableProperties) a NullReferenceException is thrown.
Unplanned
Last Updated: 09 Oct 2020 08:44 by ADMIN

At this point, only background-color is supported. Add support for bgcolor attribute as well. It could be used with the following tags: body, marquee, table, tBody, td, tFoot, th, tHead, tr.

 

Unplanned
Last Updated: 09 Nov 2020 10:24 by ADMIN
WordsProcessing: base64 image size is set to negative infinity when importing from HTML.
Completed
Last Updated: 03 Dec 2020 07:44 by ADMIN
Release R1 2020

When the value contains a semicolon the HTML style property values are omitted on import:

<th width ='12%;' ...>

Currently, setting it without semicolon imports the value successfully:

<th width ='12%' ...>

Completed
Last Updated: 09 Dec 2020 14:09 by ADMIN
Release R1 2021
When exporting a document to PDF, which contains TabStops with a position that exceeds the offset of the measured page, leads to an OutOfMemoryException.