extras/source/templates/presnt/DNA/styles.xml |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

New commits:
commit 531652352b3be6504c2f68ba4220edc7c236cb01
Author:     Laurent BP <laurent.balland-poir...@laposte.net>
AuthorDate: Sun Sep 11 16:46:18 2022 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Wed Sep 14 11:33:41 2022 +0200

    tdf#135060 Modify DNA template
    
    When using template as master page, styles Accent_x are not imported
    This patch add direct formating to keep format when using template as
    master page.
    
    Change-Id: I6bcbcab8783c128f6946edf6e54aa182d6d8645d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139774
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/extras/source/templates/presnt/DNA/styles.xml 
b/extras/source/templates/presnt/DNA/styles.xml
index e305022c66d0..0ebfad9620cb 100644
--- a/extras/source/templates/presnt/DNA/styles.xml
+++ b/extras/source/templates/presnt/DNA/styles.xml
@@ -167,9 +167,6 @@
     <style:style style:name="Accent_20_1" style:display-name="Accent 1" 
style:family="graphic" style:parent-style-name="Accent">
       <style:graphic-properties draw:stroke="solid" svg:stroke-color="#2a6099" 
draw:fill="solid" draw:fill-color="#dee6ef" draw:shadow="hidden" 
draw:shadow-offset-x="0.05cm" draw:shadow-offset-y="0.05cm" 
draw:shadow-color="#ffaa95"/>
     </style:style>
-    <style:style style:name="Accent_20_2" style:display-name="Accent 2" 
style:family="graphic" style:parent-style-name="Accent">
-      <style:graphic-properties draw:fill="solid" draw:fill-color="#ffaa95" 
draw:shadow-color="#ff5429"/>
-    </style:style>
     <style:style style:name="Accent_20_3" style:display-name="Accent 3" 
style:family="graphic" style:parent-style-name="Accent">
       <style:graphic-properties draw:stroke="solid" svg:stroke-color="#ff4000" 
draw:fill="solid" draw:fill-color="#ffd8ce" draw:shadow="hidden" 
draw:shadow-offset-x="0.05cm" draw:shadow-offset-y="0.05cm" 
draw:shadow-color="#b4c7dc"/>
     </style:style>
@@ -385,13 +382,13 @@
       <style:paragraph-properties style:writing-mode="lr-tb"/>
     </style:style>
     <style:style style:name="Mgr3" style:family="graphic" 
style:parent-style-name="standard">
-      <style:graphic-properties draw:textarea-vertical-align="middle" 
draw:start-line-spacing-horizontal="0.25cm" 
draw:start-line-spacing-vertical="0.25cm" 
draw:end-line-spacing-horizontal="0.25cm" 
draw:end-line-spacing-vertical="0.25cm"/>
+      <style:graphic-properties draw:stroke="solid" svg:stroke-color="#2a6099" 
svg:stroke-width="0.05cm" draw:textarea-vertical-align="middle" 
draw:start-line-spacing-horizontal="0.25cm" 
draw:start-line-spacing-vertical="0.25cm" 
draw:end-line-spacing-horizontal="0.25cm" 
draw:end-line-spacing-vertical="0.25cm"/>
     </style:style>
-    <style:style style:name="Mgr4" style:family="graphic" 
style:parent-style-name="Accent_20_3">
-      <style:graphic-properties draw:textarea-vertical-align="middle" 
draw:auto-grow-height="false" fo:min-height="0.104cm" fo:min-width="0cm"/>
+    <style:style style:name="Mgr4" style:family="graphic" 
style:parent-style-name="standard">
+      <style:graphic-properties draw:stroke="solid" svg:stroke-color="#ff4000" 
svg:stroke-width="0.05cm" draw:fill="solid" draw:fill-color="#ffd8ce" 
draw:textarea-vertical-align="middle" draw:auto-grow-height="false" 
fo:min-height="0.104cm" fo:min-width="0cm"/>
     </style:style>
-    <style:style style:name="Mgr5" style:family="graphic" 
style:parent-style-name="Accent_20_1">
-      <style:graphic-properties draw:textarea-vertical-align="middle" 
draw:auto-grow-height="false" fo:min-height="0.104cm" fo:min-width="0cm"/>
+    <style:style style:name="Mgr5" style:family="graphic" 
style:parent-style-name="standard">
+      <style:graphic-properties draw:stroke="solid" svg:stroke-color="#2a6099" 
svg:stroke-width="0.05cm" draw:fill="solid" draw:fill-color="#dee6ef" 
draw:textarea-vertical-align="middle" draw:auto-grow-height="false" 
fo:min-height="0.104cm" fo:min-width="0cm"/>
     </style:style>
     <style:style style:name="Mpr1" style:family="presentation" 
style:parent-style-name="DNA-backgroundobjects">
       <style:graphic-properties draw:stroke="none" draw:fill="none" 
draw:fill-color="#ffffff" draw:auto-grow-height="false" 
fo:min-height="1.338cm"/>

Reply via email to