OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odf-adoption message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: High level tools for ODF


I'm blogging my progress at http://books.evc-cit.info/blog/

My next plan is to write code that will take CSS-like notation and
convert it into the appropriate <style:style> elements. It would take
something like this:

   paragraph.boldcenter { font-weight: bold; text-align: center;
font-size:110% }
   text.cololrful { color: #ff0000; background-color: #ffff00; }

and create the corresponding <style:style> elements:

<style:style style:name="boldcenter" style:family="paragraph">
  <style:paragraph-properties fo:font-weight="bold"  fo:text-align="center" />
  <style:text-properties fo:font-size="110%"/>
</style:style>

<style:style style:name="colorful" style:family="text">
  <style:text-properties fo:color="#ffff00" fo:background-color="#ffff00"/>
</style:style>

This would be a difficult bit of code to write, but I think it would
make people's lives easier. Do you think this is worth pursuing?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]