extras/source/templates/presnt/Grey_Elegant/styles.xml |   20 ++++++++---------
 1 file changed, 10 insertions(+), 10 deletions(-)

New commits:
commit c9e931f6e33eed4ab79ab9499f30713a65e81f39
Author:     Laurent Balland <laurent.ball...@mailo.fr>
AuthorDate: Sat Sep 14 14:50:08 2024 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Thu Sep 19 00:13:27 2024 +0200

    tdf#162878 Grey Elegant 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: I9a8cf4027e1793bf881795a1d31fb926d94d9704
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173366
    Tested-by: Jenkins
    Reviewed-by: Laurent Balland <laurent.ball...@mailo.fr>
    (cherry picked from commit aa803323a6309c28188039031606fd5620c8c105)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173399
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/extras/source/templates/presnt/Grey_Elegant/styles.xml 
b/extras/source/templates/presnt/Grey_Elegant/styles.xml
index 0ab79d21e8ab..a8f70fbb9106 100644
--- a/extras/source/templates/presnt/Grey_Elegant/styles.xml
+++ b/extras/source/templates/presnt/Grey_Elegant/styles.xml
@@ -266,7 +266,7 @@
       <style:text-properties fo:font-size="20pt" style:font-size-asian="20pt" 
style:font-size-complex="20pt"/>
     </style:style>
     <style:style style:name="Grey-Elegant-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="Grey-Elegant-subtitle">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -314,7 +314,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Grey-Elegant-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="Grey-Elegant-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -503,7 +503,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Table_20_of_20_Content-title" 
style:display-name="Table of Content-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="Table_20_of_20_Content-title" 
style:display-name="Table of Content-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -692,7 +692,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Content_20_1-title" style:display-name="Content 
1-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="Content_20_1-title" 
style:display-name="Content 1-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -881,7 +881,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Bullet_20_1-title" style:display-name="Bullet 
1-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="Bullet_20_1-title" 
style:display-name="Bullet 1-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1070,7 +1070,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Content_20_2-title" style:display-name="Content 
2-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="Content_20_2-title" 
style:display-name="Content 2-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1259,7 +1259,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Bullet_20_2-title" style:display-name="Bullet 
2-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="Bullet_20_2-title" 
style:display-name="Bullet 2-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1448,7 +1448,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Jigsaw-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="Jigsaw-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1637,7 +1637,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Bullet_20_3-title" style:display-name="Bullet 
3-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="Bullet_20_3-title" 
style:display-name="Bullet 3-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>
@@ -1826,7 +1826,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" style:font-name="Noto Sans1" 
fo:font-family="'Noto Sans'" style:font-family-generic="swiss" 
style:font-pitch="variable" 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-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans 
CJK SC'" style:font-family-generic-asian="system" 
style:font-pitch-asian="variable" style:font-size-asian="32pt" 
style:font-style-asian="normal" style:font-weight-asian="normal" 
style:font-name-complex="Noto Sans Devanagari" style:font-family-complex="'Noto 
Sans Devanagari'" style:font-family-generic-complex="system" 
style:font-pitch-complex="variable" style:font-size-complex="32
 pt" 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="Image-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="Image-title">
           <text:list-level-style-bullet text:level="1" text:bullet-char="●">
             <style:list-level-properties text:min-label-width="0.6cm"/>

Reply via email to