In cells, cell ranges, table rows, table columns and cell ranges collections, the cells are formatted through the service com.sun.star.table.CellProperties. These properties are accessible through the interface com.sun.star.beans.XPropertySet that is supported by all the objects mentioned above. The service contains all properties that describe the cell formatting of the cell range, such as the cell background color, borders, the number format and the cell alignment. Changing the property values affects all cells of the object being formatted.
The cell border style is stored in the struct com.sun.star.table.TableBorder. A cell range contains six different kinds of border lines: upper, lower, left, right, horizontal inner, and vertical inner line. Each line is represented by a struct com.sun.star.table.BorderLine that contains the line style and color. The boolean members
Is...LineValid specifies the validity of the
...Line members containing the line style. If the property contains the value true, the line style is equal in all cells that include the line. The style is contained in the
...Line struct. The value false means the cells are formatted differently and the content of the
...Line struct is undefined. When changing the border property, these boolean values determine if the lines are changed to the style contained in the respective
|Content on this page is licensed under the Public Documentation License (PDL).|