19.14.6. Cell settings


This group of XLS-CSS attributes defines the cell properties.
Expand
xls-alignment
The alignment of the cell value. (See jxl.format.Alignment.)
xls-force-type
A string value determining the forced type of data in the cell. Valid values are general, number, text, date, formula, and bool. The type is automatically detected so there is rarely any use for this attribute.
xls-format-mask
The format mask of the cell. (See Section 19.6.2, “Format masks”.)
xls-indentation
A number value determining the indentation of the cell's contents.
xls-locked
Determines whether a cell is locked. Used with workbook level locked. Valid values are true or false.
xls-orientation
The orientation of the cell value. (See jxl.format.Orientation.)
xls-vertical-alignment
The vertical alignment of the cell value. (See jxl.format.VerticalAlignment.)
xls-shrink-to-fit
Determines whether cell values shrink to fit. Valid values are true and false.
xls-wrap
Determines whether the cell wraps new lines. Valid values are true and false.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat