Annotation of Amaya/amaya/TimelineP.P, revision 1.6
1.1 pierre 1: { Thot presentation schema for Timeline documents
2:
3: Pierre Geneves June 2002 }
4:
5: PRESENTATION Timeline;
6:
1.2 pierre 7: VIEWS
8: Timeline_view;
1.1 pierre 9:
10: DEFAULT
11:
12: BEGIN
13: HorizRef: * . Top;
14: VertRef: * . Left;
15: HorizPos: Left = Enclosing . Left;
16: VertPos: Top = Enclosing . Top;
17: Visibility: Enclosing =;
18: FillPattern: Enclosing =;
19: Depth: Enclosing =;
20: Font: Enclosing =;
21: END;
22:
23: BOXES
24:
25:
26: UnknownAttrValue: BEGIN
27: Content: (AttributeValue);
28: Visibility: 0;
29: END;
30:
31: { presentation boxes }
32:
33:
34: Unknown_End: BEGIN
35: Content: Text '>';
36: Visibility: 0;
37: END;
38:
39: IndexBox: BEGIN
40: Content: Picture 'AmayaSrcSyncIndex.gif';
41: HorizPos: Left = Root . Left;
42: VertPos: Top = Creator . Top;
43: VertOverflow : Yes;
44: HorizOverflow : Yes;
45: Inline: No;
46: Visibility: Creator =;
47: END;
48:
49: RULES
50:
51: Document:
52: BEGIN
53: Size: 12 pt;
54: Font: helvetica;
55: Visibility: 10;
56: Width: Enclosing . Width;
57: Height: Enclosing . Height min;
58: END;
59:
60: Timeline:
61: BEGIN
62: Width: Enclosing . Width;
63: Height: Enclosing . Height;
64: HorizRef: *.Bottom;
65: if NOT within Timeline BEGIN
66: VertPos: Top = Previous . Bottom;
67: Foreground: transparent;
68: Background: Black;
69: FillPattern: backgroundcolor;
70: END;
71: PageBreak: No;
72: LineBreak: No;
73: Adjust: Left;
74: Hyphenate: No;
75: Gather: Yes;
76: LineWeight: 1 pt;
77: END;
78:
1.4 pierre 79: abstract_group:
1.1 pierre 80: BEGIN
81: Width: Enclosing . Width;
82: Height: Enclosing . Height;
83: END;
84:
85: image_slider:
86: BEGIN
1.6 ! pierre 87: HorizPos: Left = Enclosing . Left ;
! 88: VertPos: HRef = Enclosing . Top + 10 pt ;
1.1 pierre 89: Width: Enclosed . Width;
90: Height: Enclosed . Height;
91: END;
92:
1.5 pierre 93: image_toolbar:
94: BEGIN
1.6 ! pierre 95: HorizPos: Left = Enclosing . Left ;
! 96: VertPos: HRef = Enclosing . Top + 10 pt ;
1.5 pierre 97: Width: Enclosed . Width;
98: Height: Enclosed . Height;
99: END;
100:
101:
102: image_help:
103: BEGIN
1.6 ! pierre 104: HorizPos: Left = Enclosing . Left ;
! 105: VertPos: HRef = Enclosing . Top + 10 pt ;
1.5 pierre 106: Width: Enclosed . Width;
107: Height: Enclosed . Height;
108: END;
109:
110: image_color:
111: BEGIN
1.6 ! pierre 112: HorizPos: Left = Enclosing . Left ;
! 113: VertPos: HRef = Enclosing . Top + 10 pt ;
1.5 pierre 114: Width: Enclosed . Width;
115: Height: Enclosed . Height;
116: END;
117:
118:
119: image_motion:
120: BEGIN
1.6 ! pierre 121: HorizPos: Left = Enclosing . Left ;
! 122: VertPos: HRef = Enclosing . Top + 10 pt ;
1.5 pierre 123: Width: Enclosed . Width;
124: Height: Enclosed . Height;
125: END;
126:
127: image_interp:
1.1 pierre 128: BEGIN
1.6 ! pierre 129: HorizPos: Left = Enclosing . Left ;
! 130: VertPos: HRef = Enclosing . Top + 10 pt ;
1.1 pierre 131: Width: Enclosed . Width;
132: Height: Enclosed . Height;
133: END;
134:
135: image_collapse:
136: BEGIN
1.6 ! pierre 137: HorizPos: Left = Enclosing . Left ;
! 138: VertPos: HRef = Enclosing . Top + 10 pt ;
1.1 pierre 139: Width: Enclosed . Width;
140: Height: Enclosed . Height;
141: END;
142:
143:
144: rect_interface:
145: BEGIN
1.6 ! pierre 146: Width: 2.5 cm ;
! 147: Height: 1.5 cm ;
! 148: HorizPos: Left = Enclosing . Left ;
! 149: VertPos: Top = Enclosing . Top ;
1.1 pierre 150: END;
151:
1.4 pierre 152: rect_id:
153: BEGIN
1.6 ! pierre 154: Width: 2.5 cm ;
! 155: Height: 1.5 cm ;
! 156: HorizPos: Left = Enclosing . Left ;
! 157: VertPos: Top = Enclosing . Top ;
1.4 pierre 158: END;
159:
160: col_period:
161: BEGIN
1.6 ! pierre 162: Width: 2.5 cm ;
! 163: Height: 1.5 cm ;
! 164: HorizPos: Left = Enclosing . Left ;
! 165: VertPos: Top = Enclosing . Top ;
1.4 pierre 166: END;
167:
168: exp_period:
1.1 pierre 169: BEGIN
1.6 ! pierre 170: Width: 2.5 cm ;
! 171: Height: 1.5 cm ;
! 172: HorizPos: Left = Enclosing . Left ;
! 173: VertPos: Top = Enclosing . Top ;
1.1 pierre 174: END;
175:
176: tline:
177: BEGIN
1.6 ! pierre 178: HorizPos: Left = Enclosing . Left ;
! 179: VertPos: Top = Enclosing . Top ;
1.1 pierre 180: Width: Right = Enclosing . Left;
181: Height: Bottom = Enclosing . Top;
182: END;
183:
184:
185: text_:
1.4 pierre 186: BEGIN
187: Width: Enclosed . Width;
1.6 ! pierre 188: HorizPos: Left = Enclosing . Left;
! 189: VertPos: HRef = Enclosing . Top + 0.9;
1.4 pierre 190: HorizRef: Enclosed . HRef;
191: Foreground : Black;
192: FillPattern: nopattern;
193: END;
194:
195: text_id:
1.1 pierre 196: BEGIN
197: Width: Enclosed . Width;
1.6 ! pierre 198: HorizPos: Left = Enclosing . Left + 1.2;
! 199: VertPos: HRef = Enclosing . Top + 1.1;
1.1 pierre 200: HorizRef: Enclosed . HRef;
201: Foreground : Black;
202: FillPattern: nopattern;
203: END;
204:
205:
1.3 pierre 206: timing_text:
207: BEGIN
208: Width: Enclosed . Width;
1.6 ! pierre 209: HorizPos: Left = Enclosing . Left;
! 210: VertPos: HRef = Enclosing . Top + 0.9;
1.3 pierre 211: HorizRef: Enclosed . HRef;
212: Foreground : Black;
213: FillPattern: nopattern;
214: END;
215:
1.1 pierre 216: TEXT_UNIT:
217: BEGIN
218: HorizRef: Enclosed . HRef;
219: HorizPos: Left = Previous . Right;
220: VertPos: HRef = Previous . HRef;
221: Width: Enclosed . Width;
222: Height: Enclosed . Height;
223: END;
224:
225: GRAPHICS_UNIT:
226: BEGIN
227: Width: Enclosing . Width;
228: Height: Enclosing . Height;
229: END;
230:
231:
232: PICTURE_UNIT:
233: BEGIN
234: Width: Enclosing . Width;
235: Height: Enclosing . Height;
236: END;
237:
238: Timeline_Image: BEGIN
239: LineBreak: No;
240: PageBreak: No;
241: END;
242:
243: ATTRIBUTES
244:
245:
246:
247: Highlight:
248: BEGIN
249: if TEXT_UNIT
250: CreateAfter (IndexBox);
251: if NOT TEXT_UNIT
252: CreateLast (IndexBox);
253: END;
254:
255:
256: x:
257: BEGIN
258: HorizPos: Left = Enclosing not text_ . Left;
259: END;
260:
261: y:
262: BEGIN
263: if not text_
264: VertPos: Top = Enclosing not text_ . Top;
265: if text_
266: VertPos: HRef = Enclosing . Top;
267: END;
268:
269:
270: Unknown_attribute:
271: BEGIN
272: if TEXT_UNIT
273: CreateBefore(UnknownAttrValue);
274: if PICTURE_UNIT
275: CreateBefore(UnknownAttrValue);
276: if Unknown_namespace
277: CreateAfter(UnknownAttrValue);
278: if Unknown_namespace and LastAttr
279: CreateAfter(Unknown_End);
280: if NOT TEXT_UNIT and NOT PICTURE_UNIT and NOT Unknown_namespace
281: CreateBefore(UnknownAttrValue);
282: END;
283:
284: END
Webmaster