I need to read and edit existing pdf in win 8 app.
Editing pdf include adding text and images at any position on pdf.
Shall i go for xaml or javascript based coding.
which link should i follow that will give info for editing pdf.
Maybe this can help you : ....
http://social.msdn.microsoft.com/forums/en-US/wpf/thread/d115b1a4-bbcd-415d-81c4-fc167bf918f6/
PDF is a beast of a file format. If you don't have lots of software development experience (which your question suggests you do not), writing a PDF editor from the ground up (especially if you have no team) can be a daunting task, even only considering the non-UI aspects of it.
Even should you implement a library that's 100% conforming to standards, you'll have to deal with all the faulty PDFs out there. Which very few readers, including the Win8 PDF reader, accomplish.
In case you're looking for a library, you should have a look at http://www.dynaforms.com/ - it can cope with most PDFs and has some editing functions and a renderer (in the professional version) as well and there's a Windows 8 compatible version of it.
If you want ready framework, you can look at Foxit Software solutions. They already have framework for Win8, but it can be expensive.
Related
how can i add Acroforms (or any inputfields) with pdfsharp lib to a pdf?
For example a textbox (PdfSharp::Pdf::AcroForms::PdfTextField)
I can't find any example for this, only read/modify.
I found "page->Elements->Add(key,pdfitem)", but i cant create a Object from PdfSharp::Pdf::AcroForms::PdfTextField or the others Forms (no Constructor)
Don't know if it is still relevant (maybe it will be relevant for other users), but it is not possible to do that with PDF Sharp, unfortunately, as if it would have had that functionality as well, it would have been a really nice rounded library. The AcroFrom functionality of the library only allows targeting already existing one.
Depending on what is your project for you can use iText sharp, but it has an AGPL license which is not ideal, there are other libraries but they are quite expensive. If it is a small pdf file (under 10 pages) you can use the free tier from the SpirePDF library.
In addition, there is PDFClown library which is open source (as long as you mention that you use it somewhere), but similarly to PDFSharp, it is quite old, and even less documented than PDFSharp.
Sadly, there aren't many solutions to this issue.
I want to implement an iOS application which views PDF files. I have used vfr/Reader in some other applications before. But now i need to display multimedia supported PDF files on iOS which include videos, animations etc. My customer create these PDFs by using InDesign.
I made a research and can not found a proper iOS based framework to achieve this. There are really limited number of solutions like Adobe, FastPDFKit etc but they are so expensive and there is no "one time fee" option.
Do you have any open source suggestions or the ones with lower prices?
EDIT: Made a research for days and days but there is no solution. Is there any other tool to create interactive ebooks or magazines? May be HTML5 or something with editor itself???
I have used QLPreviewController before to open local PDF files and it works great and it not hard to implement-- and it supports multiple documents.
Heres a good tutorial that I followed:
http://mobiledevelopertips.com/data-file-management/preview-documents-with-qlpreviewcontroller.html
I have not tested viewing videos or anything-- the PDFs I had were simple. But it is an Apple control and has all of the basic PDF viewing functions like pinch to zoom, but like I said my PDFs only had text but it is worth a shot to try.
After a long long research and discussions, unfortunately there is no free solution with these features. There are only paid solutions and Adobe Publishing Suite takes the head although it is one of the most expensive solutions
I've been looking for ways by which I can generate Thumbnails from pdf, as shown in the explorer. But the problem is that without Adobe Pro, the free version does not expose all ihe COM interfaces. Is there any other way? please help.
Ghostscript (which is what ImageMagick uses) will generate images in a wide variety of different image formats... if you need something really obscure then use the imagemagick wrapper, otherwise, I prefer the straight dope.
If you can afford a commercial option, you could use Amyuni PDF Creator ActiveX for this task, (or .Net version if that suits your needs better). Using this product you can create jpg/png/bmp images from the first page of your PDF files with the specified resolution, and then use them as thumbnails.
Disclaimer: I am part of the development team of this product.
Here are other SO questions proposing other approaches (not involving COM):
Using ImageMagic in command line
Thumbnail of a PDF page (Java)
I've been asked to investigate the feasibility of adding watermarks to documents when printed through our application. The documents will consist of word, pdf and cad.
The interface of the application is vb6 with a plethora of vc6 dll's.
I can see a couple of possible solutions:
Convert all documents to PDF, add a watermark and then print.
Find a print driver that will add a watermark to all documents prior to printing and install it and reenable it at runtime if it gets disabled for any reason.
3rd Party suites are possibility (we use Volo View Express for viewing CAD files) but since this application is nearing end-of-life we wouldn't want to spend too much on it.
Has anyone had any experience of the above? Any gotcha's that will bog me down?
Tracker Software has a good set of PDF api's that that will allow you to implement the solution you already have in mind. I've used their Image and PDF libraries quite a bit with a lot of success in both VB6 and .NET. Single user licenses are not expensive (depending on how you look at it I guess), and I've found support to be excellent as well.
We are developing a little application that given a directory with PDF files creates a unique PDF file containing all the PDF files in the directory. This is a simple task using iTextSharp. The problem appears if in the directory exist some files like Word documents, or Excel documents.
My question is, is there a way to convert word, excel documents into PDF programmatically? And even better, is this possible without having the office suite installed on the computer running the application?
Office 2007 allows for this. I have found PDFCreator to be good, the VBA is included in sample files, and have heard that CutePDF is also good. PDFCreator and CutePDF are free.
To work without Office, you would need viewers, as far as I know:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c8378bf4-996c-4569-b547-75edbd03aaf0&displaylang=EN
http://www.microsoft.com/downloads/details.aspx?familyid=95E24C87-8732-48D5-8689-AB826E7B8FDF&displaylang=en
I needed to do this myself, but managed to get it done with .Net and without 3rd party tools:
MSDN: Saving Word 2007 Documents to PDF and XPS Formats
Pretty simple, about 50 lines of code. However I think you will need Word 2007 installed on the machine as well as the ability to Save As PDF
To convert Word documents to PDF, take a look at jWordConvert, a java library that can do exactly that. This will not work with the Excel files though, only with the Word files. The language is not Sharp, it's Java but you could switch to use IText (which is java) instead of ITextSharp.
You can also use a component like activePDF's DocConverter to convert a lot formats to PDF.
Use PDF maker that comes with adobe 7- 9
I just used this code Covert Doc to PDF
I'm surprised Aspose wasn't mentioned here, it's easy, simple, and reliable. Downside is that it is not free.
I've used iTextSharp in the past, it's really good, easy to install (one DLL I believe), the merge takes a bit of tindering so it's not as easy to use as Aspose, but hey, it's free so that is the best part.
TallPDF.NET (comes with a hefty price tag) allows you to serve dynamic PDF from any .NET application including ASP.NET pages and web services.
PDFEdit (free and open source) is an editor for manipulating PDF documents. It has a GUI version and a command-line interface. Scripting is used to a great extent in the editor and almost anything can be scripted. It is possible to create your own scripts or plugins.
The most common way to convert files to a pdf is to print them to a pdf printer driver. There are a number of such drivers, one that i know of that will do the job is Black Ice.
Another is to use Adobe Acrobat's SDK. from memory its very expensive.
Its been a while since i have actually done any work with converting pdf's and the landscape may have changed.