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

Programatically protect a RTF file using the Lowagie API?

I am making RTF file programmatically using iText, "com.lowagie.text.rtf". Now I need to make my RTF file protected. Does anyone know how can I do this using the iText API?
Ketan Bhavsar
  • 5,338
  • 9
  • 38
  • 69
0
votes
1 answer

R file word rtf table

I would like to put a table in a file word with the package RTF. My code is univ_quali<-function(dataset){ print(cbind(prop.table(table(sex)), t(t(table(sex)))))} univ_quali(sex) [,1] [,2] 1 0.5754717 61 2 0.4245283 45 I tried this …
E.bl
  • 27
  • 4
0
votes
2 answers

How to load a WPF FormattedText object (from RTF or RichTextBox)

My WPF app displays lots of text snippets at various places on a large canvas (a kind of post it note app) I am currently rendering the text using FormattedText objects and 'drawing them' straight into Visual objects (for speed/efficiency) Challenge…
Scotty
  • 2,019
  • 1
  • 20
  • 31
0
votes
0 answers

Extract plain text from .RTF file in a Delphi console application?

In a Delphi 10 Seattle console application with no visible console window, I need to extract plain text from a .RTF file. So I wrote this code: procedure ExtractPlainTextFromRTFFile(const ARTFFile, OutputTextFile: string); var RE:…
user1580348
  • 5,721
  • 4
  • 43
  • 105
0
votes
1 answer

Set EWS appointment/task RTF body

How can I set a ewsAppointment/ewsTask rtf body? Looks possible through an extended property, but I can't get this to work. I was trying with getting the extended property like this - ExtendedPropertyDefinition epd = new…
Mike Turner
  • 471
  • 1
  • 7
  • 22
0
votes
1 answer

Outlook meetings and rich text format

I have been working on creating appointments from Powershell in Outlook. Everything seems to be working with the exception of being able to set the appointment.RTFBODY. It looks like it is stored as a byte array, but despite my best efforts and many…
John Galt
  • 9
  • 4
0
votes
1 answer

Auto-update pageref fields in rtf document

The application I'm working on outputs documents to rtf format and PAGEREF fields are used in a table of contents page and an index page. The problem is that on opening the document the fields do not update and remain blank. They work correctly if…
Mike
  • 1,538
  • 1
  • 11
  • 14
0
votes
0 answers

Convert RTF document to plain text

I have a file input that gets the text from a file uploaded by a file input. It works fine with plain text but when I try and upload a RTF document it comes up with a load of garbled text. I was wondering if I could convert the RTF document to a…
FinW
  • 111
  • 1
  • 6
0
votes
1 answer

Oracle BI Publisher, RTF Template Date format

I have used "Date, MM/DD/CCYY" under the column in the RTF, when used in SQL developer I get proper output where CC is replaced with century(e.g. 03/07/2016 as per the format "MM/DD/CCYY" will be 03/07/2116 [21st century]) but in RTF I get…
Kushal
  • 1
  • 4
0
votes
1 answer

text editing & saving in IOS app

I have a UITextview showing certain text by calling rtf files. I want to let users to edit the text on UITextView and save the changes they made in rtf file. Is there any way I can change the rtf file itself by changing the text on UITextView??
Kahsn
  • 1,045
  • 3
  • 15
  • 25
0
votes
0 answers

I cant access rtf file after saving something in it

Just at it says in the title, I can save something inside the rtf file sometimes(my save function is a working progress). Im using a mac, and i cant save as a txt. I do not know if this is normal or not and I having troubles with it since I dont…
quak
  • 11
  • 2
0
votes
2 answers

Python RTF Multi Column layout

Can anybody reccomend a way of generating a multi column RTF document with python, i was going to use PyRTF but i cant find any documentation on how to set up columns. i think i might need to edit the modules source any reccomendations?
Hugoagogo
  • 1,598
  • 16
  • 34
0
votes
1 answer

Change background color of a word in richtextbox

It's simple to change the back color of the entire richtextbox but not on a single word or character, is there a API or user control that happens to do that. I tried saving a word doc as rtf and copied the item and pasted it in the rich text box and…
user5597379
0
votes
2 answers

How to load rtf using url instead of local

I have code to load local rtf files in textview but how to do i make it works for files located online Since it does not works when i use url Here is url - http://howtotechworld.com/rtfdoc.rtf Here is code if let rtf =…
0
votes
0 answers

Cannot invoke initializer

I am getting the following error with trying to load an RTF file into a UITextView.