Building Document Processing source code produces assemblies with the wrong VersionReleaseNumber. This leads to version 2022.1.<version_date> instead of 2022.2.<version_date>.
Workaround: Update VersionReleaseNumber to equal 2 in "...\Telerik_UI_For_WinForms_2022_2_510_DPL_source\DPL\Build\Imports\CommonConfig.targets"
public string AppendPdfList(string[] append)
{
PdfFormatProvider provider = new PdfFormatProvider();
RadFixedDocument targetDocument = new RadFixedDocument();
provider.ImportSettings.DocumentUnhandledException += (o, args) => { args.Handled = true; };
// Iterate through the files you would like to merge
foreach (string documentName in append)
{
RadFixedDocument sourceDocument = provider.Import(File.ReadAllBytes(documentName));
targetDocument.Merge(sourceDocument);
}
TelerikPdfHelper.ClearDuplicatedFonts(targetDocument);
OutputFilename = Path.GetTempFileName();
File.WriteAllBytes(OutputFilename, provider.Export(targetDocument));
return OutputFilename;
}
Results in System.NotImplementedException: 'The method or operation is not implemented.
Having issues when setting form text field that is rotated. The flatten method does not respect the alignment Middle/Right.
Also the field border does not get rotated.
See attached example.
We found a small gap in Telerik's code, while defining name of Excel Sheet tab name (through Telerik Spreadsheet) --> using:
IWorksheetExporter CreateWorksheetExporter(string name);
of:
Telerik.Documents.SpreadsheetStreaming.IWorkbookExporter
When defining name of Excel sheet longer than 31 characters, Telerik code throws ArgumentException "Sheet name should be limited to 31 characters."
This is fine and correct - Excel sheet tab could be set UP TO 31 characters.
When using "shorter" name - like 30 characters, it works.
But when using exactly 31 characters, same Exception is thrown, which shouldn't be the case, as:
- Excel allows UP TO 31 charaters
- also you Exception message is clear that name should be limited TO 31 characters ;)
Best Regards,
Namyslaw Szymaniuk
Dear Team,
when I create a pdf with your components (RadFixedDocument, RadFixedPage, FixedContentEditor) I cannot add a "german umlaut" in that report because then it cannot be viewed in your own pdfviewer- control (the exception is: Error loading document: Position is out of range).
I tried to solve this in "creating/ loading" arial.ttf as external font (even this is weird as idea), but this also did not work.
What is your solution for that?
I bought the Telerik components basically for PDF processing, this simply needs to work...
Many thanks for an urgent update on that!
Best regards
Tobias
I'm trying to use RadWordsProcessing
to replace text in .docx documents.
when i try to open a document i have an error:
BadImageFormatException: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)