In the attached ZIP is an SWPX file with an embedded SVG ... and I'm told SVG is not supported, yet I can drag the included SVG file into the included sample DOCX without error.
Note there is a too-large PNG file embedded in the SWPX file ... I'm addressing that otherwise. It is there just to prove to myself that the embedded image code otherwise works.
This is my execution report:
~/u/Realta/SD-2496-svg-docx/SD-2496-svg-docx.swpx $ sh run.sh
+ 2024-11-12 16:27:48,831 [INFO ] Input document or directory='.'
+ 2024-11-12 16:27:48,833 [INFO ] Output directory ='.'
+ 2024-11-12 16:27:48,833 [INFO ] DOTX template ='Test.dotx'
+ 2024-11-12 16:27:48,833 [INFO ] XSLT template =Not specified
+ 2024-11-12 16:27:48,834 [INFO ] Catalog =Not specified
+ 2024-11-12 16:27:48,834 [INFO ] Chunk level ='root'
+ 2024-11-12 16:27:49,206 [INFO ] Generating DOCX file "/Users/admin/u/Realta/SD-2496-svg-docx/SD-2496-svg-docx.swpx/./SD-2496-svg-docx.xml.docx"
+ 2024-11-12 16:27:49,383 [ERROR] Unsupported picture, format code "0": image_0. Expected emf|wmf|pict|jpeg|jpg|png|dib|gif|tiff|eps|bmp|wpg
+ 2024-11-12 16:27:49,903 [INFO ] DOCX file generated.
~/u/Realta/SD-2496-svg-docx/SD-2496-svg-docx.swpx $
Test files:
SD-2496-svg-docx.swpx.zip