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?
...
Is there any way of converting the rich text data in the ultraformattedtexteditor from infragistics tools of C# to RTF format
...
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!
...
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...
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 ...
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...
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);
...
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.
...
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) {
///////////////////////////////////...
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...
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 =...
Anyone have code to do this? Just checking before I have to "re-invent the wheel" and write this code from the spec.
...
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.
...
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!
...
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...
HTML is to <a href="x">y</a> as RTF is to _______?
...
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 ...
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...
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
...