Hi everyone,
in my company we are using Telerik WordProcessing to handle some docx templates by replacing placeholder in there with values we took from DB. Everything works well when we use ReplaceText of RadFlowDocumentEditor except when we have a string that contains '\n' character.
Basically, for a string like "Ipsum\nDolor\nSit\nAmet" when we call ReplaceText on a particular placeholder, we got a situation like this
Ipsum
Dolor
Sit
Amet
which seems look ok, but unfortunately just the first row keeps the font style that placeholder has, the others instead doesn't and fallback to default style.
Any idea how to solve this?
Thank you very much for your attention
Hi
are there any experiences with using the DocumentProcessing libraries in a Linux / k8s cloud env?
A lot of .net libraries have issued with this because they have a system.drawing reference.
In the documentation, I didn't find anything about this.
I plan to u see the document processing library in a .net 6 / c# web API project running in a linux docker image .,
are there any pitfalls?
many thanks in advance

public static void AddLabel(TableRow quartersRow1, string Label, alignment.HorizontalAlignment LabelAlignment = alignment.HorizontalAlignment.Right, double Labelpreferwidth = 0, int labelColSpan = 1, double LabelFontSize = 10, bool ShowBorder = false)
{
TableCell Labelcell = quartersRow1.Cells.AddTableCell();
Labelcell.PreferredWidth = Labelpreferwidth;
Labelcell.ColumnSpan = labelColSpan;
if (ShowBorder) Labelcell.Borders = new TableCellBorders(border, border, border, border);
Block Lblock = Labelcell.Blocks.AddBlock();
Lblock.HorizontalAlignment = LabelAlignment;
Lblock.TextProperties.FontSize = LabelFontSize;
Lblock.InsertText(genericfontfamily, FontStyles.Normal, FontWeights.Bold, Label ?? "");
}We have recently migrated our application from .Net framework to .Net Core. Earlier the label we used to print in the PDF were bold, but now since we have migrated the application the bold font is showing as normal font.
The code mentioned above was giving the bold fonts for the labels in the PDF.
Can you please let me know what changes would be needed here for the desired output.

I would like to format a range of cells in an Excel Worksheet that are already part of a named range. How is it possible to format this table in the Excel worksheet with banded rows? I want it just like Excel does it for a table formatting.
Is this banding of rows possible with the present Telerik SpreadProcessing library?

Hi,
I'm working on document word processing. My task is quite simple, basically I need to take a DOCX template, manipulate it by replacing some fields, with values taken from other parts, and adding some TableRow on it and, finally, I need to export it into PDF format.
This works but unfortunaley the PDF I see is not equal to the docx template from where I start, so do you know some workaround that may help me to fix this issue.
Thank you for your attention.
Hi
Is there a way to get the un rounded .Net double value of a formula cell?
Instead of using the GetResultValueAsString method used in the examples:
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets.Add();
worksheet.Cells[0, 0].SetValue("=SUM(A2, 3)");
worksheet.Cells[1, 0].SetValue(10);
ICellValue cellValue = worksheet.Cells[0, 0].GetValue().Value;
CellValueFormat format = worksheet.Cells[0, 0].GetFormat().Value;
string valueAsString = cellValue.GetValueAsString(format); // =SUM(A2, 3)
string resultValue = cellValue.GetResultValueAsString(format); // 13

Hi,
Which is the better way of getting the 'as displayed' cell value?
Dim selection As CellSelection = worksheet.Cells(i, j)
Dim value As ICellValue = selection.GetValue().Value
Dim format As CellValueFormat = selection.GetFormat().Value
Dim formatResult As CellValueFormatResult = format.GetFormatResult(value)
Dim result As String
result = value.GetResultValueAsString(format)
'vs.
result = formatResult.VisibleInfosText
Thanks,
Sid

Hi,
I like to use the PageSetup in RadSpreadstreamProcessing. I have an generated Excel File and I would like to set Papersize and other configurations. When I integrate it in my Code the IPageSetupExporter is not known.
using (IWorkbookExporter workbookExporter = SpreadExporter.CreateWorkbookExporter(format, documentStream))
{
using (IWorksheetExporter worksheetExporter = workbookExporter.CreateWorksheetExporter(nameWorksheet))
{
..........
using (IPageSetupExporter pageSetupExporter = worksheetExporter.CreatePageSetupExporter())
{
..................
}
}
}
I get also the message that the IWorksheetExporter doesn't include a definition "CreatePageSetupExporter"?
Has anyone an example how to use this?
Regards
John