Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 984407a3d8e0ca8f42be35be954f9b2c > files > 215

libmwaw-doc-0.3.14-2.mga6.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>MWAWFontSJISConverter.hxx Source File documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('MWAWFontSJISConverter_8hxx_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">MWAWFontSJISConverter.hxx</div>  </div>
</div><!--header-->
<div class="contents">
<a href="MWAWFontSJISConverter_8hxx.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -*- Mode: C++; c-default-style: &quot;k&amp;r&quot;; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">/* libmwaw</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">* Version: MPL 2.0 / LGPLv2+</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">* The contents of this file are subject to the Mozilla Public License Version</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">* 2.0 (the &quot;License&quot;); you may not use this file except in compliance with</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">* the License or as specified alternatively below. You may obtain a copy of</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">* the License at http://www.mozilla.org/MPL/</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">* Software distributed under the License is distributed on an &quot;AS IS&quot; basis,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">* for the specific language governing rights and limitations under the</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">* License.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">* Major Contributor(s):</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">* Copyright (C) 2002 William Lachance (wrlach@gmail.com)</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">* Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">* Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">* Copyright (C) 2006, 2007 Andrew Ziem</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">* Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">* All Rights Reserved.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">* For minor contributions see the git repository.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">* Alternatively, the contents of this file may be used under the terms of</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">* the GNU Lesser General Public License Version 2 or later (the &quot;LGPLv2+&quot;),</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">* in which case the provisions of the LGPLv2+ are applicable</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">* instead of those above.</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">/* This header contains code specific to a mac file :</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> *     - a namespace used to convert Mac SJIS font characters in unicode</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#ifndef MWAW_FONT_SJIS_CONVERTER</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#  define MWAW_FONT_SJIS_CONVERTER</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="libmwaw__internal_8hxx.html">libmwaw_internal.hxx</a>&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classMWAWFontSJISConverter.html">   47</a></span>&#160;<span class="keyword">class </span><a class="code" href="classMWAWFontSJISConverter.html">MWAWFontSJISConverter</a></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;{</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <a class="code" href="classMWAWFontSJISConverter.html#ab687425f3e46267c1dddcbf2f683a1a8">MWAWFontSJISConverter</a>();</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <a class="code" href="classMWAWFontSJISConverter.html#aaf43382d701bfcaea2be95fb0c858be5">~MWAWFontSJISConverter</a>();</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classMWAWFontSJISConverter.html#a7dfbec6a69c407aaf4809a273676079b">unicode</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> c, <a class="code" href="libmwaw__internal_8hxx.html#afd5c882cd7630d8ce247eebe1ae59d24">MWAWInputStreamPtr</a> &amp;input);</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classMWAWFontSJISConverter.html#a7dfbec6a69c407aaf4809a273676079b">unicode</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> c, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> *(&amp;str), <span class="keywordtype">int</span> len);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classMWAWFontSJISConverter.html#a4d992abacf792e99992041556ddd036f">initMap</a>();</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classMWAWFontSJISConverter.html#ab0a86e49e5cce73d5884bbc989becd52">   63</a></span>&#160;  std::map&lt;int,int&gt; <a class="code" href="classMWAWFontSJISConverter.html#ab0a86e49e5cce73d5884bbc989becd52">m_sjisUnicodeMap</a>;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;};</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">// vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:</span></div><div class="ttc" id="classMWAWFontSJISConverter_html_ab687425f3e46267c1dddcbf2f683a1a8"><div class="ttname"><a href="classMWAWFontSJISConverter.html#ab687425f3e46267c1dddcbf2f683a1a8">MWAWFontSJISConverter::MWAWFontSJISConverter</a></div><div class="ttdeci">MWAWFontSJISConverter()</div><div class="ttdoc">the constructor </div><div class="ttdef"><b>Definition:</b> MWAWFontSJISConverter.cxx:1502</div></div>
<div class="ttc" id="libmwaw__internal_8hxx_html"><div class="ttname"><a href="libmwaw__internal_8hxx.html">libmwaw_internal.hxx</a></div></div>
<div class="ttc" id="classMWAWFontSJISConverter_html_a4d992abacf792e99992041556ddd036f"><div class="ttname"><a href="classMWAWFontSJISConverter.html#a4d992abacf792e99992041556ddd036f">MWAWFontSJISConverter::initMap</a></div><div class="ttdeci">void initMap()</div><div class="ttdoc">init the mapping </div><div class="ttdef"><b>Definition:</b> MWAWFontSJISConverter.cxx:1512</div></div>
<div class="ttc" id="classMWAWFontSJISConverter_html"><div class="ttname"><a href="classMWAWFontSJISConverter.html">MWAWFontSJISConverter</a></div><div class="ttdoc">a namespace used to convert Mac SJIS font characters in unicode </div><div class="ttdef"><b>Definition:</b> MWAWFontSJISConverter.hxx:47</div></div>
<div class="ttc" id="classMWAWFontSJISConverter_html_ab0a86e49e5cce73d5884bbc989becd52"><div class="ttname"><a href="classMWAWFontSJISConverter.html#ab0a86e49e5cce73d5884bbc989becd52">MWAWFontSJISConverter::m_sjisUnicodeMap</a></div><div class="ttdeci">std::map&lt; int, int &gt; m_sjisUnicodeMap</div><div class="ttdoc">a map sjis-&gt;unicode </div><div class="ttdef"><b>Definition:</b> MWAWFontSJISConverter.hxx:63</div></div>
<div class="ttc" id="classMWAWFontSJISConverter_html_aaf43382d701bfcaea2be95fb0c858be5"><div class="ttname"><a href="classMWAWFontSJISConverter.html#aaf43382d701bfcaea2be95fb0c858be5">MWAWFontSJISConverter::~MWAWFontSJISConverter</a></div><div class="ttdeci">~MWAWFontSJISConverter()</div><div class="ttdoc">the destructor </div><div class="ttdef"><b>Definition:</b> MWAWFontSJISConverter.cxx:1508</div></div>
<div class="ttc" id="libmwaw__internal_8hxx_html_afd5c882cd7630d8ce247eebe1ae59d24"><div class="ttname"><a href="libmwaw__internal_8hxx.html#afd5c882cd7630d8ce247eebe1ae59d24">MWAWInputStreamPtr</a></div><div class="ttdeci">std::shared_ptr&lt; MWAWInputStream &gt; MWAWInputStreamPtr</div><div class="ttdoc">a smart pointer of MWAWInputStream </div><div class="ttdef"><b>Definition:</b> libmwaw_internal.hxx:547</div></div>
<div class="ttc" id="classMWAWFontSJISConverter_html_a7dfbec6a69c407aaf4809a273676079b"><div class="ttname"><a href="classMWAWFontSJISConverter.html#a7dfbec6a69c407aaf4809a273676079b">MWAWFontSJISConverter::unicode</a></div><div class="ttdeci">int unicode(unsigned char c, MWAWInputStreamPtr &amp;input)</div><div class="ttdoc">try to return a unicode for a shift jis character ( returns -1 if the character can not be converted ...</div><div class="ttdef"><b>Definition:</b> MWAWFontSJISConverter.cxx:1523</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<hr size="1"><address style="align: right;"><small>
Generated on Mon Feb 11 2019 22:20:43 for libmwaw by <a href="http://www.doxygen.org/index.html">
doxygen</a> 1.8.13</small></address>
</body>
</html>