gwenhywfar  4.8.0beta
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 
27 
28 const char *HtmlCtx_GetCurrentTagName(const GWEN_XML_CONTEXT *ctx);
29 void HtmlCtx_SetCurrentTagName(GWEN_XML_CONTEXT *ctx, const char *s);
30 
32 
34  const char *fontName,
35  int fontSize,
36  uint32_t fontFlags);
37 
38 
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 
49  HTML_FONT *fnt,
50  const char *s);
51 
53  HTML_FONT *fnt,
54  const char *s);
55 
56 #endif
57