gwenhywfar  4.6.0beta
o_word.c
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 #ifdef HAVE_CONFIG_H
11 # include <config.h>
12 #endif
13 
14 #define DISABLE_DEBUGLOG
15 
16 
17 #include "o_word_l.h"
18 #include "htmlctx_l.h"
19 
20 #include <gwenhywfar/debug.h>
21 
22 
23 
25  const char *s;
26  int w=0;
27  int h=0;
28 
29  s=HtmlObject_GetText(o);
30  if (s) {
31  HTML_PROPS *pr;
32  HTML_FONT *fnt;
33 
35  assert(pr);
36  fnt=HtmlProps_GetFont(pr);
39  }
40 
41  HtmlObject_SetWidth(o, w);
43  return 0;
44 }
45 
46 
47 
49  HTML_OBJECT *o;
50 
52  HtmlObject_SetText(o, s);
54 
55  return o;
56 }
57 
58