LibreOffice 24.8 Help
If two adjacent text ranges' all border properties are identical (same style, width, color, padding and shadow), then those two ranges will be considered to be part of the same border group and rendered within the same border in the document.
Select the range of characters around which you want to add a border.
Choose Format - Page - Borders.
Select one of the default border styles in the Default area.
Select a line style and color for the selected border style in the Line area. These settings apply to all border lines that are included in the selected border style.
Select the distance between the border lines and the selected characters in the Padding area. You can only change distances to edges that have a border line defined.
Click OK to apply the changes.
Select the range of characters around which you want to add a border.
Choose Format - Page - Borders.
In the User-defined area select the edge(s) that you want to appear in a common layout. Click on an edge in the preview to toggle the selection of an edge.
Select a line style and color for the selected border style in the Line area. These settings apply to all border lines that are included in the selected border style.
Repeat the last two steps for every border edge.
Select the distance between the border lines and the selected characters in the Padding area. You can only change distances to edges that have a border line defined.
Click OK to apply the changes.