This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 20581a7d658d3a3a990fd24939430519f8005366
Author: Jim Jagielski <[email protected]>
AuthorDate: Tue Nov 3 07:26:44 2026 -0500

    xmloff: read style:repeat="scale" as stretch
---
 main/xmloff/source/draw/sdpropls.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/xmloff/source/draw/sdpropls.cxx 
b/main/xmloff/source/draw/sdpropls.cxx
index 5c45266278..8fc0b5588d 100644
--- a/main/xmloff/source/draw/sdpropls.cxx
+++ b/main/xmloff/source/draw/sdpropls.cxx
@@ -505,6 +505,7 @@ SvXMLEnumMapEntry   aXML_BitmapMode_EnumMap[] =
        { XML_REPEAT,                                   
drawing::BitmapMode_REPEAT },
        { XML_STRETCH,                                  
drawing::BitmapMode_STRETCH },
        { XML_BACKGROUND_NO_REPEAT,     drawing::BitmapMode_NO_REPEAT },
+       { XML_SCALE,                                            
drawing::BitmapMode_STRETCH },  // ODF 1.4 isotropic scaling has no equivalent; 
last, so export still writes stretch
        { XML_TOKEN_INVALID, 0 }
 };
 

Reply via email to