src/chxj_chtml10.c
/**
 * It is a handler who processes the BODY tag.
 *
 * @param pdoc  [i/o] The pointer to the CHTML structure at the output
 *                     destination is specified.
 * @param node   [i]   The BODY tag node is specified.
 * @return The conversion result is returned.
 */
It is a handler who processes the BODY tag.
@param pdoc  [i/o] The pointer to the CHTML structure at the output
destination is specified.
@param node   [i]   The BODY tag node is specified.
@return The conversion result is returned.
It is a handler who processes the BODY tag . @param pdoc [ i / o ] The pointer to the CHTML structure at the output destination is specified . @param node [ i ] The BODY tag node is specified . @return The conversion result is returned .
static char *
s_chtml10_start_body_tag(void *pdoc, Node *node) 
{
  chtml10_t    *chtml10;
  Doc          *doc;
  Attr         *attr;
  chtml10 = GET_CHTML10(pdoc);
  doc     = chtml10->doc;
  W_L("<body");
  for (attr = qs_get_attr(doc,node);
       attr;
       attr = qs_get_next_attr(doc,attr)) {
    char *name  = qs_get_attr_name(doc,attr);
    switch(*name) {
    case 'a':
    case 'A':
      if (strcasecmp(name, "alink") == 0) {
      }
      break;
    case 'b':
    case 'B':
      if (strcasecmp(name, "bgcolor") == 0) {
      }
      break;
    case 't':
    case 'T':
      if (strcasecmp(name, "text") == 0) {
      }
      break;
    case 'l':
    case 'L':
      if (strcasecmp(name, "link") == 0) {
      }
      break;
    case 'v':
    case 'V':
      if (strcasecmp(name, "vlink") == 0) {
      }
      break;
    default:
      break;
    }
  }
  W_L(">");
  return chtml10->out;
}
static char * s_chtml10_start_body_tag ( void * pdoc , Node * node ) { chtml10_t * chtml10 ; Doc * doc ; Attr * attr ; chtml10 = GET_CHTML10 ( pdoc ) ; doc = chtml10 -> doc ; W_L ( " " ) ; for ( attr = qs_get_attr ( doc , node ) ; attr ; attr = qs_get_next_attr ( doc , attr ) ) { char * name = qs_get_attr_name ( doc , attr ) ; switch ( * name ) { case ' ' : case ' ' : if ( strcasecmp ( name , " " ) == 0 ) { } break ; case ' ' : case ' ' : if ( strcasecmp ( name , " " ) == 0 ) { } break ; case ' ' : case ' ' : if ( strcasecmp ( name , " " ) == 0 ) { } break ; case ' ' : case ' ' : if ( strcasecmp ( name , " " ) == 0 ) { } break ; case ' ' : case ' ' : if ( strcasecmp ( name , " " ) == 0 ) { } break ; default : break ; } } W_L ( " " ) ; return chtml10 -> out ; }
It is a handler who processes the BODY tag.
It is a handler who processes the BODY tag .
/*--------------------------------------------------------------------------*/ /* Get Attributes                                                           */ /*--------------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/ /* CHTML 4.0                                                            */ /*----------------------------------------------------------------------*/ /* ignore */ /*----------------------------------------------------------------------*/ /* CHTML 2.0                                                            */ /*----------------------------------------------------------------------*/ /* ignore */ /*----------------------------------------------------------------------*/ /* CHTML 2.0                                                            */ /*----------------------------------------------------------------------*/ /* ignore */ /*----------------------------------------------------------------------*/ /* CHTML 2.0                                                            */ /*----------------------------------------------------------------------*/ /* ignore */ /*----------------------------------------------------------------------*/ /* CHTML 4.0                                                            */ /*----------------------------------------------------------------------*/ /* ignore */