]> git.lyx.org Git - features.git/commit
xHTML export: change filenames of exported images.
authorPavel Sanda <sanda@lyx.org>
Sat, 1 Aug 2020 19:26:36 +0000 (21:26 +0200)
committerPavel Sanda <sanda@lyx.org>
Sat, 1 Aug 2020 20:16:04 +0000 (22:16 +0200)
commiteef0c8e8ed53bc1aaa176b5a00c78624281b0548
tree400cce421f43e3374845af152ffbc567aa37fd0a
parent50f8ed4169fa064f6d3c5e40f3634b46970d4412
xHTML export: change filenames of exported images.

This patch aims at:
1. replacing absolute paths by their hashes (do not leak directory structures)
2. not using counters anymore so that changing figures order in the document
   does not lead to large number of obsolete images in export directory.

Other changes than in xHTML export of images are unintended.
src/insets/InsetGraphics.cpp
src/support/FileName.cpp
src/support/FileName.h