Hi,
I am looking at writing the BLOB from database which is an rtf data to write to RTF file.
I am trying to use the RTFEditorKit for the same and was struck with the write API it provides.
write API takes the outstream and Document, all I have is Inputstream or bytestream from database - how do I convert the stream data to a Java Document object.
Thank You,
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 09-21-2017 at 01:59 PM..
Reason: Added CODE tags.
Hi all
Is there any program which can convert PDF to word processor file ? If the PDF has smart quotes, bullet icons, copyright and trademark symbols, etc. what happens to them intext format? So ideally would like to conver into rtf or doc.
Thanks
SS (1 Reply)
:D mount -t vfat /dev/hda1 /mnt
my dillemma is simple i have psion 5 mx wich is an epoc type machine not only does it only work on windows as far as I know but I have to convert the files (the usual stuff!) sometimes a humen error happens and the files that I want to transfer to the linux drive... (7 Replies)
Hi All
I want a method in shell script which will embed the exe file into rtf file si that the rtf file can be open in word and so my exe.
Actually what is happening in my system at present :
The report in my system is a self-extracting Zip file with filetype '.EXE'. Double clicking... (1 Reply)
Hello all
i have server that needs to add the ability to convert rtf files to pdf
what you recommend me to use ( not open office please )
its spouse to process lots of files .
something i can wrap in code and use (2 Replies)
Hi,
i don't know anything about PERL. Can anyone help me providing PERL scripts for
1. converting XLS to CSV (and vice-versa)
2. converting DOC/RTF to TXT
Thanks much
Prvn (1 Reply)
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Hi and good day,
In Terminal I tried mv *.rtf.rtf *.rtf to get rid of double rtf extensions ( which came about from some other process),
but this doesn't work.
I don't know why.
Also it should be for the main and for subfolders.
with -R?
Anyway, any assistance would be greatly... (6 Replies)
Discussion started by: OmarKN
6 Replies
LEARN ABOUT DEBIAN
troff2rtf
TROFF2RTF(1) General Commands Manual TROFF2RTF(1)NAME
troff2rtf - convert troff documents to Rich Text Format
SYNTAX
troff2rtf [ -mxx ] [ -S charset ] [ file ... ]
DESCRIPTION
troff2rtf processes documents written to be formatted with troff (or nroff, or any of the other *roff variants) and converts them to Rich
Text Format. RTF is a reasonably portable interchange standard; files in RTF format can be read by a variety of applications, e.g., Micro-
soft Word, WordPerfect (Macintosh version 2.0 and up), WriteNow.
The main use for troff2rtf is to make it easier to transport troff documents for use with microcomputers. First, convert your document to
RTF:
% troff2rtf [options] file > file.rtf
The available options are described below. The one you'll most likely use is -mxx to specify a macro package like -me or -ms. If the doc-
ument contains tables, the conversion can be done like this instead:
% tblcvt file | troff2rtf [options] > file.rtf
Then move the RTF file to your target machine and read it into your document processor.
Optional flags may be given to modify the operation of troff2rtf, as follows:
-mxx Specify macro package, usually -man, -me, -mm, or -ms.
-S charset
Specify the RTF character set. charset can be one of the following: ansi mac pc pca. The default is the Macintosh character set.
For documents that you intend to use under Windows, -S ansi is a better choice.
SEE ALSO tblcvt(1), troffcvt(1)WHO-TO-BLAME
Paul DuBois, dubois@primate.wisc.edu.
BUGS
Table output generated when troff2rtf is used in concert with tblcvt has been known to crash Word outright; caution may be in order. In
addition, you may need to read the resulting RTF document into a word processor and tweak column widths manually.
Word97 adds support for vertically merging table cells (using the clvmgf and clvmrg control words). troff2rtf supports vertical spans
using these controls, but earlier versions of Word don't yet understand them. Consequently, what you'll see for n-cell vertical spans is n
individual cells, with all the text in the top cell and n-1 empty cells below it.
TROFF2RTF(1)