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

How can I write NSAttributedString in rtf file?

How can I write NSAttributedString in rtf file? i found an ancient answer How can I save the attributed string (text) into file (swift, cocoa)? I do not quite understand what exactly is required of me, maybe new different way exists somewhere?
user15412433
5
votes
2 answers

Some hyperlinks don't trigger the LinkClicked event when loading a file into RichTextBox

In a simple Windows Form Application in .NET 4.7, I only have a RichTextBox on my form. I'm loading a *.rtf file from my local that has been created in MS Word 2016. The hyperlinks have been set in Word. The issue is that not all the links trigger…
5
votes
4 answers

Setting column width in RTF

I have what I hope is a simple question ! I am generating a simple RTF table that is subsequently opened in MS Word. The table is generating fine but the column widths are a little small and causing some word wrapping (not what I want). The RTF code…
Polecat Harris
  • 177
  • 2
  • 3
  • 11
5
votes
3 answers

Display of Asian characters (with Unicode): Difference in character spacing when presented in a RichEdit control compared with using ExtTextOut

This picture illustrates my predicament: All of the characters appear to be the same size, but the space between them is different when presented in a RichEdit control compared with when I use ExtTextOut. I would like to present the characters the…
Coder_Dan
  • 1,815
  • 3
  • 23
  • 31
5
votes
0 answers

BI publisher - chart error in Oracle APEX output excel by using rtf template layout

BI Publisher Enterprice edition APEX 5, APEX 5.1 - integrated in BI Publisher through instances Microsoft excel 2013 I create bi publisher rtf template with chart for my reporting. Then I use it in APEX layout. But when I want to print this layout…
Ramin Darvishov
  • 1,043
  • 1
  • 15
  • 30
5
votes
2 answers

How to convert UTF-8 string to RTF string in java?

Currently my project need export report to MS Word , and i choose using RTFTemplate engine to do it. But my problem is I need convert all character to RTF string first . Everyone have experiment with this problem can suggest me ?
tandaica0612
  • 369
  • 10
  • 23
5
votes
3 answers

How can I change the background color of specific characters in a RTF document?

I'm trying to output RTF (Rich Text Format) from a Ruby program - and I'd prefer to just emit RTF directly without using the RTF gem as I'm doing pretty simple stuff. I would like to highlight specific characters in a DNA sequence alignment and from…
Rob Jones
  • 302
  • 3
  • 7
5
votes
3 answers

Send an e-mail with rtf text in delphi

I would like to perform the following task: converting a TRichEdit content (an rtf text) into a not-plain-text e-mail message body. MAPI doesn't support rtf, but is there a way to do it maybe with Indy? The problem is that rtf is rtf and emails are…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
5
votes
1 answer

Extract Hyperlinks From Rich Text Clipboard Contents Or Text Selection On The Mac

I would like to be able to get a list of all the hyperlinked URLs in any formatted text that I select on the Mac (formatted text such as a web page or a word processor document). Preferably I'd like use Applescript or Automator to extract this list…
Ash90
  • 77
  • 7
5
votes
1 answer

jQuery RTF Editor

I have seen a lot of RTF editors out there, but I can't seem to find one that will let me preload RTF data and display it properly and then spit RTF data back out to me. Does anyone know of any good ones? For example, if I had this:
Jose Jose
  • 73
  • 1
  • 5
5
votes
2 answers

Convert RTF string to XAML string

What is the most efficient way to convert an RTF string to a XAML string in C#? I'd like to use System.Windows.Documents.XamlRtfConverter.ConvertRtfToXaml(string rtfContent) but unfortunately that class is internal.
Robin
  • 2,278
  • 3
  • 26
  • 46
5
votes
0 answers

Doxygen RTF format equivalent to default Doxygen HTML output

Previously, I have used Doxygen to make html output for my code. Right out of the box, Doxygen makes pretty good html documentation. With a little stylesheet modification, I can make it look great. For my current project, I need to release…
BigBobby
  • 423
  • 1
  • 3
  • 17
5
votes
2 answers

Why do hyperlinks sometimes not show in an NSTextField with an NSAttributedString?

The text I use in an NSTextField is loaded from a file as follows. NSString *path = [[NSBundle mainBundle] pathForResource:@"Credits" ofType:@"rtf"]; NSAttributedString *as = [[NSAttributedString alloc] initWithPath:path…
Steve McLeod
  • 51,737
  • 47
  • 128
  • 184
5
votes
2 answers

How to convert a CP949 RTF to a UTF-8 encoded RTF?

I wanna write a python script that converts file encoding from cp949 to utf8. The file is orginally encoded in cp949. My script is as follows: cpstr = open('terms.rtf').read() utfstr = cpstr.decode('cp949').encode('utf-8') tmp =…
Arena Son
  • 95
  • 1
  • 8
5
votes
4 answers

HTML to RTF Converter for .NET

I've already seen lots of posts on the site for RTF to HTML and some other posts talking about some HTML to RTF converters, but I'm really trying to get a full breakdown of what is considered the most widely used commercial product, open source…
nickytonline
  • 6,855
  • 6
  • 42
  • 76