Subject: Re: Interested in building a Styles Dialog
From: sam th (sam@uchicago.edu)
Date: Thu Jun 15 2000 - 21:58:31 CDT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 15 Jun 2000, Justin Bradford wrote:
> Now for writing styles to a file, I'm not sure how that is done, if it has
> been done. My guess, or suggested implementation, would be use a tag,
> like:
This sounds good. Just put a wrapper element around it:
<collection-of-styles name="foobar">
> <style name="Justin's Style" props="color: red; point-size: 20; etc" />
>
</collection-of-styles>
and we have something easily included in a .abw file. If James Clark
decides to implement XInclude[1] in expat, we could use that to include it
in the <styles> section of a <abiword> document via something like this:
<styles>
<style name="style1" props="color: red"/>
<xinclude:include xmlns:xinclude="..." href="stylesheet_doc.sst"/>
</styles>
which would expand to
<styles>
<style name="style1" ... />
<collection-of-styles name="foobar">
<style ... />
</collection-of-styles>
</styles>
[1] http://www.w3.org/TR/xinclude
Currently, we could do it with external entities, but that would be
uglier, and XInclude will be a W3C REC by the time we need this.
sam th
sam@uchicago.edu
http://www.abisource.com/~sam/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5SZfYt+kM0Mq9M/wRAgLiAKC3vQwydMqbDZgKQsTmGv0MnQ4YBgCfdXEt
GVowT+kpWqztk6ZnURW+x4I=
=TC25
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2b25 : Thu Jun 15 2000 - 20:58:52 CDT