pdf-input-cairo.h revision f466f1e98686d23a3bbe572e4fb227e64c6436f3
/*
* PDF input using libpoppler and Cairo's SVG surface.
*
* Authors:
* miklos erdelyi
*
* Copyright (C) 2007 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtkmm/buttonbox.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/drawingarea.h>
#include <gtkmm/alignment.h>
#ifdef HAVE_POPPLER_GLIB
#ifdef HAVE_POPPLER_CAIRO
#include "../implementation/implementation.h"
}
}
{
bool showDialog();
int getSelectedPage();
void _setPreviewPage(int page);
// Signal handlers
void _onPageNumberChanged();
void _onToggleCropping();
void _onPrecisionChanged();
// PopplerPage *_previewed_page;
int _current_page; // Current selected page
unsigned char *_thumb_data; // Thumbnail image data
int _thumb_rowstride;
bool _render_thumb; // Whether we can/shall render thumbnails
};
PdfInputCairo () { };
static void init( void );
};
} } } /* namespace Inkscape, Extension, Implementation */
#endif /* HAVE_POPPLER_CAIRO */
#endif /* HAVE_POPPLER_GLIB */
#endif /* __EXTENSION_INTERNAL_PDFINPUTCAIRO_H__ */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :