I’m using SVG for my figures in LibreOffice Writer. Mostly it’s working really well, but I’ve come across a few limitations. There are two I’d particularly love to find solutions for: importing macros and importing bitmaps. The two lines below work when viewing svg files in Image Viewer but when I import the images into my LO .odt document the elements don’t show up.
use href=“defs.txt#widget” x=“20” y=“20”
image href=“screenshot.png” x=“100” y=“100” height=“100” width=“100”
The first is so I can have a library of macros that all my figures use without having to copy and maintain big chunks of svg code into each figure I create.
The second is for doing screen grab markup (I’m writing user manuals). I can only get bitmaps to show up by dumping the base64 pixel data directly into the svg image. That isn’t viable for large images.
Any suggestions would be greatly appreciated.
OS: Ubuntu 22.04.1 LTS
LO: 7.3.7.2/LibreOffice Community
Format: .odt