Telerik Forums
Telerik Document Processing Forum
10 answers
179 views

Hi,

 I have updated our company software to the 2015 Q2 release. According the release history this should include the following for the PDFProcessing.

  • Introduced API for merging PDF documents.
  • Implemented loading ImageSource on demand when importing PDF documents.
  • Introduced API for accessing image data.
  • Implemented support for import and export of TrueType fonts.
  • Implemented support for import and export of text showing content stream operators.
  • Implemented support for import and export of text positioning content stream operators.
  • Optimized performance when Image objects are imported and exported by not decoding and encoding the image data.
  • Provided API for inserting and retrieving images as encoded image data.

Has all the documentation been updated yet as it looks the same as when I last looked. I am disappointed that I am still suffering from the following issues, which I thought would be covered by the above fixes.

  1. Cannot import png files correctly (transparency issues)
  2. Cannot import pdf file to include in generated document (shows as blank page)
  3. Image compression on imported images cannot be turned off (ImageQuality.High causes to much of a loss of quality for printed documents)

Is it still the case that the above problems are still unfixable for now?

Regards,

 

Shaun

 

Deyan
Telerik team
 answered on 23 Oct 2015
4 answers
241 views

I'm presently exporting a Chart and a Grid to a PDF, which works fine in Chrome and Firefox.

In IE11 however, I get:
"SCRIPT5007: Array.prototype.slice: 'this' is null or undefined

File: kendo.all.min.js, Line: 17, Column: 7305 "

It says there is compatibility for this in IE versions 10 and up (I believe).

I've tried it with the proxyUrl, and it still fails in IE.

BUT, this app is running 100% locally and will not have an internet connection anyway, so even if the proxyUrl worked, it wouldn't be a viable solution.

Paul
Top achievements
Rank 1
 answered on 22 Oct 2015
4 answers
180 views

Hi

I have been testing the PDFProcessing library, and have one question I hope you could answer.

In my application I need to create a PDF documentation, with content like texts, tables, images etc. 

Is there any way I can add a UIElement just like adding a text or image to a RadFixedPage?

I have previously been using the FlowDocument where you can add UIElements... 

 

Kind regards

Jesper

UDV
Top achievements
Rank 2
 answered on 15 Oct 2015
2 answers
1.3K+ views

I've used the example show in de docs to import a csv file into a worksheet:

http://docs.telerik.com/devtools/aspnet-ajax/controls/spreadprocessing/formats-and-conversion/csv/csvformatprovider

After importing the file, the worksheet is filled with the proper data. However, the Columns.Count and Rows.Count properties are set on the maximum they can be, not the number of imported rows and columns. 

What is the fast way to find out which rows and columns are empty? I want to stop processing the document as soon as I've reached the first empty row.

 

Mark
Top achievements
Rank 1
 answered on 14 Oct 2015
1 answer
214 views

So I'm following the sample on this page:

http://demos.telerik.com/aspnet-ajax/wordsprocessing/generate-documents/defaultcs.aspx

I've been able to create my document object, editor object and added lines, etc. to the file and it produces a docx without issue.  What I'm trying to figure out is how to set the pageorientation to landscape.  I've been looking and haven't found any way to accomplish this.  I saw a sections pageorientation in the docs but I don't see how to access it.

Thanks,

Richard

 

Tanya
Telerik team
 answered on 14 Oct 2015
5 answers
157 views

I am currently creating a pdf document using your PdfFormatProvider.

Inserting text does not include any "-"  (dash) characters.

Dim partNumberBlock = partNumberCell.Blocks.AddBlock()
SetTextProperties(partNumberBlock, RgbColors.Black, 18, FontsRepository.Helvetica)
partNumberBlock.InsertText(sws.Z_No.ToString())
partNumberBlock.InsertLineBreak()

I am using your ​FontRepository and have tried various of the standard fonts.

Is the problem similar to the previous post about german characters and the dash is just not part of the font.

Any help would be appreciated

David Charles Ocasio

 

 

 

 

Deyan
Telerik team
 answered on 07 Oct 2015
1 answer
184 views

Hi,

Filling the cells one by one is time-consuming.

Is there any faster way? Something like CopyFromRecordset method.

Is there any way to insert data into CellRange using RecordSet/Array etc? 

 

 

Svetoslav
Telerik team
 answered on 06 Oct 2015
1 answer
201 views

Hi,

 

I am new in using RadWordsProcessing , I am building report in docx. Requirement is too divide one page in different section, so that i can turn off particular section based on user requirement. How can i divide one page in different section ? because when i try to create other section, it gets created in next page.

Mihail
Telerik team
 answered on 06 Oct 2015
1 answer
355 views

Hi,

 

I have class library, i am trying to use 

RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document); 
Stream stream = new MemoryStream(RQST_ATTACH);
editor.InsertImageInline(stream, "png", new System.
Windows.Size(660, 237));​

 But System.Windows.Size is supported not supported in class library, is there any other way i can deal with this ?

Boby
Telerik team
 answered on 06 Oct 2015
1 answer
764 views

Hello,

I am writing a very specific type of a report, which I have to control line height, dynamically generate content, and fill in a chart object.  I'm currently doing this using OpenXML and Microsoft Word.  When created, the end result is exported into PDF.  This always seemed like overkill for me, and I would have preferred to use Telerik Reporting, except that Reporting doesn't let me set specific line heights.

In any case, I would like to try to dynamically build a web page of the report that I'm doing, which would be formatted exactly as I need it to be, and would also incorporate a RadChart.  I would like to use either WordsProcessing or PDFProcessing to take the MemoryStream of this HTML page, and output it to PDF.  Is this possible?  I don't see any specific examples, although I see there is a conversion demo which can take HTML as input and create a PDF as output.

Thank you,
Alex

Boby
Telerik team
 answered on 05 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?