From d68bbae5520f0ad023b0d83b727e5e248ce26d67 Mon Sep 17 00:00:00 2001 From: Lorenzo Date: Fri, 19 Feb 2021 15:41:58 +0100 Subject: [PATCH] Update default ODT style As of now, the default style for ODT documents has a "First paragraph" style that inherits from "Standard" style and has no top or bottom margin. All subsequent paragraphs have "Text_20_body" style that inherits from "Standard" and add "0.0598in" margins on top and bottom. This makes the final document a bit ugly since the first paragraph has a small gap ("0.0598in") towards the second one, and all subsequent have double that. The proposed fix makes "First paragraph" inherit from "Text_20_body" instead so that it also has a consistent margin. Another approach would be to inherit "Text_20_body" and add a 0 margin on top. --- data/odt/styles.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/odt/styles.xml b/data/odt/styles.xml index d066b300b..54459de04 100644 --- a/data/odt/styles.xml +++ b/data/odt/styles.xml @@ -350,7 +350,7 @@ xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">