OpenRTF icon indicating copy to clipboard operation
OpenRTF copied to clipboard

View Rtf file

Open FitApps7 opened this issue 4 years ago • 8 comments

how I can view rtf file by using OpenRTF?

FitApps7 avatar Oct 22 '21 06:10 FitApps7

OpenRTF creates and reads RTF documents. But it is no viewer.

asturio avatar Oct 23 '21 08:10 asturio

is it possible to generate PDF from RTF?

hectorvent avatar Nov 03 '21 15:11 hectorvent

OpenRTF and OpenPDF are separate projects. I don't know if there is a "mapper" for translating one format in the other. Theoretically you can Read an RTF file with OpenRTF and write a PDF file with OpenPDF, but you must write mapping yourself. If you just want to do it once, then probably the best option is opening the RTF file in LibreOffice (or other office program that supports RTF) an "printing" it to PDF. Is that what you want?

asturio avatar Nov 04 '21 10:11 asturio

Yeah, it is that. But was looking for java native way to do it.

hectorvent avatar Nov 05 '21 20:11 hectorvent

how I can view rtf file by using OpenRTF?

did u find the solution

AenaQadeer avatar Aug 13 '22 13:08 AenaQadeer

I've also not found an example of opnening a RTF document and getting all paragraphs and elements.

arcangel2p avatar Feb 16 '23 07:02 arcangel2p

Can someone give an example of how to read .rtf files using this library ?

CodeGeek2006 avatar Mar 16 '23 18:03 CodeGeek2006

I just made the Wiki public, so feel free in adding some examples and content there ;-)

asturio avatar Apr 22 '23 09:04 asturio