rtf

java and rtf editing

Hi, I have rtf file in with I need replace some field values (with word I can do it with mail merge, but I need do this with java). I found iText (2.1.7) source code with can parse rtf files, but I can find hove to manipulate the content of file. Or maybe there is some better solution for editing rtf? ...

How insert page break in rtf files using asp.net with c#.net version 1.1?

How insert page break in rtf files using asp.net with c#.net version 1.1? ...

conversion of tagging in ultraformatedtexteditor of infragestics to RTF format

Is there any way of converting the rich text data in the ultraformattedtexteditor from infragistics tools of C# to RTF format ...

How to create a TextBox like RichTextBox in WinCE 5.0 OS (C#)?

Now I have the following ideas: 1.override TextBox's OnPaint Event,use Graphics to draw rich string-font; 2.use RTF to save and display the rich format. But I do not know which method is better or more difficult. In addition, there are other better way to do. Any ideas are inspiring! ...

RTFTextBox Works on Windows, Mono Throws 'RTF Parsing Failure: Malformed Color Entry'

I have some C#.NET code to take a string containing custom color codes and use them show colorized text in a RichTextBox. It works great on Windows, but running under Linux on Mono 2.4.2.3 I get this error: RTF Parsing failure: Malformed color entry RTF Stream Info: Pos:324 Line:1 TokenClass:Text, Major:8, Minor:0, Param:-10000000, Tex...

Fonts and formatting in Office Communicator?

I have a bot which generates html messages and most of the IM clietns support HTML tags. But office communicator doesn't seem to understand HTML tags and needs fonts and formatting information in RTF format. I thought of using HTML to RTF converter and passing that RTF information to Office Communicator. But instead of displaying fonts ...

Getting RTF data out of Mac OS X pasteboard (clipboard)

According to the man page for pbpaste, -Prefer {txt | rtf | ps} tells pbpaste what type of data to look for in the pasteboard first. As stated above, pbpaste normally looks first for plain text data; however, by specifying -Prefer ps you can tell pbpaste to look first for Encapsula...

Retrieving Encrypted Rich Text file and showing it in a RichTextBox

OK, my need here is to save whatever typed in the rich text box to a file, encrypted, and also retrieve the text from the file again and show it back on the rich textbox. Here is my save code. private void cmdSave_Click(object sender, EventArgs e) { FileStream fs = new FileStream(filePath, FileMode.Create, FileAccess.Write); ...

Word XML to RTF conversion

I am in a need of programatically convert an Word-XML file into a RTF file. It has become a requirement, because of some third party libraries. Any API/Library that can do that? Actually the language is not a problem because I just need to work done. But Java, .NET languages or Python are preferred. ...

Java JTextPane RTF Save

i have the following code trying to save the contents of a JTextPane as RTF. although a file is created in the following code but it is empty! any tips regarding what am i doing wrong? (as usual dont forget im a beginner!) if (option == JFileChooser.APPROVE_OPTION) { ///////////////////////////////////...

Merge Cells Vertically in RTF

I need to programmatically generate an RTF document with a table that has a column vertically merged., e.x. ______________________________ | merged | foo | hello | | cell | | | | right |--------|----------| | here | bar | world | |_________|________|__________| I looked up online and found that the...

Add header to PDF and RTF with iText

I am using iText to generate both PDF and RTFs. I know RTF generation with iText is not popular, but I still need to make the code work for both. Technically, I can have different pieces of code to handle each type, but it needs to be able to be contained within the same file/class. I can work with code like this: String outputData =...

Creating RTF docs on the iPad

Anyone have code to do this? Just checking before I have to "re-invent the wheel" and write this code from the spec. ...

How to upload a .txt file as a .rtf file in C# ?

How can I load a pre-existing .txt file as a .rtf file in my C# code if I want to display it on a richTextBox? I am running Visual Studios Windows Application. Thank you very much. ...

iTextSharp: Writing RTF in a PDF document

Hello, I'm using iTextSharp (with C# and VS2008) to generate a report from a database table row. Generate PDF is not a problem... but when I try to add RTF text into the PDF I cant't find a way into iTextSharp object structure. How can I do it? Thanks a lot! ...

Converting rich text that contains backslashes to plain text or html

I am trying to convert a rich text string to plain text or html. I am currently using the RichTextBox.Text feature which works correctly for almost all cases except when the text contains backslashes then some of the text is stripped out as the converter believes that it is part of the rtf formatting. Does anyone have any ideas of how to...

What is the RTF syntax for a hyperlink?

HTML is to <a href="x">y</a> as RTF is to _______? ...

How can you convert RTF text to Markdown-syntaxed plain text in Cocoa?

I need to be able to convert RTF or HTML to Markdown-syntaxed plain text for uploading to my server. I need to achieve this in Cocoa/Obj-C 2.0. Does anyone know how to do this? Thanks so much —» Alex. Edited Thu 4:53 PM Umm. In answer to Yuji's comment, I'm trying to make an NSStatusItem droplet that accepts text. It doesn't matter ...

Telerik RadEditor memorystream/string save to RTF

Hi, The required functionality I am aiming for is to pull out RTF content from a database, edit it through a web interface (with a WYSIWYG editor) and then place the modified text back in to the database (in RTF format). The control that I am using to do this is Telerik RadEditor (we have a license already for these controls). In the mo...

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: <textarea id="rtf"> {\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard This is some {\b bold} text.\par ...