gwenhywfar
4.3.3
|
Go to the source code of this file.
Functions | |
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) |
GWEN_DB_NODE * | HtmlCtx_GetCurrentAttributes (const GWEN_XML_CONTEXT *ctx) |
HTML_GROUP * | HtmlCtx_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) |
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 | ||
) |
Definition at line 282 of file htmlctx.c.
References DBG_INFO, GWEN_Buffer_Crop(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_ERROR_BAD_DATA, GWEN_LOGDOMAIN, and GWEN_Text_UnescapeXmlToBuffer().
Referenced by HtmlGroup_Box_AddData().
void HtmlCtx_SetCurrentGroup | ( | GWEN_XML_CONTEXT * | ctx, |
HTML_GROUP * | g | ||
) |
Definition at line 192 of file htmlctx.c.
References GWEN_INHERIT_GETDATA.
Referenced by HtmlCtx_new(), HtmlCtx_SetText(), HtmlGroup_Box_StartTag(), HtmlGroup_Table_StartTag(), HtmlGroup_TableRow_StartTag(), and HtmlGroup_UnorderedList_StartTag().
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.