<html> <head> <title>Interface XDataInterpreter</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="XDataInterpreter-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</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"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub">Attributes' 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">chart2</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">interface XDataInterpreter</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>offers tooling to interpret different data sources in a structural and chart-type-dependent way. </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#interpretDataSource">interpretDataSource</a></td> <td class="imsum_right">Interprets the given data. </td> </tr> <tr> <td class="imsum_left"><a href="#reinterpretDataSeries">reinterpretDataSeries</a></td> <td class="imsum_right">Re-interprets the data given in <code>aInterpretedData</code> while keeping the number of data series and the categories. </td> </tr> <tr> <td class="imsum_left"><a href="#isDataCompatible">isDataCompatible</a></td> <td class="imsum_right">parses the given data and states, if a <a href="#reinterpretDataSeries">reinterpretDataSeries</a> call can be done without data loss. </td> </tr> <tr> <td class="imsum_left"><a href="#mergeInterpretedData">mergeInterpretedData</a></td> <td class="imsum_right">Try to reverse the operation done in <a href="#interpretDataSource">interpretDataSource</a>. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="interpretDataSource" class="membertitle">interpretDataSource</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="InterpretedData.html">InterpretedData</a></td> </tr> <tr> <td valign="top"><b>interpretDataSource</b>(</td> <td valign="top">[in] ::com::sun::star::chart2::<a href="data/module-ix.html">data</a>::<a href="data/XDataSource.html">XDataSource</a></td> <td valign="bottom"> xSource,</td> </tr> <tr> <td/><td valign="top">[in] sequence< ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/PropertyValue.html">PropertyValue</a> ></td> <td valign="bottom"> aArguments,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="XDataSeries.html">XDataSeries</a> ></td> <td valign="bottom"> aSeriesToReUse );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Interprets the given data. </dd> <dt><b>Parameter aArguments</b></dt> <dd>Arguments that tell the template how to slice the given range. The properties should be defined in a separate service. <p>For standard parameters that may be used, see the service <a href="StandardDiagramCreationParameters.html">StandardDiagramCreationParameters</a>. </p> </dd> <dt><b>Parameter aSeriesToReUse</b></dt> <dd>use all the data series given here for the result before creating new ones. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="reinterpretDataSeries" class="membertitle">reinterpretDataSeries</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="InterpretedData.html">InterpretedData</a></td> </tr> <tr> <td valign="top"><b>reinterpretDataSeries</b>(</td> <td valign="top">[in] <a href="InterpretedData.html">InterpretedData</a></td> <td valign="bottom"> aInterpretedData );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Re-interprets the data given in <code>aInterpretedData</code> while keeping the number of data series and the categories. </dd> <dd><p>the data passed in <a href="InterpretedData.html">InterpretedData</a>::<a href="InterpretedData.html#UnusedData">UnusedData</a> may be used to be added to existing <a href="DataSeries.html">DataSeries</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="isDataCompatible" class="membertitle">isDataCompatible</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">boolean</td> </tr> <tr> <td valign="top"><b>isDataCompatible</b>(</td> <td valign="top">[in] <a href="InterpretedData.html">InterpretedData</a></td> <td valign="bottom"> aInterpretedData );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>parses the given data and states, if a <a href="#reinterpretDataSeries">reinterpretDataSeries</a> call can be done without data loss. </dd> <dd><p>if this method returns <b>true</b>, a call to <a href="#reinterpretDataSeries">reinterpretDataSeries</a> should leave the <a href="InterpretedData.html">InterpretedData</a>::<a href="InterpretedData.html#UnusedData">UnusedData</a> list untouched.</p> </dd> <dt><b>Returns</b></dt> <dd><b>true</b>, if the data given in <code>aInterpretedData</code> has a similar structure than the one required is used as output of the data interpreter. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="mergeInterpretedData" class="membertitle">mergeInterpretedData</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">::com::sun::star::chart2::<a href="data/module-ix.html">data</a>::<a href="data/XDataSource.html">XDataSource</a></td> </tr> <tr> <td valign="top"><b>mergeInterpretedData</b>(</td> <td valign="top">[in] <a href="InterpretedData.html">InterpretedData</a></td> <td valign="bottom"> aInterpretedData );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Try to reverse the operation done in <a href="#interpretDataSource">interpretDataSource</a>. </dd> <dd><p>In case <code>aInterpretedData</code> is the result of <a href="#interpretDataSource">interpretDataSource</a>( <code>xSource</code> ), the result of this method should be <code>xSource</code>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> </table> <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>