Dear all,

Thanks to Edwin, the embedding dialog is working again. It now has a
list of embedded files, with embedding status (true/false) indicated
by checkboxes. There are five buttons: select (embed selected files),
unselect (dis-embed selected files), add (add a file), extract
(extract selected files) and update (update selected files from their
external version). EmbeddedFiles.h|cpp and ControlEmbeddedFiles.h|cpp
are updated accordingly.

Two problems left with the embedding dialog though:
a) I can not see the buttons! I should have missed something obvious.
b) I used some random button icons. New icons are needed. This can
wait though because we may add/remove some buttons later.

Edwin, could you have a look at problem a?

Now, JMarc mentioned that he would like to use a map for embedded
files. What do you have in mind? This is not a standalone problem
because this EmbeddedFileList can be looked up by 'absFilename()' and
by 'embeddedFilename()' because InsetGraphics can use either file,
depending on the embedding status. When this inset calls
registerEmbeddedFiles(), it can pass either name to the function.

This is actually also related to the original problem with [Embedding
discussion 1], do we want multiple entries for multiple insets
referring to the same file?

Cheers,
Bo

Reply via email to