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 working on a Metro Style application that need to render PDF documents (only viewing). I am looking for a library to render a .pdf document on the screen, preferably one I can include in my "commercial" app (pdf viewing is only a side functionality). Unfortunately, Windows 8 (atleast in the Dev Preview) does not have native PDF support :(
Any suggestions for a library? I am writing my app in C++/Cx.
Minor addition: Third-party options shall not use APIs that are not allowed in Metro Style apps. :-/
Alternatively, I need a PDF parser and I will try to create my own Direct2D renderer (might work ok for simple PDFs).
You could use Ghostscript, or MuPDF, I'm sure there are others. Both will require programming on your part. Both are available under commercial licences as well as GPL.
Windows 8.1 (Blue) will include PDF viwer and editor APIs (WinRT based). Therefore, this seems to be the easiest solution for my scenario.
Here's a list of development libraries on wikipedia that lists the different license types and languages alongside. Quite useful, though probably not exhaustive.
At the time of writing, ones that much your requirements of C++, Windows with a commercial license are:
Adobe PDF Library
LEADTOOLS
PDFTron
Related
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
I have an application developed in C++ running in both Windows and Linux. The help file is generated as .chm file using HTML Help workshop. Is there a single way by which I can open the file in both. I found HTMLHelp WINAPI. But nothing in Linux.
You know that the proprietary CHM file format is normally generated by Micosoft HH Workshop (hhw.exe). Please note it’s 20 years old und was first shipped with IE4 and Windows 95. It’s deep integrated to the Windows operating system and Internet Explorer is required on the customers PC's.
HTML Help is in maintenance mode, which means no new features are expected for either the runtime or the compiler. All mainstream development on HH has stopped – but HTMLHelp (.chm help files) is still recommended as software application help (for offline (local) help).
I think you need one way for Windows and another for Linux. Check by code which operating system is used.
You'll find a tutorial connecting on Windows at User Assistance for your programs.
Please look at the first section of Topics entitled "Connecting Help to Your Programs".
The tutorial is entitled "Connecting HTML Help to C++/MFC Programs".
It's in .pdf format for easy downloading and study.
For Linux check other CHM Viewers e.g. Help Explorer Viewer v.3.0 for your needs.
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
Friends I read that many windows applications like Firefox browser are written in C++. So I decided to learn C++and learnt many concepts of object oriented programming. But all I can do now is simply make console program that runs in a command prompt screen with white text in black background. How can I create graphics and gui for my software. Also I see in installation directory that program fines has many different files. How can I work with many files and create a real life windows software (hey I'm not asking you how to code Microsoft office or so... Just some simple application)
Could you give me an idea how a program like Google chrome is made
You need a framework, because you need to communicate with the operating system. This also means your application will be platform dependent.
IMHO the best start is to skip learning (the ugly) Windows API and learn some multiplatform framework like Qt.
With Qt the start is easy. Just download Qt with Qt Creator, click "Wellcome/Examples", select any example, compile and you're just running your first graphic app!
The list of examples can be also found here http://doc.qt.io/qt-5/qtexamplesandtutorials.html which should give you an idea what you can do.
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 8 years ago.
Improve this question
I need a custom Rich-Edit control for making a text processing application. It must be Open-Source so that I can add my own feature. The windows default Rich-Edit controls are buggy for me cause I'm using my own font ( Bangla Font ). I've used all version of windows Rich-Edit but none those works well for me.
So now I need an owner drawn Rich-Edit control which must be Open-Source and also should include all the features of windows rich edit control.
I've searched on Google but have not found any useful.
If anybody know, Please give me the website link.
Take a look at Scintilla
It's Open Source and Notepad++ uses it.
EDIT: since Scintilla isn't really made for that kind of rich edit you could download Open Office's source code and find out how they do it.
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
We've been looking at adding decent browser support to our C++ application; this question is about GUI-independent browser libraries since our project involves 3D rendering and doesn't quite fit a normal GUI.
The two I've seen so far are Berkelium and Awesomium. Both seem to work in a similar way from my quick investigation, rendering to an offscreen-buffer which you blt into your own window/game/anything. Awesomium is proprietary and costs a fair amount ($5k), Berkelium is open-source and free. Has anyone compared these (and other) such tools? Cross-platform is a benefit but not 100% essential.
Take a look at the Chromium Embedded Framework. CEF 3 supports off-screen rendering on all operating systems: Windows/Mac/Linux.
Disclaimer: I created Awesomium. Nevertheless, I will practice the utmost objectivity in my response.
Awesomium does cost a bit of money but it is definitely the best tool for the job, I'll defend my reasons with a bulleted list:
Simple, well-documented API; we've tried our best to keep the API as intuitive and readable as possible. That's really important when you're embedded something as large and complex as an entire browser framework. (Believe me, you don't want to embed WebKit directly-- that's like swallowing the sun.)
Windowless rendering; the library was designed from the outset to be used outside of a standard "windowing framework". We make it really easy to render a WebView to a texture:
void update()
{
if(webView->isDirty())
webView->render()->copyTo(texture, width * bpp, bpp, false);
}
Solid Javascript integration; if you use Awesomium as an HTML GUI renderer for your 3D game, you'll definitely want to take advantage of our Javascript <-> C++ integration. You can call Javascript functions directly from C++ and vice-versa, set callbacks, expose global properties, and more. I wrote up a big guide on my blog here.
Well-supported; we use the money we get from our top-tier commercial licenses to fund support and development of the library. If you need help, please visit http://support.awesomium.com and we'll be glad to lend a hand.
The library is free for non-commercial use and very affordable for indie developers. If you'd like to use Awesomium in your next project and are worried about the price-point, please email me at adam#khrona.com and I'll see if I can't help you out. :-)
Berkelium is really painless to use. I integrated it into my game in 6 days, you can read all about it (and some other options) here: http://www.onemanmmo.com/index.php?cmd=newsitem&comment=news.1.31.0
The only downside is no debug build and 40MB of binaries.
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 11 months ago.
Improve this question
I am looking for a redistributable component to convert HTML to PDF.
I would - at the moment - like to avoid using a "PDF printer", as this requires a printer installation and some user "playing around" in the printers panel might break that feature.
The HTML is available in a Browser control or as external file. The HTML is normally fairly simple, but customers can create their own templates, so a "good range" of HTML should be supported.
Should be accessible for an automated process from C++ - DLL / COM / external executable with command line support are all fine.
Commercial is fine, but in the thousands is not an option right now.
So, which components do you know or can you recommend?
PDFCreator can function as a virtual printer but it's also usable via COM. The default setup even includes COM examples.
You can check the COM samples in the SourceForge SVN repository right here: http://pdfcreator.svn.sourceforge.net/viewvc/pdfcreator/trunk/COM/
If you have Microsoft Word installed, I guess you could automate the whole process using the "save as pdf" plugin that can be downloaded from the Microsoft Office Site.
You would automate word then open the HTML document inside word, then output as PDF. Might be worth a shot, if you're developing in a Microsoft Environment.
You might want to have a look at PDFReactor