Hello,
I'm using Telerik Documents Processing 2023.1.410
With WordsProcessing, if I add a table in a footer it will automatically add a space after the table
Here an example, my table is the same size as my image in background and I removed all margin of the section:
Here the code:
Footer footer = section.Footers.Add(HeaderFooterType.Default) section.PageMargins = new Padding(0,96,96,0); section.FooterBottomMargin = 0; Table table = footer.Blocks.AddTable(); TableRow row = table.Rows.AddTableRow(); TableCell cell = row.Cells.AddTableCell(); Paragraph paragraph = cell.Blocks.AddParagraph(); paragraph.Inlines.AddRun("Something");
I didn't any properties to manage spaces around a Table like in Paragraph.
It can be reproduced without the image
Work around:
If I add a new paragraph at the end and remove all spaces of this paragraph then it works
Here the code added:
paragraph = footer.Blocks.AddParagraph();
paragraph.Spacing.SpacingAfter = 0;
paragraph.Spacing.SpacingBefore = 0;
paragraph.Spacing.LineSpacing = 0;
Regards,
Hervouet Thomas
Hi
is there possible Telerik RadSpreadProcessing able to print repeat column on every printed page?
When importing an XLSX that has "Date" number-formatted cells, and those cells have the 5-digit representation of th edate, XslxFormatProvider.Import(bytes) will throw a KeyNotFoundException. The exception message is "The given key '58' was not present in the dictionary" for the particular case we're looking at.
Unfortunately, we cannot provide the file itself, as it has PHI in it. And, when we open it in Excel and resave it, Excel will automatically convert the 5-digit representation to a normal date. This new file will import just fine. However, we're trying to cut out that intermediate step.
Pertinent portion of the stack trace:
at System.ThrowHelper.ThrowKeyNotFoundException[T](T key)
1. Line Height is not converted properly. for example, if we set the line height is 1.5 in angular UI editor, in PDF is not shown properly,
2. Table alignment is not proper - After resizing the in the angular editor, the same alignment is not converted in PDF. I think colgroup and cols custom tags are not considering while converting the PDF.
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.
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)
We would like to have image formats like JPG, PNG and TIFF supported in addition to the PDF and Office document support in DPL.
Based on how Excel works, VLookup doesn't need to be sorted, if the 4th parameter is FALSE. The 4th Parameter determines whether an approximate search is used or an exact match is used. by default true is used and an approximate search requires a sorted range. However, if set to FALSE, then the range doesn't need to be sorted. the value is checked against the entire column of cells and can be unsorted.
We process spreadsheets that use VLOOKUP with 4th parameter set to FALSE and unsorted data in range. These work in Excel, but not in Telerik Spreadsheet processing.
thanks,
Even without flattening the form the Barcode font gets lost.
Noticed that manually setting the font using the font name with spaces seems to work.
Other custom fonts on our form appear to work, however the Free 3 of 9 does not.
Attached a project to demonstrate some issues we're seeing that need resolving in order to use the component.
1. When using a font like Tahoma on a form field, the value no longer displays or contains garbled text.
2. Input file is 24KB, output is 2MB!
3. Rotated field lose their rotation after being flattened.
4. Simulate merging with other files, 100 times the file is now 150MB! It's as though it's not re-using the fonts, but keeps adding the same ones.
5. when merging, but not flattening, the form fields are all lost on pages after page 1
Allow to export the documents to image.
Being able to generate a thumbnail for example.