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
6
votes
5 answers

How to convert ODT to DOC/RTF without openoffice.org

Is there any way to convert odt documents to doc or rtf on linux without openoffice or any library that relies on having openoffice installed ?
ionelmc
  • 720
  • 2
  • 10
  • 29
6
votes
2 answers

How to install PyRTF with Python3?

I tried to install PyRTF from PyPi but this doesn't work. The package itself can be found: $ pip3 search PyRTF PyRTF (0.45) - PyRTF - Rich Text Format Document Generation But installing it fails: $ sudo -H pip3 install PyRTF Collecting PyRTF …
buhtz
  • 10,774
  • 18
  • 76
  • 149
6
votes
2 answers

How to discover what codepage to use when converting RTF hex literals to Unicode

I'm parsing RTF 1.5+ files generated by Word 2003+ that may have content from other languages. This content is usually encoded as hex literals (\'xx). I would like to convert these literals to unicode values. I know my document's code page by…
Malcolm
  • 5,125
  • 10
  • 52
  • 75
6
votes
1 answer

How does a list work in an RTF

I've implemented a parser in Java to store the lists as object. But the content of the lists and the heirarchy information are stored in two different blocks. I was trying to find out how does the list like the following gets rendered and store the…
Identity1
  • 1,139
  • 16
  • 33
6
votes
1 answer

Rich Text Format Line Spacing

I try to convert a plain text in RTF-Format. Therefore, I use RichTextBox (WinForms). The concerned method the RTF-Markup as string. Now, I want to insert line spacing in the markup. I found that there are 2 parameters: - \slX (Space between lines…
Chris2011931
  • 106
  • 1
  • 1
  • 10
6
votes
2 answers

Serializing WPF RichTextBox to XAML vs RTF

I have a RichTextBox and need to serialize its content to my database purely for storage purposes. It would appear that I have a choice between serializing as XAML or as RTF, and am wondering if there are any advantages to serializing to XAML over…
devios1
  • 36,899
  • 45
  • 162
  • 260
6
votes
5 answers

Xcode 6 Beta UIWebView Cannot read .rtf

Console message: 2014-08-09 15:51:37.526 Agpeya[1306:29686] Cannot find data converter callback for uti public.rtf
johnny
  • 555
  • 4
  • 16
6
votes
4 answers

Underline not detected after reloading RTF

I'm currently trying to get a RichTextBox with basic formatting working for my new beta notes software, Lilly Notes. Brian Lagunas' article on the subject put me in the right direction, however I'm having a bit of an issue. If you click on…
Gigi
  • 28,163
  • 29
  • 106
  • 188
6
votes
1 answer

How to convert HTML to RTF in Perl?

I want a way to convert some basic html tags into RTF (like I, B, BR) Is there any simpler way to do that without paying for anything? Developing something from scratch is an option too.
Sam
  • 243
  • 1
  • 9
  • 22
6
votes
2 answers

Strange shift when Selecting text in richtext box v5 that contains hyperlinks

When I use the RichTextBox.Select(int start, int length) function to select text in a rich text box that contains hyperlinks, there is some shift in the selection when I try to select any text that is after the hyperlink. When I remove the…
Jerry
  • 4,258
  • 3
  • 31
  • 58
6
votes
1 answer

Validate Rich Text Structure RTF

MS Exchange / Outlook messages store data using MAPI. One common MAPI property contains a rich text version of the message's body (0x1009, PR_RTF_COMPRESSED, PidTagRtfCompressed). If the rich text string has an invalid structure, then Outlook 2003…
Jacob Quisenberry
  • 1,131
  • 3
  • 20
  • 48
6
votes
1 answer

Match.Value and international characters

UPDATE May this post be helpful for coders using RichTextBoxes. The Match is correct for a normal string, I did not see this AND I did not see that "ä" transforms to "\e4r" in the richTextBox.Rtf! So the Match.Value is correct - human error. A RegEx…
5
votes
4 answers

Convert RTF to HTML in .NET

I've managed to do the reverse using WebBrowser and RichTextBox. But how would I convert RTF to HTML?
IAmGroot
  • 13,760
  • 18
  • 84
  • 154
5
votes
2 answers

How to correctly display Japanese RTF Fonts

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…
Ryan
  • 26,884
  • 9
  • 56
  • 83
5
votes
4 answers

Html to RTF conversion

What is the word(RTF/doc) equivalent of Html for the below tag.
Henry
  • 847
  • 6
  • 24
  • 53