<!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>MacWrtParser.hxx Source File documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</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"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('MacWrtParser_8hxx_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">MacWrtParser.hxx</div> </div> </div><!--header--> <div class="contents"> <a href="MacWrtParser_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> <span class="comment">/* -*- Mode: C++; c-default-style: "k&r"; 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> </div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/* libmwaw</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Version: MPL 2.0 / LGPLv2+</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <span class="comment">* 2.0 (the "License"); you may not use this file except in compliance with</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <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> <span class="comment">*</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* Software distributed under the License is distributed on an "AS IS" basis,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <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> <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> <span class="comment">* License.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">*</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">* Major Contributor(s):</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> <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> <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> <span class="comment">* Copyright (C) 2006, 2007 Andrew Ziem</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <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> <span class="comment">*</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">*</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">* All Rights Reserved.</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">*</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">* For minor contributions see the git repository.</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">*</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <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> <span class="comment">* the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <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> <span class="comment">* instead of those above.</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">*/</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifndef MAC_WRT_PARSER</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"># define MAC_WRT_PARSER</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include "<a class="code" href="MWAWDebug_8hxx.html">MWAWDebug.hxx</a>"</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="MWAWInputStream_8hxx.html">MWAWInputStream.hxx</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="MWAWParser_8hxx.html">MWAWParser.hxx</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span><a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">struct </span>State;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">struct </span>Information;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">class </span>SubDocument;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> }</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classMacWrtParser.html"> 56</a></span> <span class="keyword">class </span><a class="code" href="classMacWrtParser.html">MacWrtParser</a> final : <span class="keyword">public</span> <a class="code" href="classMWAWTextParser.html">MWAWTextParser</a></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> {</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classMacWrtParser.html#adba48e3d6d02ed20c91d26f88d905553"> 58</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classMacWrtParserInternal_1_1SubDocument.html">MacWrtParserInternal::SubDocument</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classMacWrtParser.html#ab2bba0e8a7a62e3f2363303021a8cfb6">MacWrtParser</a>(<a class="code" href="libmwaw__internal_8hxx.html#afd5c882cd7630d8ce247eebe1ae59d24">MWAWInputStreamPtr</a> <span class="keyword">const</span> &input, <a class="code" href="libmwaw__internal_8hxx.html#a5da873b93ee8c277c6fff288fceba1a8">MWAWRSRCParserPtr</a> <span class="keyword">const</span> &rsrcParser, <a class="code" href="classMWAWHeader.html">MWAWHeader</a> *header);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="classMacWrtParser.html#abdcd6b1a579836453b12c2026d0110e4">~MacWrtParser</a>() final;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#ab6c8e3c0dec1e54d6d175dc24c5965db">checkHeader</a>(<a class="code" href="classMWAWHeader.html">MWAWHeader</a> *header, <span class="keywordtype">bool</span> strict=false) final;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// the main parse function</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">void</span> <a class="code" href="classMacWrtParser.html#a3c270370e4c9c7202d7e5008c647f879">parse</a>(<a class="code" href="namespacelibrevenge.html">librevenge</a>::RVNGTextInterface *documentInterface) final;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> protected:</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">void</span> <a class="code" href="classMacWrtParser.html#a25f3907d131a279f331470b1e61e964c">init</a>();</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> <a class="code" href="classMacWrtParser.html#adb055cdb6bc30789df74a8883407cf71">createDocument</a>(<a class="code" href="namespacelibrevenge.html">librevenge</a>::RVNGTextInterface *documentInterface);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#a0aa87fb075492b7614996e798be46bad">sendWindow</a>(<span class="keywordtype">int</span> zone);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#afa0f0eac8cedc99fe443117473dd9529">createZones</a>();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#abd128a04a1af75bd5fa3b0fb7b6a89ef">createZonesV3</a>();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#ab98daa3f7f03f5f46134324ce30ba5b8">readPrintInfo</a>();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#ada240f69359e566bb9ad5138797f675e">readWindowsInfo</a>(<span class="keywordtype">int</span> wh);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#a17e56b7bd66582feb03aac06bf9f3cc7">readLinesHeight</a>(<a class="code" href="classMWAWEntry.html">MWAWEntry</a> const &entry, std::vector<<span class="keywordtype">int</span>> &firstParagLine,</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::vector<<span class="keywordtype">int</span>> &linesHeight);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#a5d0985ca588442aa102bdf1e4f1ef37f">readInformationsV3</a>(<span class="keywordtype">int</span> numInfo,</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  std::vector<<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::Information> &informations);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#a6043b796d339b80ad23f1ab1fa52c306">readInformations</a>(<a class="code" href="classMWAWEntry.html">MWAWEntry</a> const &entry,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  std::vector<<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::Information> &informations);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#acca37dbb6d76158129497e0ef701209a">readParagraph</a>(<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::Information const &info);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#af072ee0ed27262f6ff1305f28a77d627">readGraphic</a>(<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::Information const &info);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  static <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#ab47e0d60a6455d2930aaedd0102db03b">isMagicPic</a>(<a class="code" href="namespacelibrevenge.html">librevenge</a>::RVNGBinaryData const &dt);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#afe4e33a0bf9af95d715240715d0dd40b">readText</a>(<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::Information const &info, std::vector<<span class="keywordtype">int</span>> const &lineHeight);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#a8b65e5764b5f44a8c34162c35b64a05d">readPageBreak</a>(<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::Information const &info);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">bool</span> <a class="code" href="classMacWrtParser.html#a391961b7a8c6ca70a90b7ca66a3de578">checkFreeList</a>();</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> <a class="code" href="classMacWrtParser.html#a52c5d27ba4d2ed0a4ff817e9c6a7fc1e">newPage</a>(<span class="keywordtype">int</span> number);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> protected:</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">//</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// data</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">//</span></div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classMacWrtParser.html#aae79af60f37928344c8f4eed72c46bb9"> 132</a></span> <span class="comment"></span> std::shared_ptr<<a class="code" href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a>::State> <a class="code" href="classMacWrtParser.html#aae79af60f37928344c8f4eed72c46bb9">m_state</a>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> };</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment">// vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:</span></div><div class="ttc" id="classMacWrtParser_html_ada240f69359e566bb9ad5138797f675e"><div class="ttname"><a href="classMacWrtParser.html#ada240f69359e566bb9ad5138797f675e">MacWrtParser::readWindowsInfo</a></div><div class="ttdeci">bool readWindowsInfo(int wh)</div><div class="ttdoc">read the windows zone</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:874</div></div> <div class="ttc" id="classMacWrtParser_html_a0aa87fb075492b7614996e798be46bad"><div class="ttname"><a href="classMacWrtParser.html#a0aa87fb075492b7614996e798be46bad">MacWrtParser::sendWindow</a></div><div class="ttdeci">bool sendWindow(int zone)</div><div class="ttdoc">send a zone ( 0: MAIN ZONE, 1 : HEADER, 2 : FOOTER )</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:650</div></div> <div class="ttc" id="classMacWrtParserInternal_1_1SubDocument_html"><div class="ttname"><a href="classMacWrtParserInternal_1_1SubDocument.html">MacWrtParserInternal::SubDocument</a></div><div class="ttdoc">Internal: the subdocument of a MacWrtParser.</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:312</div></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="classMacWrtParser_html_acca37dbb6d76158129497e0ef701209a"><div class="ttname"><a href="classMacWrtParser.html#acca37dbb6d76158129497e0ef701209a">MacWrtParser::readParagraph</a></div><div class="ttdeci">bool readParagraph(MacWrtParserInternal::Information const &info)</div><div class="ttdoc">read a paragraph</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1421</div></div> <div class="ttc" id="classMacWrtParser_html_aae79af60f37928344c8f4eed72c46bb9"><div class="ttname"><a href="classMacWrtParser.html#aae79af60f37928344c8f4eed72c46bb9">MacWrtParser::m_state</a></div><div class="ttdeci">std::shared_ptr< MacWrtParserInternal::State > m_state</div><div class="ttdoc">the state</div><div class="ttdef"><b>Definition:</b> MacWrtParser.hxx:132</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="namespacelibrevenge_html"><div class="ttname"><a href="namespacelibrevenge.html">librevenge</a></div><div class="ttdef"><b>Definition:</b> MWAWDocument.hxx:56</div></div> <div class="ttc" id="classMacWrtParser_html_ab47e0d60a6455d2930aaedd0102db03b"><div class="ttname"><a href="classMacWrtParser.html#ab47e0d60a6455d2930aaedd0102db03b">MacWrtParser::isMagicPic</a></div><div class="ttdeci">static bool isMagicPic(librevenge::RVNGBinaryData const &dt)</div><div class="ttdoc">test if a graphic is empty.</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1636</div></div> <div class="ttc" id="classMacWrtParser_html_a8b65e5764b5f44a8c34162c35b64a05d"><div class="ttname"><a href="classMacWrtParser.html#a8b65e5764b5f44a8c34162c35b64a05d">MacWrtParser::readPageBreak</a></div><div class="ttdeci">bool readPageBreak(MacWrtParserInternal::Information const &info)</div><div class="ttdoc">read a page break zone ( version <= 3)</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1512</div></div> <div class="ttc" id="classMacWrtParser_html_ab98daa3f7f03f5f46134324ce30ba5b8"><div class="ttname"><a href="classMacWrtParser.html#ab98daa3f7f03f5f46134324ce30ba5b8">MacWrtParser::readPrintInfo</a></div><div class="ttdeci">bool readPrintInfo()</div><div class="ttdoc">read the print info zone</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:821</div></div> <div class="ttc" id="classMacWrtParser_html_a52c5d27ba4d2ed0a4ff817e9c6a7fc1e"><div class="ttname"><a href="classMacWrtParser.html#a52c5d27ba4d2ed0a4ff817e9c6a7fc1e">MacWrtParser::newPage</a></div><div class="ttdeci">void newPage(int number)</div><div class="ttdoc">adds a new page</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:394</div></div> <div class="ttc" id="classMacWrtParser_html_abdcd6b1a579836453b12c2026d0110e4"><div class="ttname"><a href="classMacWrtParser.html#abdcd6b1a579836453b12c2026d0110e4">MacWrtParser::~MacWrtParser</a></div><div class="ttdeci">~MacWrtParser() final</div><div class="ttdoc">destructor</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:376</div></div> <div class="ttc" id="classMacWrtParser_html_a6043b796d339b80ad23f1ab1fa52c306"><div class="ttname"><a href="classMacWrtParser.html#a6043b796d339b80ad23f1ab1fa52c306">MacWrtParser::readInformations</a></div><div class="ttdeci">bool readInformations(MWAWEntry const &entry, std::vector< MacWrtParserInternal::Information > &informations)</div><div class="ttdoc">read the information</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1103</div></div> <div class="ttc" id="classMacWrtParser_html"><div class="ttname"><a href="classMacWrtParser.html">MacWrtParser</a></div><div class="ttdoc">the main class to read a MacWrite file</div><div class="ttdef"><b>Definition:</b> MacWrtParser.hxx:56</div></div> <div class="ttc" id="classMacWrtParser_html_adb055cdb6bc30789df74a8883407cf71"><div class="ttname"><a href="classMacWrtParser.html#adb055cdb6bc30789df74a8883407cf71">MacWrtParser::createDocument</a></div><div class="ttdeci">void createDocument(librevenge::RVNGTextInterface *documentInterface)</div><div class="ttdoc">creates the listener which will be associated to the document</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:450</div></div> <div class="ttc" id="classMacWrtParser_html_af072ee0ed27262f6ff1305f28a77d627"><div class="ttname"><a href="classMacWrtParser.html#af072ee0ed27262f6ff1305f28a77d627">MacWrtParser::readGraphic</a></div><div class="ttdeci">bool readGraphic(MacWrtParserInternal::Information const &info)</div><div class="ttdoc">read a graphics</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1560</div></div> <div class="ttc" id="namespaceMacWrtParserInternal_html"><div class="ttname"><a href="namespaceMacWrtParserInternal.html">MacWrtParserInternal</a></div><div class="ttdoc">Internal: the structures of a MacWrtParser.</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:57</div></div> <div class="ttc" id="libmwaw__internal_8hxx_html_a5da873b93ee8c277c6fff288fceba1a8"><div class="ttname"><a href="libmwaw__internal_8hxx.html#a5da873b93ee8c277c6fff288fceba1a8">MWAWRSRCParserPtr</a></div><div class="ttdeci">std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr</div><div class="ttdoc">a smart pointer of MWAWRSRCParser</div><div class="ttdef"><b>Definition:</b> libmwaw_internal.hxx:561</div></div> <div class="ttc" id="classMacWrtParser_html_a5d0985ca588442aa102bdf1e4f1ef37f"><div class="ttname"><a href="classMacWrtParser.html#a5d0985ca588442aa102bdf1e4f1ef37f">MacWrtParser::readInformationsV3</a></div><div class="ttdeci">bool readInformationsV3(int numInfo, std::vector< MacWrtParserInternal::Information > &informations)</div><div class="ttdoc">read the information ( version <= 3)</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1057</div></div> <div class="ttc" id="classMacWrtParser_html_afe4e33a0bf9af95d715240715d0dd40b"><div class="ttname"><a href="classMacWrtParser.html#afe4e33a0bf9af95d715240715d0dd40b">MacWrtParser::readText</a></div><div class="ttdeci">bool readText(MacWrtParserInternal::Information const &info, std::vector< int > const &lineHeight)</div><div class="ttdoc">read a text zone</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1236</div></div> <div class="ttc" id="classMacWrtParser_html_a391961b7a8c6ca70a90b7ca66a3de578"><div class="ttname"><a href="classMacWrtParser.html#a391961b7a8c6ca70a90b7ca66a3de578">MacWrtParser::checkFreeList</a></div><div class="ttdeci">bool checkFreeList()</div><div class="ttdoc">check the free list</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:1651</div></div> <div class="ttc" id="classMWAWTextParser_html"><div class="ttname"><a href="classMWAWTextParser.html">MWAWTextParser</a></div><div class="ttdoc">virtual class which defines the ancestor of all text zone parser</div><div class="ttdef"><b>Definition:</b> MWAWParser.hxx:298</div></div> <div class="ttc" id="classMacWrtParser_html_a17e56b7bd66582feb03aac06bf9f3cc7"><div class="ttname"><a href="classMacWrtParser.html#a17e56b7bd66582feb03aac06bf9f3cc7">MacWrtParser::readLinesHeight</a></div><div class="ttdeci">bool readLinesHeight(MWAWEntry const &entry, std::vector< int > &firstParagLine, std::vector< int > &linesHeight)</div><div class="ttdoc">read the line height</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:984</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="libmwaw__internal_8hxx_html_afd5c882cd7630d8ce247eebe1ae59d24"><div class="ttname"><a href="libmwaw__internal_8hxx.html#afd5c882cd7630d8ce247eebe1ae59d24">MWAWInputStreamPtr</a></div><div class="ttdeci">std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr</div><div class="ttdoc">a smart pointer of MWAWInputStream</div><div class="ttdef"><b>Definition:</b> libmwaw_internal.hxx:551</div></div> <div class="ttc" id="classMacWrtParser_html_ab2bba0e8a7a62e3f2363303021a8cfb6"><div class="ttname"><a href="classMacWrtParser.html#ab2bba0e8a7a62e3f2363303021a8cfb6">MacWrtParser::MacWrtParser</a></div><div class="ttdeci">MacWrtParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)</div><div class="ttdoc">constructor</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:369</div></div> <div class="ttc" id="classMacWrtParser_html_a3c270370e4c9c7202d7e5008c647f879"><div class="ttname"><a href="classMacWrtParser.html#a3c270370e4c9c7202d7e5008c647f879">MacWrtParser::parse</a></div><div class="ttdeci">void parse(librevenge::RVNGTextInterface *documentInterface) final</div><div class="ttdoc">virtual function used to parse the input</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:410</div></div> <div class="ttc" id="classMacWrtParser_html_afa0f0eac8cedc99fe443117473dd9529"><div class="ttname"><a href="classMacWrtParser.html#afa0f0eac8cedc99fe443117473dd9529">MacWrtParser::createZones</a></div><div class="ttdeci">bool createZones()</div><div class="ttdoc">finds the different objects zones</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:496</div></div> <div class="ttc" id="classMacWrtParser_html_ab6c8e3c0dec1e54d6d175dc24c5965db"><div class="ttname"><a href="classMacWrtParser.html#ab6c8e3c0dec1e54d6d175dc24c5965db">MacWrtParser::checkHeader</a></div><div class="ttdeci">bool checkHeader(MWAWHeader *header, bool strict=false) final</div><div class="ttdoc">checks if the document header is correct (or not)</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:718</div></div> <div class="ttc" id="classMacWrtParser_html_a25f3907d131a279f331470b1e61e964c"><div class="ttname"><a href="classMacWrtParser.html#a25f3907d131a279f331470b1e61e964c">MacWrtParser::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">inits all internal variables</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:380</div></div> <div class="ttc" id="classMWAWEntry_html"><div class="ttname"><a href="classMWAWEntry.html">MWAWEntry</a></div><div class="ttdoc">basic class to store an entry in a file This contained :</div><div class="ttdef"><b>Definition:</b> MWAWEntry.hxx:46</div></div> <div class="ttc" id="classMacWrtParser_html_abd128a04a1af75bd5fa3b0fb7b6a89ef"><div class="ttname"><a href="classMacWrtParser.html#abd128a04a1af75bd5fa3b0fb7b6a89ef">MacWrtParser::createZonesV3</a></div><div class="ttdeci">bool createZonesV3()</div><div class="ttdoc">finds the different objects zones (version <= 3)</div><div class="ttdef"><b>Definition:</b> MacWrtParser.cxx:548</div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <hr size="1"><address style="align: right;"><small> Generated on Wed May 20 2020 10:14:00 for libmwaw by <a href="http://www.doxygen.org/index.html"> doxygen</a> 1.8.15</small></address> </body> </html>