User Defined Borders in Text Documents/text/swriter/guide/borders.xhpborders;for text tablescells;borders in text tablesdefining;table borders in Writerframes;around text tablestables;defining bordersMW changed "text tables;" to "tables;"User Defined Borders in Text Documents
You can apply a variety of different cell borders to selected cells in a Writer table and to the whole table. Other objects in text documents can have user defined borders, too. For example, you can assign borders to page styles, to frames, and to inserted pictures or charts.Select the cell or a block of cells in a Writer table.Choose Table - Table properties.In the dialog, click the Borders tab.Choose the border options you want to apply and click OK.The options in the Line arrangement area can be used to apply multiple border styles.Selection of cellsDepending on the selection of cells, the area looks different.
SelectionLine arrangement areaOne cell selected in a table of more that one cell size, or cursor inside a table with no cell selectedone cell borderA one cell table, the cell is selectedone selected cell borderCells in a column selectedcolumn selected borderCells in a row selectedrow selected borderA whole table of 2x2 or more cells selectedblock selected border
Default settingsClick one of the Default icons to set or reset multiple borders.The thin gray lines inside an icon show the borders that will be reset or cleared.The dark lines inside an icon show the lines that will be set using the selected line style and color.The thick gray lines inside an icon show the lines that will not be changed.ExamplesSelect a block of about 8x8 cells, then choose Format - Cells - Borders.default icons for bordersClick the left icon to clear all lines. This removes all outer borders and all inner lines.Click the second icon from the left to set an outer border and to remove all other lines.Click the rightmost icon to set an outer border. The inner lines are not changed.Now you can continue to see which lines the other icons will set or remove.User defined settingsIn the User defined area, you can click to set or remove individual lines. The preview shows lines in three different states.Repeatedly click an edge or a corner to switch through the three different states.
Line typesImageMeaningA black linesolid line for borderA black line sets the corresponding line of the selected cells. The line is shown as a dotted line when you choose the 0.05 pt line style. Double lines are shown when you select a double line style.A gray linegray line for borderA gray line is shown when the corresponding line of the selected cells will not be changed. No line will be set or removed at this position.A white linewhite line for borderA white line is shown when the corresponding line of the selected cells will be removed.
ExamplesSelect a single cell in a Writer table, then choose Table - Table properties - Borders.Select a thick line style.To set a lower border, click the lower edge repeatedly until you see a thick line.setting thick lower borderAll cells in a Writer table have at least a left and a lower line by default. Most cells on the table perimeter have more lines applied by default.All lines that are shown in white in the preview will be removed from the cell.