As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for a MS-Office document to .PDF 3rd party software that does not create the need for my code to manipulate the COM directly. I am looking for a package that is native to .net. I have already looked at the following:
http://www.cete.com/
http://www.pdfonline.com
Are there any other SDK packages that you are aware of that can meet my needs?
If the software package manipulates the COM on it's own, that is fine. I just don't want to perform any operations against the COM within my code. I would also prefer it to be C# based.
I think you might find one here: http://www.codeproject.com/KB/cs/sertf2pdf.aspx ; and perhaps here as well: www.novapdf.com/kb/convert-word-to-pdf-microsoft-office-word-documents-to-pdf-208.html.
Have a look at ASPOSE.NET Total & TXTextControl .NET.
Have a look at the PDF Conversion Services. It provides everything in a modern and convenient Web Services based SDK. All self contained, no need for IIS.
C# sample code can be found here.
Did you check on the win32ole for converting the microsoft document into PDF
Check the saveas command on the document object of the Win32ole.
You can save an MS office doc(doc/xls/PPT) as PDf
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there any library that can write excel files in Microsoft Office XML format ? I can't use MS Interop Excel.
I've used EPPlus in a few of my projects with no issues at. I've used it in Web and Desktop based applications. The API is pretty easy to pick up and run with it. With it I've been able to generate new documents, read and edit existing,manipulate the fortmatting. It even supports using a LINQ syntax which is pretty fun.. at least I think so :)
It's LGPL licensed so you can use it in commercial and non-commercial projects.
You can use OPENXML , ECMA Office Open XML ("Open XML") is an international, open standard for word-processing documents, presentations, and spreadsheets that can be freely implemented by multiple applications on multiple platforms,Reference.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a small C# app and I'd like to provide the ability to preview diffs and accept changes. My inputs are only text files. I came across some tools like kdiff3 and winmerge and I was wondering if anyone's integrated them inside a C# app and if yes, how was it done? I also came across some nice projects on CodeProject from an earlier stackoverflow question but since those projects were written in 2004, I was wondering if you have any suggestions for an open source diff and merge tool that I can integrate? Thanks!
Have you checked out csdiff ?
http://code.google.com/p/csdiff/
You might want to checkout DiffPlex. It is (amongst other things) a library that can be used to generate text diffs. It also provides some higher level classes that provide a more complete "diff model" that should be easier to use for rendering diffs in, say, a textbox.
Personally, I have only used it for minor tasks, but it looks powerful enough to handle more sophisticated scenarios as well.
Winmerge, as you mentioned, can be integrated with other apps via the command line. Here's an example of visual studio using these command line parameters to replace the built in diff client. In regards to launching winmerge itself, I found this simple example of how to call an external program from C#.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to have a free OCR SDK which can extract text, tables with data and images from scanned document files (.tiff,.png etc) and store into Office Word document file.
Please help me to short out this issue. I have already done extracting text only from images using MODI but could not get the way using MODI how to extract tables and images and store into Office Word Document file.
I’m not sure whether opensource SDKs can solve your tasks. Based on what you describe I see that you need a complex ocr application with document logical structure reconstruction functions. If you are planning business software you may look at ABBYY FineReader Engine. It has a set of document analyzing and reconstruction features, provides api for c# and it’s free to try. It’s not affordable for free-to-use programs, but when it comes to business software – ABBYY OCR technologies can add a serious value to your product, so consider trying it out. I work # ABBYY and can provide you additional info if necessary.
Best regards, Nikolay.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am using C# 2.0 and developing an application to convert a PDF file into HTML, Word, Excel and Image (GIF,JPEG,PNG,TIFF). Is there any free library / class available for that?
The iTextSharp library allows you to manipulate PDF files. You should be able to build what you need from it.
I know you want a free library, but a good library I've used is Windward .NET reporting engine. It is very expensive, though.
Solid Framework does a good job with PDF files. Not free though. I have tried iTextSharp and PDFBox and I can say PDFBox is rather easy if you just need the text content.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I see many questions and answers about using C# to generate PDF files. I have a related, but different task.
I have a large number of PDF files already created, and I would like to validate certain parts of the content with Regular Expressions (RegExs). I want to open the PDFs in C#, and be able to read out the text in something approaching a linear fashion.
If headers, footers, any sidebars, etc, get skipped or read out of order, it doesn't matter. I'm just after as much of the main-body text as I can retrieve.
Can you point me towards tools, libraries, API's, etc, that will enable me to programmatically read text in PDF files?
I have used PDFSharp not later than last automn and found it very easy to use in comparison to others. Home page for PDFSharp.
I have successfully used two different libraries for this purpose. One is PDF Box (part of the Apache project), and also one from Snowtide Informatics.
Both are Java libraries, but you can use then with .NET in combination with IKVM.
There is a library for .NET called
PDF Clown
There is also a nice article over at codeProject article
that details a few other libraries and approaches for reading
PDF documents.
Here is another one:
http://csharp-source.net/open-source/pdf-libraries
Looks like iTextSharp was a popular answer Reading PDF documents in .NET
Also check out Reading/Writing PDF files in Visual C# Windows Forms