Is there an open source PDF printer written in C++? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to look at the source code of a PDF printer to see how they do the printer driver part, but so far I've only found PDF Creator which is written in VB. There are plenty of freeware PDF printers but they're not open source, and I need to look at the source code.

Here the project EmfPrinter written in C++.

I use OpenOffice to convert Word documents to PDF.
I believe the source code is available.
If you really only want the "printer driver" part then this may not be what you're looking for. But if you're interested in the PDF generation then it may very well be.

Related

Writing PDF reader Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have searched for PDF reader library that is licenced under LGPL or the like but could not find. I found only GPLs. Now I need a help to write my own library to read the PDF file and display it in my app. I have downloaded PDF Specs 1.7 from Adobe and I'm trying to search out a beginner tutorial but I'm yet to find one.
Is there a beginner tutorial for writing my own reader library (only reader)?
Thanks
Since you can't find a PDF read tutorial, why not try learning from a writer. If you want to integrate with wxWidgets, you may want to analyze the source of wxPdfDocument at http://wxcode.sourceforge.net/components/wxpdfdoc/

Images as a part of source code documentation / comments? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
My question is similar to Adding images into source code, but my environment is Visual C++. Is there some way how to add images as a part of comments and make the IDE to display them (either inline, or by clicking on them or performing some action on them)?
What I was doing until now was either to provide an URL to an external .PNG or .SVG file placed in the SVN using its URL, or by creating an ASCII art, but it somehow feels strange to me in the age of GUIs and rich documents everywhere be still limited to this. If there is no better solution, are there at least some pluings to make this more streamlined (e.g. by creating the SVN document for me and placing a link to it in the comment, or by helping me in the ASCII art drawing)?
There is a sample add in that appears to be doing this. I haven't run it.
Here's the link. Source code is available.

A C++ code generator from an XML spec [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'd like to know if there's a tool which allows you to do class definition based on an XML format. I'm not looking for data binding. Anyone can help ?
Thanks
When I had this problem a few years back, I wrote a Python tool to execute Python code embedded in text files so that I could generate C++ code with Python inside the C++: http://nedbatchelder.com/code/cog/
I know of two tools both of them are commercial products
http://www.codesynthesis.com/products/xsd/
Is open source GPL - commercial licence is avalable for commercial use
I think this is/was used by gSOAP
http://www.artima.com/cppsource/xml_data_binding.html
http://www.codalogic.com/lmx/
don't know any more than the web site
I hope this helps.
Update:
Just found this http://en.wikipedia.org/wiki/XML_data_binding#C.2B.2B
Update 2:
This is great, I have been looking for an open source package to do this for ages and your question has just helped my find it:
http://top.touk.pl/confluence/display/xmlbeansxxdoc/Introduction+to+xmlbeansxx
http://top.touk.pl/confluence/download/attachments/458767/Manipulate_XML_Documents_in_CPP_with_xmlbeansxx.pdf
YACC or BISON may be what you are after.
Are UML Class Diagrams what you are looking for?

XPS open source implementation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does any know of any C/C++ open source for XPS [XML Print Specification].
I found http://www.ndesk.org/Xps, but it is c# ...
Any help will be highly appreciated.
I know of two open source implementations of XPS parsing and rendering: there is GhostXPS for use with Ghostscript, and MuXPS. MuXPS is a fork of GhostXPS which is based on the MuPDF graphics library instead. MuXPS is still very new, but you can find the source in the MuPDF git repository.
Mighty Wikipedia says that KDE Okular supports OpenXPS.
Artifex has GhostXPS which can read XPS packages

Open source library to convert DOC and other MS-Office files to image(s) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Can you recommend an open source library (C or C++) to convert MS Office files into a set of images?
I am evaluating ImageMagick and while it does support PDF files, it does not work with MS Office files.
This library is quite popular and used by abiword (gnome) and kword (kde): wvWare
Hm I've seen that OpenOffice does a good job on "translating" Word to whatever, so how about installing OpenOffice and maybe using it's UNO model from C++ to solve that problem?