/[defdoc]/DefDoc/src/elements/structural.lisp
ViewVC logotype

Contents of /DefDoc/src/elements/structural.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Thu Oct 11 16:18:09 2007 UTC (6 years, 6 months ago) by rjain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +13 -1 lines
flesh out more of the definition-list class
1 (in-package :defdoc.elements)
2
3 (defclass logical-structure-element (vertical-element vertical-container
4 flowing-container-mixin)
5 ())
6
7 (defclass section (logical-structure-element)
8 ((title :initarg title
9 :accessor title))
10 (:documentation "A major structural part of the document."))
11
12 (defclass section-header (logical-structure-element)
13 ((header-level :initarg header-level
14 :accessor header-level
15 :documentation "The level of the header, with topmost level headers being
16 at level 1."))
17 (:documentation "A section header object only to be created by layout engines."))
18
19 (defclass paragraph (logical-structure-element wrapping-container-mixin)
20 ()
21 (:documentation "A standard paragraph of text."))
22
23 (defclass block-quotation (logical-structure-element wrapping-container-mixin)
24 ()
25 (:documentation "A quotation displayed as a set-off block of text."))
26
27 (defclass listed-information (logical-structure-element)
28 ()
29 (:documentation "An abstract list of textual items."))
30
31 (defclass enumerated-list (listed-information)
32 ()
33 (:documentation "A list of items labelled with increasing indices."))
34
35 (defclass itemized-list (listed-information)
36 ()
37 (:documentation "A list of items labelled with a special character (bullet) to set each
38 one off."))
39
40 (defclass list-item (logical-structure-element)
41 ()
42 (:documentation "An item in a listed-information element"))
43
44 (defclass definition-list (listed-information)
45 ()
46 (:documentation "A list of terms and one or more definitions for each. The contents are
47 an alist. Each CAR is the term being defined, each CDR is the definition or list of
48 definitions."))
49
50 (defclass defined-term (list-item)
51 ()
52 (:documentation "An item in a definition-list: the term which will be defined"))
53
54 (defclass term-definition (logical-structure-element)
55 ()
56 (:documentation "An item in a definition-list: the definition of the term just introduced"))
57
58 (defclass preformatted-paragraph (logical-structure-element)
59 ()
60 (:documentation "A paragraph whose elements are already laid out according to a
61 monospaced font."))
62

  ViewVC Help
Powered by ViewVC 1.1.5