Re: Version 0.9.0


Subject: Re: Version 0.9.0
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Tue Apr 25 2000 - 18:12:53 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 24 Apr 2000, Randy Kramer wrote:

> Does anyone have a feel for whether the file format will have to change
> to support collapsible outlining?

Certainly, there would need to be some file format changes to allow for
outlining (collapsibility should be totally in-abiword, unless we want to
save the current state of the outline - eg, this level is visible, this
level is not).

Here is my idea for a sample of outlined abiword text

<p style="Normal">
<field type="outline-label" level="1" format="numerical"><c>1.</c></field>
<c>This is the first line</c></p>
<p style="Normal">
<field type="outline-label" level="1" format="numerical"><c>2.</c></field>
<c>This is the second line</c></p>
<p style="Normal">
<field type="outline-label" level="2" format="numerical"><c>(1)</c></field>
<c>This is under the second line</c></p>

Note that this format is based on my current understanding of how we will
format fields in the file format. This may not be correct.

Note also that this is different than how the list patch creates its
labels. It is my belief that this is a cleaner way of doing this.
(hopefully it would not be to difficult to change the list code. )

However, I think this exposes a weakness in the way we currently format
the field in the file format. I would prefer something along these lines:

<field>
<outline-label level="2" format="numerical"/>
<c>1.</c>
</field>

Hope this wasn't too much in one message.

           
                                     sam th
                                     sam@uchicago.edu
                                http://sam.rh.uchicago.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5BiZ3t+kM0Mq9M/wRAvHKAJkByrRTxl/pMtTVgJZOu+cNtyN08wCfT0Gm
QaZQws6Ulfptfulnxg9+Kc0=
=v39Q
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Tue Apr 25 2000 - 18:13:15 CDT