I'm looking for a commercial library that can achieve both tasks. This library will be called from a C# web application.
Main Topics
Browse All TopicsI need to convert PDF documents into Quark and InDesign formats. Any ideas on how to achieve this programatically?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi, raheelasadkhan,
there wil be no library available for sure as these are commercial products.
What you can do is OEM e.g. QuarkXPress Server and feed it XML. QuarkXPress Server can make QuarkXPress documents out of XML and then make PDFs out of them. Or you feed it XML and get a QuarkXPress document.
Matthias
Thanks for your input. The problem at hand is to generate Quark and InDesign from PDF so I'll have to find a way to export PDFs to XML which would require a separate library and complicate the process. I will look into it though.
If a single library cannot do that, I would need at least a reference implementation using multiple libraries since I have no experience with Quark or InDesign and very little with PDFs.
So far the only solution seems to be using the PDF or Acrobat SDK to convert PDF to XML and XML to Quark and InDesign. Yikes!
Any help would be appreciated.
Hi, raheelasadkhan,
to get a PDF into anything editable if you are interested in content AND geometry is already an extremely difficult task.
Where does the PDF come from? It might be easier to export before it gets frozen into PDF.
Also, why do you need it to be QuarkXPress or InDesign? Do you just want to edit text or do you really want to change layout?
Matthias
if you need the PDF just rasterized, then just create two documents, one QuarkXPress, one InDesign, create a picture box as large as the page and link it to any PDF. Now you just need to rename the PDFs and the QXP and ID documents will link to the new PDF.
Is that sufficient? (I can't imagine, but if you really just need it as a picture then this is working).
Matthias
If that would work then programatically you just have to do a "file rename".
QuarkXPress and InDesign reference pictures by file path (absolute or relative).
So you would create OEN document with a picture box, reference to a PDF called "picture.pdf" in the same folder as the QXP/INDD and then you are done.
So when you need to send the next document to your custoemr, you woudl have to rename your acme.pdf to picture.pdf and send off the two files (the QXP and the PDF).
Matthias
At my work they use PDFlib (can also run as a Webservice) with .Net C# to rasterize a PDF and send for print to copyhouse. http://www.pdflib.com/down
You can setup the save options to your likes like cPDF etc. It's a lot of work to program but quite handy.
Good luck
Business Accounts
Answer for Membership
by: mguentherPosted on 2009-09-01 at 14:22:34ID: 25236317
Hi, raheelasadkhan,
uarkallian ce_develop er.html
thias
both applications allow you to export as PDF (under File menu).
There are scripting languages (e.g. AppleScript) to automate this.
Additionally both applications have an API from where you can control this.
Or another option is QuarkXPress Server, a "user interface less" application that is multi-threaded and queueable to automate QuarkXPress tasks.
For QuarkXPress, here's support on getting access to the API: http://quarkalliance.com/q
Mat