blob: 6f1f4d162a1c48a4cfa9faa3c50ae2214377c81c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* This file is part of libdom.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
*/
#ifndef dom_core_text_h_
#define dom_core_text_h_
#include <stdbool.h>
#include <dom/core/exceptions.h>
struct dom_characterdata;
struct dom_string;
struct dom_text;
dom_exception dom_text_split_text(struct dom_text *text,
unsigned long offset, struct dom_text **result);
dom_exception dom_text_get_is_element_content_whitespace(
struct dom_text *text, bool *result);
dom_exception dom_text_get_whole_text(struct dom_text *text,
struct dom_string **result);
dom_exception dom_text_replace_whole_text(struct dom_text *text,
struct dom_string *content, struct dom_text **result);
#endif
|