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
4
votes
1 answer

Creating RTF , DOC , or DOCX in iOS

I want to create one of the following filetypes with an iOS-App: RTF, DOC or DOCX. The user should be able to write text and also add images to it. The building of the UI isn´t the problem, only the creating of the File. Are there any best practice…
HMMurdoc
  • 127
  • 7
4
votes
1 answer

Showing rtf data in SQL SERVER Reporting Services (SSRS)

I am trying to show rtf Data in SQL SERVER Reporting Services (SSRS). I have Visual Studio 2010 and ReportViewer Version 10.0.0 The rtf data is stored in the dataset which I am binding to the SSRS report. I have added following reference to Report…
Ravi
  • 297
  • 1
  • 5
  • 19
4
votes
2 answers

How to get text with RTF format from Rich Edit Win API?

(Sorry for my crazy English) I want to get all the text in Rich Edit with RTF format, not plain text to a variable. I tried SendMessage() with EM_STREAMOUT to write directly Rich Edit to file, but I can't save the content to specific variables, for…
quangteo.media
  • 113
  • 1
  • 8
4
votes
2 answers

table cell font in RTF with lowagie Document

I am trying to create RTF document with tables with empty cells. I use the com.lowagie.text.rtf.* package in java. The font of the empty cells are all Times New Roman size 12. How can I set the font of the empty cells to a different Font? I have…
mnish
  • 3,877
  • 12
  • 36
  • 54
4
votes
1 answer

Setting font style for RTF document

Having trouble setting text font style as Times New Roman for this document. I want all the test to be times new roman size 10. I generated a font table that holds the type and its the only type of my document. I want all the text to be times new…
Jt2ouan
  • 1,964
  • 9
  • 33
  • 55
4
votes
2 answers

rtf change font size

I am trying to perform edit functions in a RichTextBox on a C# (Windows Forms) application. I would like to be able to select any number of text characters in the script then change targeted font characteristics. The trouble I have is that each…
user1051434
  • 167
  • 1
  • 5
  • 17
4
votes
4 answers

RichTextBox Replacement Winforms .NET2.0+

I have been extending the RichTextBox control in VS2008 using C# (adding printer support and URL links). I have most of the functionality I need but the control is not that good. I do not know how to change the mouse cursor for image sizing handles.…
Peter
4
votes
2 answers

How to add a rtf formatting in the text string for a Richt Text Box?

In a .NET project I have a long plain text build as concatenation of several strings StringLongText = text1 + text2 + ... + textN each string "textX" is the result of an evaluation. At the end of a started process, I show the result in a…
gingo
  • 468
  • 1
  • 4
  • 18
4
votes
2 answers

Number of pages in a doc, docx or rtf file using python

I would like to count the number of pages in a RTF or MS Word document, using python. Is this possible?
Jordan Reiter
  • 20,467
  • 11
  • 95
  • 161
4
votes
3 answers

How to split an RTF file into lines?

I am trying to split an RTF file into lines (in my code) and I am not quite getting it right, mostly because I am not really grokking the entirety of the RTF format. It seems that lines can be split by \par or \pard or \par\pard or any number of…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
4
votes
1 answer

Using version control for RTF documents?

I have recently started a new job as a Business Systemd Analyst. The company has an in-house document management system that reads/parses RTF documents that have a BBCode-like syntax to do basic conditional, looping and inserting of data from a…
Wayne Molina
  • 19,158
  • 26
  • 98
  • 163
4
votes
2 answers

UIWebView display RTF file with images & tables

For a project I need to display the contents of a RTF file on an iPad. After some searches I found that you can load the RTF file in an UIWebView. However when I do this, the content of the file shows up, but its missing table borders, and images.…
Geert
  • 1,217
  • 8
  • 20
4
votes
2 answers

How do I convert RTF to plain text?

I've been given a rather large excel file that per line contains one clob dump from our oracle database, one of them might look like this: {\rtf1\ansi\deff0\deftab708{\fonttbl{\f0\fnil\fcharset0 Courier New;}{\f1\fnil\fcharset0…
Jason94
  • 13,320
  • 37
  • 106
  • 184
4
votes
0 answers

Print a word document without changing the default printer

I have to print a RTF document created with MS Office Word without changing the default printer. I have found a code with Jacob but it uses the "ActivePrinter" who change the default printer. How to print a word document without changing the…
Sadok
  • 492
  • 1
  • 5
  • 12
4
votes
1 answer

Edit RTF file using Python

Maybe this is a dumb question, but I don't get it so appologize :) I have an RTF document, and I want to change it. E.g. there is a table, I want to duplicate a row and change the text in the second row in my code in an object-oriented way. I think…
Florian Lagg
  • 751
  • 2
  • 8
  • 21