gwenhywfar  4.3.3
Functions
htmlctx_l.h File Reference
#include "htmlctx_be.h"
#include "htmlgroup_l.h"
#include <gwenhywfar/db.h>

Go to the source code of this file.

Functions

HTML_FONTHtmlCtx_FindFont (const GWEN_XML_CONTEXT *ctx, const char *fontName, int fontSize, uint32_t fontFlags)
uint32_t HtmlCtx_GetColorFromName (const GWEN_XML_CONTEXT *ctx, const char *name)
GWEN_DB_NODEHtmlCtx_GetCurrentAttributes (const GWEN_XML_CONTEXT *ctx)
HTML_GROUPHtmlCtx_GetCurrentGroup (const GWEN_XML_CONTEXT *ctx)
const char * HtmlCtx_GetCurrentTagName (const GWEN_XML_CONTEXT *ctx)
HTML_OBJECT_TREE * HtmlCtx_GetObjects (const GWEN_XML_CONTEXT *ctx)
int HtmlCtx_GetTextHeight (GWEN_XML_CONTEXT *ctx, HTML_FONT *fnt, const char *s)
int HtmlCtx_GetTextWidth (GWEN_XML_CONTEXT *ctx, HTML_FONT *fnt, const char *s)
int HtmlCtx_SanitizeData (GWEN_XML_CONTEXT *ctx, const char *data, GWEN_BUFFER *buf)
void HtmlCtx_SetCurrentGroup (GWEN_XML_CONTEXT *ctx, HTML_GROUP *g)
void HtmlCtx_SetCurrentTagName (GWEN_XML_CONTEXT *ctx, const char *s)
HTML_OBJECT_TREE * HtmlCtx_TakeObjects (const GWEN_XML_CONTEXT *ctx)

Function Documentation

HTML_FONT* HtmlCtx_FindFont ( const GWEN_XML_CONTEXT ctx,
const char *  fontName,
int  fontSize,
uint32_t  fontFlags 
)
uint32_t HtmlCtx_GetColorFromName ( const GWEN_XML_CONTEXT ctx,
const char *  name 
)

Definition at line 593 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

Referenced by HtmlGroup_Box_StartTag().

GWEN_DB_NODE* HtmlCtx_GetCurrentAttributes ( const GWEN_XML_CONTEXT ctx)

Definition at line 230 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

Referenced by HtmlGroup_Box_StartTag(), and HtmlGroup_TableRow_StartTag().

HTML_GROUP* HtmlCtx_GetCurrentGroup ( const GWEN_XML_CONTEXT ctx)

Definition at line 180 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

const char* HtmlCtx_GetCurrentTagName ( const GWEN_XML_CONTEXT ctx)

Definition at line 204 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

HTML_OBJECT_TREE* HtmlCtx_GetObjects ( const GWEN_XML_CONTEXT ctx)

Definition at line 242 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

int HtmlCtx_GetTextHeight ( GWEN_XML_CONTEXT ctx,
HTML_FONT fnt,
const char *  s 
)

Definition at line 576 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

Referenced by HtmlObject_Box_Layout(), and HtmlObject_Word_Layout().

int HtmlCtx_GetTextWidth ( GWEN_XML_CONTEXT ctx,
HTML_FONT fnt,
const char *  s 
)

Definition at line 559 of file htmlctx.c.

References GWEN_INHERIT_GETDATA.

Referenced by HtmlObject_Word_Layout().

int HtmlCtx_SanitizeData ( GWEN_XML_CONTEXT ctx,
const char *  data,
GWEN_BUFFER buf 
)
void HtmlCtx_SetCurrentGroup ( GWEN_XML_CONTEXT ctx,
HTML_GROUP g 
)
void HtmlCtx_SetCurrentTagName ( GWEN_XML_CONTEXT ctx,
const char *  s 
)

Definition at line 216 of file htmlctx.c.

References GWEN_INHERIT_GETDATA, and NULL.

Referenced by HtmlCtx_StartTag().

HTML_OBJECT_TREE* HtmlCtx_TakeObjects ( const GWEN_XML_CONTEXT ctx)

Definition at line 254 of file htmlctx.c.

References GWEN_INHERIT_GETDATA, and NULL.