You can include heading numbers in captions.
Ensure that your document has headings. You can use the predefined “Heading [1–10]” paragraph styles. You must also assign a numbering scheme to the heading paragraph styles. Use .
Select the object to get a caption.
Choose Insert - File.
Select a caption type from thebox, and select a numbering scheme in the box. You can enter an optional caption text in the box.
In thebox, select the outline level of the heading number to display before the caption number.
Type the character to appear between the heading number(s) and the caption number in thebox, then click .
In the Caption dialog, click .
If the caption is already inserted in the document, then right-click on the caption number, choose, then enter values for and .
LibreOffice can automatically add a caption when you insert an object, graphic, or table. Choose - LibreOffice Writer - AutoCaption.