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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
#ifndef SCREEM_MARKUP_H
#define SCREEM_MARKUP_H
#include <glib/gtypes.h>
#include "screem-dtd-db.h"
#include "screem-dtd.h"
#include "screem-page.h"
#include "screem-site.h"
const gchar* screem_markup_char_to_ent( guint c );
gboolean screem_markup_is_entity( const gchar *text, gint pos,
gint *start, gint *end );
gboolean screem_markup_is_attribute( const gchar *text, gint pos,
gint *start, gint *end );
gboolean screem_markup_is_tag( const gchar *text, gint pos,
gint *start, gint *end );
gchar *screem_markup_next_tag( const gchar *text, gint pos,
gint *start, gint *end, gchar **name );
gchar *screem_markup_encode_text( const gchar *text );
gchar *screem_markup_change_case( const gchar *text, gboolean upper );
gboolean screem_markup_next_tag_close( const gchar *text,
const gchar *tname, gint pos );
GSList *screem_markup_build_attributes_list( const gchar *tag, GSList *list );
GSList *screem_markup_get_links( ScreemDTD *dtd, const gchar *text );
void screem_markup_fix_links( ScreemSite *site,
ScreemPage *page,
const gchar *pagepath,
const gchar *origpagepath,
const gchar *source,
const gchar *dest );
void screem_markup_update_from_template( ScreemSite *site,
ScreemPage *template_page,
ScreemPage *page,
const gchar *template_tag,
GSList *blocks );
gchar *screem_markup_basic_html( ScreemDTDDB *db, const gchar *doctype,
gboolean frameset, gboolean xhtml );
gchar *screem_markup_get_charset( const gchar *text,
gint *retpos, gint *retlen );
#endif
|