Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 7948

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Struct SearchResult</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="SearchResult-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="#Elements" class="navisub">Elements' Summary</a></td>
<td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></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">util</a> :: </p>
</td>
</tr>
<tr>
<td class="title">struct SearchResult</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl></dl>
</td>
</tr>
</table>
<hr>
<a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Elements' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#subRegExpressions">subRegExpressions</a></td>
<td class="imsum_right">Number of subexpressions,
 if it is 0, then no match found; this value is 1 for ABSOLUTE and APPROXIMATE match.
 The start and endOffset are always dependent on the search direction.
 For example:
 if you search "X" in the text "-X-" the offset are:
 for forward: start = 1, end = 2
 for backward: start = 2, end = 1
 Forward, the startOffset is inclusive, the endOffset exclusive.
 Backward, the startOffset is exclusive, the endOffset inclusive.

 For regular expressions it can be greater than 1.
 If the value is 1, startoffset[0] and endoffset[0] points to the matching sub string
 if value is > 1, still startoffset[0] and endoffset[0] points to the matching substring for whole regular expression
 startoffset[i] and endoffset[i] points to the matching substring of i th matching substring.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#startOffset">startOffset</a></td>
<td class="imsum_right">&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#endOffset">endOffset</a></td>
<td class="imsum_right">&nbsp;</td>
</tr>
</table>
<a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Elements' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="subRegExpressions" class="membertitle">subRegExpressions</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>long <b>subRegExpressions</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Number of subexpressions,
 if it is 0, then no match found; this value is 1 for ABSOLUTE and APPROXIMATE match.
 The start and endOffset are always dependent on the search direction.
 For example:
 if you search "X" in the text "-X-" the offset are:
 for forward: start = 1, end = 2
 for backward: start = 2, end = 1
 Forward, the startOffset is inclusive, the endOffset exclusive.
 Backward, the startOffset is exclusive, the endOffset inclusive.

 For regular expressions it can be greater than 1.
 If the value is 1, startoffset[0] and endoffset[0] points to the matching sub string
 if value is > 1, still startoffset[0] and endoffset[0] points to the matching substring for whole regular expression
 startoffset[i] and endoffset[i] points to the matching substring of i th matching substring.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="startOffset" class="membertitle">startOffset</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>sequence&lt; long &gt; <b>startOffset</b>;<hr>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="endOffset" class="membertitle">endOffset</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>sequence&lt; long &gt; <b>endOffset</b>;<hr>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>