Unplanned
Last Updated: 01 Jun 2022 07:27 by chrbra
The LockAspectRatio property of the ImageInline does not work after export to Docx
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:

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: 02 May 2022 09:18 by Mathew

Exporting RTF document to HTML when there is a multilevel numbered list, strips the numbers and leaves only the main number visible (e.g. 2.1 becomes 1). Also, the text overlaps the numbering. 

Workaround: Use numbers with letters instead of numbers only. (e.g. 1 a b c, 2 a b c).

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
Unplanned
Last Updated: 26 Apr 2022 06:01 by Marcin

To reproduce: 

-Change the normal style in a document and insert it into another document using RenameSourceStyle option.

The style is renamed and inserted but is not applied to the content.

Unplanned
Last Updated: 21 Apr 2022 12:23 by Andy F.

WordsProcessing: Merging a RadFlowDocument document into the target document over around 130 times breaks formatting when the target document is an empty RadFlowDocument.

The workaround to this issue is to set the target document to an existing RadFlowDocument such as the source before merging.

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.
Unplanned
Last Updated: 13 Apr 2022 09:33 by ADMIN
Created by: Andy
Comments: 2
Category: WordsProcessing
Type: Feature Request
2
Add Mail Merge events.
Completed
Last Updated: 12 Apr 2022 15:07 by ADMIN
Release R2 2022
Floating images positioned outside of page borders are moved inside the page when converting to PDF.
Completed
Last Updated: 12 Apr 2022 14:57 by ADMIN
Release R2 2022

When calling the MailMerge method on a RadFlowDocument, which includes an IF field, where no FalseText (value to display when the expression evaluates to FALSE) is defined the following exception is thrown System.NullReferenceException: 'Object reference not set to an instance of an object.'

Workaround: Setting a string (empty works too) for the FalseText. 
When the document is passed to the following method, all IF fields are edited so that the exception is not thrown:

private void EmptyIfSecondArgumentWorkaround(RadFlowDocument document)
{
	List<FieldCharacter> collection = document.EnumerateChildrenOfType<FieldCharacter>().Where(f => f.FieldCharacterType == FieldCharacterType.Start).ToList();

	for (int i = 0; i < collection.Count; i++)
	{
		FieldInfo item = collection[i].FieldInfo;
		string code = item.GetCode();
		FieldCharacter separator = item.Separator;
		FieldCharacter end = item.End;

		if (code.TrimStart().StartsWith("IF"))
		{
			FieldCharacter codeEnd;
			if (separator.Paragraph != null)
			{
				codeEnd = separator;
			}
			else
			{
				codeEnd = end;
			}
			string emptyString = " \"\" ";
			string mergeFormatCodeSuffix = "\\*";
			if (codeEnd.Paragraph.Inlines.Count > 1)
			{

				string editedMergeFormatCodeSuffix = string.Join("", new string[] { emptyString, mergeFormatCodeSuffix });
				int codeEndIndex = codeEnd.Paragraph.Inlines.IndexOf(codeEnd);
				Run run = codeEnd.Paragraph.Inlines[codeEndIndex - 1] as Run;
				if (run.Text.Contains(mergeFormatCodeSuffix))
				{
					run.Text=run.Text.Replace(mergeFormatCodeSuffix, editedMergeFormatCodeSuffix);
				}
				else
				{
					run.Text += emptyString;
				}
			}
		}
	}
}

Completed
Last Updated: 08 Apr 2022 14:05 by ADMIN
Release LIB 2022.1.411 (11 Apr 2022)
RichTextBox: InvalidCastException when importing a file with a drawing containing NonVisualConnectorProperties
Unplanned
Last Updated: 31 Mar 2022 07:21 by Sumair
The column with is not exported correctly when converting from HTML to DOCX
Completed
Last Updated: 25 Mar 2022 15:16 by ADMIN
Release R2 2022
Field code fragment is added to the result fragment and exported to PDF/HTML format. The problem is observed when the code fragment is divided into multiple inlines.

For example we have PAGE field. If 'A' is bold we would have 3 inlines (runs) in the instruction text and the issue would be observed.
Completed
Last Updated: 15 Mar 2022 10:27 by ADMIN
Release R2 2022
InvalidOperationException: 'The start index of the cell could not miss.' or ArgumentOutOfRangeException is thrown during the import of the document while calculating the cells that need to be merged.
Unplanned
Last Updated: 11 Mar 2022 10:00 by Devan
The property controls whether all the lines of a paragraph should be rendered on the same page when the document is shown in page view mode.
Completed
Last Updated: 04 Mar 2022 12:58 by ADMIN
Release LIB 2022.1.307 (07 Mar 2021)
When a document containing a field without a separator is inserted using the RadFlowDocumentEditor.InsertDocument(*) method, NullRferenceException is thrown.

Workaround: Fix the document before inserting: 

private static void WorkaroundFieldsIssue(RadFlowDocument flowdocument)
{
    foreach (FieldCharacter fieldCharacter in flowdocument.EnumerateChildrenOfType<FieldCharacter>().ToList())
    {
        // only for start
        if (fieldCharacter.FieldCharacterType == FieldCharacterType.Start)
        {
            if (fieldCharacter.FieldInfo.Separator != null && fieldCharacter.FieldInfo.Separator.Parent == null)
            {
                Paragraph parent = fieldCharacter.FieldInfo.End.Paragraph;
                int index = parent.Inlines.IndexOf(fieldCharacter.FieldInfo.End);

                fieldCharacter.FieldInfo.End.Paragraph.Inlines.Insert(index, fieldCharacter.FieldInfo.Separator);
            }
        }
    }
}
Unplanned
Last Updated: 15 Feb 2022 16:56 by Joshua
ADMIN
Created by: Deyan
Comments: 1
Category: WordsProcessing
Type: Feature Request
3
Add support for smart tags (described in the OOXML using the smartTag element). As currently smart tags are not supported, the content inside them is not imported from docx.
Unplanned
Last Updated: 13 Feb 2022 17:23 by Indra
Both properties table cell padding and table cell spacing are not exported to PDF format.