Sophie

Sophie

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

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

<html>
<head>
<title>Interface XPaneBorderPainter</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="XPaneBorderPainter-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">Attributes' Summary</td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></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">drawing</a> :: <a href="module-ix.html" class="namechain">framework</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 XPaneBorderPainter</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>not published</i></dd>
<dt><b>Description</b></dt>
<dd>Paint the border around a rectangular region, typically a pane.
 
 </dd>
<dd><p>Calling objects have to be able to derive inner bounding boxs of the
 border from the outer ones and inner ones from outer ones. This
 conversion and the painting of the border involves three rectangles.
 The inner and outer bounding box of the border. This is a logical
 bounding box which the paint methods may paint over. The center box is
 the third rectangle. This is the actual border between outer and inner
 background color or bitmap and it is used for placing the bitmaps that are used
 paint the border. The inner sides and corners are places relative to
 this center box, i.e. when not further offsets are given then the upper
 left corner bitmap is painted with its lower right at the upper left of
 the center box.</p>
</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="#addBorder">addBorder</a></td>
<td class="imsum_right">Enlarge the given rectangle by the size of the specified part of the
 border. This method can be used to convert an inner bounding box
 into the center box or the outer bounding box.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeBorder">removeBorder</a></td>
<td class="imsum_right">Shring the given rectangle by the size of the specified part of the
 border. This method can be used to convert an outer bounding box
 into the center box or the inner bounding box.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#paintBorder">paintBorder</a></td>
<td class="imsum_right">Paint the border around a pane.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#paintBorderWithCallout">paintBorderWithCallout</a></td>
<td class="imsum_right">Paint the border around a pane where the border includes a callout
 that is anchored at the given point. Most arguments have the same
 meaning as in the <method>paintBorder</method>.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getCalloutOffset">getCalloutOffset</a></td>
<td class="imsum_right">Return the offset of a callout anchor with respect to the outer
 border. This value is used when the callout is realized by a fixed
 bitmap in order to determine the size and/or location of the outer
 border for a given callout.
 &nbsp;</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="addBorder" class="membertitle">addBorder</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::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
</tr>
<tr>
<td valign="top"><b>addBorder</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sPaneBorderStyleName,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;aRectangle,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="BorderType.html">BorderType</a></td>
<td valign="bottom">&nbsp;eBorderType );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Enlarge the given rectangle by the size of the specified part of the
 border. This method can be used to convert an inner bounding box
 into the center box or the outer bounding box.
 </dd>
<dt><b>Parameter sPaneBorderStyleName</b></dt>
<dd>The pane style defines the sizes of the border.
 </dd>
<dt><b>Parameter aRectangle</b></dt>
<dd>This rectangle will be converted into a larger one. This should
 be the center box or the inner bounding box of the border.
 </dd>
<dt><b>Parameter eBorderType</b></dt>
<dd>The part of the border to add to the given rectangle.
 Use INNER_BORDER to convert an inner bounding box into the
 center box or TOTAL_BORDER to convert it into the outer bounding
 box. OUTER_BORDER can be used to convert the center box into
 the outer bounding box.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeBorder" class="membertitle">removeBorder</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::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
</tr>
<tr>
<td valign="top"><b>removeBorder</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sPaneBorderStyleName,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;aRectangle,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="BorderType.html">BorderType</a></td>
<td valign="bottom">&nbsp;eBorderType );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Shring the given rectangle by the size of the specified part of the
 border. This method can be used to convert an outer bounding box
 into the center box or the inner bounding box.
 </dd>
<dt><b>Parameter sPaneBorderStyleName</b></dt>
<dd>The pane style defines the sizes of the border.
 </dd>
<dt><b>Parameter aRectangle</b></dt>
<dd>This rectangle will be converted into a smaller one that lies
 inside it. It should be the center box or the outer bounding
 box of the border.
 </dd>
<dt><b>Parameter eBorderType</b></dt>
<dd>The part of the border to remove from the given rectangle.
 Use OUTER_BORDER to convert an outer bounding box into the
 center box or TOTAL_BORDER to convert it into the inner bounding
 box. INNER_BORDER can be used to convert the center box into
 the inner bounding box.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="paintBorder" class="membertitle">paintBorder</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">void</td>
</tr>
<tr>
<td valign="top"><b>paintBorder</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sPaneBorderStyleName,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../rendering/module-ix.html">rendering</a>::<a href="../../rendering/XCanvas.html">XCanvas</a></td>
<td valign="bottom">&nbsp;xCanvas,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;aOuterBorderRectangle,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;aRepaintArea,</td>
</tr>
<tr>
<td/><td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sTitle );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Paint the border around a pane.
 </dd>
<dt><b>Parameter sPaneBorderStyleName</b></dt>
<dd>The pane style to use for painting the border.
 </dd>
<dt><b>Parameter xCanvas</b></dt>
<dd>The canvas onto which the border is painted.
 </dd>
<dt><b>Parameter aOuterBorderRectangle</b></dt>
<dd>The outer bounding box of the border. Use addBorder to convert
 the bounding box of a pane (the inner bounding box of the
 border) into this outer bounding box of the border.
 </dd>
<dt><b>Parameter aRepaintArea</b></dt>
<dd>The area in which the border has to be repainted. The clip
 rectangle.
 </dd>
<dt><b>Parameter sTitle</b></dt>
<dd>The pane title. Supply an empty string for panes without
 title. It is the responsibility of the caller to supply a title
 only for pane border styles that support a title.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="paintBorderWithCallout" class="membertitle">paintBorderWithCallout</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">void</td>
</tr>
<tr>
<td valign="top"><b>paintBorderWithCallout</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sPaneBorderStyleName,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../rendering/module-ix.html">rendering</a>::<a href="../../rendering/XCanvas.html">XCanvas</a></td>
<td valign="bottom">&nbsp;xCanvas,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;aOuterBorderRectangle,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;aRepaintArea,</td>
</tr>
<tr>
<td/><td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sTitle,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Point.html">Point</a></td>
<td valign="bottom">&nbsp;aCalloutAnchor );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Paint the border around a pane where the border includes a callout
 that is anchored at the given point. Most arguments have the same
 meaning as in the <method>paintBorder</method>.
 </dd>
<dt><b>Parameter aCalloutAnchor</b></dt>
<dd>The anchor point of the callout. It is usually located outside
 the border.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getCalloutOffset" class="membertitle">getCalloutOffset</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::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/Point.html">Point</a></td>
</tr>
<tr>
<td valign="top"><b>getCalloutOffset</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sPaneBorderStyleName );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Return the offset of a callout anchor with respect to the outer
 border. This value is used when the callout is realized by a fixed
 bitmap in order to determine the size and/or location of the outer
 border for a given callout.
 </dd>
</dl>
</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>