Kaydet (Commit) 0597f3bb authored tarafından László Németh's avatar László Németh

Set relative heights for all default heading styles

The relative height "100%" (used only by Heading 3 now) is converted
silently to absolute height (btw, also in the dialogs and in OOo, too).
Using 101% instead of 100% fixes this problem, so setting a new height
in the parent style "Heading" (for example, by Tools->Options->
LibreOffice Writer->Basic fonts (western)->Heading->Size) can change
the heights of all default headings, including Heading 3.

Change-Id: Ia44ac9d24041b75f0aedd7b56340dd41caf0020e
üst 5aa360ca
......@@ -85,7 +85,7 @@ namespace
static const sal_uInt16 aHeadlineSizes[ 2 * MAXLEVEL ] = {
// we do everything procentual now:
130, 115, 100, 95, 85,
130, 115, 101, 95, 85,
85, 80, 80, 75, 75, // normal
PT_24, PT_18, PT_14, PT_12, PT_10,
PT_7, PT_7, PT_7, PT_7, PT_7 // HTML mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment