gwenhywfar 5.12.0
o_word.c File Reference
#include "o_word_l.h"
#include "htmlctx_l.h"
#include <gwenhywfar/debug.h>
Include dependency graph for o_word.c:

Go to the source code of this file.

Macros

#define DISABLE_DEBUGLOG

Functions

static int HtmlObject_Word_Layout (HTML_OBJECT *o)
HTML_OBJECTHtmlObject_Word_new (GWEN_XML_CONTEXT *ctx, const char *s)

Macro Definition Documentation

◆ DISABLE_DEBUGLOG

#define DISABLE_DEBUGLOG

Definition at line 14 of file o_word.c.

Function Documentation

◆ HtmlObject_Word_Layout()

int HtmlObject_Word_Layout ( HTML_OBJECT * o)
static

Definition at line 24 of file o_word.c.

References HtmlCtx_GetTextHeight(), HtmlCtx_GetTextWidth(), HtmlFont_GetFontSize(), HtmlObject_GetProperties(), HtmlObject_GetText(), HtmlObject_GetXmlCtx(), HtmlObject_SetHeight(), HtmlObject_SetWidth(), and HtmlProps_GetFont().

Referenced by HtmlObject_Word_new().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HtmlObject_Word_new()

HTML_OBJECT * HtmlObject_Word_new ( GWEN_XML_CONTEXT * ctx,
const char * s )

Definition at line 49 of file o_word.c.

References HtmlObject_new(), HtmlObject_SetLayoutFn(), HtmlObject_SetText(), HtmlObject_Word_Layout(), and HtmlObjectType_Word.

Referenced by HtmlGroup_Box_AddData(), and HtmlGroup_UnorderedList_StartTag().

Here is the call graph for this function:
Here is the caller graph for this function: