Looking for quality, desktop, cross-platform HTML to RTF solutions - html

I'm currently writing a simple cross-platform application (using RealStudio). I need a cross-platform desktop solution for the conversion of HTML (but preferably HTML+CSS) documents to RTF. I have seen several posts including (but not limited to) the following:
HTML+CSS to RTF (in PHP)?
Convert HTML to RTF (HTML2RTF converter)
Convert HTML with scripts to RTF
The most comprehensive solution seems to be to make use of OpenOffice in headless mode in order to perform conversions. The only problems are:
I can't presume upon the presence of OOo and
I can't afford to have the user to install a full OOo package simply to perform this task.
Therefore, my question in this particular regard is: Is there any way to only distribute/install the smaller "conversion" portions of OOo for use in headless mode?
My general question, of course, is: What are the best ways to handle HTML to RTF conversion locally?

You can try and simply use textedit on your mac

Related

write UWP app using json-like formatting

XAML uses XML-like formatting.
Is there editor that will allow user to write and read XAML code in JSON-like formatting (or some addon to VS)
It can be saved and read to XML - but during editing it would be nice to see it more eye friendly.
If you want XAML to look like JSON, then probably not. XAML is just XML.
There are couple of plugins which can reformat XAML according to rules you set, including ReSharper. But they don't display it as a different format.
You can also use the visual designer alone without touching/seeing any code, but from my experience this is not the best idea. I get the best results if I code the XAML by hand and use the visual designer only to visualize the result without running the application.
Creating such plugin would take a huge amount of time and you would have a lot of problems to solve. The problems would probably outweigh the benefits.

What's the best way to combine one of mediawiki languages and then export the result to formatted pdf?

I need your help because I'm confusing about what's the best way to solve this problem.
The Problem:
I need to implement a solution using mediawiki to construct collaborative manuals and then export the result to one formatted pdf, where people can download it in only one file.
The Cenario:
I'm using liferay wiki's and there I have the option to choose between three language formats, Creole, MediaWiki and HTML.
I don't know what's the best way or the best program i can use to export the results of wiki collaboration to one formated pdf.
The Doubts:
What's the best language formats to use in wiki and then what's the easier way to export the wiki pages to a formatted pdf using css stylesheet?
Thanks for regards.
Probably the most robust and well-supported tool for exporting wiki pages as a PDF is Extension:Collection (which uses Extension:PDF_Writer); this is the one used by WikiMedia Foundation for their sites. Wiki Markup Language works fine with this extension, so you don't need to bother with HTML or anything else.

rtf and html can live in the same application?

I have what I think it is a very popular problem. I have a legacy app that contains rtf fields. rtf in my case is used only for very basic features (font: size, style, color, ... hyperlinks). Anyway since I allow to paste from word sometimes some more complex things can go in there.
Now rtf is ok, even because with Report Builder I can get reports where rtf is printed.
The problem comes with web application. I am developing a web application that is basically an optional interface for my legacy application.
At this stage I solved the probelm by removing the rtf formatting (I use the TRichEdit trick discussed here).
Anyway ideally I would like to be able to see and edit formatted text in both the web application and the win32 application.
What can be the solution?
In this question I found a link to the ScroogeHTML converter.
But even if I convert there are these points that i cannot reconcile:
Storage: what to store? Currently of course I store rtf.
Should I convert rtf to html every time I show the rich text in web app and then convert it back to rtf for storage?
Your could implement a RTF editor in your web application.
http://en.wikipedia.org/wiki/Online_rich-text_editor
This way you don't have to change the storage format.

Stand-alone editor for editing wiki text on Windows/Internet Explorer

I am looking for stand-alone program that have a good easy editor for creating wiki context and then upload to an internal MediaWiki installation.
We have a private MediaWiki. Many users are new to wikis and get confused by the syntax, but want to use it. A little toolbar in the wikipage editor is not good enough. I found MSWord converted here:
http://www.mediawiki.org/wiki/Extension:Word2MediaWikiPlus
But not good enough. I think a nice stand-alone program with the ability to edit tables and such graphically would be really good. Is there anything like that for Windows?
Everything seem to be for Firefox, but we have to use Internet Explorer internally.
You can try OpenOffice, it does a decent job of exporting to Mediawiki format.
From Wikipedia:
OpenOffice 3: Text documents opened in all versions of OpenOffice.org 3 can be exported natively into MediaWiki format, via the File -> Export -> File Format drop down menu. Since OpenOffice.org can open all Microsoft Office files, one can open files created in Microsoft Word and export them to the MediaWiki format.
You could also just use WYSIWYG editor, like FCK. Incidentally, you can also open this in a separate browser window (which, from your question, you might be looking for).

Needed: Light and free HTML editor with source control support

We're not doing real web development. We get our HTMLs from our designers, and have our web app generate those HTMLs (with some specific content). Simply put, we don't use any major web development infrastructure (ASP, PHP, JSP etc). Having that said, we sometimes do need to edit HTML, JavaScript and CSS files, and I'm tired of using rocks and stones and having no proper backup. What I'm looking for is a rather simple editor that would handle those kinds of files, and most importantly - will support source control, and will be free (or very cheep).
I've been looking into Aptana, and it seems to be a bit of an overkill. It has a lot of features we can do without, and this makes it too heavy. VWD express is lighter, but has no source control integration. There are probably a million other HTML editors, but I couldn't find one that satisfies the basic requirements - relatively lightweight, supports source control and is (almost) free. Any suggestions?
Not exactly what you want but you could try and use Notepad++ combined with TortoiseSVN.
Eclipse is pretty good. It's also very popular among developers and can edit HTML.
Why is supporting source control a requirement? I find that the place for good source control is not in the editor. The editor just gets in the way and only implements a subset of functionality.
NetBeans can edit about anything, is free, cross-platform, and directly supports CVS, Subversion and Mercurial version control systems. It's not exactly lightweight, although it is lighter than any comparably featured competitors I'm aware of.
Pick your poison at Wikipedia's Comparison of HTML editors page.
The Revisionator is a cloud based html editor that has built in source control. It'll even do wysiwyg diffing and merging of different versions.