EmbeddedFile file(to_utf8(params["filename"]),
onlyPath(parentFilename(buffer)));
file.setEmbed(params["embed"] == _("true") ? true : false);
- file.enable(buffer.embeddedFiles().enabled(), &buffer);
+ file.enable(buffer.embedded(), &buffer);
return file;
}
void InsetInclude::registerEmbeddedFiles(Buffer const & buffer,
- EmbeddedFiles & files) const
+ EmbeddedFileList & files) const
{
- files.registerFile(includedFilename(buffer, params()), this);
+ files.registerFile(includedFilename(buffer, params()), this, buffer);
}