Reduce number of annotations to be created with poppler
Each page of the original document is asssociated to a media unit. Inside this media-unit, poppler creates a huge number of annotations each time containing a few statements to tell that a given segment has to be written in bold, is a div located at a given position...
These annotations could be merged into a single one per media unit, this would save some time at: document creation inside poppler, document processing (by reducing the size of the xml data to be transfered on the network), document visualisation (by drastically reducing the number of statements contained by the document).