src/chxj_hdml.c
/**
 * The tag output upper half.
 *
 * @param hdml   [i/o] The pointer to the HDML structure at the output
 *                     destination is specified.
 * @param node   [i]   The A tag node is specified.
 */
The tag output upper half.
@param hdml   [i/o] The pointer to the HDML structure at the output
destination is specified.
@param node   [i]   The A tag node is specified.
The tag output upper half . @param hdml [ i / o ] The pointer to the HDML structure at the output destination is specified . @param node [ i ] The A tag node is specified .
static void
s_hdml_tag_output_upper_half(hdml_t *hdml, Node *UNUSED(node))
{
  if (hdml->hdml_br_flag   == 1 &&  hdml->div_right_flag == 1) {
    s_output_to_hdml_out(hdml, "<RIGHT>");
    hdml->hdml_br_flag = 0;
  }
  if (hdml->hdml_br_flag == 1 
      &&  hdml->center > 0 
      &&  hdml->in_center == 0) {
    s_output_to_hdml_out(hdml, "<CENTER>");
    hdml->in_center++;
    hdml->hdml_br_flag = 0;
  }
  else if (hdml->hdml_br_flag == 1 
      &&  hdml->div_center_flag > 0 
      &&  hdml->div_in_center == 0)  {
    s_output_to_hdml_out(hdml, "<CENTER>");
    hdml->div_in_center++;
    hdml->hdml_br_flag = 0;
  }
}
static void s_hdml_tag_output_upper_half ( hdml_t * hdml , Node * UNUSED ( node ) ) { if ( hdml -> hdml_br_flag == 1 && hdml -> div_right_flag == 1 ) { s_output_to_hdml_out ( hdml , " " ) ; hdml -> hdml_br_flag = 0 ; } if ( hdml -> hdml_br_flag == 1 && hdml -> center > 0 && hdml -> in_center == 0 ) { s_output_to_hdml_out ( hdml , " " ) ; hdml -> in_center ++ ; hdml -> hdml_br_flag = 0 ; } else if ( hdml -> hdml_br_flag == 1 && hdml -> div_center_flag > 0 && hdml -> div_in_center == 0 ) { s_output_to_hdml_out ( hdml , " " ) ; hdml -> div_in_center ++ ; hdml -> hdml_br_flag = 0 ; } }
The tag output upper half.
The tag output upper half .