diff -EwBurNd poppler/poppler/TextOutputDev.h column/poppler/poppler/TextOutputDev.h --- poppler/poppler/TextOutputDev.h 2007-10-13 19:29:08.000000000 +0200 +++ column/poppler/poppler/TextOutputDev.h 2007-10-14 20:10:39.000000000 +0200 @@ -287,6 +287,13 @@ void visitSelection(TextSelectionVisitor *visitor, PDFRectangle *selection); + void getBBox(double *xin, double *yin, double *xax, double *yax, int *r) { + *xin = xMin; *yin = yMin; *xax = xMax; *yax = yMax; *r = rot; + } + + TextBlock *getNext() { return next; } + int getLineCount() { return nLines; } + private: TextPage *page; // the parent page @@ -334,6 +341,10 @@ // primary axis. GBool blockFits(TextBlock *blk, TextBlock *prevBlk); + TextBlock *getTextBlocks() { return blocks; } + + TextFlow *getNext() { return next; } + private: TextPage *page; // the parent page @@ -459,6 +470,8 @@ void dump(void *outputStream, TextOutputFunc outputFunc, GBool physLayout); + TextFlow *getTextFlows() { return flows; } + #if TEXTOUT_WORD_LIST // Build a flat word list, in content stream order (if // this->rawOrder is true), physical layout order (if