1<?php
2/**
3 * Headline Level 4 element component for the adhoctags plugin
4 *
5 * Defines  <h4> ... </h4> syntax
6 * More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
7 *
8 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
9 * @author     Anika Henke <anika@selfthinker.org>
10 * @author     Sascha Leib <sascha.leib(at)kolmio.com>
11 */
12
13class syntax_plugin_adhoctags_h4 extends syntax_plugin_adhoctags_abstractheadline {
14
15	protected $tag	= 'h4';
16
17    /**
18     * ODT Renderer Functions
19     */
20    function renderODTElementOpen($renderer, $HTMLelement, $data) {
21		$renderer->p_open();
22		$renderer->strong_open();
23    }
24    function renderODTElementClose($renderer, $element) {
25		$renderer->strong_close();
26 		$renderer->p_close();
27   }
28}