Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 9308

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>class OPropertyArrayHelper</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainself">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3">
<tr>
<td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
<tr>
<td width="20%"><font size="-2">PROTECTED MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<font size="-2">METHODS</font>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<a href="#prot_vars"><font size="-2"><b>DATA</b></font></a>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
<tr>
<td width="20%"><font size="-2">PRIVATE MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#priv_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<a href="#priv_vars"><font size="-2"><b>DATA</b></font></a>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
</table>
<hr>
<a href="../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="index.html" alt="namespace"><font size="+1"><b>cppu</b></font></a><font size="+1"> :: </font><div class="title"><h2>class OPropertyArrayHelper</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd><pre style="font-family:monospace;">
<span class="btpubl"><a href="c-IPropertyArrayHelper.html">IPropertyArrayHelper</a> (public)</span>
  |  
  +--<span class="btself">OPropertyArrayHelper</span>
</pre></dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd>None.</dd>
</dl>
<br>
<table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="25%" class="flagname">virtual</td>
<td width="25%" class="flagname">abstract</td>
<td width="25%" class="flagname">interface</td>
<td width="25%" class="flagname">template</td>
</tr>
<tr>
<td class="flagyes">YES</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<dl>
<dt>Summary</dt>
<dd><pre>You can use this helper class to map a XPropertySet-Interface to a XFast-
or a XMultiPropertySet interface.
</pre></dd>
</dl>
<dl>
<dt>File</dt>
<dd>propshlp.hxx</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td> <br>
<a href="OPropertyArrayHelper/o.html#OPropertyArrayHelper-3822">OPropertyArrayHelper</a>( ::com::sun::star::beans::Property * pProps, sal_Int32 nElements, sal_Bool bSorted = sal_True ) throw( );</td>
<td width="50%"> Create an object which supports the common property interfaces.

</td>
</tr>
<tr>
<td> <br>
<a href="OPropertyArrayHelper/o.html#OPropertyArrayHelper-3823">OPropertyArrayHelper</a>( const ::com::sun::star::uno::Sequence&lt; ::com::sun::star::beans::Property &gt; &amp; aProps, sal_Bool bSorted = sal_True ) throw( );</td>
<td width="50%"> Create an object which supports the common property interfaces.
</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="OPropertyArrayHelper/o.html#getCount-3824">getCount</a>( ) const throw( );</td>
<td width="50%"> Return the number of properties.
</td>
</tr>
<tr>
<td>virtual sal_Bool <br>
<a href="OPropertyArrayHelper/o.html#fillPropertyMembersByHandle-3825">fillPropertyMembersByHandle</a>( ::rtl::OUString * pPropName, sal_Int16 * pAttributes, sal_Int32 nHandle );</td>
<td width="50%"> Return the property members Name and Attribute from the handle nHandle.
</td>
</tr>
<tr>
<td>virtual ::com::sun::star::uno::Sequence&lt; ::com::sun::star::beans::Property &gt; <br>
<a href="OPropertyArrayHelper/o.html#getProperties-3826">getProperties</a>( void  );</td>
<td width="50%"> Return the sequence of properties. The sequence is sorted by name.
</td>
</tr>
<tr>
<td>virtual ::com::sun::star::beans::Property <br>
<a href="OPropertyArrayHelper/o.html#getPropertyByName-3827">getPropertyByName</a>( const ::rtl::OUString &amp; rPropertyName ) throw( ::com::sun::star::beans::UnknownPropertyException );</td>
<td width="50%"> Return the property with the name rPropertyName.
</td>
</tr>
<tr>
<td>virtual sal_Bool <br>
<a href="OPropertyArrayHelper/o.html#hasPropertyByName-3828">hasPropertyByName</a>( const ::rtl::OUString &amp; rPropertyName );</td>
<td width="50%"> Return true if the property with the name rPropertyName exist, otherwise false.
</td>
</tr>
<tr>
<td>virtual sal_Int32 <br>
<a href="OPropertyArrayHelper/o.html#getHandleByName-3829">getHandleByName</a>( const ::rtl::OUString &amp; rPropertyName );</td>
<td width="50%"> Return the handle of the property with the name rPropertyName.
If the property does not exist -1 is returned.
</td>
</tr>
<tr>
<td>virtual sal_Int32 <br>
<a href="OPropertyArrayHelper/o.html#fillHandles-3830">fillHandles</a>( sal_Int32 * pHandles, const ::com::sun::star::uno::Sequence&lt; ::rtl::OUString &gt; &amp; rPropNames );</td>
<td width="50%"> Fill the array with the handles of the properties.
</td>
</tr>
</table>
<hr>
</dd>
</dl>
<dl>
<dt class="subtitle"><a name="prot_"><h3>Protected Members</h3>
</a></dt>
<dd><a name="prot_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Data</h4>
</td>
</tr>
<tr bgcolor="white">
<td>void * <a href="OPropertyArrayHelper/d.html#m_pReserved"><strong>m_pReserved;</strong></a></td>
<td>reserved for future use. do not use.
</td>
</tr>
</table>
<hr>
</dd>
</dl>
<dl>
<dt class="subtitle"><a name="priv_"><h3>Private Members</h3>
</a></dt>
<dd><a name="priv_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td>void <br>
<a href="OPropertyArrayHelper/o.html#init-3832">init</a>( sal_Bool bSorted ) throw( );</td>
<td width="50%"> </td>
</tr>
</table>
<hr>
<a name="priv_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Data</h4>
</td>
</tr>
<tr bgcolor="white">
<td>::com::sun::star::uno::<a href="../com/sun/star/uno/c-Sequence.html">Sequence</a>&lt; ::com::sun::star::beans::Property &gt; <a href="OPropertyArrayHelper/d.html#aInfos"><strong>aInfos;</strong></a></td>
<td>The sequence generated from the pProperties array. </td>
</tr>
<tr bgcolor="white">
<td><a href="../t-sal_Bool.html">sal_Bool</a> <a href="OPropertyArrayHelper/d.html#bRightOrdered"><strong>bRightOrdered;</strong></a></td>
<td>True, If the values of the handles are sorted in the same way as the names
and the highest handle value is getCount() -1, otherwise false.
</td>
</tr>
</table>
<hr>
</dd>
</dl>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

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

</html>