Is it possible to integration outline plugin for custom fileview?

I am creating a custom fileview for pdf files, and want to show the pdf’s outline in the outline plugin.Is there any way to do that?