Lines 18-26
Link Here
|
18 |
#include <libgnomevfsmm.h> |
18 |
#include <libgnomevfsmm.h> |
19 |
#include <glibmm/i18n.h> |
19 |
#include <glibmm/i18n.h> |
20 |
#include "ucompose.hpp" |
20 |
#include "ucompose.hpp" |
21 |
|
|
|
22 |
#include <poppler.h> |
21 |
#include <poppler.h> |
23 |
|
22 |
|
|
|
23 |
#include "config.h" |
24 |
|
24 |
#include "Utility.h" |
25 |
#include "Utility.h" |
25 |
#include "Library.h" |
26 |
#include "Library.h" |
26 |
#include "TagList.h" |
27 |
#include "TagList.h" |
Lines 28-33
Link Here
|
28 |
|
29 |
|
29 |
#include "Document.h" |
30 |
#include "Document.h" |
30 |
|
31 |
|
|
|
32 |
|
31 |
Glib::RefPtr<Gdk::Pixbuf> Document::defaultthumb_; |
33 |
Glib::RefPtr<Gdk::Pixbuf> Document::defaultthumb_; |
32 |
Glib::RefPtr<Gdk::Pixbuf> Document::thumbframe_; |
34 |
Glib::RefPtr<Gdk::Pixbuf> Document::thumbframe_; |
33 |
Glib::RefPtr<Gnome::UI::ThumbnailFactory> Document::thumbfac_; |
35 |
Glib::RefPtr<Gnome::UI::ThumbnailFactory> Document::thumbfac_; |
Lines 393-399
Link Here
|
393 |
rect->y2 = height; |
395 |
rect->y2 = height; |
394 |
|
396 |
|
395 |
// FIXME: add something before/after appending text to signal pagebreak? |
397 |
// FIXME: add something before/after appending text to signal pagebreak? |
396 |
textdump += poppler_page_get_text (page, rect); |
398 |
#ifdef OLD_POPPLER |
|
|
399 |
#warning Using poppler <= 0.5 |
400 |
textdump += poppler_page_get_text (page, rect); |
401 |
#else |
402 |
#warning Using poppler >= 0.6 |
403 |
textdump += poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, rect); |
404 |
#endif |
397 |
|
405 |
|
398 |
poppler_rectangle_free (rect); |
406 |
poppler_rectangle_free (rect); |
399 |
g_object_unref (page); |
407 |
g_object_unref (page); |