Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > a74ec78bdb789d910d054e3918f3f007 > files > 228

libsword1-devel-1.5.5-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SWText class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.15 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>SWText  Class Reference</h1>The basis for all text modules. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="swtext_8h-source.html">swtext.h</a>&gt;</code>
<p>
Inheritance diagram for SWText:<p><center><img src="class_s_w_text__inherit__graph.png" border="0" usemap="#_s_w_text__inherit__map" alt="Inheritance graph"></center>
<map name="_s_w_text__inherit__map">
<area href="class_s_w_module.html" shape="rect" coords="14,15,89,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for SWText:<p><center><img src="class_s_w_text__coll__graph.png" border="0" usemap="#_s_w_text__coll__map" alt="Collaboration graph"></center>
<map name="_s_w_text__coll__map">
<area href="class_s_w_module.html" shape="rect" coords="193,391,267,410" alt="">
<area href="class_list_key.html" shape="rect" coords="75,294,129,313" alt="">
<area href="class_s_w_key.html" shape="rect" coords="122,197,178,215" alt="">
<area href="class_s_w_object.html" shape="rect" coords="219,106,291,125" alt="">
<area href="class_s_w_display.html" shape="rect" coords="273,197,347,215" alt="">
<area href="class_s_w_class.html" shape="rect" coords="145,15,209,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_s_w_text-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_text.html#a0">SWText</a> (const char *imodname=0, const char *imoddesc=0, <a class="el" href="class_s_w_display.html">SWDisplay</a> *idisp=0, SWTextEncoding encoding=ENC_UNKNOWN, SWTextDirection dir=DIRECTION_LTR, SWTextMarkup markup=FMT_UNKNOWN, const char *ilang=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initializes data for instance of SWText.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="SWText::~SWText"></a>
virtual&nbsp;</td><td valign=bottom><b>~SWText</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="SWText::CreateKey"></a>
virtual <a class="el" href="class_s_w_key.html">SWKey</a> *&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_text.html#a2">CreateKey</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create the correct key (<a class="el" href="class_verse_key.html">VerseKey</a>) for use with SWText.</em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The basis for all text modules.
<p>

<p>
Definition at line <a class="el" href="swtext_8h-source.html#l00034">34</a> of file <a class="el" href="swtext_8h-source.html">swtext.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="SWText::SWText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> SWText::SWText </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>imodname</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>imoddesc</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="class_s_w_display.html">SWDisplay</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>idisp</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>SWTextEncoding&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>encoding</em> = ENC_UNKNOWN, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>SWTextDirection&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</em> = DIRECTION_LTR, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>SWTextMarkup&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>markup</em> = FMT_UNKNOWN, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>ilang</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initializes data for instance of SWText.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>imodname</em>&nbsp;</td><td>
Internal name for module </td></tr>
<tr><td valign=top><em>imoddesc</em>&nbsp;</td><td>
Name to display to user for module </td></tr>
<tr><td valign=top><em>idisp</em>&nbsp;</td><td>
Display object to use for displaying </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="swtext_8cpp-source.html#l00017">17</a> of file <a class="el" href="swtext_8cpp-source.html">swtext.cpp</a>.
<p>
References <a class="el" href="swtext_8cpp-source.html#l00036">CreateKey</a>(), and <a class="el" href="swmodule_8h-source.html#l00077">SWModule::key</a>.
<p>
<div class="fragment"><pre>00017                                                                                                                                                          : <a class="code" href="class_s_w_module.html#a0">SWModule</a>(imodname, imoddesc, idisp, <font class="stringliteral">"Biblical Texts"</font>, enc, dir, mark, ilang)
00018 {
00019         <font class="keyword">delete</font> <a class="code" href="class_s_w_module.html#n6">key</a>;
00020         <a class="code" href="class_s_w_module.html#n6">key</a> = <a class="code" href="class_s_w_text.html#a2">CreateKey</a>();
00021 }
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="swtext_8h-source.html">swtext.h</a><li><a class="el" href="swtext_8cpp-source.html">swtext.cpp</a></ul>
<hr><address align="right"><small>Generated on Thu Jun 20 22:13:04 2002 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.15 </small></address>
</body>
</html>