<html> <head> <title>Service ExportFilter</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="ExportFilter-xref.html" class="navimain">Use</a></td> <td class="navimain"><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component" class="navimain">Devguide</a></td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Included Services</td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">xml</a> :: </p> </td> </tr> <tr> <td class="title">service ExportFilter</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>describes an export filter for XML-based file formats. </dd> <dd><p>First, the <method>XExportFilter::exporter</method> method must be called to provide the export component with the target location to which the data should be exported. Then, the source document's XML representation will be generated by calling the appropriate methods of the ::com::sun::star::xml::<a href="sax/module-ix.html">sax</a>::<a href="sax/XDocumentHandler.html">XDocumentHandler</a> interface. Error conditions must be signalled by throwing a ::com::sun::star::xml::<a href="sax/module-ix.html">sax</a>::<a href="sax/SAXException.html">SAXException</a> in the ::com::sun::star::xml::<a href="sax/module-ix.html">sax</a>::<a href="sax/XDocumentHandler.html">XDocumentHandler</a> calls. </dd> <dt><b/></dt> <dd/></dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component">OfficeDev - Writing the Filtering Component</a></dd> </dl> </td> </tr> </table> <hr> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::xml::<a href="sax/module-ix.html">sax</a>::<a href="sax/XDocumentHandler.html">XDocumentHandler</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>The data will be passed in through the ::com::sun::star::xml::<a href="sax/module-ix.html">sax</a>::<a href="sax/XDocumentHandler.html">XDocumentHandler</a> calls. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XExportFilter.html">XExportFilter</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>The <method>XExportFilter:exporter()</method> call will provide the ::com::sun::star::<a href="../document/module-ix.html">document</a>::<a href="../document/TypeDetection.html">TypeDetection</a> user data required to perform the filtering correctly. </dd> </dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>