I am desperately seeking a solution to converting HTML + CSS (2.1) to RTF in PHP. While I have found a superb solution for HTML to PDF in Prince XML, I've yet to find anything that:
can convert HTML to RTF (or DOC);
runs on a Linux server;
is callable from PHP;
handles paged media and the ability to add page headers and footers; and
h...
In my Delphi program I want to display some information generated by the application. Nothing fancy, just 2 columns of text with parts of words color-coded.
I think I basically have two options:
HTML in a TWebbrowser
RTF in a TRichEdit.
HTML is more standard, but seems to load slower, and I had to deal with The Annoying Click Sound.
...
Is there a way to directly insert RTF text in a RichTextCtrl, ex:without going through BeginTextColour? I would like to use pygments together with the RichTextCtrl.
...
We're using Microsoft's RichTextBox to manipulate RTF text that we obtain from a 3rd party database. Typical actions we do are :
Add additional text to the top of the RTF document
Add additional Text to the bottom of the RTFdocument
Merge 2 RTF documents.
We are noticing that the at the end of the operations the page margins are no ...
I need to import a RTF document into a FlowDocument for further parsing.. But I have a very strange problem:
public string ConvertRTF(byte[] bytes)
{
if (bytes == null)
{
throw new ArgumentNullException();
}
FlowDocument document = new FlowDocument();
// open the file for reading
using (MemoryStream str...
Summary questions:
Do you know of a lightweight application that can save files in RTF Version 1.6 format?
Do you know what version of RTF Abiword's "Rich Text Format for old apps" corresponds to?
Do you know a way to inspect an RTF file and determine what version of RTF it's encoded under?
Do you know which DLL describes the RTF forma...
I have a situation where I want to convert a RTF document to image for archiving and printing. I am using .NET.
Are there any libraries out there that could help me with this conversion?
I need to
convert a RTF to image on a server
set the paper size that needs to be adhered to when creating the image
A commercial library is an op...
I have an RTF document that serves as a template for input data from a web page. I need to know how to break the base template into individual pages for display on the website. Is there a way to do this using PHP? I have tried searching through the RTF code inside the document, but cannot find anything that gives me a good breaking po...
I have an RTF file that I want to display inside a web page after tags have been replaced with user input.
I would like to be able to display the RTF file without having to convert it to something before displaying it.
Every time I try it now it gives me the popup open/save box even though I am telling it to display it inline with:...
I know about the PDF report generator, but I need to use RTF instead.
...
I have an RTF file that I need to display to a user. I know that I need to convert it if I want to display it in the browser. I would like to be able to convert it to JPG so that I can take advantage of other code that I am using that uses ImageMagick to convert JPG to PDF. ImageMagick will convert a PDF to a JPG, but not an RTF :( I...
What I'm trying to do is provide a form where a user can type or cut and past formatted text and be able to send it as an email (similar to outlook). This is required because it's closely resembles the current work flow and these emails aren't being saved anywhere besides people's inboxes. This is obviously a bandage on a bigger proble...
I'm creating a program for new hires where i type in there name and some other info and it spits out a welcome/ new employee info document
I seem to remember there was something along the lines of there being a document object that i could use (similar i guess to stringbuilder)
but i cant find anything on it.
does anyone know if ther...
I hava an rtf document. I want to change the entire document to be right to left instead of left to right in code.
i know the rtf specification is a standard, and should probably use rtldoc (http://msdn.microsoft.com/en-us/library/aa140283(office.10).aspx)
only problem is I don't know where to put it. Any other way?
...
I am working on an application in Delphi 2009 which makes heavy use of RTF, edited using TRichEdit and TLMDRichEdit. Users who entered Japanese text in these RTF controls have been submitting intermittent reports about the Japanese text being displayed as gibberish when reloading the content, both on Win XP and Vista, with Eastern Langua...
Hi,
In my program after clicking on the button - selected ListView entries should be copied to RichTextBox. ListView contains contact information, and the effect I want to accomplish is similar to the one in Oultook (when choosing contacts from contact book). Part of my code that serves this purpose looks like that:
private void t...
Hi,
I have used a WPF RichTextBox to save a flowdocument from it as byte[] in database. Now i need to retrieve this data and display in a report RichTextBox as an rtf.
when i try to convert the byte[] using TextRange or in XAMLReader i get a FlowDocument back but how do i convert it to rtf string as the report RichTextBox only takes rtf...
Is anybody familiar with the the RTF document format and parsing using any Java libaries. The standard way people have done this is by using the RTFEditorKit in the JDK Swing API:
Swing RTFEditorKit API
but it isn't that accurate when it comes to parsing RTF documents. In fact there's a comment in the API:
The RTF support was not...
Hi all,
I'm using VS.NET 2005 and SQL Server 2005. My development computer is running Windows XP SP2. SQL Server 2005 database and reporting services are running on Windows 2003 Server.
My business requirement is to develop and deploy a report which takes rich text (RTF) stored in the database (datatype = TEXT) and converts it to an ...
I want my users to be able to enter text in a Rich Text box and the RTF output be saved to the database.
Currently I have the RichTextBox bound to the field in the database, but it strips formatting when it's saved. How can I prevent this?
Also, how can I attach a formatting toolbox, (like what's in Wordpad) so my users can change the ...