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

Putting Greek letters into rtf editor content in java, showing question marks

I am using the rtf editor to show contents to user. Contents are composed using database values which sometimes consist of Greek letters. Initially they were shown as question marks ? ? ? ? instead of Γ γ Ψ ψ. After research online changed…
HappyRahul
  • 23
  • 2
  • 8
0
votes
0 answers

Java - Read from rtf with tabulation not aligned

I'm trying to make a Java software that reads from a rtf file and extract information from it. The rtf may have different tabulation from each line depending. You can see in the 2 images I posted here. (I can not send more than 2 links,…
Timmy
  • 693
  • 2
  • 8
  • 26
0
votes
2 answers

RichTextBox.RTF return unicode format or ANSI format?

Recently, i'm very confused about the RTF format. I check the RTF 1.6 spec from MSDN, which is native supported in .Net. RTF 1.6 will support Unicode by \uN, and for ANSI, RTF will support multiple byte language via codepage. If we use…
Winston
  • 410
  • 1
  • 6
  • 9
0
votes
1 answer

MS Word shows only first record from a rtf file created by TextWriter

I'm using TextWriter to make a RTF file based on a string. TextWriter tw = new StreamWriter(@"C:\test\test.rtf",false,Encoding.GetEncoding("iso-8859-1")); tw.Write(text); Beneath is the string I feed to TextWriter. I built it…
Jooj
  • 91
  • 2
  • 9
0
votes
1 answer

How to add a mixture of plain text and RTF text to a RichTextBox

I have a small application that is keeping track of the copies that have been made by the user. I then want to be able to output the copy history on an RTF textbox. copyDisplay.Clear(); string toDisplay =…
0
votes
1 answer

rtftextbox and hyperlinks/anchors inside document

A few hours ago I found that it's really easy to display *.rtf document using standart .net 2.0 winforms control (RichTextBox). It's really cool that it can display even pictures, but for me there's one missing feature - hyperlinking. I prepared…
tomo
  • 1,942
  • 2
  • 29
  • 43
0
votes
2 answers

How to add icon in RTF format?

I am developing SWT widget and I have build drag and drop functionality. Whenever I drag file across it's download link should be transferred. I have done that using following code. Now what I want is with link, I want file icon to be displayed…
user327126
  • 965
  • 3
  • 11
  • 22
0
votes
1 answer

PHP RTF Lite. After a certain number of loops table cells increase height more and more

I'm experiencing a weird behaviour writing text inside the table cells of a RTF file using the PHPRtfLite class. Data is extracted from a XML but the weird behaviour may be reproduced with a simple array. I noticed that after a certain number of…
Nicero
  • 4,181
  • 6
  • 30
  • 52
0
votes
2 answers

Enterprise architect generate documentation - hide field with no value

Default template /fragment of EA has some kind of feature, that can hide Fields during generation, which has no value. If I make my own template, I don't know how to get in that future. Example: I can have attribute with or without initial value…
0
votes
0 answers

Hidden text in RTF textbox control in .NET (winforms)

I have an RTF text box control, and there are certain parts of the textbox that I want to update. My plan was to enclose the update-able text within some hidden text markers. For example, {\rtf1 \v startlab\v0 Diagnostic Results\v endlab\v0} or…
mankowitz
  • 1,864
  • 1
  • 14
  • 32
0
votes
1 answer

Best practice: creating a script editor

I have developed my own scripting language to query my datasource with some unique logic, I want to offerthis script to my users and would like to show it in a textbox where they can type the syntax and receive the feedback by the color of the text…
Ritardi.Net
  • 99
  • 2
  • 11
0
votes
1 answer

Image in rtf Header

I am creating an rtf document. The document should have corporate logo across the top of the page with NO margins. There is another corporate image that should be placed across the bottom of the page again with NO margins. No matter how I…
Miranda
  • 81
  • 10
0
votes
1 answer

How can I save NSMutableAttributedString with additional text description as rtf file, in swift ?

I have text as NSMutableAttributedString and I can save as rtf file. Let say in this text I have marked one line with red background color. I would like to make additional text description for this marked line. How can I save this description into…
VYT
  • 1,071
  • 19
  • 35
0
votes
1 answer

RTF structure when typing

I have a WPF app that uses a RichTextBox control. When I'm typing, I don't understand the RTF structure it appears to generate. I'm typing a simple phrase (e.g. about 3 miles), and the result…
Borja López
  • 2,303
  • 2
  • 14
  • 16
0
votes
1 answer

Convert rtf byte array to pdf byte array in C#

I have a program that uses WebClient to download a file from a remote server. I am using DownloadData rather than DownloadFile because I don't really need the physical file. I am just taking the byte array and converting it to a base64 string for…
Ben Walker
  • 2,037
  • 5
  • 34
  • 56