Hi Michael -

Thanks for responding  - RE:
> Writer's internal representation of styles is quite different from CSS, so 
> this is not easily possible.

Well, leaving the existing HTML filters aside, I'd still like to write
a filter that does:
  o for every "style" that is used by a document: write CSS style
definitions to a header '<style../>' element
  o emits HTML elements without ANY style attributes (no <FONT> tags
either) and uses ONLY that CSS
Surely the list of of styles used by the document is not too difficult to list ?
And surely I could re-use the existing HTML filter code that generates
the elements in a new filter package ?
I'd find this really useful and interesting to do .   Any tips on what
to look at to get me started ?

Thanks & Regards,
Jason

On Tue, Jun 14, 2011 at 2:34 PM, Michael Stahl
<[email protected]> wrote:
> On 12.06.11 00:43, Jason Vas Dias wrote:
>> OOO-writer seems to import this OK cosmetically - but if I make any change, 
>> for instance
>> I modify style "Paragraph" so that "Gill Sans" is removed from the font face 
>> list , or increase
>> the "Paragraph" style indent, then OOO-writer comments out my '<style><!-- 
>> --></style>'
>> section and encloses every paragraph text in a '<FONT ...>...</FONT>' tag , 
>> so I loose
>> my original style sheet settings and render the document horrible to edit in 
>> a text editor .
>>
>> Is an OOO-writer HTML5+ compatible plugin that retains and is able to write 
>> CSS style sheets
>> to reflect OOO "Style" item changes feasible or on the cards ?
>> If not, I intend to develop one.
>
> hi Jason,
>
> Writer's internal representation of styles is quite different from CSS, so 
> this is not easily possible.
> Writer's HTML export will produce something that looks similar
> to the writer document in a browser, without regard to styles.
> perhaps the existing HTML filters could be improved a bit, but probably even 
> with
> all the things that can be done easily it won't be good enough for users
> who expect human readable HTML/CSS.
>
> i suggest using a tool that is more specialized for the Web.
>
> --
> "We do not trust BIOS tables, because BIOS writers are invariably
>  totally incompetent crack-addicted monkeys.  If they weren't,
>  they wouldn't be BIOS writers.  QED." -- Linus Torvalds
>
> --
> -----------------------------------------------------------------
> To unsubscribe send email to [email protected]
> For additional commands send email to [email protected]
> with Subject: help
>
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to