gwenhywfar
4.8.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
html
htmlctx_l.h
Go to the documentation of this file.
1
/***************************************************************************
2
begin : Sat Feb 20 2010
3
copyright : (C) 2010 by Martin Preuss
4
email : martin@libchipcard.de
5
6
***************************************************************************
7
* Please see toplevel file COPYING for license details *
8
***************************************************************************/
9
10
11
#ifndef HTMLXMLCTX_L_H
12
#define HTMLXMLCTX_L_H
13
14
15
#include "
htmlctx_be.h
"
16
#include "
htmlgroup_l.h
"
17
18
#include <gwenhywfar/db.h>
19
20
21
22
HTML_OBJECT_TREE *
HtmlCtx_GetObjects
(
const
GWEN_XML_CONTEXT
*ctx);
23
HTML_OBJECT_TREE *
HtmlCtx_TakeObjects
(
const
GWEN_XML_CONTEXT
*ctx);
24
25
HTML_GROUP
*
HtmlCtx_GetCurrentGroup
(
const
GWEN_XML_CONTEXT
*ctx);
26
void
HtmlCtx_SetCurrentGroup
(
GWEN_XML_CONTEXT
*ctx,
HTML_GROUP
*g);
27
28
const
char
*
HtmlCtx_GetCurrentTagName
(
const
GWEN_XML_CONTEXT
*ctx);
29
void
HtmlCtx_SetCurrentTagName
(
GWEN_XML_CONTEXT
*ctx,
const
char
*s);
30
31
GWEN_DB_NODE
*
HtmlCtx_GetCurrentAttributes
(
const
GWEN_XML_CONTEXT
*ctx);
32
33
HTML_FONT
*
HtmlCtx_FindFont
(
const
GWEN_XML_CONTEXT
*ctx,
34
const
char
*fontName,
35
int
fontSize,
36
uint32_t fontFlags);
37
38
39
int
HtmlCtx_SanitizeData
(
GWEN_XML_CONTEXT
*ctx,
40
const
char
*data,
41
GWEN_BUFFER
*buf);
42
43
44
uint32_t
HtmlCtx_GetColorFromName
(
const
GWEN_XML_CONTEXT
*ctx,
45
const
char
*name);
46
47
48
int
HtmlCtx_GetTextWidth
(
GWEN_XML_CONTEXT
*ctx,
49
HTML_FONT
*fnt,
50
const
char
*s);
51
52
int
HtmlCtx_GetTextHeight
(
GWEN_XML_CONTEXT
*ctx,
53
HTML_FONT
*fnt,
54
const
char
*s);
55
56
#endif
57
Generated on Sun Oct 27 2013 09:43:37 for gwenhywfar by
1.8.4