In a ODM master document that has an ODT imported via the navigator a template style gives a different output in the ODM than in the ODT. In a paragraph style using borders with padding top and bottom paddings seem to be used twice. Expected result: The padding is applied inside the box only. Effective result: Padding is used for “normal” geometry computation, like in the sub-document and a second time around the page break, only in the master. As per discussion from: https://ask.libreoffice.org/t/master-document-style-interprets-borders-padding-differently-by-adding-white-space/93714