Telerik Forums
Telerik Document Processing Forum
1 answer
93 views

Hi,

I have some issues converting doc or docx files to pdf.

Attachment has the code sample and 2 documents.

Problem_with_footer.docx after transformation does not render bold chars and does not display footer at all..

Changes_Signature_position.doc after transformation the position of Signature place is not correct.

 

Any  help would be appreciated

Thanks

John

Yoan
Telerik team
 answered on 04 May 2023
1 answer
80 views

I need to rotate the text vertically.

It seems the TextRotation is unavailable when using Telerik.Documents.SpreadsheetStreaming.SpreadCellStyle.

How do I apply text rotation to a style using SpreadsheetStreaming?

 

Thanks,

 

Jim

Anna
Telerik team
 answered on 28 Apr 2023
1 answer
95 views

Hello

We have an existing extensive report created with a RadFixedDocument for saving as pdf. We would like to allow users to add content from multiple TelerikEditors to the report, as comments. The TelerikEditor exports html. I have seen this post: https://www.telerik.com/forums/telerik-blazor-pdf-processing---tutorial-on-how-to-add-markup-html-in-a-string-to-a-pdf

Is there any other way to add HTML snippets in a PDF report, or should we rewrite the entire report as a RadFlowDocument?  Is there an other way to convert some basic HTML to elements we can use on Block.

Thanks

  -Edo

 

Edo
Top achievements
Rank 1
 updated question on 26 Apr 2023
1 answer
71 views

Hello,

I would like to ask if I can add watermark to a pdf document generated from a docx file and signed digitally without invalidating the signature.

 

 

Thank you

Yoan
Telerik team
 answered on 25 Apr 2023
3 answers
86 views

Hello,

I have a license for Telerik for WPF v2021.1

I wanted to use RadWordsProcessing with dll for .net standard (Telerik.Documents.* instead of Telerik.Windows.Documents.*) but I can't find them either from the installation directory or the nuget repository

From the Telerik product page it says that document processing libraries are included in each product so I should have them.

Can anyone help me find them or understand why I don't have them please ?

Thank you

Thomas

Thomas
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 20 Apr 2023
1 answer
83 views

We are licensed user and have been trying to convert HTML into PDf using telerik. But while doing so we are loosing certain CSS styles. we are unable to wrap the text in column header and use <hr> in the pdf document. Is there any possible way to do it ?

Yoan
Telerik team
 answered on 10 Apr 2023
2 answers
55 views

I have an assembly called SharedUtllities.   It references an older version of Telerik.Documents.    I reference SharedUtllities  from JobsCore.   I also reference the lastes version of Telerik.Documents in JobsCore.   It compliles okay but, when I run it, I get a runtime error when the program hits  SharedUtllities ru = new SharedUtllities().   The error message is that it cannot find the older version of Telerik.Documents that I reference in SharedUtilities.

I cannot update the library versions used in SharedUtility  but I can recompile it.  I tried using Fody and tried using VS to include the old version in the exe but that didn’t work.    I tried to reference the old version as well as the new version got errors galore.    I also tried to use binding redirects.

So SharedUtilities references older version of Telerik.Documents.   The build does not copy any Telerik dlls.

JobsCore references SharedUtilites.dll.    Running JobsCore throws an error because it can’t find the old version of Telerik.Documents.

I can’t reference the old version and the current version.

 

 

 

Monique
Top achievements
Rank 1
Iron
 answered on 31 Mar 2023
0 answers
54 views


Dear sir

When using Korean fonts, the text length is cut off. (Style problem)

There is no problem when using other products.

Is there a solution?

 

 [telerik]

  [Good]


Jeonghoon
Top achievements
Rank 1
 asked on 27 Mar 2023
1 answer
140 views

I'm trying to programmatically create a spreadsheet from some data.  The spreadsheet I'm modelling has Excel filters at the top.  I've seen many different kinds of filters in the Kendo Document processing APIs, however it doesn't appear that any of them function like the default filter in Excel.  Is there a way to add this to my header cell and let Excel fill it in when the sheet is loaded?

Sample

Sample of what Excel shows when you click the filter button.

Mine (so far)

Dimitar
Telerik team
 answered on 23 Mar 2023
1 answer
114 views

Hello

I'm trying to implement a simple page counter in my generated document to display "Page x of y" in the footer.

I tried to use the PAGE and NUMPAGES fields, as explained in this article: https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/concepts/fields/page-field, but the NUMPAGES field doesn't update and I get "Page x of " instead.

I also tried the workaround suggested in this forum post: https://www.telerik.com/forums/table-headers-page-numbers, but the result is inconsistent - when testing on the same document I get either a count of 8 or 9, even though it's always the same document and always eight pages long.

How can I get the total number of pages in the generated document?

My current code:

RadFlowDocument document = new RadFlowDocument();
RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);

//Business logic

PdfFormatProvider provider = new PdfFormatProvider();
RadFixedDocument fixedDocument = provider.ExportToFixedDocument(document);
int count = fixedDocument.Pages.Count;

Footer footer = document.Sections.First().Footers.Add();
editor.MoveToParagraphStart(footer.Blocks.AddParagraph());

editor.InsertText("Page ");
FieldInfo pageFI = editor.InsertField("PAGE", "1");
editor.InsertText($" of {count}");

document.UpdateFields();

using (MemoryStream output = new MemoryStream())
{
    Telerik.Windows.Documents.Extensibility.FontsProviderBase fontsProvider = new FontsProvider();     
    Telerik.Windows.Documents.Extensibility.FixedExtensibilityManager.FontsProvider = fontsProvider;
    PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
    pdfFormatProvider.Export(document, output);

    return output.ToArray();
}

Yoan
Telerik team
 answered on 20 Mar 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?