Export LO Writer Style as .css Style Sheet

It is possible to export/save the styles for a given document—or perhaps a .ott template—as a HTML5 compliant .css file? If so, how?
I know from, e.g., here, how to export & import styles from one Writer document to another, but I’m interested in using the style with another app (ghostwriter to let it create documents in the same style as various Writer documents).

1 Like

What I did was:

  1. Save the document as an .html file
  2. Opened that .html version in my currently-favorite text editor
  3. Copied the <style> to </style> section from near the top of what opened in the text editor
  4. Pasted that section without the <style> and </style> tags into a blank text file
  5. Saved that new file as a .css file

A bit of a work around, but it worked.

Formatting fixed 2024-10-31 by ajlittoz, otherwise procedure can’t be understood

1 Like

This is the only workaround I’m aware of.

1 Like

sorry, no way

(15 characters are here)