• Kristian Høgsberg's avatar
    2005-07-29 Kristian Høgsberg <krh@redhat.com> · 481db9d9
    Kristian Høgsberg authored
            * poppler/TextOutputDev.cc: Finish TextSelectionDumper class for
            extracting the text from a selection.  Add
            TextPage::getSelectionText() and TextOutputDev::getSelectionText()
            methods to expose the new functionality.
    
            * glib/poppler-page.cc (poppler_page_get_text): Use
            TextOutputDev::getSelectionText() to get the text from the
            selection.
    
            * glib/poppler-document.cc (poppler_document_new_from_file):
            * glib/poppler-page.cc (_poppler_page_new): Add extra NULL to
            g_object_new() constructor to silence gcc warning about missing
            sentinel.
    481db9d9
poppler-page.cc 23.6 KB