Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View Rtf file #14

Open
FitApps7 opened this issue Oct 22, 2021 · 8 comments
Open

View Rtf file #14

FitApps7 opened this issue Oct 22, 2021 · 8 comments

Comments

@FitApps7
Copy link

how I can view rtf file by using OpenRTF?

@asturio
Copy link
Member

asturio commented Oct 23, 2021

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

@hectorvent
Copy link

is it possible to generate PDF from RTF?

@asturio
Copy link
Member

asturio commented Nov 4, 2021

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?

@hectorvent
Copy link

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

@AenaQadeer
Copy link

how I can view rtf file by using OpenRTF?

did u find the solution

@arcangel2p
Copy link

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

@CodeGeek2006
Copy link

CodeGeek2006 commented Mar 16, 2023

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

@asturio
Copy link
Member

asturio commented Apr 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants