Unplanned
Last Updated: 10 Aug 2021 08:40 by ADMIN
Created by: Prashant
Comments: 0
Category: PdfProcessing
Type: Feature Request
15
This will allow the import of Tensor-product patch mesh gradients. Currently, importing documents that contain ShadingType 7 results in NotSupportedShadingTypeException.
Completed
Last Updated: 28 Jun 2023 05:30 by ADMIN
Release R2 2023 SP1
Exporting a field with missing Appearances property causes exception
Completed
Last Updated: 15 Sep 2021 13:13 by ADMIN
Release R3 2021
Exception when importing a file with LabColor gradients 
Completed
Last Updated: 15 Sep 2021 13:14 by ADMIN
Release R3 2021
Unable to import field with a name the is not specified as a literal string
Unplanned
Last Updated: 22 Jul 2021 11:22 by ADMIN
Created by: Suren
Comments: 4
Category: PdfProcessing
Type: Feature Request
5

This could be implemented by linking to RadFixedPages or Bookmarks.

Until this feature is developed this could be custom created with the help of Link annotations:

RadFixedPage toc = new RadFixedPage();
document1.Pages.Insert(0, toc);

FixedContentEditor editor = new FixedContentEditor(toc);

foreach (RadFixedPage page in document1.Pages)
{
	int pageNumber = document1.Pages.IndexOf(page);

	if (pageNumber > 0)
	{
		int factor = 20;

		int offsetX = 70;
		int offsetY = 20 + factor * pageNumber;
		editor.Position.Translate(offsetX, offsetY);

		Block block = new Block();
		block.GraphicProperties.FillColor = new RgbColor(255, 5, 99, 193);
		block.InsertText($"Page {pageNumber}");
		Size blockSize = block.Measure();
		editor.DrawBlock(block);

		Location location = new Location
		{
			Left = 0,
			Top = 0,
			Zoom = 0,
			Page = page
		};

		GoToAction goToAction = new GoToAction();
		goToAction.Destination = location;

		Link uriLink = toc.Annotations.AddLink(goToAction);
		uriLink.Rect = new Rect(offsetX, offsetY, blockSize.Width, blockSize.Height);
	}
}

Unplanned
Last Updated: 21 Jul 2021 07:24 by ADMIN
Created by: Martin
Comments: 0
Category: PdfProcessing
Type: Feature Request
1

According to the PDF Specification: A redaction annotation (PDF 1.7) identifies content that is intended to be removed from the document.

There are two possible options to workaround this functionality:

  1. To iterate the document content and replace the matches which meet certain conditions with an empty string:
    foreach (RadFixedPage page in document.Pages)
    {
    	foreach (ContentElementBase elementBase in page.Content)
    	{
    		if (elementBase is TextFragment textFragment)
    		{
    			if (IsValidEmail(textFragment.Text))
    			{
    				textFragment.Text = string.Empty;
    			}
    		}
    	}
    }
    Note: the desired content could be split into several text fragments and if so a custom parser should be created.
  2. To iterate the document content and check if the TextFragment position is within a specific RectangleGeometry
    foreach (RadFixedPage page in document.Pages)
    {
    	foreach (ContentElementBase elementBase in page.Content)
    	{
    		if (elementBase is TextFragment textFragment)
    		{
    			if (IsIntersecting(rectangleGeometry, textFragment))
    			{
    				textFragment.Text = string.Empty;
    			}
    		}
    	}
    }
    Note: it should be taken into account that the text fragment could flow out of the rectangle.
Declined
Last Updated: 19 Jul 2021 07:19 by ADMIN
Created by: Rakesh
Comments: 1
Category: PdfProcessing
Type: Bug Report
0

Hello Support,

I am generating pdf using PdfFormatProvider. In this i am passing html data which should be converted into pdf. For that I have written below code.

 

HtmlFormatProvider htmlFormatProvider = new HtmlFormatProvider();

RadFlowDocument htmlDocument = htmlFormatProvider.Import(htmlContentValue);

 var anotherpara = sectionBody.Blocks.AddParagraph();

editor.MoveToParagraphStart(anotherpara);

editor.InsertDocument(htmlDocument, options);

This works fine and also get pdf with expected value. But I would like to set spacing between two lines which I could not set or its not working. For that I have added below code.

I have also attached screenshot for it. like how its showing on pdf

