/usr/share/gtk-doc/html/goffice-0.10/goffice-0.10-Gettings-Started-with-GOffice.html is in libgoffice-0.10-doc 0.10.39-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gettings Started with GOffice: GOffice Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="index.html" title="GOffice Reference Manual">
<link rel="prev" href="index.html" title="GOffice Reference Manual">
<link rel="next" href="pt01.html" title="Part I. Graphs">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#goffice-0.10-Gettings-Started-with-GOffice.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="pt01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="goffice-0.10-Gettings-Started-with-GOffice"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="goffice-0.10-Gettings-Started-with-GOffice.top_of_page"></a>Gettings Started with GOffice</span></h2>
<p>Gettings Started with GOffice</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="goffice-0.10-Gettings-Started-with-GOffice.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-Gettings-Started-with-GOffice.html#libgoffice-init" title="libgoffice_init ()">libgoffice_init</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-Gettings-Started-with-GOffice.html#libgoffice-shutdown" title="libgoffice_shutdown ()">libgoffice_shutdown</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="goffice-0.10-Gettings-Started-with-GOffice.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="goffice-0.10-Gettings-Started-with-GOffice.html#GO-VAR-DECL:CAPS" title="GO_VAR_DECL">GO_VAR_DECL</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="goffice-0.10-Gettings-Started-with-GOffice.description"></a><h2>Description</h2>
<p>GOffice is a <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> based C library. It provides easy API access to
creating and manipulating graphs and canvases. See <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> and <a class="link" href="GocCanvas.html" title="GocCanvas"><span class="type">GocCanvas</span></a>.
It also includes a number of utilities and widgets that might be useful in
office productivity software and similar.</p>
<p>The GOffice code was originally a part of Gnumeric, but was split into a
separate library in 2005. Today it is being used by projects such as
Gnumeric, Gnucash, Abiword (optional), GChemUtils and more.</p>
<p>GOffice is cross platform, with support for Windows, OSX, GNU/Linux,
and other Unix-like systems. It can be built with or without GTK+
integration support.</p>
<p>To include GOffice use:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc ppc">#include <goffice/goffice.h></span></pre></td>
</tr>
</tbody>
</table>
</div>
<p>GOffice provides a pkg-config metadata file named
"libgoffice-$major.$minor.pc", where $major and $minor denote which version
GOffice is. So to link against GOffice 0.10 series, use:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1</pre></td>
<td class="listing_code"><pre class="programlisting">pkg<span class="gtkdoc opt">-</span>config <span class="gtkdoc opt">--</span>libs libgoffice<span class="gtkdoc opt">-</span><span class="number">0.10</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p>API and ABI compatability is maintained per minor release series, e.g:
all 0.8.x releases are ABI/API compatible with previous 0.8.x releases.</p>
<p>Bindings for other languages than C and C++ are available through GObject
Introspection. To start using GOffice from Python:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2</pre></td>
<td class="listing_code"><pre class="programlisting">from gi<span class="gtkdoc opt">.</span>repository import GOffice
GOffice<span class="gtkdoc opt">.</span><span class="function">init</span><span class="gtkdoc opt">()</span></pre></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="refsect1">
<a name="goffice-0.10-Gettings-Started-with-GOffice.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="libgoffice-init"></a><h3>libgoffice_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
libgoffice_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Initialize GOffice.</p>
<p>This function can be called several times; each call will
increment a reference counter. Code that calls this function should call
<a class="link" href="goffice-0.10-Gettings-Started-with-GOffice.html#libgoffice-shutdown" title="libgoffice_shutdown ()"><code class="function">libgoffice_shutdown()</code></a> when done to decrement the counter.</p>
</div>
<hr>
<div class="refsect2">
<a name="libgoffice-shutdown"></a><h3>libgoffice_shutdown ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
libgoffice_shutdown (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Decrements the counter for data initialized by <a class="link" href="goffice-0.10-Gettings-Started-with-GOffice.html#libgoffice-init" title="libgoffice_init ()"><code class="function">libgoffice_init()</code></a>.
When the counter reaches 0, the data is freed/cleaned up as appropriate.</p>
</div>
</div>
<div class="refsect1">
<a name="goffice-0.10-Gettings-Started-with-GOffice.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GO-VAR-DECL:CAPS"></a><h3>GO_VAR_DECL</h3>
<pre class="programlisting"># define GO_VAR_DECL __declspec(dllexport)
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|