Return to HTML.S CVS log | Up to [Public] / Amaya / amaya |
1.1 cvs 1: { I. Vatton November 1994 } 2: STRUCTURE HTML; 3: 4: DEFPRES HTMLP; 5: 6: ATTR 1.24 cvs 7: ID = TEXT; 1.1 cvs 8: Class = text; 9: PseudoClass = text; 10: Style\240 = TEXT; 11: Invalid_attribute = TEXT; 12: Ghost_restruct = TEXT; 13: 14: CONST 15: C_Empty = ' '; 16: C_Foot = ' '; 17: C_Head = ' '; 1.9 cvs 18: C_BR = '\212'; 1.1 cvs 19: 20: STRUCT 1.22 cvs 21: HTML (ATTR SectionNumbering = Yes_; ShowAreas = Yes_) = 1.17 cvs 22: BEGIN 1.1 cvs 23: HEAD; 24: BODY; 25: END + (Invalid_element, Comment\240); 26: 27: BODY (ATTR background_ = Text; BackgroundColor = Text; TextColor = Text; 28: LinkColor = Text; VisitedLinkColor = Text; ActiveLinkColor = Text) 29: = LIST OF (Element); 30: 1.11 cvs 31: Invalid_element (ATTR Error_type = UnknownTag, BadPosition) = TEXT; 1.1 cvs 32: Comment\240 = LIST OF (Comment_line = TEXT); 33: 34: HEAD = AGGREGATE 35: Document_URL = TEXT; 36: TITLE = TEXT; 37: ? ISINDEX (ATTR Prompt = TEXT) = CONSTANT C_Empty; 38: ? BASE; 39: ? Styles (ATTR Notation = TEXT) = LIST OF (StyleRule); 40: ? Scripts = LIST OF (SCRIPT = TEXT); 41: ? Metas = LIST OF (META); 42: ? Links = LIST OF (LINK); 43: END; 44: META (ATTR http_equiv = Text; !meta_name = Text; !meta_content = Text) 45: = CONSTANT C_Empty; 1.43 ! cvs 46: LINK (ATTR HREF_ = Text; ! 47: #ifdef COUGAR ! 48: Link_type = TEXT; ! 49: #endif ! 50: REL = Text; REV = Text; Title = Text) 1.1 cvs 51: = CONSTANT C_Empty; 52: 53: StyleRule (ATTR Selector = TEXT) = TEXT; 54: 55: BASE (ATTR !HREF_) = CONSTANT C_Empty; 56: 57: Element = CASE OF 58: Paragraph; 1.20 cvs 59: Pseudo_paragraph; 1.1 cvs 60: Heading; 61: List_; 62: Horizontal_Rule; 63: Block_Quote = LIST OF (Element); 64: Preformatted; 65: Address = LIST OF (AddressContent); 66: Division; 67: Center; 68: Applet; 69: #ifdef COUGAR 70: Object; 71: #endif 1.31 cvs 72: #ifdef MATHML 1.32 cvs 73: MathDisp = MathML; 1.31 cvs 74: #endif 1.1 cvs 75: Form; 76: Table; 77: PICTURE; 78: MAP; 79: ISINDEX; 80: END; 81: 82: Horizontal_Rule (ATTR Align = left_, center_, right_; 83: NoShade = NoShade_; Size_ = Integer; 84: Width__ = Text; IntWidthPercent = Integer; 85: IntWidthPxl = Integer) = 86: CONSTANT C_Empty; 87: 88: AddressContent = CASE OF 89: Basic_Elem; 90: Paragraph; 1.20 cvs 91: Pseudo_paragraph; 1.1 cvs 92: END; 93: 94: Basic_Set = LIST OF (Basic_Elem); 95: 96: Heading = CASE OF 97: H1 (ATTR Align) = Basic_Set; 98: H2 (ATTR Align) = Basic_Set; 99: H3 (ATTR Align) = Basic_Set; 100: H4 (ATTR Align) = Basic_Set; 101: H5 (ATTR Align) = Basic_Set; 102: H6 (ATTR Align) = Basic_Set; 103: END; 104: 105: Paragraph (ATTR Align) = Basic_Set; 1.20 cvs 106: Pseudo_paragraph = Basic_Set; 1.19 cvs 107: Preformatted (ATTR WidthElement = integer) = Basic_Set 1.16 cvs 108: - (PICTURE, Big_text, Small_text, Subscript, Superscript, Font_); 1.1 cvs 109: 1.15 cvs 110: Anchor (ATTR HREF_; NAME = Text; REL; REV; Title; 1.33 cvs 111: InternalLink = Reference(Any); ExternalLink = Yes_) 1.1 cvs 112: = Basic_Set; 113: 114: Basic_Elem = CASE OF 115: TEXT; 116: PICTURE (ATTR Alignment = Top_, Middle_, Bottom_, Left_, Right_; 117: Height_ = Integer; Width_ = Integer; hspace = Integer; 118: vspace = Integer; Img_border = Integer; 119: ISMAP = Yes_; USEMAP = Text; SRC = Text; ALT = Text); 120: Anchor; 121: Font; 122: Phrase; 123: Font_; 124: BaseFont; 125: Applet; 126: #ifdef COUGAR 127: Object; 1.31 cvs 128: #endif 129: #ifdef MATHML 1.32 cvs 130: Math = MathML; 1.1 cvs 131: #endif 132: SCRIPT; 133: MAP; 1.12 cvs 134: BR (ATTR Clear = Left_, Right_, All_, None) = CONSTANT C_BR; 1.24 cvs 135: Span = Basic_Set; 1.1 cvs 136: END; 137: 138: BaseFont (ATTR BaseFontSize = Integer) = CONSTANT C_Empty; 139: 140: Font = CASE OF 141: Italic_text = Basic_Set; 142: Bold_text = Basic_Set; 143: Teletype_text = Basic_Set; 1.11 cvs 144: Underlined_text = Basic_Set; 1.1 cvs 145: Struck_text = Basic_Set; 146: Big_text = Basic_Set; 147: Small_text = Basic_Set; 148: Subscript = Basic_Set; 149: Superscript = Basic_Set; 150: END; 151: 152: Phrase = CASE OF 153: Emphasis = Basic_Set; 154: Strong = Basic_Set; 155: Def = Basic_Set; 156: Code = Basic_Set; 157: Sample = Basic_Set; 158: Keyboard = Basic_Set; 159: Variable = Basic_Set; 160: Cite = Basic_Set; 161: END; 162: 163: Font_ (ATTR Font_size = Text; IntSizeIncr = Integer; IntSizeDecr = Integer; 164: IntSizeRel = Integer; color = Text) = Basic_Set; 165: 166: Applet (ATTR codebase = TEXT; !code = TEXT; applet_name = TEXT; 167: alt = TEXT; Alignment; Height_; Width_; hspace; vspace) = 168: LIST OF (Applet_Content = CASE OF 169: Parameter; 170: Basic_Set; 171: END); 172: Parameter (ATTR Param_name = TEXT; Param_value = TEXT) = CONSTANT C_Empty; 173: 174: #ifdef COUGAR 175: Object (ATTR classid = TEXT; codebase; data = TEXT; Object_type = TEXT; 1.30 cvs 176: codetype = TEXT; Alignment; !Height_; !Width_; hspace; vspace; 177: Img_border; USEMAP; ALT) = 1.10 cvs 178: BEGIN 1.13 cvs 179: PICTURE; 1.10 cvs 180: Object_Content = LIST OF (CASE OF Element; Parameter; END); 1.13 cvs 181: END with Height_ ?= 400, Width_ ?= 400; 1.1 cvs 182: #endif 183: 184: Block = CASE OF 185: Paragraph; 1.20 cvs 186: Pseudo_paragraph; 1.1 cvs 187: List_; 188: Block_Quote; 189: Preformatted; 190: Division; 191: Center = LIST OF (Element); 192: Form; 193: END; 194: 195: Division (ATTR Align) = LIST OF (Element); 196: 197: List_ = CASE OF 198: Unnumbered_List (ATTR BulletStyle = disc, circle, square; 199: COMPACT = Yes_) = 200: LIST OF (List_Item); 201: Numbered_List (ATTR NumberStyle = Arabic_, LowerAlpha, UpperAlpha, 202: LowerRoman, UpperRoman; Start = Integer; COMPACT) = 203: LIST OF (List_Item) with Start ?= 1; 204: Directory (ATTR COMPACT) = 205: LIST OF (List_Item); 206: Menu (ATTR COMPACT) = 207: LIST OF (List_Item); 208: Definition_List = LIST OF (Definition_Item); 209: END; 210: 211: List_Item (ATTR ItemStyle = disc, circle, square, Arabic_, LowerAlpha, 212: UpperAlpha, LowerRoman, UpperRoman; 213: IntItemStyle = disc, circle, square, Arabic_, LowerAlpha, 214: UpperAlpha, LowerRoman, UpperRoman; 215: ItemValue = Integer) = 216: LIST OF (Block); 217: 218: Definition_Item (ATTR COMPACT) = BEGIN 219: Term_List = LIST OF (Term = Basic_Set); 1.6 cvs 220: ? Definition = LIST OF (Block); 1.1 cvs 221: END; 222: 223: Form (ATTR !Script_URL = Text; METHOD = Get_, Post_; ENCTYPE = Text) = 224: LIST OF (Form_Element) + (Input) with METHOD ?= Get_; 225: 226: Form_Element = CASE OF 227: Paragraph; 1.20 cvs 228: Pseudo_paragraph; 1.1 cvs 229: Toggle_Menu; 230: Radio_Menu; 231: Option_Menu; 232: Text_Input_Line; 233: Command_Line; 234: Text_Area (ATTR !NAME; Rows = Integer; Columns = Integer; 1.12 cvs 235: Default_Value = Text) = 1.1 cvs 236: Text_With_Frame with Rows ?= 4, Columns ?= 20; 237: Heading; 238: List_; 239: Horizontal_Rule; 240: Block_Quote; 241: Preformatted; 242: Division; 243: Center; 244: ISINDEX; 245: END; 246: 1.7 cvs 247: Option_Menu (ATTR !NAME; Multiple = Yes_; MenuSize = Integer) = 1.1 cvs 248: LIST OF (Option) - (Input); 1.12 cvs 249: Option (ATTR Selected = Yes_; DefaultSelected = Yes_; !Value_ = Text) = 1.1 cvs 250: TEXT; 251: 1.40 cvs 252: Toggle_Menu = LIST OF (Toggle_Item) 253: - (Text_Input_Line, Command_Line, Toggle_Menu, Radio_Menu); 1.1 cvs 254: Toggle_Item = BEGIN 1.39 cvs 255: Basic_Set; 1.1 cvs 256: Checkbox_Input (ATTR !NAME; 257: Checked = Yes_, No_; DefaultChecked = Yes_, No_; 1.12 cvs 258: Value_) = 1.1 cvs 259: CONSTANT C_Empty with Checked ?= No_; 1.39 cvs 260: Basic_Set; 1.1 cvs 261: END; 262: 1.40 cvs 263: Radio_Menu (ATTR !NAME) = LIST OF (Radio_Item) 264: - (Text_Input_Line, Command_Line, Toggle_Menu, Radio_Menu); 1.1 cvs 265: Radio_Item = BEGIN 1.39 cvs 266: Basic_Set; 1.12 cvs 267: Radio_Input (ATTR !NAME; Checked; DefaultChecked; !Value_) = 1.1 cvs 268: CONSTANT C_Empty with Checked ?= No_, NAME ?= 'radio'; 1.39 cvs 269: Basic_Set; 1.1 cvs 270: END; 271: 272: Text_Input_Line = BEGIN 1.39 cvs 273: Basic_Set; 1.12 cvs 274: Text_Input (ATTR !NAME; Area_Size = Integer; MaxLength = Integer; Value_) = 1.1 cvs 275: Text_With_Frame with Area_Size ?= 20; 1.39 cvs 276: Basic_Set; 277: END - (Text_Input_Line, Command_Line, Toggle_Menu, Radio_Menu); 1.1 cvs 278: 279: Command_Line = BEGIN 1.12 cvs 280: Reset_Input (ATTR NAME; Value_) = BEGIN 1.1 cvs 281: Frame; 1.12 cvs 282: END with NAME ?= 'Reset', Value_ ?= 'Reset'; 1.1 cvs 283: Space = CONSTANT C_Empty; 1.12 cvs 284: Submit_Input (ATTR NAME; Value_) = BEGIN 1.1 cvs 285: Frame; 1.12 cvs 286: END with Value_ ?= 'Submit'; 1.39 cvs 287: END - (Text_Input_Line, Command_Line, Toggle_Menu, Radio_Menu); 1.1 cvs 288: 289: Input = CASE OF 290: Checkbox_Input; 291: Radio_Input; 292: Text_Input; 1.12 cvs 293: Hidden_Input (ATTR !NAME; Value_) = CONSTANT C_Empty; 1.1 cvs 294: Password_Input (ATTR !NAME; Area_Size; MaxLength) = Text_With_Frame; 295: File_Input (ATTR !NAME) = CONSTANT C_Empty; 296: Reset_Input; 297: Submit_Input; 1.40 cvs 298: Option_Menu; 299: Text_Area; 1.8 cvs 300: END; 1.1 cvs 301: 302: Text_With_Frame = BEGIN 303: Inserted_Text = TEXT; 304: Frame = CONSTANT C_Empty; 305: END; 306: 307: Table (ATTR Border = Integer; 1.34 cvs 308: Align; 1.1 cvs 309: Width__; IntWidthPercent; IntWidthPxl; 310: cellspacing = Integer; cellpadding = Integer) = 311: BEGIN 312: CAPTION (ATTR Position = Position_top, Position_bottom) = Basic_Set; 313: Table_head = LIST OF (Column_head); 314: ? thead = LIST OF (Table_row); 315: Table_body = LIST OF (tbody = LIST OF (Table_row)); 316: ? tfoot = LIST OF (Table_row); 317: Table_foot = CONSTANT C_Foot; 318: END; 1.3 cvs 319: Column_head (ATTR Col_width_percent = INTEGER; Col_width_pxl = INTEGER; 1.18 cvs 320: Col_width_delta = INTEGER; IntMaxVol = Integer) = 1.3 cvs 321: CONSTANT C_Head with Col_width_percent ?= 100; 1.1 cvs 322: Table_row (ATTR Row_align = Row_left, Row_center, Row_right; 323: Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline) = 324: LIST OF (Table_cell); 325: Table_cell = CASE OF 326: Data_cell(ATTR Ref_column = REFERENCE(Column_head); 327: ColExt = REFERENCE(Column_head); 328: RowExt = REFERENCE(Table_row); 329: colspan = INTEGER; 330: rowspan = INTEGER; 331: Cell_align = Cell_left, Cell_center, Cell_right; 1.11 cvs 332: Cell_valign = Cell_top, Cell_middle, Cell_bottom; 1.4 cvs 333: Cell_width = Text; 1.1 cvs 334: Cell_height = Integer; 1.27 cvs 335: No_wrap = no_wrap) = LIST OF (Element); 1.1 cvs 336: Heading_cell(ATTR Ref_column; ColExt; RowExt; colspan; rowspan; 1.27 cvs 337: Cell_align; Cell_valign; Cell_width; Cell_height; No_wrap) = 1.1 cvs 338: LIST OF (Element); 339: END; 340: Table_cell_ghost = CONSTANT C_Empty; 341: 342: MAP (ATTR NAME; Ref_IMG = REFERENCE(Any)) = LIST OF (AREA); 343: AREA (ATTR shape = rectangle, circle, polygon, default_; 344: coords = Text; HREF_; nohref = Yes_; ALT; 345: x_coord = Integer; y_coord = Integer; width\240 = Integer; 346: height\240 = Integer; AreaRef_IMG = REFERENCE(Any)) = GRAPHICS 347: with x_coord ?= 0, y_coord ?= 0, width\240 ?= 25, height\240 ?= 10; 348: 349: EXCEPT 1.25 cvs 350: HTML: NoMove, NoResize; 1.1 cvs 351: BODY: NoCut; 352: HEAD: NoCut; 353: TITLE: NoCut; 354: Document_URL: Hidden, NoSpellCheck; 355: C_Empty: Hidden, NoSelect; 1.9 cvs 356: C_BR: NoSelect; 1.1 cvs 357: Scripts: Hidden, NoSelect; 358: Metas: Hidden, NoSelect; 359: Links: Hidden, NoSelect; 360: Frame: Hidden; 361: Inserted_Text: Hidden, NoSelect; 362: Basic_Set: Hidden, NoSelect; 363: Term_List: Hidden, NoSelect; 364: Definition_Item: Hidden; 365: Comment_line: Hidden; 366: GRAPHICS: NoMove, NoResize; 1.41 cvs 367: TEXT: NoMove, NoResize; 1.26 cvs 368: PICTURE: MoveResize; 1.1 cvs 369: Invalid_element: NoCreate; 1.20 cvs 370: Pseudo_paragraph: ParagraphBreak, Hidden; 1.1 cvs 371: Paragraph: ParagraphBreak; 372: H1: ParagraphBreak; 373: H2: ParagraphBreak; 374: H3: ParagraphBreak; 375: H4: ParagraphBreak; 376: H5: ParagraphBreak; 377: H6: ParagraphBreak; 378: Address: ParagraphBreak; 379: Term: ParagraphBreak; 380: MAP: IsDraw; 381: AREA: MoveResize; 1.19 cvs 382: Preformatted: ReturnCreateNL; 1.1 cvs 383: 1.24 cvs 384: #ifndef COUGAR 385: Langue: Invisible; 386: #endif 1.29 cvs 387: ExternalLink: Invisible; 1.15 cvs 388: InternalLink: Invisible; 1.1 cvs 389: WidthElement: NewWidth; 390: IntWidthPercent:Invisible; 391: IntWidthPxl: Invisible; 392: SRC: Invisible; 393: IntItemStyle: Invisible; 394: IntSizeIncr: Invisible; 395: IntSizeDecr: Invisible; 396: IntSizeRel: Invisible; 397: IntMaxVol: Invisible; 398: x_coord: Invisible, NewHPos; 399: y_coord: Invisible, NewVPos; 400: width\240: Invisible, NewWidth; 401: height\240: Invisible, NewHeight; 402: Ref_IMG: Invisible; 403: AreaRef_IMG: Invisible; 404: Invalid_attribute: Invisible; 405: PseudoClass: Invisible; 406: Default_Value: Invisible; 407: DefaultSelected: Invisible; 408: DefaultChecked: Invisible; 1.17 cvs 409: SectionNumbering:Invisible; 1.22 cvs 410: ShowAreas: Invisible; 1.42 cvs 411: Data_cell: NoMove, NoResize; 412: Heading_cell: NoMove, NoResize; 1.1 cvs 413: Table: PageBreak; 1.25 cvs 414: Column_head: NoCut, Hidden, NoSelect; 415: Table_head: NoCut, Hidden, NoSelect, 1.18 cvs 416: PageBreakRepetition; 1.1 cvs 417: C_Head: Hidden, NoSelect; 1.25 cvs 418: Table_foot: NoCut, Hidden, PageBreakRepBefore; 1.1 cvs 419: C_Foot: Hidden, NoSelect; 1.38 cvs 420: Table_body: PageBreakAllowed, Hidden; 1.25 cvs 421: Table_row: PageBreakPlace; 1.3 cvs 422: Col_width_percent: Invisible; 423: Col_width_pxl: Invisible; 1.18 cvs 424: Col_width_delta: Invisible; 1.1 cvs 425: ColExt: Invisible; 1.2 cvs 426: RowExt: Invisible; 1.1 cvs 427: Ref_column: Invisible; 1.25 cvs 428: Table_cell_ghost: Hidden, NoCreate, NoCut, NoSelect; 1.10 cvs 429: #ifdef COUGAR 1.25 cvs 430: Object_Content: Hidden, NoCreate, NoCut, NoSelect; 1.10 cvs 431: #endif 1.1 cvs 432: Ghost_restruct: Invisible; 433: END