service CellProperties in module com::sun::star::table::

(Global Index)

Syntax

service CellProperties;

Description

service that holds all cell properties.

See also

Cell

Exported Interfaces

com::sun::star::beans::XPropertySet

Description

provides information about and access to the properties from an implementation.


Property Summary

CellStyle contains the name of the style of the cell.

CellBackColor contains the cell background color.

IsCellBackgroundTransparent If this property is true , the cell background is transparent, and the CellProperties::CellBackColor value is not used.

NumberFormat contains the index of the number format that is used in the cells.

ShadowFormat contains a description of the shadow.

HoriJustify property containing the horizontal alignment of text within the cells.

VertJustify property containing the vertical alignment of text within the cells.

Orientation property containing the orientation of text within the cells.

CellProtection contains a description of the cell protection.

TableBorder property containing a description of the cell border.

IsTextWrapped property is true if text in the cells is wrapped.

RotateAngle defines how much the content of cells is rotated (1/100th degrees).

RotateReference defines at which edge rotated cells are aligned.

Property Details



CellStyle

Syntax

string CellStyle;

Description

contains the name of the style of the cell.


CellBackColor

Syntax

long CellBackColor;

Description

contains the cell background color.


IsCellBackgroundTransparent

Syntax

boolean IsCellBackgroundTransparent;

Description

If this property is true , the cell background is transparent, and the CellProperties::CellBackColor value is not used.


NumberFormat

Syntax

long NumberFormat;

Description

contains the index of the number format that is used in the cells.

The proper value can be determined by using the NumberFormatter interface of the document.


ShadowFormat

Syntax

com::sun::star::table::ShadowFormat ShadowFormat;

Description

contains a description of the shadow.


HoriJustify

Syntax

com::sun::star::table::CellHoriJustify HoriJustify;

Description

property containing the horizontal alignment of text within the cells.


VertJustify

Syntax

com::sun::star::table::CellVertJustify VertJustify;

Description

property containing the vertical alignment of text within the cells.


Orientation

Syntax

com::sun::star::table::CellOrientation Orientation;

Description

property containing the orientation of text within the cells.

If the CellProperties::RotateAngle property is non-zero, this value is not used.


CellProtection

Syntax

com::sun::star::util::CellProtection CellProtection;

Description

contains a description of the cell protection.

Cell protection is active only if the sheet is protected.


TableBorder

Syntax

com::sun::star::table::TableBorder TableBorder;

Description

property containing a description of the cell border.

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.


IsTextWrapped

Syntax

boolean IsTextWrapped;

Description

property is true if text in the cells is wrapped.


RotateAngle

Syntax

long RotateAngle;

Description

defines how much the content of cells is rotated (1/100th degrees).


RotateReference

Syntax

com::sun::star::table::CellVertJustify RotateReference;

Description

defines at which edge rotated cells are aligned.

Top of Page