Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1a4f471b66d1a9341a524feaa542bb65 > files > 13

libwps-doc-0.2.0-1.fc15.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>libwps: WPSDocument.h Source File documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Main&#160;Page</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 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 class="header">
  <div class="headertitle">
<h1>WPSDocument.h</h1>  </div>
</div>
<div class="contents">
<a href="WPSDocument_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* libwps</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 2003-2005 William Lachance (william.lachance@sympatico.ca)</span>
<a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2003 Marc Maurer (uwog@uwog.net)</span>
<a name="l00004"></a>00004 <span class="comment"> *  </span>
<a name="l00005"></a>00005 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00006"></a>00006 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
<a name="l00007"></a>00007 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00008"></a>00008 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00013"></a>00013 <span class="comment"> * Library General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
<a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * For further information visit http://libwps.sourceforge.net</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef WPSDOCUMENT_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define WPSDOCUMENT_H</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;libwpd-stream/WPXStream.h&gt;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a><a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004">00028</a> <span class="keyword">enum</span> <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004">WPSConfidence</a> { <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004aadc2ff6093373a47c77e61ea8df00a83">WPS_CONFIDENCE_NONE</a>=0, <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004a964b0d1f041d90d20d9562930e96e912">WPS_CONFIDENCE_POOR</a>, <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004aecf418c2269a292e03a019868402be31">WPS_CONFIDENCE_LIKELY</a>, <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004a9dd30b95a3c54798fc37e7deb1761c63">WPS_CONFIDENCE_GOOD</a>, <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004a48fd6016a3779f3ca031a9ee1b793f65">WPS_CONFIDENCE_EXCELLENT</a> };
<a name="l00029"></a><a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31">00029</a> <span class="keyword">enum</span> <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31">WPSResult</a> { <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31a46b785be55147ba5d6bf3112f8638065">WPS_OK</a>, <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31a03494dcb497a0bcef95f6f24b2950c55">WPS_FILE_ACCESS_ERROR</a>, <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31acaa4d84a222f3bcf54f934ffe1b68129">WPS_PARSE_ERROR</a>, <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31a750009e2a5327e691b097bbb47cc34f3">WPS_OLE_ERROR</a>, <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31acea9b6ea9f867b48457e37748be4be84">WPS_UNKNOWN_ERROR</a> };
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">class </span>WPXDocumentInterface;
<a name="l00032"></a>00032 
<a name="l00038"></a><a class="code" href="classWPSDocument.html">00038</a> <span class="keyword">class </span><a class="code" href="classWPSDocument.html" title="This class provides all the functions an application would need to parse Works documents.">WPSDocument</a>
<a name="l00039"></a>00039 {
<a name="l00040"></a>00040 <span class="keyword">public</span>:
<a name="l00041"></a>00041         <span class="keyword">static</span> <a class="code" href="WPSDocument_8h.html#acda7c59188729c6946337bc699cbd004">WPSConfidence</a> <a class="code" href="classWPSDocument.html#a348f2c570153c7826fb77c4d74a4a4ec" title="Analyzes the content of an input stream to see if it can be parsed.">isFileFormatSupported</a>(WPXInputStream *input);
<a name="l00042"></a>00042         <span class="keyword">static</span> <a class="code" href="WPSDocument_8h.html#af7225176f4a213df407623fcc9ddfe31">WPSResult</a> <a class="code" href="classWPSDocument.html#aad2d9e4d9a4fe6a930c2f4d045871fff" title="Parses the input stream content.">parse</a>(WPXInputStream *input, WPXDocumentInterface *documentInterface);
<a name="l00043"></a>00043 };
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="preprocessor">#endif </span><span class="comment">/* WPSDOCUMENT_H */</span>
</pre></div></div>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Sun Dec 5 2010 16:52:36 for libwps by <a href="http://www.doxygen.org/index.html">
doxygen</a> 1.7.2</small></address>
</body>
</html>