~ubuntu-branches/ubuntu/maverick/conglomerate/maverick

« back to all changes in this revision

Viewing changes to doc/reference/html/conglomerate-cong-text-cache.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-08 05:07:06 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051108050706-bcg60nwqf1z3w0d6
Tags: 0.9.1-1ubuntu1
* Resynchronise with Debian (Closes: #4397).
  - Thanks, Jordan Mantha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                                            (CongTextCache *text_cache,
57
57
                                             int original_byte_offset,
58
58
                                             int *stripped_byte_offset);
59
 
</pre></div><div class="refsect1" lang="en"><a name="id3009701"></a><h2>Description</h2><p>
 
59
</pre></div><div class="refsect1" lang="en"><a name="id2783975"></a><h2>Description</h2><p>
60
60
 
61
 
</p></div><div class="refsect1" lang="en"><a name="id3009711"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id3009716"></a><h3><a name="cong-text-cache-span-new"></a>cong_text_cache_span_new ()</h3><a class="indexterm" name="id3009728"></a><pre class="programlisting">CongTextCacheSpan* cong_text_cache_span_new (int original_first_byte_offset,
 
61
</p></div><div class="refsect1" lang="en"><a name="id2783984"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2783990"></a><h3><a name="cong-text-cache-span-new"></a>cong_text_cache_span_new ()</h3><a class="indexterm" name="id2784001"></a><pre class="programlisting">CongTextCacheSpan* cong_text_cache_span_new (int original_first_byte_offset,
62
62
                                             int stripped_first_byte_offset,
63
63
                                             int byte_count);</pre><p>
64
64
 
68
68
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
69
69
 
70
70
 
71
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3009826"></a><h3><a name="cong-text-cache-new"></a>cong_text_cache_new ()</h3><a class="indexterm" name="id3009837"></a><pre class="programlisting">CongTextCache* cong_text_cache_new          (gboolean strip_whitespace,
 
71
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784100"></a><h3><a name="cong-text-cache-new"></a>cong_text_cache_new ()</h3><a class="indexterm" name="id2784111"></a><pre class="programlisting">CongTextCache* cong_text_cache_new          (gboolean strip_whitespace,
72
72
                                             const gchar *string,
73
73
                                             PangoAttrList *attr_list);</pre><p>
74
74
Create a new <span class="type">CongTextCache</span>.</p><p>
77
77
</td></tr><tr><td><span class="term"><i class="parameter"><tt>string</tt></i>�:</span></td><td> the UTF8 string, must be non-NULL
78
78
</td></tr><tr><td><span class="term"><i class="parameter"><tt>attr_list</tt></i>�:</span></td><td>  Pango attributes for the string; can be NULL if you don't care about them
79
79
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the new <span class="type">CongTextCache</span>
80
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3009960"></a><h3><a name="cong-text-cache-free"></a>cong_text_cache_free ()</h3><a class="indexterm" name="id3009971"></a><pre class="programlisting">void        cong_text_cache_free            (CongTextCache *text_cache);</pre><p>
 
80
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784233"></a><h3><a name="cong-text-cache-free"></a>cong_text_cache_free ()</h3><a class="indexterm" name="id2784245"></a><pre class="programlisting">void        cong_text_cache_free            (CongTextCache *text_cache);</pre><p>
81
81
TODO: Write me</p><p>
82
82
 
83
83
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>text_cache</tt></i>�:</span></td><td>
84
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3010022"></a><h3><a name="cong-text-cache-get-output-text"></a>cong_text_cache_get_output_text ()</h3><a class="indexterm" name="id3010034"></a><pre class="programlisting">const gchar* cong_text_cache_get_output_text
 
84
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784295"></a><h3><a name="cong-text-cache-get-output-text"></a>cong_text_cache_get_output_text ()</h3><a class="indexterm" name="id2784307"></a><pre class="programlisting">const gchar* cong_text_cache_get_output_text
85
85
                                            (CongTextCache *text_cache);</pre><p>
86
86
Get the text from the cache, which will have had the appropriate operation performed on it.</p><p>
87
87
 
88
88
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>text_cache</tt></i>�:</span></td><td> the text cache from which to get the result
89
89
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the result of the operation as a UTF-8 string (owned by the <span class="type">CongTextCache</span>)
90
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3010107"></a><h3><a name="cong-text-cache-get-output-attributes"></a>cong_text_cache_get_output_attributes ()</h3><a class="indexterm" name="id3010120"></a><pre class="programlisting">PangoAttrList* cong_text_cache_get_output_attributes
 
