anchor.diff:      METHODS _add_str IMPORTING iv_str  TYPE csequence.
       METHODS _add_htm IMPORTING io_html TYPE REF TO lcl_html_helper.
   
  -endclass.                    "lcl_html_helper DEFINITION
  +ENDCLASS.                    "lcl_html_helper DEFINITION
   
   *----------------------------------------------------------------------*
   *       CLASS lcl_html_helper IMPLEMENTATION
  
positive.code: 
      ls_count = mo_diff->stats( ).
  
      lo_html->add( '<div class="diff_head">' ).                  "#EC NOTEXT
      lo_html->add( |<span class="diff_banner diff_ins">+ { ls_count-insert }</span>| ). "#EC NOTEXT
      lo_html->add( |<span class="diff_banner diff_del">- { ls_count-delete }</span>| ). "#EC NOTEXT
      lo_html->add( |<span class="diff_banner diff_upd">~ { ls_count-update }</span>| ). "#EC NOTEXT
      lo_html->add( '<span class="diff_name">' ).                 "#EC NOTEXT
      lo_html->add( ms_result-obj_type ).                         "#EC NOTEXT
      lo_html->add( |<strong>{ ms_result-obj_name }</strong>| ).  "#EC NOTEXT
      lo_html->add( |({ ms_result-filename })| ).
      lo_html->add( '</span>' ).                                  "#EC NOTEXT
      lo_html->add( '</div>' ).                                   "#EC NOTEXT
  
      ro_html = lo_html.
    ENDMETHOD.
  
negative.code: 
      ENDLOOP.
  
      lo_html->add( '</table>' ).                             "#EC NOTEXT
      lo_html->add( '</div>' ).                               "#EC NOTEXT
  
      ro_html = lo_html.
    ENDMETHOD.
  