Questions tagged [rtf]

The Rich Text Format (often abbreviated RTF) is a proprietary document file format with published specification developed by Microsoft Corporation since 1987 for Microsoft products and for cross-platform document interchange.

Most word processors are able to read and write some versions of RTF. There are several different revisions of RTF specification and portability of files will depend on what version of RTF is being used. RTF specifications are changed and published with major Microsoft Word/Microsoft Office versions.

It should not be confused with enriched text (mimetype "text/enriched" of RFC 1896) or its predecessor Rich Text (mimetype "text/richtext" of RFC 1341 and 1521); nor with IBM's RFT-DCA (Revisable Format Text-Document Content Architecture) which are completely different specifications.

http://en.wikipedia.org/wiki/Rich_Text_Format

1809 questions
52
votes
8 answers

Convert Rtf to HTML

We have a crystal report that we need to send out as an e-mail, but the HTML generated from the crystal report is pretty much just plain ugly and causes issues with some e-mail clients. I wanted to export it as rich text and convert that to HTML if…
Aaron Smith
  • 3,332
  • 4
  • 29
  • 25
51
votes
4 answers

wix specify licence shows nothing

I'm trying to specify the licence for my wix setup project. I have created a rtf with a few dummy lines in wordpad/notepad/vs tried a few different ways as I read there was an issue with ones created in word but I dont think that should apply here,…
Daniel Powell
  • 8,143
  • 11
  • 61
  • 108
46
votes
11 answers

Regular Expression for extracting text from an RTF string

I was looking for a way to remove text from and RTF string and I found the following regex: ({\\)(.+?)(})|(\\)(.+?)(\b) However the resulting string has two right angle brackets "}" Before:…
adeel825
  • 5,677
  • 12
  • 40
  • 44
41
votes
4 answers

What is the RTF syntax for a hyperlink?

HTML is to y as RTF is to _______?
C. Dragon 76
  • 9,882
  • 9
  • 34
  • 41
40
votes
10 answers

Is there a Python module for converting RTF to plain text?

Ideally, I'd like a module or library that doesn't require superuser access to install; I have limited privileges in my working environment.
Tony
  • 2,955
  • 7
  • 26
  • 23
39
votes
6 answers

How do I convert HTML to RTF (Rich Text) in .NET without paying for a component?

Is there a free third-party or .NET class that will convert HTML to RTF (for use in a rich-text enabled Windows Forms control)? The "free" requirement comes from the fact that I'm only working on a prototype and can just load the BrowserControl and…
Josh Kodroff
  • 27,301
  • 27
  • 95
  • 148
35
votes
5 answers

Can anyone recommend a Java rich text editor?

The rich text editor must be implemented in Java, provide Swing support, and preferably be open source. I'm looking to integrate it into an existing Java/Swing application. Thanks.
fred smith
  • 359
  • 1
  • 3
  • 4
32
votes
10 answers

How can I insert an image into a RichTextBox?

Most of the examples I see say to put it on the clipboard and use paste, but that doesn't seem to be very good because it overwrites the clipboard. I did see one method that manually put the image into the RTF using a pinvoke to convert the image to…
Daniel LeCheminant
  • 50,583
  • 16
  • 120
  • 115
30
votes
5 answers

Programmatically adding Images to RTF Document

I am trying to add a image to a RTF document which I am creating. I would prefer to not use 'copy/paste' methods (that involve pasting the image within a RichTextBox and then accessing the .RTF property) which purge the clipboard (as this will be a…
DerX
28
votes
6 answers

Links inside rich textbox?

I know that richtextboxes can detect links (like http://www.yahoo.com) but is there a way for me to add links to it that looks like text but its a link? Like where you can choose the label of the link? For example instead of it appearing as…
Oztaco
  • 3,399
  • 11
  • 45
  • 84
28
votes
2 answers

Displaying a MS Word File in View(say TextView) in Android

I want to display a .docx file in a View in Android. The file has mathematical symbols and also images in between the text. I want to display many such files and flip through them via swipe gesture. I have successfully done the same for .txt files.…
D'yer Mak'er
  • 1,632
  • 5
  • 24
  • 47
26
votes
6 answers

Getting RTF data out of Mac OS X pasteboard (clipboard)

According to the man page for pbpaste, -Prefer {txt | rtf | ps} tells pbpaste what type of data to look for in the pasteboard first. As stated above, pbpaste normally looks first for plain text data; however, …
Carl
  • 263
  • 3
  • 4
23
votes
4 answers

How to output unicode string to RTF (using C#)

I'm trying to output unicode string into RTF format. (using c# and winforms) From wikipedia: If a Unicode escape is required, the control word \u is used, followed by a 16-bit signed decimal integer giving the Unicode codepoint number. For the…
Emir
  • 1,586
  • 3
  • 16
  • 32
22
votes
8 answers

Is there a free way to convert RTF to PDF?

How can I programmatically convert RTF documents to PDF?
user63898
  • 29,839
  • 85
  • 272
  • 514
22
votes
4 answers

Using Vim to edit Microsoft Word files

I've found ViEmu, a vi emulator for microsoft word. However, I wanted to use vim to edit DOC or even rtf files. Is this possible ? Are they any other formats that preserve page/paragraph layout compatible with both Microsoft Word and Vim? I am also…
Kilon
  • 1,962
  • 3
  • 16
  • 23
1
2 3
99 100