Telerik Forums
Telerik Document Processing Forum
4 answers
361 views

I have the following code which fails at the `.Import` statement:

public byte[] PopulateHtmlAndTextBookmarks(byte[] input, List<BookmarkInfo> bookmarks)
{
    // Get the bytes into the Telerik doc object and load that into an editor
    DocxFormatProvider provider = new DocxFormatProvider();
    RadFlowDocument document = provider.Import(input);

 

The error is "System.ArgumentNullException: 'Value cannot be null. Parameter name: relationshipId'"

The issue appears to be that I have two images in that file (Open XML relationship IDs "rId7" and "rId8") that point to external URLs.  If I change those images to point at files inside the DocX container it works fine.

Does DocxFormatProvider work with external image links?   

(I'm using 2018.2.619.40)

PS I've tried to attach the file but it says only .jpg, .jpeg, .gif, .png are allowed

Georgi
Telerik team
 answered on 18 Sep 2018
4 answers
620 views
Is it possible using Telerik's tools to get at the OpenXML file in a Word document?
Petya
Telerik team
 answered on 13 Sep 2018
1 answer
351 views
Is it possible using PdfProcessing?
Polya
Telerik team
 answered on 12 Sep 2018
3 answers
181 views
Language: VB.NET

Hello,

I'm looking to use CompressedStream solution without really understanding its use.

What I am trying to do:
1. compress file.
2. Insert the compressed file into my Database.
3. Retrieve compressed file to unzip it.
4. Read file.

How can I efficiently compress the file ?
Which method should I use ?
What type of variable should I deal with ? (String, Byte ()?)

Would you have a functional example in .net to help me ?

Thanks for your help
Tanya
Telerik team
 answered on 07 Sep 2018
1 answer
597 views

Hello!

I'm trying to add fields from a database into a pdf like the image attached shows. I already read the FormFieldCollection documentation, but I'm lacking the knowledge to make it work.

 

Can someone please include a code example on how to do this ?

Polya
Telerik team
 answered on 07 Sep 2018
2 answers
108 views

Hi,

I have form fields that are set to "Visible but doesn't print" but it does not seem to have any effect on the PDF after setting the values using the library.

Not sure if I am doing something wrong.

Thanks.

Haron
Top achievements
Rank 1
 answered on 05 Sep 2018
9 answers
566 views

Hi Guys,

I'm finding a solution for two questions using PdfProcessor:

1 - There is a way to convert a pdf document to GrayScale ?

2 - There is a way to compress a existing pdf document ?

 

Regards,

Cleidson.

 

 

Tanya
Telerik team
 answered on 31 Aug 2018
3 answers
439 views
is there a way to convert a div and all its inner html to a pdf.
Peter Milchev
Telerik team
 answered on 23 Aug 2018
1 answer
363 views
Is there a mechanism to flatten AcroForm fields? Meaning I want to remove the controls and have the visual representation of the form. I am automatically filling an AcroForm and want to merge many together to create one document (many pages) of the same AcroForm with the data on each page being different. Users will print the documents and shouldn't be able to change them via the form fields.This seems to be pretty standard for pdf libraries but I can't seem to find it in this one.
Boby
Telerik team
 answered on 22 Aug 2018
1 answer
87 views

Hi,

I need to get the the number of occurrences of a text into word document page wise. Is telerik wordProcessing supports searching for a text into word document  page wise? i.e. to search for a text into document page by page and find the number of occurrences.

I would appreciate if you can help me with this.

Thanks,
Savi

Tanya
Telerik team
 answered on 03 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?