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
3
votes
4 answers

C# Detect Key Press, avoid non-typing keys

Is there any way to proceed into a method if the key that is being pressed does not result in any typing. i.e. the shift key, control key etc without having to specify all of them. Ideally, to detect combinations of keys, for example Control+V =…
Josata
  • 173
  • 2
  • 8
3
votes
1 answer

how to convert preformated text to RTF with java

hello I have a plain text emial (preformated with simple line-breaks) which I would like to convert to RTF to store it in database I have a desktop application written in .NET/C# and have to create a web interface (written with JAVA ) for that So…
troy1979
  • 31
  • 2
3
votes
1 answer

How do I convert Rtf to Text using ASP.Net?

How do I convert To Text Format from RTF using ASP.Net?
Badmate
3
votes
2 answers

Free (preferably) PHP RTF to HTML converter?

I am writing a converter for an old db app which contains a large amount of user entered RTF text. Ideally, the RAW RTF should be converted to HTML for display in a browser. I have tried rtfparseclass from PHP Classes, which works ok, but seems to…
Ryan
  • 26,884
  • 9
  • 56
  • 83
3
votes
2 answers

How to print .rtf file?

How to print .rtf file using C#? (WinForms/WPF application)
Rover
  • 2,203
  • 3
  • 24
  • 44
3
votes
1 answer

How to correctly print out a hard copy of a JTextPane with "text/rtf" content?

I'm trying to print out some simple RTF-formatted text to a laser printer using a JTextPane. The result looks fine on a software PDF printer (FreePDF XP), but the text doesn't have proper space between it's formatted parts when print to a real…
Jens Mühlenhoff
  • 14,565
  • 6
  • 56
  • 113
3
votes
1 answer

Powershell change RTF Document and save as RTF Document

I want to change the content of a RTF document and than save it as RTF document: $defaultRtfFile>> "C:\Users\user\Desktop\Outlokk-Signature\Test.rtf" When I do it like this ,after I changed the content, I can't open it in word (I can but there are…
Felix ccad
  • 97
  • 2
  • 11
3
votes
1 answer

LaTeX to RTF conversion including citations and figures

I am currently starting to write a thesis. As I am using R for statistics, I actually would like to use LaTeX and the knitR package for the text but I also have doubts to use it as the work might be published and the journal might only accept rtf or…
ehi
  • 409
  • 8
  • 23
3
votes
1 answer

Coldfusion Replace() not working on all pages for MS-Word Document

I have a word document with tables laid out to look like a form. I have placeholders like %firstName%, %lastName%, %birthdate%...etc. When I use the replace() function, the %firstName%, %lastName%, %birthdate% and all of the other placeholder…
malibu65k
  • 95
  • 6
3
votes
1 answer

c# [Win form ] how to change font size of only selected text in richtextbox

I am creating a text editor in which when i increase the size of font by font dialog box then all font size of rich text box increase instead of only selected text. How can I change any property of only selected text in text box? public partial…
mdadil2019
  • 807
  • 3
  • 12
  • 29
3
votes
0 answers

RTF Text on TRichEdit - Delphi 2010

Good morning all. I have a question about handle of TRichEdit. In a TRichEdit I have a text with several riched formats (Bold, Italic, Underline) like this: Can I have the possibility of know the style of each character in the Edit, for instance,…
user5507909
3
votes
1 answer

Delphi 2010 - Text on TRichEdit to HTML

I'm trying to convert a rich text on a TRichEdit component to HTML tags.I have a function for that, but it doesn't work because the text in the component is always sent on PlainText. The option PlainText on the component is set as false. Example:…
user5507909
3
votes
1 answer

NSAttributedString from RTF using iOS Dynamic-Type

My App has a simple built in help page. The page is loaded from a rich-text file in to an NSAttributedString, and the string is displayed in a UITextView. Here's a fragment of code from prepareForSegue: where I load the NSAttributedString prior to…
Benjohn
  • 13,228
  • 9
  • 65
  • 127
3
votes
3 answers

How to display a paragraph with images and rich text in android text view. Content can be stored in xml

I have some contents which contains images and rich text format, and links which should work in android. How can i display them in android text view. and where i should store the content. What is the best practice ? use HTML content or break it in…
Abhigyan
  • 641
  • 10
  • 25
3
votes
1 answer

Using regular expression to remove the parent paragraph of a placeholder in an RTF template

I am working on contract module for my project. The contract templates are stored as RTF template with many placeholders with syntax as @placeholder_name@. Each campaign entry is associated with a particular contract template at any given time. When…
Anurag
  • 1,018
  • 1
  • 14
  • 36