<html> <head> <title>Service CellProperties</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="CellProperties-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">Included Services</td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' 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">table</a> :: </p> </td> </tr> <tr> <td class="title">service CellProperties</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>contains the properties of a table cell. </dd> <dt><b>See also</b></dt> <dd><a href="Cell.html">Cell</a>, <a href="CellRange.html">CellRange</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::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>provides access to the properties. </dd> </dl> </td> </tr> </table> <a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">string<br> <a href="#CellStyle">CellStyle</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>contains the name of the style of the cell. </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/Color.html">Color</a><br> <a href="#CellBackColor">CellBackColor</a></td> <td class="imsum_right">contains the cell background color. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#IsCellBackgroundTransparent">IsCellBackgroundTransparent</a></td> <td class="imsum_right">is <b>true</b>, if the cell background is transparent. </td> </tr> <tr> <td class="imsum_left"><a href="CellHoriJustify.html">CellHoriJustify</a><br> <a href="#HoriJustify">HoriJustify</a></td> <td class="imsum_right">contains the horizontal alignment of the cell contents. </td> </tr> <tr> <td class="imsum_left"><a href="CellVertJustify.html">CellVertJustify</a><br> <a href="#VertJustify">VertJustify</a></td> <td class="imsum_right">contains the vertical alignment of the cell contents. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#IsTextWrapped">IsTextWrapped</a></td> <td class="imsum_right">is <b>true</b>, if text in the cells will be wrapped automatically at the right border. </td> </tr> <tr> <td class="imsum_left">short<br> <a href="#ParaIndent">ParaIndent</a></td> <td class="imsum_right">defines the indentation of the cell contents (in 1/100 mm). </td> </tr> <tr> <td class="imsum_left"><a href="CellOrientation.html">CellOrientation</a><br> <a href="#Orientation">Orientation</a></td> <td class="imsum_right">contains the orientation of the cell contents. </td> </tr> <tr> <td class="imsum_left">long<br> <a href="#RotateAngle">RotateAngle</a></td> <td class="imsum_right">defines how much the content of cells is rotated (in 1/100 degrees). </td> </tr> <tr> <td class="imsum_left"><a href="CellVertJustify.html">CellVertJustify</a><br> <a href="#RotateReference">RotateReference</a></td> <td class="imsum_right">defines at which edge rotated cells are aligned. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#AsianVerticalMode">AsianVerticalMode</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>selects Asian character orientation in vertical orientation. </td> </tr> <tr> <td class="imsum_left"><a href="TableBorder.html">TableBorder</a><br> <a href="#TableBorder">TableBorder</a></td> <td class="imsum_right">contains a description of the cell or cell range border. </td> </tr> <tr> <td class="imsum_left"><a href="BorderLine.html">BorderLine</a><br> <a href="#TopBorder">TopBorder</a></td> <td class="imsum_right">contains a description of the top border line of each cell. </td> </tr> <tr> <td class="imsum_left"><a href="BorderLine.html">BorderLine</a><br> <a href="#BottomBorder">BottomBorder</a></td> <td class="imsum_right">contains a description of the bottom border line of each cell. </td> </tr> <tr> <td class="imsum_left"><a href="BorderLine.html">BorderLine</a><br> <a href="#LeftBorder">LeftBorder</a></td> <td class="imsum_right">contains a description of the left border line of each cell. </td> </tr> <tr> <td class="imsum_left"><a href="BorderLine.html">BorderLine</a><br> <a href="#RightBorder">RightBorder</a></td> <td class="imsum_right">contains a description of the right border line of each cell. </td> </tr> <tr> <td class="imsum_left">long<br> <a href="#NumberFormat">NumberFormat</a></td> <td class="imsum_right">contains the index of the number format that is used in the cells. </td> </tr> <tr> <td class="imsum_left"><a href="ShadowFormat.html">ShadowFormat</a><br> <a href="#ShadowFormat">ShadowFormat</a></td> <td class="imsum_right">contains a description of the shadow. </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/CellProtection.html">CellProtection</a><br> <a href="#CellProtection">CellProtection</a></td> <td class="imsum_right">contains a description of the cell protection. </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNameContainer.html">XNameContainer</a><br> <a href="#UserDefinedAttributes">UserDefinedAttributes</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>stores additional attributes. </td> </tr> <tr> <td class="imsum_left"><a href="BorderLine.html">BorderLine</a><br> <a href="#DiagonalTLBR">DiagonalTLBR</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>contains a description of the top left to bottom right diagonal line of each cell. </td> </tr> <tr> <td class="imsum_left"><a href="BorderLine.html">BorderLine</a><br> <a href="#DiagonalBLTR">DiagonalBLTR</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>contains a description of the bottom left to top right diagonal line of each cell. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#ShrinkToFit">ShrinkToFit</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>is <b>true</b>, if the cell content will be shrinked to fit in the cell. </td> </tr> </table> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="CellStyle" class="membertitle">CellStyle</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>CellStyle</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>contains the name of the style of the cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CellBackColor" class="membertitle">CellBackColor</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/Color.html">Color</a> <b>CellBackColor</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the cell background color. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="IsCellBackgroundTransparent" class="membertitle">IsCellBackgroundTransparent</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>IsCellBackgroundTransparent</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>is <b>true</b>, if the cell background is transparent. </dd> <dd><p>In this case the <a href="CellProperties.html">CellProperties</a>::<a href="CellProperties.html#CellBackColor">CellBackColor</a> value is not used.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="HoriJustify" class="membertitle">HoriJustify</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="CellHoriJustify.html">CellHoriJustify</a> <b>HoriJustify</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the horizontal alignment of the cell contents. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="VertJustify" class="membertitle">VertJustify</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="CellVertJustify.html">CellVertJustify</a> <b>VertJustify</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the vertical alignment of the cell contents. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="IsTextWrapped" class="membertitle">IsTextWrapped</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>IsTextWrapped</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>is <b>true</b>, if text in the cells will be wrapped automatically at the right border. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ParaIndent" class="membertitle">ParaIndent</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>ParaIndent</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>defines the indentation of the cell contents (in 1/100 mm). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Orientation" class="membertitle">Orientation</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="CellOrientation.html">CellOrientation</a> <b>Orientation</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the orientation of the cell contents. </dd> <dd><p>If the <a href="CellProperties.html">CellProperties</a>::<a href="CellProperties.html#RotateAngle">RotateAngle</a> property is non-zero, this value is not used.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="RotateAngle" class="membertitle">RotateAngle</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>RotateAngle</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>defines how much the content of cells is rotated (in 1/100 degrees). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="RotateReference" class="membertitle">RotateReference</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="CellVertJustify.html">CellVertJustify</a> <b>RotateReference</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>defines at which edge rotated cells are aligned. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="AsianVerticalMode" class="membertitle">AsianVerticalMode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>AsianVerticalMode</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>selects Asian character orientation in vertical orientation. </dd> <dd><p>If the <a href="CellProperties.html">CellProperties</a>::<a href="CellProperties.html#Orientation">Orientation</a> property is <b>CellOrientation::STACKED</b>, in Asian mode only Asian characters are printed in horizontal orientation instead of all characters. For other values of <a href="CellProperties.html">CellProperties</a>::<a href="CellProperties.html#Orientation">Orientation</a>, this value is not used.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="TableBorder" class="membertitle">TableBorder</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="TableBorder.html">TableBorder</a> <b>TableBorder</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the cell or cell range border. </dd> <dd><p>If used with a cell range, the top, left, right, and bottom lines are at the edges of the entire range, not at the edges of the individual cell.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="TopBorder" class="membertitle">TopBorder</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="BorderLine.html">BorderLine</a> <b>TopBorder</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the top border line of each cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BottomBorder" class="membertitle">BottomBorder</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="BorderLine.html">BorderLine</a> <b>BottomBorder</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the bottom border line of each cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="LeftBorder" class="membertitle">LeftBorder</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="BorderLine.html">BorderLine</a> <b>LeftBorder</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the left border line of each cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="RightBorder" class="membertitle">RightBorder</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="BorderLine.html">BorderLine</a> <b>RightBorder</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the right border line of each cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="NumberFormat" class="membertitle">NumberFormat</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>NumberFormat</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the index of the number format that is used in the cells. </dd> <dd><p>The proper value can be determined by using the ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/NumberFormatter.html">NumberFormatter</a> interface of the document.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ShadowFormat" class="membertitle">ShadowFormat</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="ShadowFormat.html">ShadowFormat</a> <b>ShadowFormat</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the shadow. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CellProtection" class="membertitle">CellProtection</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/CellProtection.html">CellProtection</a> <b>CellProtection</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a description of the cell protection. </dd> <dd><p>Cell protection is active only if the sheet is protected.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="UserDefinedAttributes" class="membertitle">UserDefinedAttributes</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNameContainer.html">XNameContainer</a> <b>UserDefinedAttributes</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>stores additional attributes. </dd> <dd><p>This property is used i.e. by the XML filters to load and restore unknown attributes.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DiagonalTLBR" class="membertitle">DiagonalTLBR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="BorderLine.html">BorderLine</a> <b>DiagonalTLBR</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>contains a description of the top left to bottom right diagonal line of each cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DiagonalBLTR" class="membertitle">DiagonalBLTR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="BorderLine.html">BorderLine</a> <b>DiagonalBLTR</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>contains a description of the bottom left to top right diagonal line of each cell. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ShrinkToFit" class="membertitle">ShrinkToFit</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>ShrinkToFit</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>is <b>true</b>, if the cell content will be shrinked to fit in the cell. </dd> </dl> </td> </tr> </table> </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>