NetSurf
box_special.h
Go to the documentation of this file.
1/*
2 * Copyright 2020 Vincent Sanders <vince@netsurf-browser.org>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/**
20 * \file
21 * HTML Box tree construction special element conversion interface.
22 */
23
24#ifndef NETSURF_HTML_BOX_SPECIAL_H
25#define NETSURF_HTML_BOX_SPECIAL_H
26
27
28/**
29 * call an elements special conversion handler
30 *
31 * \return true if box construction should continue else false on error.
32 */
33bool convert_special_elements(dom_node *node, html_content *content, struct box *box, bool *convert_children);
34
35#endif
bool convert_special_elements(dom_node *node, html_content *content, struct box *box, bool *convert_children)
call an elements special conversion handler
Definition: box_special.c:1855
Node in box tree.
Definition: box.h:177
Content which corresponds to a single URL.
Data specific to CONTENT_HTML.
Definition: private.h:93