/usr/share/doc/libstaroffice/html/classSTOFFHeader.html is in libstaroffice-doc 0.0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 | <!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>STOFFHeader Class Reference 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('classSTOFFHeader.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pri-attribs">Private Attributes</a> |
<a href="classSTOFFHeader-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">STOFFHeader Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>a function used by <a class="el" href="classSTOFFDocument.html" title="This class provides all the functions an application would need to parse StarOffice documents...">STOFFDocument</a> to store the version of document
<a href="classSTOFFHeader.html#details">More...</a></p>
<p><code>#include <<a class="el" href="STOFFHeader_8hxx_source.html">STOFFHeader.hxx</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5c5c6bca568a3ba9b74cc12d428c2cb8"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8d">STOFFDocument::Kind</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a></td></tr>
<tr class="separator:a5c5c6bca568a3ba9b74cc12d428c2cb8"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4ad56841d8b421fa4460d4bddb783954"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a4ad56841d8b421fa4460d4bddb783954">STOFFHeader</a> (int version=0, <a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8d">STOFFDocument::Kind</a> kind=<a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8dabf8b2ecc0f301684dbcdba54f6da2866">STOFFDocument::STOFF_K_TEXT</a>)</td></tr>
<tr class="memdesc:a4ad56841d8b421fa4460d4bddb783954"><td class="mdescLeft"> </td><td class="mdescRight">constructor given the input <a href="#a4ad56841d8b421fa4460d4bddb783954">More...</a><br /></td></tr>
<tr class="separator:a4ad56841d8b421fa4460d4bddb783954"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd959cfb67e88727218e225fe851cebe"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#acd959cfb67e88727218e225fe851cebe">~STOFFHeader</a> ()</td></tr>
<tr class="memdesc:acd959cfb67e88727218e225fe851cebe"><td class="mdescLeft"> </td><td class="mdescRight">destructor <a href="#acd959cfb67e88727218e225fe851cebe">More...</a><br /></td></tr>
<tr class="separator:acd959cfb67e88727218e225fe851cebe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d9808909f1bc39a8993362903d45d17"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a2d9808909f1bc39a8993362903d45d17">reset</a> (int vers, <a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> kind=<a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8dabf8b2ecc0f301684dbcdba54f6da2866">STOFFDocument::STOFF_K_TEXT</a>)</td></tr>
<tr class="memdesc:a2d9808909f1bc39a8993362903d45d17"><td class="mdescLeft"> </td><td class="mdescRight">resets the data <a href="#a2d9808909f1bc39a8993362903d45d17">More...</a><br /></td></tr>
<tr class="separator:a2d9808909f1bc39a8993362903d45d17"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:add617a8b494589bfbab0a1fb1ee15d7f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#add617a8b494589bfbab0a1fb1ee15d7f">getVersion</a> () const</td></tr>
<tr class="memdesc:add617a8b494589bfbab0a1fb1ee15d7f"><td class="mdescLeft"> </td><td class="mdescRight">returns the major version <a href="#add617a8b494589bfbab0a1fb1ee15d7f">More...</a><br /></td></tr>
<tr class="separator:add617a8b494589bfbab0a1fb1ee15d7f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81db12450eb6dc036559062671ad5565"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a81db12450eb6dc036559062671ad5565">setVersion</a> (int version)</td></tr>
<tr class="memdesc:a81db12450eb6dc036559062671ad5565"><td class="mdescLeft"> </td><td class="mdescRight">sets the major version <a href="#a81db12450eb6dc036559062671ad5565">More...</a><br /></td></tr>
<tr class="separator:a81db12450eb6dc036559062671ad5565"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a230197c2d1912c2bed613bd77f2ad32d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a230197c2d1912c2bed613bd77f2ad32d">getKind</a> () const</td></tr>
<tr class="memdesc:a230197c2d1912c2bed613bd77f2ad32d"><td class="mdescLeft"> </td><td class="mdescRight">returns the document kind <a href="#a230197c2d1912c2bed613bd77f2ad32d">More...</a><br /></td></tr>
<tr class="separator:a230197c2d1912c2bed613bd77f2ad32d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d7ec418b09eb4ba47c08c775cd417dc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a3d7ec418b09eb4ba47c08c775cd417dc">setKind</a> (<a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> kind)</td></tr>
<tr class="memdesc:a3d7ec418b09eb4ba47c08c775cd417dc"><td class="mdescLeft"> </td><td class="mdescRight">sets the document kind <a href="#a3d7ec418b09eb4ba47c08c775cd417dc">More...</a><br /></td></tr>
<tr class="separator:a3d7ec418b09eb4ba47c08c775cd417dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35e9943c3aac7095f5cb4f6173aadb98"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a35e9943c3aac7095f5cb4f6173aadb98">isEncrypted</a> () const</td></tr>
<tr class="memdesc:a35e9943c3aac7095f5cb4f6173aadb98"><td class="mdescLeft"> </td><td class="mdescRight">returns true if the file is encypted <a href="#a35e9943c3aac7095f5cb4f6173aadb98">More...</a><br /></td></tr>
<tr class="separator:a35e9943c3aac7095f5cb4f6173aadb98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a062f3ee242552a01f1214b1800c69f3d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a062f3ee242552a01f1214b1800c69f3d">setEncrypted</a> (bool encrypted)</td></tr>
<tr class="memdesc:a062f3ee242552a01f1214b1800c69f3d"><td class="mdescLeft"> </td><td class="mdescRight">set the encryption mode <a href="#a062f3ee242552a01f1214b1800c69f3d">More...</a><br /></td></tr>
<tr class="separator:a062f3ee242552a01f1214b1800c69f3d"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac1975e0d31766f79a1539c80146eecc7"><td class="memItemLeft" align="right" valign="top">static std::vector< <a class="el" href="classSTOFFHeader.html">STOFFHeader</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#ac1975e0d31766f79a1539c80146eecc7">constructHeader</a> (<a class="el" href="libstaroffice__internal_8hxx.html#a9a3f1ff5fbf318034ef6ef3be2c53f48">STOFFInputStreamPtr</a> input)</td></tr>
<tr class="memdesc:ac1975e0d31766f79a1539c80146eecc7"><td class="mdescLeft"> </td><td class="mdescRight">tests the input file and returns a header if the file looks like a STOFF document ( trying first to use the resource parsed if it exists ) <a href="#ac1975e0d31766f79a1539c80146eecc7">More...</a><br /></td></tr>
<tr class="separator:ac1975e0d31766f79a1539c80146eecc7"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a1dc93600c6ff5668ce5ad091d7c55061"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a1dc93600c6ff5668ce5ad091d7c55061">m_version</a></td></tr>
<tr class="memdesc:a1dc93600c6ff5668ce5ad091d7c55061"><td class="mdescLeft"> </td><td class="mdescRight">the document version <a href="#a1dc93600c6ff5668ce5ad091d7c55061">More...</a><br /></td></tr>
<tr class="separator:a1dc93600c6ff5668ce5ad091d7c55061"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf386c9574949a933b202b3bff6a1e16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#aaf386c9574949a933b202b3bff6a1e16">m_docKind</a></td></tr>
<tr class="memdesc:aaf386c9574949a933b202b3bff6a1e16"><td class="mdescLeft"> </td><td class="mdescRight">the document kind <a href="#aaf386c9574949a933b202b3bff6a1e16">More...</a><br /></td></tr>
<tr class="separator:aaf386c9574949a933b202b3bff6a1e16"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12f6c8cb22c9519d1cfc6e4845a10267"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSTOFFHeader.html#a12f6c8cb22c9519d1cfc6e4845a10267">m_isEncrypted</a></td></tr>
<tr class="memdesc:a12f6c8cb22c9519d1cfc6e4845a10267"><td class="mdescLeft"> </td><td class="mdescRight">flag to know if the file is encrypted <a href="#a12f6c8cb22c9519d1cfc6e4845a10267">More...</a><br /></td></tr>
<tr class="separator:a12f6c8cb22c9519d1cfc6e4845a10267"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>a function used by <a class="el" href="classSTOFFDocument.html" title="This class provides all the functions an application would need to parse StarOffice documents...">STOFFDocument</a> to store the version of document </p>
<p>This class is responsible for finding a list of potential formats corresponding to a file, this list will latter be checked by calling the corresponding parser's function checkHeader via <a class="el" href="classSTOFFDocument.html" title="This class provides all the functions an application would need to parse StarOffice documents...">STOFFDocument</a>.</p>
<p>This class also allows to store the document type, king and version. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a5c5c6bca568a3ba9b74cc12d428c2cb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c5c6bca568a3ba9b74cc12d428c2cb8">◆ </a></span>Kind</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8d">STOFFDocument::Kind</a> <a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">STOFFHeader::Kind</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a4ad56841d8b421fa4460d4bddb783954"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ad56841d8b421fa4460d4bddb783954">◆ </a></span>STOFFHeader()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">STOFFHeader::STOFFHeader </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>version</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8d">STOFFDocument::Kind</a> </td>
<td class="paramname"><em>kind</em> = <code><a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8dabf8b2ecc0f301684dbcdba54f6da2866">STOFFDocument::STOFF_K_TEXT</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>constructor given the input </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">version</td><td>the file version </td></tr>
<tr><td class="paramname">kind</td><td>the document kind (default word processing document) </td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="classSTOFFHeader.html#ac1975e0d31766f79a1539c80146eecc7">constructHeader()</a>.</p>
</div>
</div>
<a id="acd959cfb67e88727218e225fe851cebe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd959cfb67e88727218e225fe851cebe">◆ </a></span>~STOFFHeader()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">STOFFHeader::~STOFFHeader </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>destructor </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac1975e0d31766f79a1539c80146eecc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1975e0d31766f79a1539c80146eecc7">◆ </a></span>constructHeader()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector< <a class="el" href="classSTOFFHeader.html">STOFFHeader</a> > STOFFHeader::constructHeader </td>
<td>(</td>
<td class="paramtype"><a class="el" href="libstaroffice__internal_8hxx.html#a9a3f1ff5fbf318034ef6ef3be2c53f48">STOFFInputStreamPtr</a> </td>
<td class="paramname"><em>input</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>tests the input file and returns a header if the file looks like a STOFF document ( trying first to use the resource parsed if it exists ) </p>
<p>So far, we have identified.</p>
<dl class="section note"><dt>Note</dt><dd>this check phase can only be partial ; ie. we only test the first bytes of the file and/or the existence of some oles. This explains that <a class="el" href="classSTOFFDocument.html" title="This class provides all the functions an application would need to parse StarOffice documents...">STOFFDocument</a> implements a more complete test to recognize the difference Mac Files which share the same type of header... </dd></dl>
<p class="reference">Referenced by <a class="el" href="namespaceSTOFFDocumentInternal.html#a15a7074370b6791979524de71fbf118f">STOFFDocumentInternal::getHeader()</a>.</p>
</div>
</div>
<a id="a230197c2d1912c2bed613bd77f2ad32d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a230197c2d1912c2bed613bd77f2ad32d">◆ </a></span>getKind()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> STOFFHeader::getKind </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>returns the document kind </p>
<p class="reference">Referenced by <a class="el" href="namespaceSTOFFDocumentInternal.html#a516056b375da1a0d5a752207551d37de">STOFFDocumentInternal::getGraphicParserFromHeader()</a>, <a class="el" href="namespaceSTOFFDocumentInternal.html#a861675e8dfa57ab01303a6ba8fa6d491">STOFFDocumentInternal::getPresentationParserFromHeader()</a>, <a class="el" href="namespaceSTOFFDocumentInternal.html#a798159a1e5c7b9e18d15752ac265d755">STOFFDocumentInternal::getSpreadsheetParserFromHeader()</a>, <a class="el" href="namespaceSTOFFDocumentInternal.html#a16d8ebd260dc055933f7b2b013d24c08">STOFFDocumentInternal::getTextParserFromHeader()</a>, and <a class="el" href="classSTOFFParserState.html#a0e904b191a5ee20d2a18c7e15d8e5aca">STOFFParserState::STOFFParserState()</a>.</p>
</div>
</div>
<a id="add617a8b494589bfbab0a1fb1ee15d7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add617a8b494589bfbab0a1fb1ee15d7f">◆ </a></span>getVersion()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int STOFFHeader::getVersion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>returns the major version </p>
<p class="reference">Referenced by <a class="el" href="classSTOFFParserState.html#a0e904b191a5ee20d2a18c7e15d8e5aca">STOFFParserState::STOFFParserState()</a>.</p>
</div>
</div>
<a id="a35e9943c3aac7095f5cb4f6173aadb98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35e9943c3aac7095f5cb4f6173aadb98">◆ </a></span>isEncrypted()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool STOFFHeader::isEncrypted </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>returns true if the file is encypted </p>
</div>
</div>
<a id="a2d9808909f1bc39a8993362903d45d17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d9808909f1bc39a8993362903d45d17">◆ </a></span>reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void STOFFHeader::reset </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>vers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> </td>
<td class="paramname"><em>kind</em> = <code><a class="el" href="classSTOFFDocument.html#a3bb6791a5a9bbcd698b8e2473961ba8dabf8b2ecc0f301684dbcdba54f6da2866">STOFFDocument::STOFF_K_TEXT</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>resets the data </p>
<p class="reference">Referenced by <a class="el" href="classSDAParser.html#abfff9b49f8ee54adf81f8b99c4ea0fab">SDAParser::checkHeader()</a>, <a class="el" href="classSDWParser.html#aafd68cbff3fa588d680b7b4ba9dc351e">SDWParser::checkHeader()</a>, <a class="el" href="classSDGParser.html#acd22fe9e14967a2c8d8aa2c4752ba5b4">SDGParser::checkHeader()</a>, and <a class="el" href="classSDCParser.html#a56fb58f29f47831a453f10ec0a171800">SDCParser::checkHeader()</a>.</p>
</div>
</div>
<a id="a062f3ee242552a01f1214b1800c69f3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a062f3ee242552a01f1214b1800c69f3d">◆ </a></span>setEncrypted()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void STOFFHeader::setEncrypted </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>encrypted</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>set the encryption mode </p>
<p class="reference">Referenced by <a class="el" href="classSDAParser.html#abfff9b49f8ee54adf81f8b99c4ea0fab">SDAParser::checkHeader()</a>, <a class="el" href="classSDWParser.html#aafd68cbff3fa588d680b7b4ba9dc351e">SDWParser::checkHeader()</a>, and <a class="el" href="classSDCParser.html#a56fb58f29f47831a453f10ec0a171800">SDCParser::checkHeader()</a>.</p>
</div>
</div>
<a id="a3d7ec418b09eb4ba47c08c775cd417dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d7ec418b09eb4ba47c08c775cd417dc">◆ </a></span>setKind()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void STOFFHeader::setKind </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> </td>
<td class="paramname"><em>kind</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>sets the document kind </p>
</div>
</div>
<a id="a81db12450eb6dc036559062671ad5565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81db12450eb6dc036559062671ad5565">◆ </a></span>setVersion()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void STOFFHeader::setVersion </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>version</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>sets the major version </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aaf386c9574949a933b202b3bff6a1e16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf386c9574949a933b202b3bff6a1e16">◆ </a></span>m_docKind</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSTOFFHeader.html#a5c5c6bca568a3ba9b74cc12d428c2cb8">Kind</a> STOFFHeader::m_docKind</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>the document kind </p>
<p class="reference">Referenced by <a class="el" href="classSTOFFHeader.html#a230197c2d1912c2bed613bd77f2ad32d">getKind()</a>, <a class="el" href="classSTOFFHeader.html#a2d9808909f1bc39a8993362903d45d17">reset()</a>, and <a class="el" href="classSTOFFHeader.html#a3d7ec418b09eb4ba47c08c775cd417dc">setKind()</a>.</p>
</div>
</div>
<a id="a12f6c8cb22c9519d1cfc6e4845a10267"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12f6c8cb22c9519d1cfc6e4845a10267">◆ </a></span>m_isEncrypted</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool STOFFHeader::m_isEncrypted</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>flag to know if the file is encrypted </p>
<p class="reference">Referenced by <a class="el" href="classSTOFFHeader.html#a35e9943c3aac7095f5cb4f6173aadb98">isEncrypted()</a>, and <a class="el" href="classSTOFFHeader.html#a062f3ee242552a01f1214b1800c69f3d">setEncrypted()</a>.</p>
</div>
</div>
<a id="a1dc93600c6ff5668ce5ad091d7c55061"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dc93600c6ff5668ce5ad091d7c55061">◆ </a></span>m_version</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int STOFFHeader::m_version</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>the document version </p>
<p class="reference">Referenced by <a class="el" href="classSTOFFHeader.html#add617a8b494589bfbab0a1fb1ee15d7f">getVersion()</a>, <a class="el" href="classSTOFFHeader.html#a2d9808909f1bc39a8993362903d45d17">reset()</a>, and <a class="el" href="classSTOFFHeader.html#a81db12450eb6dc036559062671ad5565">setVersion()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="STOFFHeader_8hxx_source.html">STOFFHeader.hxx</a></li>
<li><a class="el" href="STOFFHeader_8cxx.html">STOFFHeader.cxx</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr size="1"><address style="align: right;"><small>
Generated on Wed Nov 8 2017 17:52:38 for libstaroffice by <a href="http://www.doxygen.org/index.html">
doxygen</a> 1.8.13</small></address>
</body>
</html>
|