Completed
Last Updated: 12 Oct 2021 13:49 by ADMIN
Release R3 2021 SP1

The exception is thrown during the exporting of the document with the following stack trace:

  Telerik.Windows.Documents.Flow.FormatProviders.Docx.Model.Elements.Styles.ShadingElement.FillAttributes(IPropertiesWithShading properties)
   at Telerik.Windows.Documents.Flow.FormatProviders.Docx.Model.Elements.Document.RunPropertiesElement.OnBeforeWrite(IDocxExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Elements.OpenXmlElementBase`3.OnBeforeWrite(IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Elements.OpenXmlElementBase.Write(IOpenXmlWriter writer, IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Elements.OpenXmlElementBase.Write(IOpenXmlWriter writer, IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Elements.OpenXmlElementBase.Write(IOpenXmlWriter writer, IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Elements.OpenXmlElementBase.Write(IOpenXmlWriter writer, IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Parts.OpenXmlPartBase.Export(IOpenXmlWriter writer, IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Parts.OpenXmlPartBase.Export(Stream stream, IOpenXmlExportContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Export.OpenXmlExporter`2.ExportPart(PartBase part, TContext context)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Export.OpenXmlExporter`2.Export(Stream output, TContext context, OpenXmlExportSettings settings)
   at Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider.ExportOverride(RadFlowDocument document, Stream output)
   at Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Export(T document, Stream output)
Unplanned
Last Updated: 30 Sep 2021 09:14 by ADMIN
HtmlFormatProvider: The table borders are not set correctly when more than one class contains the borders settings
Completed
Last Updated: 21 Oct 2021 14:00 by ADMIN
Release R3 2021 SP1
Text is not replaced when the document contains empty fields
Unplanned
Last Updated: 05 Nov 2021 09:18 by ADMIN
That behavior makes the document invalid and it cannot be later merged successfully as it remains with an empty section.
Completed
Last Updated: 22 Nov 2021 15:35 by ADMIN
Release R1 2022
The floating image is not exported when it is at the end of the document and does not fit an the same page.
Unplanned
Last Updated: 16 Nov 2021 16:09 by ADMIN
Table cell width are not correctly resolved on export.
Unplanned
Last Updated: 16 Nov 2021 16:11 by ADMIN
There is border over the whole table when exporting to HTML.
Completed
Last Updated: 20 Jan 2022 08:20 by ADMIN
Release R1 2022
Expose a method that deletes the content between two inlines
Unplanned
Last Updated: 03 Dec 2021 06:40 by ADMIN

The content controls ID's must be set automatically when once clones or inserts an SDT.

Workaround: Manually set the ID

SdtRangeStart start = grpContentControls.Where(c => Convert.ToString(c.SdtProperties.Tag) ==  "purchlastname").First();

var properties = new SdtProperties(start.SdtProperties);
properties.ID = 123456;
var currentItem = editor.InsertStructuredDocumentTag(properties);

Completed
Last Updated: 21 Dec 2021 10:32 by ADMIN
Release R1 2022
The default left and right margins for a table in MS Word are 0.08". However, the DocxFormatProvider uses 0 as a default value and overrides the padding when any of the top, bottom, right, or left is applied. For example:

<w:tblCellMar>
	<w:top w:w="2880" w:type="dxa"/>
	<w:bottom w:w="2880" w:type="dxa"/>
</w:tblCellMar>
after import/export results in
<w:tblCellMar>
	<w:top w:w="2880" w:type="dxa"/>
	<w:left w:w="0" w:type="dxa"/>
	<w:right w:w="0" w:type="dxa"/>
	<w:bottom w:w="2880" w:type="dxa"/>
</w:tblCellMar>

Unplanned
Last Updated: 16 Dec 2021 13:29 by ADMIN
Currently, invoking the InsertStructuredDocumentTag method inserts only the start and end elements for content control. That way, the content control remains empty and one should explicitly add its content so that the control can be seen when the document is visualized. Apply default values for the different types of content controls to make their creation easier.
Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1

Importing html image with no source and then exporting it to pdf causes an exception, instead of omitting the faulty image.

Such images can be stripped using the following workaround:

List<ImageInline> images = this.document.EnumerateChildrenOfType<ImageInline>().ToList();

foreach (var image in images)
{
      if (image.Image.ImageSource == null)
      {
               image.Paragraph.Inlines.Remove(image);
      }
}

Completed
Last Updated: 07 Feb 2022 14:41 by ADMIN
Release R1 2022 SP1
When the content control is the first element of a paragraph inside a table cell and doesn't have content, NullReferenceException is thrown while parsing the document.
Completed
Last Updated: 01 Feb 2022 15:05 by ADMIN
Release R1 2022 SP1
Importing docx file throws System.InvalidOperationException "Hierarchical Index is empty" when importing a specific file.
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: 05 Jul 2022 10:23 by ADMIN
Release R3 2022
A document containing <group> element from any namespace other than "w" with no content control inside this part causes InvalidOperationException with 'Stack empty' message.
Unplanned
Last Updated: 17 Jun 2022 12:06 by Justin

Introduce support for min-height. Currently, this property is skipped. 

As a possible workaround, the height property of the table row could be applied.


Unplanned
Last Updated: 20 Jun 2022 09:45 by Shaun
DocFormatProvider: unable to import a document with a set page numbering type 
Completed
Last Updated: 07 Jul 2022 07:47 by ADMIN
Release R3 2022
The description text for an image is not properly exported when the same property is set on the parent inline element.
Unplanned
Last Updated: 28 Jun 2022 14:47 by GEORGE BRANDES
In specific cases, importing a table adds additional borders that shouldn't appear. Still, other borders that are defined in the source document, are missing from the result.