editor.ParagraphFormatting.AutomaticSpacingAfter.LocalValue = false;
editor.ParagraphFormatting.AutomaticSpacingBefore.LocalValue = false;
editor.ParagraphFormatting.SpacingAfter.LocalValue = 0;
editor.ParagraphFormatting.SpacingBefore.LocalValue = 0;

 

So could you please let me know fix for it.

Completed
Last Updated: 13 Nov 2024 08:51 by ADMIN
Release 2024.4.1106 (Q4 2024)
Created by: Tao
Comments: 0
Category: PdfProcessing
Type: Feature Request
0

With the current implementation, the Trigger Events are skippet on import.

From the PDF Specification: An annotation, page object, or interactive form field may include an entry named AA that specifies an additional-actions dictionary that extends the set of events that can trigger the execution of an action.

Completed
Last Updated: 14 Jul 2021 08:10 by ADMIN
Release R3 2021
When calling the RadFixedDocument`s Clone() method the RadFixedPage`s MediaBox and CropBox are not copied.
Declined
Last Updated: 07 Jul 2021 11:45 by ADMIN
Created by: Charles
Comments: 1
Category: PdfProcessing
Type: Feature Request
0

Attempting to open a Pdf document containing an unsupported action type results in a NotSupportedActionException being thrown (see PdfProcessing: Add support for actions of type Launch).

 

Can the behavior be changed to ignore unsupported actions and allow the document to be opened?

 
Completed
Last Updated: 11 May 2023 05:45 by ADMIN
Release R2 2023

With the current implementation, the Standard Fonts preloaded in the FontsRepository cannot be replaced.

Completed
Last Updated: 03 Aug 2021 14:26 by ADMIN
An exception when the NormalContentSource of a widget is null and one flatten the form fields 
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
Created by: Charles
Comments: 4
Category: PdfProcessing
Type: Feature Request
4

This type of action is currently not supported and a NotSupportedActionException is thrown when accessing such an object.

These exceptions can be handled using the Handling Exceptions mechanism.

Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
Watermark transparency is not imported correctly
Completed
Last Updated: 28 Jun 2021 10:19 by ADMIN
Release R3 2021
When importing a document containing a specific image stream an exception is thrown.
Unplanned
Last Updated: 09 Jun 2021 08:11 by ADMIN
Implement async PDF conversion from RadFlowDocument and Workbook
Completed
Last Updated: 10 Jun 2021 11:58 by ADMIN
Release R2 2021 SP1
When importing a document containing an inline image that starts with spaces a NullReferenceException is thrown.
Completed
Last Updated: 28 Jun 2021 10:20 by ADMIN
Release R3 2021
The checkbox state is not correctly exported when the value is specified.
Completed
Last Updated: 27 May 2021 14:56 by ADMIN
Release R2 2021 SP1

According to the PDF specification (AdobeĀ® Portable Document Format Version 1.7), the appearance dictionary is optional and it is specifying how the annotation is presented visually on the page.

Exceptions thrown:

InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfNull' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.Appearance'.'

NullReferenceException: 'Object reference not set to an instance of an object.'

Completed
Last Updated: 10 Jun 2021 14:08 by ADMIN
Release R2 2021 SP1

When importing such documents an InvalidDataException (Unknown compression method <method-name>) is thrown.

According to the current .ZIP File Format Specification these methods are 7, 11, 13, 15, and 17.

Compression method:

        0 - The file is stored (no compression)
        1 - The file is Shrunk
        2 - The file is Reduced with compression factor 1
        3 - The file is Reduced with compression factor 2
        4 - The file is Reduced with compression factor 3
        5 - The file is Reduced with compression factor 4
        6 - The file is Imploded
        7 - Reserved for Tokenizing compression algorithm
        8 - The file is Deflated
        9 - Enhanced Deflating using Deflate64(tm)
       10 - PKWARE Data Compression Library Imploding (old IBM TERSE)
       11 - Reserved by PKWARE
       12 - File is compressed using BZIP2 algorithm
       13 - Reserved by PKWARE
       14 - LZMA
       15 - Reserved by PKWARE
       16 - IBM z/OS CMPSC Compression
       17 - Reserved by PKWARE
       18 - File is compressed using IBM TERSE (new)
       19 - IBM LZ77 z Architecture 
       20 - deprecated (use method 93 for zstd)
       93 - Zstandard (zstd) Compression 
       94 - MP3 Compression 
       95 - XZ Compression 
       96 - JPEG variant
       97 - WavPack compressed data
       98 - PPMd version I, Rev 1
       99 - AE-x encryption marker (see APPENDIX E)