static char* s_xhtml_1_0_end_h2_tag (void* pdoc, Node* node);
static char* s_xhtml_1_0_start_h3_tag (void* pdoc, Node* node);
static char* s_xhtml_1_0_end_h3_tag (void* pdoc, Node* node);
+static char* s_xhtml_1_0_start_h4_tag (void* pdoc, Node* node);
+static char* s_xhtml_1_0_end_h4_tag (void* pdoc, Node* node);
-static char* s_xhtml_1_0_start_h4_tag (xhtml_t* xhtml, Node* node);
-static char* s_xhtml_1_0_end_h4_tag (xhtml_t* xhtml, Node* node);
static char* s_xhtml_1_0_start_h5_tag (xhtml_t* xhtml, Node* node);
static char* s_xhtml_1_0_end_h5_tag (xhtml_t* xhtml, Node* node);
static char* s_xhtml_1_0_start_h6_tag (xhtml_t* xhtml, Node* node);
s_xhtml_1_0_start_h3_tag,
s_xhtml_1_0_end_h3_tag,
},
-#if 0
/* tagH4 */
{
- s_chtml10_start_h4_tag,
- s_chtml10_end_h4_tag,
+ s_xhtml_1_0_start_h4_tag,
+ s_xhtml_1_0_end_h4_tag,
},
+#if 0
/* tagH5 */
{
s_chtml10_start_h5_tag,
/**
* It is a handler who processes the H4 tag.
*
- * @param xhtml [i/o] The pointer to the XHTML structure at the output
+ * @param pdoc [i/o] The pointer to the XHTML structure at the output
* destination is specified.
* @param node [i] The H4 tag node is specified.
* @return The conversion result is returned.
*/
static char*
-s_xhtml_1_0_start_h4_tag(xhtml_t* xhtml, Node* node)
+s_xhtml_1_0_start_h4_tag(void* pdoc, Node* node)
{
- Doc* doc = xhtml->doc;
- request_rec* r = doc->r;
+ xhtml_t* xhtml = GET_XHTML(pdoc);
+ Doc* doc = xhtml->doc;
+ request_rec* r = doc->r;
xhtml->out = apr_pstrcat(r->pool, xhtml->out, "<h4>", NULL);
return xhtml->out;
}
+
/**
* It is a handler who processes the H4 tag.
*
- * @param xhtml [i/o] The pointer to the XHTML structure at the output
+ * @param pdoc [i/o] The pointer to the XHTML structure at the output
* destination is specified.
* @param node [i] The H4 tag node is specified.
* @return The conversion result is returned.
*/
static char*
-s_xhtml_1_0_end_h4_tag(xhtml_t* xhtml, Node* child)
+s_xhtml_1_0_end_h4_tag(void* pdoc, Node* child)
{
- Doc* doc = xhtml->doc;
- request_rec* r = doc->r;
+ xhtml_t* xhtml = GET_XHTML(pdoc);
+ Doc* doc = xhtml->doc;
+ request_rec* r = doc->r;
xhtml->out = apr_pstrcat(r->pool, xhtml->out, "</h4>", NULL);
return xhtml->out;
}
+
/**
* It is a handler who processes the H5 tag.
*