Bug#710354: libreoffice: 'break links' in odt-files causes conversion of a linked svg image into a png
Package: libreoffice
Version: 1:4.0.3-3
Severity: normal
Dear Maintainer,
If a svg image is included into a libreoffice text document via 'linking'
(select option 'Link' in the file selection window), and if this link
is broken (menu 'Edit' -> 'Links' -> 'Break Links') some time later,
the svg image is converted into a png image and as such included in the
odt-zip archive. With the Draw component this does not happen, the
svg-file is included as svg in the odg-zip archive.
Reproduce bug:
- Open new Writer document
- Link a svg image to that document (menu: 'Insert' -> 'Picture' ->
'From File' -> select option 'Link' -> select a svg file and 'open' it)
- save the odt file
- Break the link (menu 'Edit' -> 'Links' -> 'Break Links')
- save the odt file
- change the file ending into zip
- extract the zip file and have a look in the subfolder 'Pictures'.
There you'll find two png files of the same size. One of these
files should be a svg file.
Expected outcome:
The svg file should be included as svg in the odt file.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libreoffice depends on:
ii fonts-dejavu 2.33+svn2514-3
ii fonts-sil-gentium-basic 1.1-5
ii libreoffice-base 1:4.0.3-3
ii libreoffice-calc 1:4.0.3-3
ii libreoffice-core 1:4.0.3-3
ii libreoffice-draw 1:4.0.3-3
ii libreoffice-filter-mobiledev 1:4.0.3-3
ii libreoffice-impress 1:4.0.3-3
ii libreoffice-java-common 1:4.0.3-3
ii libreoffice-math 1:4.0.3-3
ii libreoffice-report-builder-bin 1:4.0.3-3
ii libreoffice-writer 1:4.0.3-3
ii python-uno 1:4.0.3-3
Versions of packages libreoffice recommends:
ii fonts-liberation 1.07.2-6
ii libpaper-utils 1.1.24+nmu2
ii ttf-mscorefonts-installer 3.5
Versions of packages libreoffice suggests:
ii cups-bsd 1.5.3-5
ii default-jre [java5-runtime] 1:1.6-47
pn gstreamer1.0-ffmpeg <none>
pn gstreamer1.0-plugins-bad <none>
pn gstreamer1.0-plugins-base <none>
pn gstreamer1.0-plugins-good <none>
pn gstreamer1.0-plugins-ugly <none>
ii hunspell-de-de [hunspell-dictionary] 20120607-1
ii hunspell-en-us [hunspell-dictionary] 20070829-6
ii hyphen-de [hyphen-hyphenation-patterns] 1:3.3.0-4
ii iceweasel 10.0.12esr-1+nmu1
ii imagemagick 8:6.7.7.10-5
ii libgl1-mesa-glx [libgl1] 8.0.5-6
ii libreoffice-help-en-us [libreoffice-help-4.0] 1:4.0.3-3
ii libreoffice-kde 1:4.0.3-3
pn libreoffice-l10n-4.0 <none>
ii libreoffice-lightproof-en [libreoffice-grammarchec 0.4.3+1.5+git20121204-3
pn libreoffice-officebean <none>
ii libsane 1.0.22-7.4
ii libxrender1 1:0.9.7-1+deb7u1
pn myspell-dictionary <none>
ii mythes-de [mythes-thesaurus] 20120516-2
ii mythes-en-us [mythes-thesaurus] 1:3.3.0-4
pn openclipart-libreoffice <none>
ii openjdk-6-jre [java5-runtime] 6b27-1.12.5-2
ii pstoedit 3.62-1
ii unixodbc 2.2.14p2-5
Versions of packages libreoffice-core depends on:
ii fontconfig 2.9.0-7.1
ii fonts-opensymbol 2:102.2+LibO4.0.3-3
ii libatk1.0-0 2.8.0-2
ii libboost-date-time1.53.0 1.53.0-4
ii libc6 2.17-3
ii libcairo2 1.12.14-4
ii libcmis-0.3-3 0.3.1-3
ii libcups2 1.5.3-5
ii libcurl3-gnutls 7.30.0-2
ii libdbus-1-3 1.6.10-1
ii libdbus-glib-1-2 0.100.2-1
ii libexpat1 2.1.0-3
ii libexttextcat-2.0-0 3.4.0-4
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.8.0-7
ii libgdk-pixbuf2.0-0 2.28.1-1
ii libglib2.0-0 2.36.1-2build1
ii libgraphite2-3 1.2.1-2
ii libgstreamer-plugins-base1.0-0 1.0.7-1
ii libgstreamer1.0-0 1.0.7-1
ii libgtk2.0-0 2.24.18-1
ii libhunspell-1.3-0 1.3.2-4
ii libhyphen0 2.8.6-2
ii libice6 2:1.0.8-2
ii libicu48 4.8.1.1-12
ii libjpeg8 8d-1
ii liblangtag1 0.5.1-1
ii liblcms2-2 2.2+git20110628-2.2
ii libldap-2.4-2 2.4.31-1+nmu2
ii libmythes-1.2-0 2:1.2.2-1
ii libneon27-gnutls 0.29.6-3
ii libnspr4 2:4.9.6-1
ii libnspr4-0d 2:4.9.6-1
ii libnss3 2:3.14.3-1
ii libnss3-1d 2:3.14.3-1
ii libpango1.0-0 1.30.0-1
ii libpng12-0 1.2.49-4
ii librdf0 1.0.16-1
ii libreoffice-common 1:4.0.3-3
ii libsm6 2:1.2.1-2
ii libssl1.0.0 1.0.1e-2
ii libstdc++6 4.8.0-7
ii libx11-6 2:1.5.0-1+deb7u1
ii libxext6 2:1.3.1-2+deb7u1
ii libxinerama1 2:1.1.2-1+deb7u1
ii libxml2 2.8.0+dfsg1-7+nmu1
ii libxrandr2 2:1.3.2-2+deb7u1
ii libxrender1 1:0.9.7-1+deb7u1
ii libxslt1.1 1.1.26-14.1
ii libxt6 1:1.1.3-1+deb7u1
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-writer depends on:
ii libc6 2.17-3
ii libgcc1 1:4.8.0-7
ii libicu48 4.8.1.1-12
ii libreoffice-base-core 1:4.0.3-3
ii libreoffice-core 1:4.0.3-3
ii libstdc++6 4.8.0-7
ii libwpd-0.9-9 0.9.8-1
ii libwpg-0.2-2 0.2.1-1
ii libwps-0.2-2 0.2.8-2
ii libxml2 2.8.0+dfsg1-7+nmu1
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-writer recommends:
ii default-jre [java5-runtime] 1:1.6-47
ii libreoffice-java-common 1:4.0.3-3
ii libreoffice-math 1:4.0.3-3
ii openjdk-6-jre [java5-runtime] 6b27-1.12.5-2
Versions of packages libreoffice-writer suggests:
ii libreoffice-base 1:4.0.3-3
pn libreoffice-gcj <none>
Versions of packages libreoffice-calc depends on:
ii libc6 2.17-3
ii libgcc1 1:4.8.0-7
ii liborcus-0.4-0 0.3.0-7
ii libreoffice-base-core 1:4.0.3-3
ii libreoffice-core 1:4.0.3-3
ii libstdc++6 4.8.0-7
ii libzip2 0.10.1-1.1
ii lp-solve 5.5.0.13-7
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-base depends on:
ii default-jre [java5-runtime] 1:1.6-47
ii libc6 2.17-3
ii libgcc1 1:4.8.0-7
ii libhsqldb1.8.0-java 1.8.0.10+dfsg-3
ii libreoffice-base-core 1:4.0.3-3
ii libreoffice-core 1:4.0.3-3
ii libreoffice-java-common 1:4.0.3-3
ii libstdc++6 4.8.0-7
ii openjdk-6-jre [java5-runtime] 6b27-1.12.5-2
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
Versions of packages libreoffice-base recommends:
ii libreoffice-writer 1:4.0.3-3
Versions of packages libreoffice-base suggests:
pn libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtool <none>
ii libmysql-java 5.1.16-2
ii libpostgresql-jdbc-java [libpg-java] 9.2-1002-1
pn libreoffice-gcj <none>
pn libreoffice-report-builder <none>
ii unixodbc 2.2.14p2-5
Versions of packages libreoffice-draw depends on:
ii libc6 2.17-3
ii libcdr-0.0-0 0.0.14-1
ii libdbus-1-3 1.6.10-1
ii libdbus-glib-1-2 0.100.2-1
ii libgcc1 1:4.8.0-7
ii libglib2.0-0 2.36.1-2build1
ii libicu48 4.8.1.1-12
ii liblcms2-2 2.2+git20110628-2.2
ii libmspub-0.0-0 0.0.6-1
ii libreoffice-core 1:4.0.3-3
ii libstdc++6 4.8.0-7
ii libvisio-0.0-0 0.0.26-3
ii libwpd-0.9-9 0.9.8-1
ii libwpg-0.2-2 0.2.1-1
ii libxml2 2.8.0+dfsg1-7+nmu1
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-impress depends on:
ii libc6 2.17-3
ii libgcc1 1:4.8.0-7
ii libreoffice-core 1:4.0.3-3
ii libreoffice-draw 1:4.0.3-3
ii libstdc++6 4.8.0-7
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
Versions of packages libreoffice-impress suggests:
ii bluez 4.99-2
Versions of packages libreoffice-math depends on:
ii fonts-opensymbol 2:102.2+LibO4.0.3-3
ii libc6 2.17-3
ii libgcc1 1:4.8.0-7
ii libreoffice-core 1:4.0.3-3
ii libstdc++6 4.8.0-7
ii uno-libs3 4.0.3-3
ii ure 4.0.3-3
-- no debconf information
Reply to: