Completed
Last Updated: 29 May 2023 12:40 by ADMIN
Release R2 2023

IOException when an object in the cross-reference stream has a negative offset.

"System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file."

Completed
Last Updated: 24 May 2023 08:10 by ADMIN
Release R2 2023
When the last element in a table cell is an empty paragraph, the latter is skipped and not imported. It should be imported even if it's the only paragraph in the cell, as its properties could affect the layout and presentation (borders, colors, spacings).
Completed
Last Updated: 18 May 2023 07:54 by ADMIN
Release R2 2023
Completed
Last Updated: 18 May 2023 07:25 by ADMIN
Release R2 2023
The PdfFormatProvider currently supports such an option (check the ImageCompression setting).
Completed
Last Updated: 18 May 2023 07:24 by ADMIN
Release R2 2023
When a document is exported with a cross-reference stream, the stream is missing the required according to the specification Length property. Although most of the viewers open the document without any issues, some cannot. Such documents cannot be opened in MS Edge.
Completed
Last Updated: 18 May 2023 07:19 by ADMIN
Release R2 2023
Mail merge does not work if the template contains a Table Of Contents
Completed
Last Updated: 18 May 2023 06:25 by ADMIN
Release R2 2023

Trying to clone the Signature of a SignatureField leads to InvalidOperationException as the FieldName of the cloned signature is already set.

Workaround: Remove the signatures before the merging of the document:

private static void RemoveSignatures(RadFixedDocument document)
{
	List<FormField> signatures = document.AcroForm.FormFields.Where(ff => ff.FieldType == FormFieldType.Signature).ToList();
	if (signatures.Count > 0)
	{
		foreach (FormField signature in signatures)
		{
			document.AcroForm.FormFields.Remove(signature);
		}
	}

	List<SignatureWidget> signatureWidgets = document.Annotations.Where(a => a.Type == AnnotationType.Widget && a.GetType() == typeof(SignatureWidget)).Cast<SignatureWidget>().ToList();
	if (signatureWidgets.Count > 0)
	{
		foreach (var signatureWidget in signatureWidgets)
		{
			foreach (RadFixedPage page in document.Pages)
			{
				if (page.Annotations.Contains(signatureWidget))
				{
					page.Annotations.Remove(signatureWidget);
				}
			}
		}
	}
}

Completed
Last Updated: 17 May 2023 14:44 by ADMIN
Release R2 2023
KeyNotFoundException when importing an rtf that references a font that is not declared. 
Completed
Last Updated: 17 May 2023 14:09 by ADMIN
Release R2 2023
Exporting to PDF documents containing empty table rows results in 0 height of the rows.
Completed
Last Updated: 17 May 2023 14:04 by ADMIN
Release R2 2023
Key not found exception when there are missing characters in the document. 
Completed
Last Updated: 17 May 2023 14:03 by ADMIN
Release R2 2023
Exception when trying to import symbols with the ZapfDingbats font
Completed
Last Updated: 17 May 2023 14:01 by ADMIN
Release R2 2023
In PDF, symbolic font programs, such as ZapfDingbats, have built-in encodings that are usually unique to each font, and ordinary their encoding cannot be overridden. When importing a document using a symbolic font with defined encoding, which overrides the build-in encoding, a KeyNotFoundException: 'The given key was not present in the dictionary.', is thrown.
Completed
Last Updated: 17 May 2023 12:44 by ADMIN
Release R3 2023
When the document is encoded in two-byte encoding using Little-Endian, the CsQuery HTML parser provides the entire document as FirstChild of the <body> tag, which leads to incorrect import.
This seems to be occurring with MS Outlook messages saved as HTML.

Workaround: convert the file to Big-Endian encoding before importing.
Completed
Last Updated: 17 May 2023 12:20 by ADMIN
Release R2 2023
The forecolor of table cells text is not preserved when exporting to PDF.
Completed
Last Updated: 17 May 2023 11:40 by ADMIN
Release R2 2023

Using a RadFlowDocumentEditor to add a page break and then insert a table, adds an additional paragraph in between.

 

As a workaround you can call the CleanParagraphsBeforeTablesOnNewPage() method:

private void CleanParagraphsBeforeTablesOnNewPage()
{
    List<Paragraph> paragraphs = this.flowDocument.EnumerateChildrenOfType<Paragraph>().ToList();
    foreach (var paragraph in paragraphs)
    {
        BlockContainerBase parent = (BlockContainerBase)paragraph.Parent;
        int paragraphIndex = parent.Blocks.IndexOf(paragraph);
        int blocksCount = parent.Blocks.Count;

        bool isAfterPageBreak = paragraphIndex > 0 && this.PreviousBlockEndsWithPageBreak(parent.Blocks[paragraphIndex - 1]);

        int nextIndex = paragraphIndex + 1;
        bool nextBlockIsTable = nextIndex < blocksCount && parent.Blocks[nextIndex] is Table;

        if (isAfterPageBreak && nextBlockIsTable)
        {
            parent.Blocks.Remove(paragraph);
        }
    }
}

private bool PreviousBlockEndsWithPageBreak(BlockBase blockBase)
{
    bool isLastInlinePageBreak = false;
    bool isParagraph = blockBase is Paragraph;
    if (isParagraph)
    {
        Paragraph paragraph = (Paragraph)blockBase;
        InlineBase lastInline = paragraph.Inlines.Last();

        bool isBreak = lastInline is Break;
        if (isBreak)
        {
            isLastInlinePageBreak = ((Break)lastInline).BreakType == BreakType.PageBreak;
        }
    }

    return isLastInlinePageBreak;
}

Completed
Last Updated: 17 May 2023 11:35 by ADMIN
Release R2 2023

Wrong encoding is used when the PDF file contains font with custom encoding

Workaround:

foreach (var widget in field.Widgets)
{
    widget.TextProperties.Font = FontsRepository.Helvetica;
}

Completed
Last Updated: 17 May 2023 11:34 by ADMIN
Release R2 2023
 Importing an XLS file causes NullReferenceException due to fill color.
Completed
Last Updated: 17 May 2023 10:55 by ADMIN
Release R2 2023
Provide support for setting color values using rgb() function.

Example: background-color: rgb(197,93,161);
Completed
Last Updated: 17 May 2023 06:56 by ADMIN
Release R2 2023

The measurements of the table cell are incorrect and an ArgumentException is thrown in TableCell.Draw when trying to create a rectangle with negative height: "Width and Height must be non-negative." 
 
Workaround (only in a specific scenario in which HTML content is merged into a TableCell): When HTML content is merged into a TableCell using InsertDocument() with ConflictingStylesResolutionMode=RenameSourceStyle, If the HTML or ConflictingStylesResolutionMod is changed, the exception is not thrown: ConflictingStylesResolutionMode.UseTargetStyle
Completed
Last Updated: 17 May 2023 06:44 by ADMIN
Release R3 2023

The image in the header is not exported to pdf.

Workaround: Use version R1 2022 where this is working.

 

1 2 3 4 5 6