Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 8f441dce3ea21e2a248e5169b7463abd > files > 106

libmwaw-doc-0.3.4-1.mga4.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>GreatWksBMParser.hxx Source File documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </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('GreatWksBMParser_8hxx_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">GreatWksBMParser.hxx</div>  </div>
</div><!--header-->
<div class="contents">
<a href="GreatWksBMParser_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="preprocessor">#ifndef GREAT_WKS_BM_PARSER</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  define GREAT_WKS_BM_PARSER</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;librevenge/librevenge.h&gt;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MWAWDebug_8hxx.html">MWAWDebug.hxx</a>&quot;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MWAWInputStream_8hxx.html">MWAWInputStream.hxx</a>&quot;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MWAWParser_8hxx.html">MWAWParser.hxx</a>&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">namespace </span>GreatWksBMParserInternal</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">struct </span>State;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;}</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classGreatWksBMParser.html">   57</a></span>&#160;<span class="keyword">class </span><a class="code" href="classGreatWksBMParser.html">GreatWksBMParser</a> : <span class="keyword">public</span> <a class="code" href="classMWAWGraphicParser.html">MWAWGraphicParser</a></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;{</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <a class="code" href="classGreatWksBMParser.html#abdbb71905fc868ba92bc2ea66c2313b1">GreatWksBMParser</a>(<a class="code" href="libmwaw__internal_8hxx.html#a6140ff7a26ea6906512ceea25188a918">MWAWInputStreamPtr</a> input, <a class="code" href="libmwaw__internal_8hxx.html#a4e01691bf113b2ff7c2cedfe73a16880">MWAWRSRCParserPtr</a> rsrcParser, <a class="code" href="classMWAWHeader.html">MWAWHeader</a> *header);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classGreatWksBMParser.html#ae26095a35fe2ba37f7df11f8a89a7a56">~GreatWksBMParser</a>();</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classGreatWksBMParser.html#a5a82eeb43cfa2d8209dda7d9e068939d">checkHeader</a>(<a class="code" href="classMWAWHeader.html">MWAWHeader</a> *header, <span class="keywordtype">bool</span> strict=<span class="keyword">false</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">// the main parse function</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classGreatWksBMParser.html#ac382093d21c1793429679635a8abc35f">parse</a>(librevenge::RVNGDrawingInterface *documentInterface);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classGreatWksBMParser.html#a621b720da52bba089aaf2cd03e8c707e">init</a>();</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classGreatWksBMParser.html#a1a6a7cfa8e6a053e16d7d76fc4ef927a">createDocument</a>(librevenge::RVNGDrawingInterface *documentInterface);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classGreatWksBMParser.html#aad46db264dbab59d8a9f9a471bf6fd44">createZones</a>();</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="comment">// Intermediate level</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classGreatWksBMParser.html#aea13240eec48dc51581e60764263d8ad">sendPicture</a>();</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="comment">//</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="comment">// data</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="comment">//</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classGreatWksBMParser.html#abf217c42172f176cd8f8c8bbbcaca06f">   91</a></span>&#160;<span class="comment"></span>  shared_ptr&lt;GreatWksBMParserInternal::State&gt; <a class="code" href="classGreatWksBMParser.html#abf217c42172f176cd8f8c8bbbcaca06f">m_state</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;};</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor"></span><span class="comment">// vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:</span></div>
<div class="ttc" id="classMWAWHeader_html"><div class="ttname"><a href="classMWAWHeader.html">MWAWHeader</a></div><div class="ttdoc">a function used by MWAWDocument to store the version of document </div><div class="ttdef"><b>Definition:</b> MWAWHeader.hxx:56</div></div>
<div class="ttc" id="classGreatWksBMParser_html_a621b720da52bba089aaf2cd03e8c707e"><div class="ttname"><a href="classGreatWksBMParser.html#a621b720da52bba089aaf2cd03e8c707e">GreatWksBMParser::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">inits all internal variables </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:78</div></div>
<div class="ttc" id="MWAWParser_8hxx_html"><div class="ttname"><a href="MWAWParser_8hxx.html">MWAWParser.hxx</a></div></div>
<div class="ttc" id="classGreatWksBMParser_html_abf217c42172f176cd8f8c8bbbcaca06f"><div class="ttname"><a href="classGreatWksBMParser.html#abf217c42172f176cd8f8c8bbbcaca06f">GreatWksBMParser::m_state</a></div><div class="ttdeci">shared_ptr&lt; GreatWksBMParserInternal::State &gt; m_state</div><div class="ttdoc">the state </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.hxx:91</div></div>
<div class="ttc" id="classGreatWksBMParser_html_ae26095a35fe2ba37f7df11f8a89a7a56"><div class="ttname"><a href="classGreatWksBMParser.html#ae26095a35fe2ba37f7df11f8a89a7a56">GreatWksBMParser::~GreatWksBMParser</a></div><div class="ttdeci">virtual ~GreatWksBMParser()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:74</div></div>
<div class="ttc" id="classGreatWksBMParser_html_aea13240eec48dc51581e60764263d8ad"><div class="ttname"><a href="classGreatWksBMParser.html#aea13240eec48dc51581e60764263d8ad">GreatWksBMParser::sendPicture</a></div><div class="ttdeci">bool sendPicture()</div><div class="ttdoc">try to send the main picture </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:169</div></div>
<div class="ttc" id="classGreatWksBMParser_html_a1a6a7cfa8e6a053e16d7d76fc4ef927a"><div class="ttname"><a href="classGreatWksBMParser.html#a1a6a7cfa8e6a053e16d7d76fc4ef927a">GreatWksBMParser::createDocument</a></div><div class="ttdeci">void createDocument(librevenge::RVNGDrawingInterface *documentInterface)</div><div class="ttdoc">creates the listener which will be associated to the document </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:121</div></div>
<div class="ttc" id="libmwaw__internal_8hxx_html_a4e01691bf113b2ff7c2cedfe73a16880"><div class="ttname"><a href="libmwaw__internal_8hxx.html#a4e01691bf113b2ff7c2cedfe73a16880">MWAWRSRCParserPtr</a></div><div class="ttdeci">shared_ptr&lt; MWAWRSRCParser &gt; MWAWRSRCParserPtr</div><div class="ttdoc">a smart pointer of MWAWRSRCParser </div><div class="ttdef"><b>Definition:</b> libmwaw_internal.hxx:439</div></div>
<div class="ttc" id="classGreatWksBMParser_html"><div class="ttname"><a href="classGreatWksBMParser.html">GreatWksBMParser</a></div><div class="ttdoc">the main class to read a GreatWorks paint file </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.hxx:57</div></div>
<div class="ttc" id="classGreatWksBMParser_html_abdbb71905fc868ba92bc2ea66c2313b1"><div class="ttname"><a href="classGreatWksBMParser.html#abdbb71905fc868ba92bc2ea66c2313b1">GreatWksBMParser::GreatWksBMParser</a></div><div class="ttdeci">GreatWksBMParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:68</div></div>
<div class="ttc" id="libmwaw__internal_8hxx_html_a6140ff7a26ea6906512ceea25188a918"><div class="ttname"><a href="libmwaw__internal_8hxx.html#a6140ff7a26ea6906512ceea25188a918">MWAWInputStreamPtr</a></div><div class="ttdeci">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:429</div></div>
<div class="ttc" id="classMWAWGraphicParser_html"><div class="ttname"><a href="classMWAWGraphicParser.html">MWAWGraphicParser</a></div><div class="ttdoc">virtual class which defines the ancestor of all graphic zone parser </div><div class="ttdef"><b>Definition:</b> MWAWParser.hxx:245</div></div>
<div class="ttc" id="MWAWInputStream_8hxx_html"><div class="ttname"><a href="MWAWInputStream_8hxx.html">MWAWInputStream.hxx</a></div></div>
<div class="ttc" id="MWAWDebug_8hxx_html"><div class="ttname"><a href="MWAWDebug_8hxx.html">MWAWDebug.hxx</a></div></div>
<div class="ttc" id="classGreatWksBMParser_html_ac382093d21c1793429679635a8abc35f"><div class="ttname"><a href="classGreatWksBMParser.html#ac382093d21c1793429679635a8abc35f">GreatWksBMParser::parse</a></div><div class="ttdeci">void parse(librevenge::RVNGDrawingInterface *documentInterface)</div><div class="ttdoc">virtual function used to parse the input </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:91</div></div>
<div class="ttc" id="classGreatWksBMParser_html_a5a82eeb43cfa2d8209dda7d9e068939d"><div class="ttname"><a href="classGreatWksBMParser.html#a5a82eeb43cfa2d8209dda7d9e068939d">GreatWksBMParser::checkHeader</a></div><div class="ttdeci">bool checkHeader(MWAWHeader *header, bool strict=false)</div><div class="ttdoc">checks if the document header is correct (or not) </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:218</div></div>
<div class="ttc" id="classGreatWksBMParser_html_aad46db264dbab59d8a9f9a471bf6fd44"><div class="ttname"><a href="classGreatWksBMParser.html#aad46db264dbab59d8a9f9a471bf6fd44">GreatWksBMParser::createZones</a></div><div class="ttdeci">bool createZones()</div><div class="ttdoc">finds the different objects zones </div><div class="ttdef"><b>Definition:</b> GreatWksBMParser.cxx:144</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<hr size="1"><address style="align: right;"><small>
Generated on Sun Feb 1 2015 20:58:09 for libmwaw by <a href="http://www.doxygen.org/index.html">
doxygen</a> 1.8.5</small></address>
</body>
</html>