90
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784381"></a><h3><a name="cong-text-cache-get-output-attributes"></a>cong_text_cache_get_output_attributes ()</h3><a class="indexterm" name="id2784394"></a><pre class="programlisting">PangoAttrList* cong_text_cache_get_output_attributes
91
91
                                            (CongTextCache *text_cache);</pre><p>
92
92
Get the text attributes from the cache, which will have had the appropriate operation performed on it.</p><p>
93
93
 
94
94
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>text_cache</tt></i>�:</span></td><td>
95
95
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the attributes, which you must unref when you are finished.
96
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3010184"></a><h3><a name="cong-text-cache-set-input-text"></a>cong_text_cache_set_input_text ()</h3><a class="indexterm" name="id3010196"></a><pre class="programlisting">void        cong_text_cache_set_input_text  (CongTextCache *text_cache,
 
96
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784458"></a><h3><a name="cong-text-cache-set-input-text"></a>cong_text_cache_set_input_text ()</h3><a class="indexterm" name="id2784469"></a><pre class="programlisting">void        cong_text_cache_set_input_text  (CongTextCache *text_cache,
97
97
                                             const gchar *input_string);</pre><p>
98
98
TODO: Write me</p><p>
99
99
 
100
100
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>text_cache</tt></i>�:</span></td><td>
101
101
</td></tr><tr><td><span class="term"><i class="parameter"><tt>input_string</tt></i>�:</span></td><td>
102
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3010268"></a><h3><a name="cong-text-cache-set-input-attributes"></a>cong_text_cache_set_input_attributes ()</h3><a class="indexterm" name="id3010280"></a><pre class="programlisting">void        cong_text_cache_set_input_attributes
 
102
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784541"></a><h3><a name="cong-text-cache-set-input-attributes"></a>cong_text_cache_set_input_attributes ()</h3><a class="indexterm" name="id2784554"></a><pre class="programlisting">void        cong_text_cache_set_input_attributes
103
103
                                            (CongTextCache *text_cache,
104
104
                                             PangoAttrList *attr_list);</pre><p>
105
105
TODO: Write me</p><p>
106
106
 
107
107
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>text_cache</tt></i>�:</span></td><td>
108
108
</td></tr><tr><td><span class="term"><i class="parameter"><tt>attr_list</tt></i>�:</span></td><td>
109
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3010353"></a><h3><a name="cong-text-cache-convert-stripped-byte-offset-to-original"></a>cong_text_cache_convert_stripped_byte_offset_to_original ()</h3><a class="indexterm" name="id3010367"></a><pre class="programlisting">gboolean    cong_text_cache_convert_stripped_byte_offset_to_original
 
109
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784626"></a><h3><a name="cong-text-cache-convert-stripped-byte-offset-to-original"></a>cong_text_cache_convert_stripped_byte_offset_to_original ()</h3><a class="indexterm" name="id2784640"></a><pre class="programlisting">gboolean    cong_text_cache_convert_stripped_byte_offset_to_original
110
110
                                            (CongTextCache *text_cache,
111
111
                                             int stripped_byte_offset,
112
112
                                             int *original_byte_offset);</pre><p>
116
116
</td></tr><tr><td><span class="term"><i class="parameter"><tt>stripped_byte_offset</tt></i>�:</span></td><td>
117
117
</td></tr><tr><td><span class="term"><i class="parameter"><tt>original_byte_offset</tt></i>�:</span></td><td>
118
118
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
119
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3010471"></a><h3><a name="cong-text-cache-convert-original-byte-offset-to-stripped"></a>cong_text_cache_convert_original_byte_offset_to_stripped ()</h3><a class="indexterm" name="id3010484"></a><pre class="programlisting">gboolean    cong_text_cache_convert_original_byte_offset_to_stripped
 
119
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2784744"></a><h3><a name="cong-text-cache-convert-original-byte-offset-to-stripped"></a>cong_text_cache_convert_original_byte_offset_to_stripped ()</h3><a class="indexterm" name="id2784757"></a><pre class="programlisting">gboolean    cong_text_cache_convert_original_byte_offset_to_stripped
120
120
                                            (CongTextCache *text_cache,
121
121
                                             int original_byte_offset,
122
122
                                             int *stripped_byte_offset);</pre><p>