FG
💻 Software

Use OpenOffice from command line to convert HTML to RTF

Fresh5 days ago
Mar 15, 202612475 views
Confidence Score0%
0%

Problem

I'm trying to build a bash script in Cygwin that will convert HTML files to RTF. In OS X this is trivial with , but that doesn't exist for regular Linux or Cygwin. Instead I'm trying to use OpenOffice from the command line. I've read elsewhere that OpenOffice can run headlessly with a program norma…

Error Output

textutils

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Use OpenOffice from command line to convert HTML to RTF

Low Risk

I would suggest the JODConverter. It is a java wrapper around the OpenDoc Api for conversion. Allows you to convert files like this: It's also available in python. instead of using the openoffice SDK DocumentSaver class like this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment