Malas
Sets the border options for the selected objects in Writer or Calc.
You can specify the border position, size, and style in Writer or Calc. In LibreOffice Writer, you can add borders to pages, frames, graphics, tables, paragraphs, characters and to embedded objects.

To modify the border of an entire table, place the cursor in a table cell, right-click, choose Table, and then click the Borders tab. To modify the border of a table cell, select the cell, right-click, choose Table, and then click the Borders tab.
Line arrangement
Select a predefined border style to apply.
If you are in a table or spreadsheet, you can also add or remove predefined borders. Use the Borders icon on the Table Bar.
Līnija
Click the border style that you want to apply. The style is applied to the borders selected in the preview.
Select the line color that you want to use for the selected border(s).
Padding
Specify the amount of space that you want to leave between the border and the contents of the selection.
Kreisā
Enter the distance that you want to have between the left border and the contents of the selection.
Labā
Enter the distance that you want to have between the right border and the contents of the selection.
Augša
Enter the distance that you want to have between the top border and the contents of the selection.
Apakša
Enter the distance that you want to have between the bottom border and the contents of the selection.
Sinhronizēt
Applies the same padding setting to all four borders when you enter a new distance.
Shadow style
You can also apply a shadow effect to borders. For the best results, only apply this effect when all four borders are visible.

Graphics or objects that are anchored to a frame in the document cannot exceed the size of the frame. If you apply a shadow to the borders of an object that fills an entire frame, the size of the object is reduced to display the shadows.
Novietojums
Click a shadow style for the selected borders.
Attālums
Enter the width of the shadow.
Krāsas
Select a color for the shadow.
Īpašības
Specifies the properties for the current paragraph or the selected paragraphs.
Apvienot ar nākamo rindkopu
Merges the border style and the shadow style of the current paragraph with the next paragraph. These styles are only merged if the indent, border, and shadow styles of the next paragraph are the same as the current paragraph. This option is also available for Paragraph Styles.
Apvienot blakus esošo līniju stilus
Merges two different border styles of adjacent cells in a Writer table into one border style. This property is valid for a whole table in a Writer document.

The rules can be condensed to the statement that the stronger attribute wins. If, for example, one cell has a red border of 2 point width, and the adjacent cell has a blue border of 3 point width, then the common border between these two cells will be blue with 3 point width.