Export HTML to PDF (C++, Windows) [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 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

Related

Is there a way to review a Rmarkdown document in a collaborative way? [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 1 year ago.
Improve this question
I am working remotely with some colleagues on a Rmarkdown document, and I would like to make a simple review of the file (especially the comment part and not the code), and then send it back to others with my reviews embeded in the document, like a word document review or a kind of Overleaf review. I have made some research on the topic, but I didn't find something that feet my needs as explained. Please, Is there a way to add some review in a Rmakdown document and sent it back (either online or not)?
Take a look at Etherpad
Etherpad is a highly customizable Open Source online editor providing collaborative editing in really real-time.
Or, better: StackEdit
With StackEdit, you can share collaborative workspaces, thanks to the Google Drive synchronization mechanism. If two collaborators are working on the same file at the same time, StackEdit takes care of merging the changes.
Or, even better: HackMD
HackMD is a realtime, multiplatform collaborative markdown note editor.
This means that you can write notes with other people on your desktop, tablet or even on the phone.
I suggest you considering trackdown https://claudiozandonella.github.io/trackdown/
trackdown is an R package that offers a simple answer to collaborative writing and editing of R Markdown (or Sweave) documents. With trackdown, the local .Rmd (or .Rnw) file is uploaded as plain-text in Google Drive where, thanks to the easily readable Markdown (or LaTeX) syntax and the well-known online interface offered by Google Docs, collaborators can easily contribute to the writing and editing of the narrative part of the document. After integrating all authors’ contributions, the final document can be downloaded and rendered locally.
You can find more details at this answer https://stackoverflow.com/a/68014082/12481476 or in the package documentation https://claudiozandonella.github.io/trackdown/

Open chm file in Windows and Linux from C++ program [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
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.

Graphics and windows programming in C++ [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
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.

PDF Rendering 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 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

Where to find "bug free" html to wiki converter [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
While googling for it.I've stumbled upon html2wiki that seems to do the job(will try after done posting the Q up). But, other than that, there are many other choices popped out during the query session.
An word on which app to choose would be appreciated!
Thanks
I'm quite a fan of pandoc. The advantage is you learn one tool and then you can do lots of different kinds of conversions, fast.
This is the only one that has worked for me:
https://foliovision.com/seo-tools/pandoc-online
My use case was an HTML exported from EverNote which I needed to transfer into MediaWiki engine.
You could try HTML-WikiConverter
It can be done with marksy.arc90.com
Marksy is an online (or a Chrome Extension) that converts one markup
language to another in your browser.
Currently:
Input types supported
Markdown
Rst
Textile
Html
Mediawiki
Jira (confluence)
Github (gfm)
Outputs
Markdown
Rst
Textile
Html
Jira (confluence)
Googlecode
Jspwiki
Moinmoin
Trac
Mediawiki
Marksy even has an API available.
The best of three test was achieved by Seapine {Labs} HTML to Wiki Converter.
It uses AJAX to convert HTML source code to MediaWiki syntax.
The project documentation can be found here.