Diff for /Amaya/amaya/HTML.S between versions 1.43 and 1.44

version 1.43, 1997/12/02 17:08:23 version 1.44, 1998/01/20 15:42:30
Line 2 Line 2
 STRUCTURE HTML;  STRUCTURE HTML;
   
 DEFPRES HTMLP;  DEFPRES HTMLP;
    
 ATTR  ATTR
    ID = TEXT;     ID = TEXT;
    Class = text;     Class = text;
Line 104  STRUCT Line 104  STRUCT
   
   Paragraph (ATTR Align) = Basic_Set;    Paragraph (ATTR Align) = Basic_Set;
   Pseudo_paragraph = Basic_Set;    Pseudo_paragraph = Basic_Set;
   Preformatted (ATTR WidthElement = integer) = Basic_Set    Preformatted (ATTR Width__; IntWidthPercent; IntWidthPxl)
                   = Basic_Set
              - (PICTURE, Big_text, Small_text, Subscript, Superscript, Font_);               - (PICTURE, Big_text, Small_text, Subscript, Superscript, Font_);
   
   Anchor (ATTR HREF_; NAME = Text; REL; REV; Title;    Anchor (ATTR HREF_; NAME = Text; REL; REV; Title;
Line 114  STRUCT Line 115  STRUCT
   Basic_Elem = CASE OF    Basic_Elem = CASE OF
         TEXT;          TEXT;
         PICTURE (ATTR Alignment = Top_, Middle_, Bottom_, Left_, Right_;          PICTURE (ATTR Alignment = Top_, Middle_, Bottom_, Left_, Right_;
                  Height_ = Integer; Width_ = Integer; hspace = Integer;                   Height_ = Integer; Width__; IntWidthPercent; IntWidthPxl;
                  vspace = Integer; Img_border = Integer;                   hspace = Integer; vspace = Integer; Img_border = Integer;
                  ISMAP = Yes_; USEMAP = Text; SRC = Text; ALT = Text);                   ISMAP = Yes_; USEMAP = Text; SRC = Text; ALT = Text);
         Anchor;          Anchor;
         Font;          Font;
Line 164  STRUCT Line 165  STRUCT
               IntSizeRel = Integer; color = Text) = Basic_Set;                IntSizeRel = Integer; color = Text) = Basic_Set;
   
   Applet (ATTR codebase = TEXT; !code = TEXT; applet_name = TEXT;    Applet (ATTR codebase = TEXT; !code = TEXT; applet_name = TEXT;
                alt = TEXT; Alignment; Height_; Width_; hspace; vspace) =                 alt = TEXT; Alignment; Height_; Width__; IntWidthPercent;
                  IntWidthPxl; hspace; vspace) =
         LIST OF (Applet_Content = CASE OF          LIST OF (Applet_Content = CASE OF
                                   Parameter;                                    Parameter;
                                   Basic_Set;                                    Basic_Set;
Line 173  STRUCT Line 175  STRUCT
   
 #ifdef COUGAR  #ifdef COUGAR
   Object (ATTR classid = TEXT; codebase; data = TEXT; Object_type = TEXT;    Object (ATTR classid = TEXT; codebase; data = TEXT; Object_type = TEXT;
           codetype = TEXT; Alignment; !Height_; !Width_; hspace; vspace;            codetype = TEXT; Alignment; !Height_; !Width__; IntWidthPercent;
             IntWidthPxl; hspace; vspace;
           Img_border; USEMAP; ALT) =            Img_border; USEMAP; ALT) =
         BEGIN          BEGIN
         PICTURE;          PICTURE;
         Object_Content = LIST OF (CASE OF Element; Parameter; END);          Object_Content = LIST OF (CASE OF Element; Parameter; END);
         END with Height_ ?= 400, Width_ ?= 400;          END with Height_ ?= 400, Width__ ?= '400', IntWidthPxl ?= 400;
 #endif  #endif
   
   Block = CASE OF    Block = CASE OF
Line 306  STRUCT Line 309  STRUCT
   
   Table (ATTR Border = Integer;    Table (ATTR Border = Integer;
               Align;                Align;
               Width__; IntWidthPercent; IntWidthPxl;                Width__; IntWidthPxl; IntWidthPercent;
               cellspacing = Integer; cellpadding = Integer) =                cellspacing = Integer; cellpadding = Integer) =
         BEGIN          BEGIN
         CAPTION (ATTR Position = Position_top, Position_bottom) = Basic_Set;          CAPTION (ATTR Position = Position_top, Position_bottom) = Basic_Set;
Line 316  STRUCT Line 319  STRUCT
         ? tfoot = LIST OF (Table_row);          ? tfoot = LIST OF (Table_row);
         Table_foot = CONSTANT C_Foot;          Table_foot = CONSTANT C_Foot;
         END;          END;
   Column_head (ATTR Col_width_percent = INTEGER; Col_width_pxl = INTEGER;    Column_head (ATTR IntWidthPercent; IntWidthPxl) =
                     Col_width_delta = INTEGER; IntMaxVol = Integer) =          CONSTANT C_Head;
         CONSTANT C_Head with Col_width_percent ?= 100;  
   Table_row (ATTR Row_align = Row_left, Row_center, Row_right;    Table_row (ATTR Row_align = Row_left, Row_center, Row_right;
                   Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline) =                    Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline) =
         LIST OF (Table_cell);          LIST OF (Table_cell);
Line 326  STRUCT Line 328  STRUCT
         Data_cell(ATTR Ref_column = REFERENCE(Column_head);          Data_cell(ATTR Ref_column = REFERENCE(Column_head);
                  ColExt = REFERENCE(Column_head);                   ColExt = REFERENCE(Column_head);
                  RowExt = REFERENCE(Table_row);                   RowExt = REFERENCE(Table_row);
                  colspan = INTEGER;                   colspan_ = INTEGER;
                  rowspan = INTEGER;                   rowspan_ = INTEGER;
                  Cell_align = Cell_left, Cell_center, Cell_right;                   Cell_align = Cell_left, Cell_center, Cell_right;
                  Cell_valign = Cell_top, Cell_middle, Cell_bottom;                   Cell_valign = Cell_top, Cell_middle, Cell_bottom;
                  Cell_width = Text;                   Width__; IntWidthPxl; IntWidthPercent;
                  Cell_height = Integer;                   Cell_height = Integer;
                  No_wrap = no_wrap) = LIST OF (Element);                   No_wrap = no_wrap) = LIST OF (Element);
         Heading_cell(ATTR Ref_column; ColExt; RowExt; colspan; rowspan;          Heading_cell(ATTR Ref_column; ColExt; RowExt; colspan_; rowspan_;
                  Cell_align; Cell_valign; Cell_width; Cell_height; No_wrap) =                   Cell_align; Cell_valign; Width__; IntWidthPxl; IntWidthPercent;
                    Cell_height; No_wrap) =
                  LIST OF (Element);                   LIST OF (Element);
         END;          END;
   Table_cell_ghost = CONSTANT C_Empty;  
   
   MAP (ATTR NAME; Ref_IMG = REFERENCE(Any)) = LIST OF (AREA);    MAP (ATTR NAME; Ref_IMG = REFERENCE(Any)) = LIST OF (AREA);
   AREA (ATTR shape = rectangle, circle, polygon, default_;    AREA (ATTR shape = rectangle, circle, polygon, default_;
         coords = Text; HREF_; nohref = Yes_; ALT;          coords = Text; HREF_; nohref = Yes_; ALT;
         x_coord = Integer; y_coord = Integer; width\240 = Integer;          x_coord = Integer; y_coord = Integer; IntWidthPxl;
         height\240 = Integer; AreaRef_IMG = REFERENCE(Any)) = GRAPHICS          height\240 = Integer; AreaRef_IMG = REFERENCE(Any)) = GRAPHICS
         with x_coord ?= 0, y_coord ?= 0, width\240 ?= 25, height\240 ?= 10;          with x_coord ?= 0, y_coord ?= 0, IntWidthPxl ?= 25, height\240 ?= 10;
   
 EXCEPT  EXCEPT
         HTML:           NoMove, NoResize;          HTML:           NoMove, NoResize;
Line 386  EXCEPT Line 388  EXCEPT
 #endif  #endif
         ExternalLink:   Invisible;          ExternalLink:   Invisible;
         InternalLink:   Invisible;          InternalLink:   Invisible;
         WidthElement:   NewWidth;          IntWidthPercent:NewPercentWidth, Invisible;
         IntWidthPercent:Invisible;          IntWidthPxl:    NewWidth, Invisible;
         IntWidthPxl:    Invisible;  
         SRC:            Invisible;          SRC:            Invisible;
         IntItemStyle:   Invisible;          IntItemStyle:   Invisible;
         IntSizeIncr:    Invisible;          IntSizeIncr:    Invisible;
         IntSizeDecr:    Invisible;          IntSizeDecr:    Invisible;
         IntSizeRel:     Invisible;          IntSizeRel:     Invisible;
         IntMaxVol:      Invisible;  
         x_coord:        Invisible, NewHPos;          x_coord:        Invisible, NewHPos;
         y_coord:        Invisible, NewVPos;          y_coord:        Invisible, NewVPos;
         width\240:      Invisible, NewWidth;  
         height\240:     Invisible, NewHeight;          height\240:     Invisible, NewHeight;
         Ref_IMG:        Invisible;          Ref_IMG:        Invisible;
         AreaRef_IMG:    Invisible;          AreaRef_IMG:    Invisible;
Line 408  EXCEPT Line 407  EXCEPT
         DefaultChecked: Invisible;          DefaultChecked: Invisible;
         SectionNumbering:Invisible;          SectionNumbering:Invisible;
         ShowAreas:      Invisible;          ShowAreas:      Invisible;
         Data_cell:      NoMove, NoResize;          Data_cell:      IsCell, NoMove, NoResize;
         Heading_cell:   NoMove, NoResize;          Heading_cell:   IsCell, NoMove, NoResize;
         Table:          PageBreak;          Table:          IsTable, PageBreak;
         Column_head:    NoCut, Hidden, NoSelect;          Column_head:    IsColHead, NoCut, Hidden, NoSelect;
         Table_head:     NoCut, Hidden, NoSelect,          Table_head:     NoCut, Hidden, NoSelect,
                         PageBreakRepetition;                          PageBreakRepetition;
         C_Head:         Hidden, NoSelect;          C_Head:         Hidden, NoSelect;
         Table_foot:     NoCut, Hidden, PageBreakRepBefore;          Table_foot:     NoCut, Hidden, PageBreakRepBefore;
         C_Foot:         Hidden, NoSelect;          C_Foot:         Hidden, NoSelect;
         Table_body:     PageBreakAllowed, Hidden;          Table_body:     PageBreakAllowed, Hidden;
         Table_row:      PageBreakPlace;          Table_row:      IsRow, PageBreakPlace;
         Col_width_percent:      Invisible;  
         Col_width_pxl:  Invisible;  
         Col_width_delta:        Invisible;  
         ColExt:         Invisible;          ColExt:         Invisible;
         RowExt:         Invisible;          RowExt:         Invisible;
         Ref_column:     Invisible;          Ref_column:     ColRef, Invisible;
         Table_cell_ghost: Hidden, NoCreate, NoCut, NoSelect;          colspan_:       ColSpan;
           rowspan_:       RowSpan;
 #ifdef COUGAR  #ifdef COUGAR
         Object_Content: Hidden, NoCreate, NoCut, NoSelect;          Object_Content: Hidden, NoCreate, NoCut, NoSelect;
 #endif  #endif

Removed from v.1.43  
changed lines
  Added in v.1.44


Webmaster