tdf#162878 YellowIdea template: autosize for title

With other languages than English, texts for placeholders ("Click to add
Title") may be be much longer and overlap on other placeholders, which
looks ugly.
This change adds
 draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true"
to titles and subtitles to avoid overlaping

Change-Id: If5bbf6889ebae6cc99982f58c23b577e8a365c66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173368
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
Tested-by: Jenkins
This commit is contained in:
Laurent Balland
2024-09-15 14:57:03 +02:00
parent aa803323a6
commit 2c88a374e2
@@ -268,7 +268,7 @@
<style:style style:name="Yellow_20_Idea-outline8" style:display-name="Yellow Idea-outline8" style:family="presentation" style:parent-style-name="Yellow_20_Idea-outline7"/>
<style:style style:name="Yellow_20_Idea-outline9" style:display-name="Yellow Idea-outline9" style:family="presentation" style:parent-style-name="Yellow_20_Idea-outline8"/>
<style:style style:name="Yellow_20_Idea-subtitle" style:display-name="Yellow Idea-subtitle" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Yellow_20_Idea-subtitle" style:display-name="Yellow Idea-subtitle">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -316,7 +316,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Yellow_20_Idea-title" style:display-name="Yellow Idea-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Yellow_20_Idea-title" style:display-name="Yellow Idea-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -492,7 +492,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Description-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Description-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -668,7 +668,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Contents-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Contents-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -844,7 +844,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Title-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Title-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -972,7 +972,7 @@
<style:style style:name="Article1-outline8" style:family="presentation" style:parent-style-name="Article1-outline7"/>
<style:style style:name="Article1-outline9" style:family="presentation" style:parent-style-name="Article1-outline8"/>
<style:style style:name="Article1-subtitle" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Article1-subtitle">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1020,7 +1020,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="22pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="22pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="22pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Article1-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:shadow="visible" draw:shadow-offset-x="0.071cm" draw:shadow-offset-y="0.071cm" draw:shadow-color="#e8a202" loext:shadow-blur="0.212cm">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true" draw:shadow="visible" draw:shadow-offset-x="0.071cm" draw:shadow-offset-y="0.071cm" draw:shadow-color="#e8a202" loext:shadow-blur="0.212cm">
<text:list-style style:name="Article1-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1148,7 +1148,7 @@
<style:style style:name="Article2-outline8" style:family="presentation" style:parent-style-name="Article2-outline7"/>
<style:style style:name="Article2-outline9" style:family="presentation" style:parent-style-name="Article2-outline8"/>
<style:style style:name="Article2-subtitle" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Article2-subtitle">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1196,7 +1196,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="22pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="22pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="22pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Article2-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Article2-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1323,7 +1323,7 @@
<style:style style:name="Infographic1-outline8" style:family="presentation" style:parent-style-name="Infographic1-outline7"/>
<style:style style:name="Infographic1-outline9" style:family="presentation" style:parent-style-name="Infographic1-outline8"/>
<style:style style:name="Infographic1-subtitle" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Infographic1-subtitle">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1371,7 +1371,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="22pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="22pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="22pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Infographic1-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Infographic1-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1499,7 +1499,7 @@
<style:style style:name="Infographic2-outline8" style:family="presentation" style:parent-style-name="Infographic2-outline7"/>
<style:style style:name="Infographic2-outline9" style:family="presentation" style:parent-style-name="Infographic2-outline8"/>
<style:style style:name="Infographic2-subtitle" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Infographic2-subtitle">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1547,7 +1547,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="22pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="22pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="22pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="Infographic2-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="Infographic2-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1722,7 +1722,7 @@
<style:text-properties fo:font-variant="normal" fo:text-transform="none" style:use-window-font-color="true" loext:opacity="0%" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:letter-kerning="true" fo:background-color="transparent" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="End-title" style:family="presentation">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle">
<style:graphic-properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" draw:auto-grow-height="false" draw:fit-to-size="false" style:shrink-to-fit="true">
<text:list-style style:name="End-title">
<text:list-level-style-bullet text:level="1" text:bullet-char="●">
<style:list-level-properties text:min-label-width="0.6cm"/>