1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GoFormat</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="Goffice Reference Manual">
8
<link rel="up" href="ch13.html" title="Miscellaneous">
9
<link rel="prev" href="goffice-GoSearchReplace.html" title="GoSearchReplace">
10
<link rel="next" href="goffice-GoGlibExtras.html" title="GoGlibExtras">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="pt01.html" title="Part I. Graphs">
14
<link rel="chapter" href="ch01.html" title="Objects">
15
<link rel="chapter" href="ch02.html" title="Abstract Base Classes">
16
<link rel="chapter" href="ch03.html" title="Utilities">
17
<link rel="part" href="pt02.html" title="Part II. Widgets">
18
<link rel="chapter" href="ch04.html" title="Base widgets">
19
<link rel="chapter" href="ch05.html" title="Selectors">
20
<link rel="part" href="pt03.html" title="Part III. Utilities">
21
<link rel="chapter" href="ch06.html" title="Graphic object properties">
22
<link rel="chapter" href="ch07.html" title="Rendering utilities">
23
<link rel="chapter" href="ch08.html" title="Data">
24
<link rel="chapter" href="ch09.html" title="Mathematical functions">
25
<link rel="chapter" href="ch10.html" title="File utilities">
26
<link rel="chapter" href="ch11.html" title="Application">
27
<link rel="chapter" href="ch12.html" title="Components">
28
<link rel="chapter" href="ch13.html" title="Miscellaneous">
30
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
31
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
33
<td><a accesskey="p" href="goffice-GoSearchReplace.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
34
<td><a accesskey="u" href="ch13.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
35
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
36
<th width="100%" align="center">Goffice Reference Manual</th>
37
<td><a accesskey="n" href="goffice-GoGlibExtras.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
39
<tr><td colspan="5" class="shortcuts"><nobr><a href="#goffice-GoFormat.synopsis" class="shortcut">Top</a>
41
<a href="#goffice-GoFormat.description" class="shortcut">Description</a></nobr></td></tr>
43
<div class="refentry" lang="en">
44
<a name="goffice-GoFormat"></a><div class="titlepage"></div>
45
<div class="refnamediv"><table width="100%"><tr>
47
<h2><span class="refentrytitle"><a name="goffice-GoFormat.top_of_page"></a>GoFormat</span></h2>
50
<td valign="top" align="right"></td>
52
<div class="refsynopsisdiv">
53
<a name="goffice-GoFormat.synopsis"></a><h2>Synopsis</h2>
54
<pre class="synopsis">
55
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>;
56
enum <a class="link" href="goffice-GoFormat.html#GOFormatFamily" title="enum GOFormatFamily">GOFormatFamily</a>;
57
enum <a class="link" href="goffice-GoFormat.html#GOFormatNumberError" title="enum GOFormatNumberError">GOFormatNumberError</a>;
58
int (<a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">*GOFormatMeasure</a>) (const GString *str,
60
void <a class="link" href="goffice-GoFormat.html#go-number-format-init" title="go_number_format_init ()">go_number_format_init</a> (void);
61
void <a class="link" href="goffice-GoFormat.html#go-number-format-shutdown" title="go_number_format_shutdown ()">go_number_format_shutdown</a> (void);
62
int <a class="link" href="goffice-GoFormat.html#go-format-measure-zero" title="go_format_measure_zero ()">go_format_measure_zero</a> (const GString *str,
64
int <a class="link" href="goffice-GoFormat.html#go-format-measure-pango" title="go_format_measure_pango ()">go_format_measure_pango</a> (const GString *str,
66
int <a class="link" href="goffice-GoFormat.html#go-format-measure-strlen" title="go_format_measure_strlen ()">go_format_measure_strlen</a> (const GString *str,
68
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-empty" title="go_format_empty ()">go_format_empty</a> (void);
69
gboolean <a class="link" href="goffice-GoFormat.html#go-format-has-hour" title="go_format_has_hour ()">go_format_has_hour</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
70
int <a class="link" href="goffice-GoFormat.html#go-format-month-before-day" title="go_format_month_before_day ()">go_format_month_before_day</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
71
GtkWidget* <a class="link" href="goffice-GoFormat.html#go-format-sel-new-full" title="go_format_sel_new_full ()">go_format_sel_new_full</a> (gboolean use_markup);
72
const <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-specialize" title="go_format_specialize ()">go_format_specialize</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
75
gboolean *inhibit_minus);
76
const <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-specializel" title="go_format_specializel ()">go_format_specializel</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
79
gboolean *inhibit_minus);
80
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-new-from-XL" title="go_format_new_from_XL ()">go_format_new_from_XL</a> (char const *str);
81
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-new-markup" title="go_format_new_markup ()">go_format_new_markup</a> (PangoAttrList *markup,
83
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-general" title="go_format_general ()">go_format_general</a> (void);
84
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-default-date" title="go_format_default_date ()">go_format_default_date</a> (void);
85
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-default-time" title="go_format_default_time ()">go_format_default_time</a> (void);
86
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-default-date-time" title="go_format_default_date_time ()">go_format_default_date_time</a> (void);
87
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-default-percentage" title="go_format_default_percentage ()">go_format_default_percentage</a> (void);
88
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-default-money" title="go_format_default_money ()">go_format_default_money</a> (void);
89
char* <a class="link" href="goffice-GoFormat.html#go-format-str-localize" title="go_format_str_localize ()">go_format_str_localize</a> (char const *str);
90
char* <a class="link" href="goffice-GoFormat.html#go-format-str-delocalize" title="go_format_str_delocalize ()">go_format_str_delocalize</a> (char const *str);
91
const char* <a class="link" href="goffice-GoFormat.html#go-format-as-XL" title="go_format_as_XL ()">go_format_as_XL</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
92
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-ref" title="go_format_ref ()">go_format_ref</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> *fmt);
93
void <a class="link" href="goffice-GoFormat.html#go-format-unref" title="go_format_unref ()">go_format_unref</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> *fmt);
94
gboolean <a class="link" href="goffice-GoFormat.html#go-format-is-general" title="go_format_is_general ()">go_format_is_general</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
95
gboolean <a class="link" href="goffice-GoFormat.html#go-format-is-markup" title="go_format_is_markup ()">go_format_is_markup</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
96
gboolean <a class="link" href="goffice-GoFormat.html#go-format-is-text" title="go_format_is_text ()">go_format_is_text</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
97
gboolean <a class="link" href="goffice-GoFormat.html#go-format-is-var-width" title="go_format_is_var_width ()">go_format_is_var_width</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
98
int <a class="link" href="goffice-GoFormat.html#go-format-is-date" title="go_format_is_date ()">go_format_is_date</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
99
<a class="link" href="goffice-GoFormat.html#GOFormatFamily" title="enum GOFormatFamily">GOFormatFamily</a> <a class="link" href="goffice-GoFormat.html#go-format-get-family" title="go_format_get_family ()">go_format_get_family</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
100
const PangoAttrList* <a class="link" href="goffice-GoFormat.html#go-format-get-markup" title="go_format_get_markup ()">go_format_get_markup</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
101
gboolean <a class="link" href="goffice-GoFormat.html#go-format-is-simple" title="go_format_is_simple ()">go_format_is_simple</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
102
<a class="link" href="goffice-GoFormat.html#GOFormatNumberError" title="enum GOFormatNumberError">GOFormatNumberError</a> <a class="link" href="goffice-GoFormat.html#go-format-value-gstring" title="go_format_value_gstring ()">go_format_value_gstring</a> (PangoLayout *layout,
104
const <a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
105
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
106
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
112
GODateConventions const *date_conv,
113
gboolean unicode_minus);
114
char* <a class="link" href="goffice-GoFormat.html#go-format-value" title="go_format_value ()">go_format_value</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
116
<a class="link" href="goffice-GoFormat.html#GOFormatNumberError" title="enum GOFormatNumberError">GOFormatNumberError</a> <a class="link" href="goffice-GoFormat.html#go-format-value-gstringl" title="go_format_value_gstringl ()">go_format_value_gstringl</a> (PangoLayout *layout,
118
const <a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
119
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
120
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
126
GODateConventions const *date_conv,
127
gboolean unicode_minus);
128
char* <a class="link" href="goffice-GoFormat.html#go-format-valuel" title="go_format_valuel ()">go_format_valuel</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
130
gboolean <a class="link" href="goffice-GoFormat.html#go-format-eq" title="go_format_eq ()">go_format_eq</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *a,
131
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *b);
132
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-inc-precision" title="go_format_inc_precision ()">go_format_inc_precision</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
133
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-dec-precision" title="go_format_dec_precision ()">go_format_dec_precision</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
134
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* <a class="link" href="goffice-GoFormat.html#go-format-toggle-1000sep" title="go_format_toggle_1000sep ()">go_format_toggle_1000sep</a> (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);
135
void <a class="link" href="goffice-GoFormat.html#go-render-general" title="go_render_general ()">go_render_general</a> (PangoLayout *layout,
137
<a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
138
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
141
gboolean unicode_minus);
142
void <a class="link" href="goffice-GoFormat.html#go-render-generall" title="go_render_generall ()">go_render_generall</a> (PangoLayout *layout,
144
<a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
145
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
148
gboolean unicode_minus);
149
<a class="link" href="goffice-GoFormat.html#GOFormatCurrency" title="GOFormatCurrency">GOFormatCurrency</a>;
150
void <a class="link" href="goffice-GoFormat.html#go-currency-date-format-init" title="go_currency_date_format_init ()">go_currency_date_format_init</a> (void);
151
void <a class="link" href="goffice-GoFormat.html#go-currency-date-format-shutdown" title="go_currency_date_format_shutdown ()">go_currency_date_format_shutdown</a> (void);
154
<div class="refsect1" lang="en">
155
<a name="goffice-GoFormat.description"></a><h2>Description</h2>
160
<div class="refsect1" lang="en">
161
<a name="goffice-GoFormat.details"></a><h2>Details</h2>
162
<div class="refsect2" lang="en">
163
<a name="GOFormat"></a><h3>GOFormat</h3>
164
<pre class="programlisting">typedef struct _GOFormat GOFormat;</pre>
170
<div class="refsect2" lang="en">
171
<a name="GOFormatFamily"></a><h3>enum GOFormatFamily</h3>
172
<pre class="programlisting">typedef enum {
173
GO_FORMAT_UNKNOWN = -1,
175
GO_FORMAT_GENERAL = 0,
176
GO_FORMAT_NUMBER = 1,
177
GO_FORMAT_CURRENCY = 2,
178
GO_FORMAT_ACCOUNTING = 3,
181
GO_FORMAT_PERCENTAGE = 6,
182
GO_FORMAT_FRACTION = 7,
183
GO_FORMAT_SCIENTIFIC = 8,
185
GO_FORMAT_SPECIAL = 10,
187
GO_FORMAT_MARKUP = 11 /* Internal use only */
195
<div class="refsect2" lang="en">
196
<a name="GOFormatNumberError"></a><h3>enum GOFormatNumberError</h3>
197
<pre class="programlisting">typedef enum {
198
GO_FORMAT_NUMBER_OK = 0,
199
GO_FORMAT_NUMBER_INVALID_FORMAT,
200
GO_FORMAT_NUMBER_DATE_ERROR
201
} GOFormatNumberError;
208
<div class="refsect2" lang="en">
209
<a name="GOFormatMeasure"></a><h3>GOFormatMeasure ()</h3>
210
<pre class="programlisting">int (*GOFormatMeasure) (const GString *str,
211
PangoLayout *layout);</pre>
215
<div class="variablelist"><table border="0">
216
<col align="left" valign="top">
219
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
224
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
229
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
239
<div class="refsect2" lang="en">
240
<a name="go-number-format-init"></a><h3>go_number_format_init ()</h3>
241
<pre class="programlisting">void go_number_format_init (void);</pre>
247
<div class="refsect2" lang="en">
248
<a name="go-number-format-shutdown"></a><h3>go_number_format_shutdown ()</h3>
249
<pre class="programlisting">void go_number_format_shutdown (void);</pre>
255
<div class="refsect2" lang="en">
256
<a name="go-format-measure-zero"></a><h3>go_format_measure_zero ()</h3>
257
<pre class="programlisting">int go_format_measure_zero (const GString *str,
258
PangoLayout *layout);</pre>
262
<div class="variablelist"><table border="0">
263
<col align="left" valign="top">
266
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
271
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
276
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
286
<div class="refsect2" lang="en">
287
<a name="go-format-measure-pango"></a><h3>go_format_measure_pango ()</h3>
288
<pre class="programlisting">int go_format_measure_pango (const GString *str,
289
PangoLayout *layout);</pre>
293
<div class="variablelist"><table border="0">
294
<col align="left" valign="top">
297
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
302
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
307
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
317
<div class="refsect2" lang="en">
318
<a name="go-format-measure-strlen"></a><h3>go_format_measure_strlen ()</h3>
319
<pre class="programlisting">int go_format_measure_strlen (const GString *str,
320
PangoLayout *layout);</pre>
324
<div class="variablelist"><table border="0">
325
<col align="left" valign="top">
328
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
333
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
338
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
348
<div class="refsect2" lang="en">
349
<a name="go-format-empty"></a><h3>go_format_empty ()</h3>
350
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_empty (void);</pre>
354
<div class="variablelist"><table border="0">
355
<col align="left" valign="top">
357
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
366
<div class="refsect2" lang="en">
367
<a name="go-format-has-hour"></a><h3>go_format_has_hour ()</h3>
368
<pre class="programlisting">gboolean go_format_has_hour (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
371
<div class="variablelist"><table border="0">
372
<col align="left" valign="top">
375
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
380
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
381
<td> TRUE if format is a number format with an hour specifier
389
<div class="refsect2" lang="en">
390
<a name="go-format-month-before-day"></a><h3>go_format_month_before_day ()</h3>
391
<pre class="programlisting">int go_format_month_before_day (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
394
<div class="variablelist"><table border="0">
395
<col align="left" valign="top">
398
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
403
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
405
0, if format is a date format with day and month in that order
406
1, if format is a date format with month and day in that order, unless
407
2, if format is a date with year before month before day
415
<div class="refsect2" lang="en">
416
<a name="go-format-sel-new-full"></a><h3>go_format_sel_new_full ()</h3>
417
<pre class="programlisting">GtkWidget* go_format_sel_new_full (gboolean use_markup);</pre>
419
Creates a format selector widget, with general format selected
420
by default. When <em class="parameter"><code>use_markup</code></em> is set to <code class="literal">TRUE</code>, it shows additional
421
widgets for editing properties of formats using pango markup
422
(e.g. scientific format with superscripted exponent).</p>
423
<div class="variablelist"><table border="0">
424
<col align="left" valign="top">
427
<td><p><span class="term"><em class="parameter"><code>use_markup</code></em> :</span></p></td>
428
<td> enable formats using pango markup
432
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
433
<td> a format selector widget.
440
<div class="refsect2" lang="en">
441
<a name="go-format-specialize"></a><h3>go_format_specialize ()</h3>
442
<pre class="programlisting">const <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_specialize (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
445
gboolean *inhibit_minus);</pre>
449
<div class="variablelist"><table border="0">
450
<col align="left" valign="top">
453
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
458
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
463
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
468
<td><p><span class="term"><em class="parameter"><code>inhibit_minus</code></em> :</span></p></td>
473
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
483
<div class="refsect2" lang="en">
484
<a name="go-format-specializel"></a><h3>go_format_specializel ()</h3>
485
<pre class="programlisting">const <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_specializel (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
488
gboolean *inhibit_minus);</pre>
492
<div class="variablelist"><table border="0">
493
<col align="left" valign="top">
496
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
501
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
506
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
511
<td><p><span class="term"><em class="parameter"><code>inhibit_minus</code></em> :</span></p></td>
516
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
526
<div class="refsect2" lang="en">
527
<a name="go-format-new-from-XL"></a><h3>go_format_new_from_XL ()</h3>
528
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_new_from_XL (char const *str);</pre>
530
Looks up and potentially creates a GOFormat from the supplied string in
534
<em class="parameter"><code>descriptor_string</code></em>: XL descriptor in UTF-8 encoding.</p>
535
<div class="variablelist"><table border="0">
536
<col align="left" valign="top">
539
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
544
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
554
<div class="refsect2" lang="en">
555
<a name="go-format-new-markup"></a><h3>go_format_new_markup ()</h3>
556
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_new_markup (PangoAttrList *markup,
557
gboolean add_ref);</pre>
559
Create a MARKUP format. If <em class="parameter"><code>add_ref</code></em> is FALSE absorb the reference to
560
<em class="parameter"><code>markup</code></em>, otherwise add a reference.</p>
561
<div class="variablelist"><table border="0">
562
<col align="left" valign="top">
565
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
566
<td> <span class="type">PangoAttrList</span>
570
<td><p><span class="term"><em class="parameter"><code>add_ref</code></em> :</span></p></td>
575
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
585
<div class="refsect2" lang="en">
586
<a name="go-format-general"></a><h3>go_format_general ()</h3>
587
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_general (void);</pre>
591
<div class="variablelist"><table border="0">
592
<col align="left" valign="top">
594
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
603
<div class="refsect2" lang="en">
604
<a name="go-format-default-date"></a><h3>go_format_default_date ()</h3>
605
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_default_date (void);</pre>
609
<div class="variablelist"><table border="0">
610
<col align="left" valign="top">
612
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
621
<div class="refsect2" lang="en">
622
<a name="go-format-default-time"></a><h3>go_format_default_time ()</h3>
623
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_default_time (void);</pre>
627
<div class="variablelist"><table border="0">
628
<col align="left" valign="top">
630
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
639
<div class="refsect2" lang="en">
640
<a name="go-format-default-date-time"></a><h3>go_format_default_date_time ()</h3>
641
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_default_date_time (void);</pre>
645
<div class="variablelist"><table border="0">
646
<col align="left" valign="top">
648
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
657
<div class="refsect2" lang="en">
658
<a name="go-format-default-percentage"></a><h3>go_format_default_percentage ()</h3>
659
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_default_percentage (void);</pre>
663
<div class="variablelist"><table border="0">
664
<col align="left" valign="top">
666
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
675
<div class="refsect2" lang="en">
676
<a name="go-format-default-money"></a><h3>go_format_default_money ()</h3>
677
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_default_money (void);</pre>
681
<div class="variablelist"><table border="0">
682
<col align="left" valign="top">
684
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
693
<div class="refsect2" lang="en">
694
<a name="go-format-str-localize"></a><h3>go_format_str_localize ()</h3>
695
<pre class="programlisting">char* go_format_str_localize (char const *str);</pre>
699
<div class="variablelist"><table border="0">
700
<col align="left" valign="top">
703
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
708
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
718
<div class="refsect2" lang="en">
719
<a name="go-format-str-delocalize"></a><h3>go_format_str_delocalize ()</h3>
720
<pre class="programlisting">char* go_format_str_delocalize (char const *str);</pre>
724
<div class="variablelist"><table border="0">
725
<col align="left" valign="top">
728
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
733
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
743
<div class="refsect2" lang="en">
744
<a name="go-format-as-XL"></a><h3>go_format_as_XL ()</h3>
745
<pre class="programlisting">const char* go_format_as_XL (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
748
<div class="variablelist"><table border="0">
749
<col align="left" valign="top">
752
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
753
<td> a <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat"><span class="type">GOFormat</span></a>
757
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
758
<td> the XL style format strint.
765
<div class="refsect2" lang="en">
766
<a name="go-format-ref"></a><h3>go_format_ref ()</h3>
767
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_ref (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> *fmt);</pre>
769
Adds a reference to a GOFormat.</p>
770
<div class="variablelist"><table border="0">
771
<col align="left" valign="top">
774
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
775
<td> a <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat"><span class="type">GOFormat</span></a>
779
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
789
<div class="refsect2" lang="en">
790
<a name="go-format-unref"></a><h3>go_format_unref ()</h3>
791
<pre class="programlisting">void go_format_unref (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> *fmt);</pre>
793
Removes a reference to <em class="parameter"><code>fmt</code></em>, freeing when it goes to zero.</p>
794
<div class="variablelist"><table border="0">
795
<col align="left" valign="top">
797
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
798
<td> a <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat"><span class="type">GOFormat</span></a>
804
<div class="refsect2" lang="en">
805
<a name="go-format-is-general"></a><h3>go_format_is_general ()</h3>
806
<pre class="programlisting">gboolean go_format_is_general (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
809
<div class="variablelist"><table border="0">
810
<col align="left" valign="top">
813
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
818
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
819
<td> TRUE if the format is "General", possibly with condition,
820
color, and/or locale. ("xGeneral" is thus not considered to be General
821
for the purpose of this function.)
822
Returns FALSE otherwise.
829
<div class="refsect2" lang="en">
830
<a name="go-format-is-markup"></a><h3>go_format_is_markup ()</h3>
831
<pre class="programlisting">gboolean go_format_is_markup (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
834
<div class="variablelist"><table border="0">
835
<col align="left" valign="top">
838
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
843
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
844
<td> TRUE if the format is a markup format
845
Returns FALSE otherwise.
852
<div class="refsect2" lang="en">
853
<a name="go-format-is-text"></a><h3>go_format_is_text ()</h3>
854
<pre class="programlisting">gboolean go_format_is_text (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
857
<div class="variablelist"><table border="0">
858
<col align="left" valign="top">
861
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
866
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
867
<td> TRUE if the format is a text format
868
Returns FALSE otherwise.
875
<div class="refsect2" lang="en">
876
<a name="go-format-is-var-width"></a><h3>go_format_is_var_width ()</h3>
877
<pre class="programlisting">gboolean go_format_is_var_width (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
880
<div class="variablelist"><table border="0">
881
<col align="left" valign="top">
884
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
889
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
890
<td> TRUE if the format is variable width, i.e., can stretch.
891
Returns FALSE otherwise.
898
<div class="refsect2" lang="en">
899
<a name="go-format-is-date"></a><h3>go_format_is_date ()</h3>
900
<pre class="programlisting">int go_format_is_date (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
903
<div class="variablelist"><table border="0">
904
<col align="left" valign="top">
907
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
912
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
913
<td> TRUE if the format is a date format.
914
Returns FALSE if the format is not a date format.
915
Returns -1 if the format is inconsistent.
922
<div class="refsect2" lang="en">
923
<a name="go-format-get-family"></a><h3>go_format_get_family ()</h3>
924
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormatFamily" title="enum GOFormatFamily">GOFormatFamily</a> go_format_get_family (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
928
<div class="variablelist"><table border="0">
929
<col align="left" valign="top">
932
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
937
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
947
<div class="refsect2" lang="en">
948
<a name="go-format-get-markup"></a><h3>go_format_get_markup ()</h3>
949
<pre class="programlisting">const PangoAttrList* go_format_get_markup (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
953
<div class="variablelist"><table border="0">
954
<col align="left" valign="top">
957
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
962
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
972
<div class="refsect2" lang="en">
973
<a name="go-format-is-simple"></a><h3>go_format_is_simple ()</h3>
974
<pre class="programlisting">gboolean go_format_is_simple (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
978
<div class="variablelist"><table border="0">
979
<col align="left" valign="top">
982
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
987
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
997
<div class="refsect2" lang="en">
998
<a name="go-format-value-gstring"></a><h3>go_format_value_gstring ()</h3>
999
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormatNumberError" title="enum GOFormatNumberError">GOFormatNumberError</a> go_format_value_gstring (PangoLayout *layout,
1001
const <a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
1002
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
1003
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
1009
GODateConventions const *date_conv,
1010
gboolean unicode_minus);</pre>
1014
<div class="variablelist"><table border="0">
1015
<col align="left" valign="top">
1018
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
1023
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
1028
<td><p><span class="term"><em class="parameter"><code>measure</code></em> :</span></p></td>
1033
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
1038
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1043
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
1048
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1053
<td><p><span class="term"><em class="parameter"><code>sval</code></em> :</span></p></td>
1058
<td><p><span class="term"><em class="parameter"><code>go_color</code></em> :</span></p></td>
1063
<td><p><span class="term"><em class="parameter"><code>col_width</code></em> :</span></p></td>
1068
<td><p><span class="term"><em class="parameter"><code>date_conv</code></em> :</span></p></td>
1073
<td><p><span class="term"><em class="parameter"><code>unicode_minus</code></em> :</span></p></td>
1078
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1088
<div class="refsect2" lang="en">
1089
<a name="go-format-value"></a><h3>go_format_value ()</h3>
1090
<pre class="programlisting">char* go_format_value (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
1093
Converts <em class="parameter"><code>val</code></em> into a string using format specified by <em class="parameter"><code>fmt</code></em>.</p>
1094
<div class="variablelist"><table border="0">
1095
<col align="left" valign="top">
1098
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1099
<td> a <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat"><span class="type">GOFormat</span></a>
1103
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
1104
<td> value to format
1108
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1109
<td> a newly allocated string containing formated value.
1116
<div class="refsect2" lang="en">
1117
<a name="go-format-value-gstringl"></a><h3>go_format_value_gstringl ()</h3>
1118
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormatNumberError" title="enum GOFormatNumberError">GOFormatNumberError</a> go_format_value_gstringl (PangoLayout *layout,
1120
const <a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
1121
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
1122
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
1128
GODateConventions const *date_conv,
1129
gboolean unicode_minus);</pre>
1133
<div class="variablelist"><table border="0">
1134
<col align="left" valign="top">
1137
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
1142
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
1147
<td><p><span class="term"><em class="parameter"><code>measure</code></em> :</span></p></td>
1152
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
1157
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1162
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
1167
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1172
<td><p><span class="term"><em class="parameter"><code>sval</code></em> :</span></p></td>
1177
<td><p><span class="term"><em class="parameter"><code>go_color</code></em> :</span></p></td>
1182
<td><p><span class="term"><em class="parameter"><code>col_width</code></em> :</span></p></td>
1187
<td><p><span class="term"><em class="parameter"><code>date_conv</code></em> :</span></p></td>
1192
<td><p><span class="term"><em class="parameter"><code>unicode_minus</code></em> :</span></p></td>
1197
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1207
<div class="refsect2" lang="en">
1208
<a name="go-format-valuel"></a><h3>go_format_valuel ()</h3>
1209
<pre class="programlisting">char* go_format_valuel (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt,
1210
long double val);</pre>
1214
<div class="variablelist"><table border="0">
1215
<col align="left" valign="top">
1218
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1223
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
1228
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1238
<div class="refsect2" lang="en">
1239
<a name="go-format-eq"></a><h3>go_format_eq ()</h3>
1240
<pre class="programlisting">gboolean go_format_eq (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *a,
1241
<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *b);</pre>
1245
<div class="variablelist"><table border="0">
1246
<col align="left" valign="top">
1249
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
1254
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
1259
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1269
<div class="refsect2" lang="en">
1270
<a name="go-format-inc-precision"></a><h3>go_format_inc_precision ()</h3>
1271
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_inc_precision (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
1273
Increaseds the displayed precision for <em class="parameter"><code>fmt</code></em> by one digit.</p>
1274
<div class="variablelist"><table border="0">
1275
<col align="left" valign="top">
1278
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1279
<td> <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat"><span class="type">GOFormat</span></a>
1283
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1284
<td> NULL if the new format would not change things
1291
<div class="refsect2" lang="en">
1292
<a name="go-format-dec-precision"></a><h3>go_format_dec_precision ()</h3>
1293
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_dec_precision (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
1295
Decreases the displayed precision for <em class="parameter"><code>fmt</code></em> by one digit.</p>
1296
<div class="variablelist"><table border="0">
1297
<col align="left" valign="top">
1300
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1301
<td> <a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat"><span class="type">GOFormat</span></a>
1305
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1306
<td> NULL if the new format would not change things
1313
<div class="refsect2" lang="en">
1314
<a name="go-format-toggle-1000sep"></a><h3>go_format_toggle_1000sep ()</h3>
1315
<pre class="programlisting"><a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a>* go_format_toggle_1000sep (<a class="link" href="goffice-GoFormat.html#GOFormat" title="GOFormat">GOFormat</a> const *fmt);</pre>
1319
<div class="variablelist"><table border="0">
1320
<col align="left" valign="top">
1323
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
1328
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1338
<div class="refsect2" lang="en">
1339
<a name="go-render-general"></a><h3>go_render_general ()</h3>
1340
<pre class="programlisting">void go_render_general (PangoLayout *layout,
1342
<a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
1343
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
1346
gboolean unicode_minus);</pre>
1350
<div class="variablelist"><table border="0">
1351
<col align="left" valign="top">
1354
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
1359
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
1364
<td><p><span class="term"><em class="parameter"><code>measure</code></em> :</span></p></td>
1369
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
1374
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
1379
<td><p><span class="term"><em class="parameter"><code>col_width</code></em> :</span></p></td>
1384
<td><p><span class="term"><em class="parameter"><code>unicode_minus</code></em> :</span></p></td>
1394
<div class="refsect2" lang="en">
1395
<a name="go-render-generall"></a><h3>go_render_generall ()</h3>
1396
<pre class="programlisting">void go_render_generall (PangoLayout *layout,
1398
<a class="link" href="goffice-GoFormat.html#GOFormatMeasure" title="GOFormatMeasure ()">GOFormatMeasure</a> measure,
1399
const <a class="link" href="goffice-GoFont.html#GOFontMetrics" title="GOFontMetrics">GOFontMetrics</a> *metrics,
1402
gboolean unicode_minus);</pre>
1406
<div class="variablelist"><table border="0">
1407
<col align="left" valign="top">
1410
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
1415
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
1420
<td><p><span class="term"><em class="parameter"><code>measure</code></em> :</span></p></td>
1425
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
1430
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
1435
<td><p><span class="term"><em class="parameter"><code>col_width</code></em> :</span></p></td>
1440
<td><p><span class="term"><em class="parameter"><code>unicode_minus</code></em> :</span></p></td>
1450
<div class="refsect2" lang="en">
1451
<a name="GOFormatCurrency"></a><h3>GOFormatCurrency</h3>
1452
<pre class="programlisting">typedef struct {
1453
gchar const *symbol;
1454
gchar const *description;
1464
<div class="refsect2" lang="en">
1465
<a name="go-currency-date-format-init"></a><h3>go_currency_date_format_init ()</h3>
1466
<pre class="programlisting">void go_currency_date_format_init (void);</pre>
1472
<div class="refsect2" lang="en">
1473
<a name="go-currency-date-format-shutdown"></a><h3>go_currency_date_format_shutdown ()</h3>
1474
<pre class="programlisting">void go_currency_date_format_shutdown (void);</pre>
1481
<div class="footer">
1483
Generated by GTK-Doc V1.11</div>