Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Fri Nov 08, 2019 1:26 pm

I have an RTF file (attached) that I'm trying to convert to PDF (attached code)
The problem is that the pdf is always blank.
None of the rtf files created out of EPIC (healthcare software) will convert.

Document inFile = new Document();
inFile.LoadFromFile(@"D:\TempPublishing\orig.rtf", Spire.Doc.FileFormat.Rtf);
inFile.SaveToFile(@"D:\TempPublishing\newfile.pdf", Spire.Doc.FileFormat.PDF);

rbentley
 
Posts: 3
Joined: Mon Apr 01, 2019 5:22 pm

Mon Nov 11, 2019 2:35 am

Hi,

Thanks for your inquiry.
I have noticed the issue and logged it in our bug tracking system. We will let you know as soon as it is fixed.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 17, 2019 9:46 am

Any news on this issue? Having the same problem

gustavohrocha.gmail
 
Posts: 5
Joined: Tue Dec 17, 2019 9:31 am

Tue Dec 17, 2019 10:04 am

Hi,

Thanks for your inquiry.
Sorry that the issue is not solved yet. Since each document has unique structure, the reason of your issue might not be the same as rbentley'. To help us record your issue accurately, could you please provide your input file?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 17, 2019 2:47 pm

Have just attached the file.
Thanks

gustavohrocha.gmail
 
Posts: 5
Joined: Tue Dec 17, 2019 9:31 am

Wed Dec 18, 2019 1:54 am

Hi,

Thanks for your file.
After testing your case with the latest Spire.Doc Pack(hot fix) Version:7.11.1, I didn't encounter any issue. The result PDF is correct on my side. Please try to use the version I mentioned. Attached is my result PDF and here is my testing code for your kind reference:
Code: Select all
            Document doc = new Document();
            doc.LoadFromFile(FilePath + @"WordSourceDoc.doc");
            doc.SaveToFile("19969.pdf");


Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Dec 18, 2019 12:32 pm

Any update on my issue with the RTF to PDF?

rbentley
 
Posts: 3
Joined: Mon Apr 01, 2019 5:22 pm

Thu Dec 19, 2019 1:56 am

Hi,

Sorry that there is no progress about your issue with the RTF to PDF. I have urged our Dev team. We will let you know as soon as there is any update.
Apologize for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc