I've changed the old DocumentIndex? class name to DocumentOutline?, following a little closer the PDF specifications.
Created a new test fixture for the DocumentOutline?, removing this part from the PDFDocument test fixture.
I also removed the Poppler headers from the epdfview.h header, so I don't need to specify the POPPLER_CFLAGS on the test directory.