Commit cf6723ca authored by Albert Astals Cid's avatar Albert Astals Cid

TextPage *TextOutpudDev::takeText() from xpdf 3.01

parent e0cbb0ca
2005-09-20 Albert Astals Cid <aacid@kde.org>
* poppler/GlobalParams.[cc|h]: Merge from xpdf 3.01
* poppler/Link.cc: Merge from xpdf 3.01
* poppler/TextOutputDev.[cc|h]: Merge from xpdf 3.01
* poppler/UnicodeMap.cc: More grealloc -> greallocn
* poppler/UnicodeTypeTable.cc: Merge from xpdf 3.01
* poppler/XRef.cc: Merge from xpdf 3.01
......
......@@ -4125,3 +4125,11 @@ TextWordList *TextOutputDev::makeWordList() {
return text->makeWordList(physLayout);
}
#endif
TextPage *TextOutputDev::takeText() {
TextPage *ret;
ret = text;
text = new TextPage(rawOrder);
return ret;
}
......@@ -603,6 +603,10 @@ public:
TextWordList *makeWordList();
#endif
// Returns the TextPage object for the last rasterized page,
// transferring ownership to the caller.
TextPage *takeText();
private:
TextOutputFunc outputFunc; // output function
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment