To make a table of contents for many .odt -files

Solution 1:

You need to create a master document (PDF), then you can create a comprehensive table of contents (PDF). You should be able to convert the master document to PDF and have it bring all the sub-documents along with it.