Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Dec 13, 2012 10:32 pm

Im converting a word to pdf using the next code:

//Create a new document
Spire.Doc.Document doc = new Spire.Doc.Document();
//Load word 2007 file from disk.
doc.LoadFromFile(wordPath);
//Save doc file to pdf.
doc.SaveToFile(PDFPath, FileFormat.PDF);

Normally it works all right, but im having problem with the document i attach.

Juan FranciscoSzczyrek Gabarret
 
Posts: 4
Joined: Fri Oct 26, 2012 2:58 pm

Thu Dec 13, 2012 10:46 pm

This is the message im getting:

en System.ThrowHelper.ThrowArgumentOutOfRangeException()
en System.Collections.Generic.List`1.get_Item(Int32 index)
en ᝱.ᜀ(᝛ A_0, Ი A_1, ᵡ A_2)
en ᪰.ᜇ()
en ᪰.ᜋ()
en ᪰.ᜁ(IDocument A_0)
en ᤘ.ᜀ(Document A_0)
en Spire.Doc.Document.ᜁ(String A_0)
en Spire.Doc.Document.SaveToFile(String fileName, FileFormat fileFormat)

Juan FranciscoSzczyrek Gabarret
 
Posts: 4
Joined: Fri Oct 26, 2012 2:58 pm

Fri Dec 14, 2012 2:31 am

Hello,

Thanks for your inquiry.
We don't find your document. Could you please attach it again or send it to support@e-iceblue.com?
So that we can reproduce your problem, and work out a solution for you soon.
Thank you!

Best regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Dec 14, 2012 11:28 am

I have send the word to support@e-iceblue.com

Thanks in advance

Juan FranciscoSzczyrek Gabarret
 
Posts: 4
Joined: Fri Oct 26, 2012 2:58 pm

Mon Dec 17, 2012 3:40 am

Hello,

Thanks for your feedback.
We are sorry for the delay response for weekends here.
We have receieved your document from your email. We used spire.doc_4.5.25(the download link is http://www.e-iceblue.com/Download/download-word-for-net-now/spiredoc-pack-hot-fix4525.html?Itemid=0) to do some tests, but we didn't reproduce your problem. Please try use the version to test again. Because of spire.doc don't support the featrue about shape, some shape in doc file will diappear in the generated pdf file. We parse the doc file and find that there are two rREF field in doc file, these two rREF field will be executed when doc to pdf convertion, so the text "¡Error!No se encuentra el origen de la referencia." will show in the generated pdf file. If you still have the problem or encounter others problems, please tell us.

Best regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Dec 17, 2012 1:33 pm

Amy, with the latest DLL version works perfectly.

Thank you very much.

Juan FranciscoSzczyrek Gabarret
 
Posts: 4
Joined: Fri Oct 26, 2012 2:58 pm

Tue Dec 18, 2012 1:35 am

Hello,

Thanks for your feedback. :D
If you encounter other problems, please don't hesitate to contact us.

Best regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF