Fix the "FIXME internalmedia:xxxx" problem for PDF

Fix the "FIXME internalmedia:xxxx" problem in the ODT generation when the file is a PDF or ...