Location: PHPKode > projects > Aukyla Document Management System > doc/html/a00133.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>Aukyla PHP Framework</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="StyleSheet" href="auton.css" type="text/css" media="screen">
  </head>

  <body>
    <div id="mainmenu">
      <a href="http://www.auton.nl/" class="home">Home</a>
    </div>
    <div id="submenu">
      <a class="logo" href="http://www.auton.nl/"></a>

      <div class="head">Ads</div>
      <a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=116358&amp;type=1" alt="SourceForge.net Logo" style="padding: 2px 4px; width: 88px; height: 31px; border: 0px"></a>
      <a href="http://getfirefox.com/" title="Get Firefox - The Browser, Reloaded."><img src="http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png" alt="Get Firefox" style="width: 110px; height: 32px; border: 0px"></a>
    </div>
    <div id="main">
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>OpenOffice Class Reference</h1><a href="a00059.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Class for converting and creating OpenOffice.org documents. 
<p>

<p>
Definition at line <a class="el" href="a00228.html#l00029">29</a> of file <a class="el" href="a00228.html">OpenOffice.php</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00133.html#e0">convertXHTML2SXW</a> ($xhtmlDoc, $openofficeDoc)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00133.html#e1">convertSXW2XHTML</a> ($openofficeDoc, $xhtmlDoc)</td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e1" doxytag="OpenOffice::convertSXW2XHTML"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">OpenOffice::convertSXW2XHTML           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>openofficeDoc</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>xhtmlDoc</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Converts an OpenOffice.org document to an <a class="el" href="a00169.html">XHTML</a> document. Any images contained in the OpenOffice.org document will be placed in a Pictures/ subdirectory in the destination directory of the <a class="el" href="a00169.html">XHTML</a> document.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>openofficeDoc</em>&nbsp;</td><td>The OpenOffice.org document used as source for the conversion. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xhtmlDoc</em>&nbsp;</td><td>The filename for the resulting <a class="el" href="a00169.html">XHTML</a> document. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> otherwise.</dd></dl>

<p>
Definition at line <a class="el" href="a00228.html#l00118">118</a> of file <a class="el" href="a00228.html">OpenOffice.php</a>.
<p>
References <a class="el" href="a00237.html#l01038">URI::fileExists()</a>, <a class="el" href="a00237.html#l00754">URI::mkdir()</a>, and <a class="el" href="a00237.html#l00647">URI::permissions()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0" doxytag="OpenOffice::convertXHTML2SXW"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">OpenOffice::convertXHTML2SXW           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>xhtmlDoc</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>openofficeDoc</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Converts an <a class="el" href="a00169.html">XHTML</a> document to an OpenOffice.org document. Any images in a Pictures/ subdirectory in the source directory of the <a class="el" href="a00169.html">XHTML</a> document will be assumed to be part of the document and will be included in the OpenOffice.org document.<p>
<dl compact><dt><b>Note:</b></dt><dd>Saving OpenOffice.org documents is still highly experimental.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xhtmlDoc</em>&nbsp;</td><td>The <a class="el" href="a00169.html">XHTML</a> document used as source for the conversion. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>openofficeDoc</em>&nbsp;</td><td>The filename for the resulting OpenOffice.org document. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> otherwise.</dd></dl>

<p>
Definition at line <a class="el" href="a00228.html#l00045">45</a> of file <a class="el" href="a00228.html">OpenOffice.php</a>.
<p>
References <a class="el" href="a00237.html#l01038">URI::fileExists()</a>, and <a class="el" href="a00237.html#l00647">URI::permissions()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00228.html">OpenOffice.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Document Management System