pdf-input.h revision d2ee5d19b678cd64b92bb5d3885ddc1f8c8df57d
/** \file
* PDF import using libpoppler.
*
* 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
#ifdef HAVE_POPPLER
#include "../../implementation/implementation.h"
#include <gtkmm/buttonbox.h>
#include <gtkmm/spinbutton.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/drawingarea.h>
#include <gtkmm/alignment.h>
#include "PDFDoc.h"
#ifdef HAVE_POPPLER_CAIRO
#include <CairoOutputDev.h>
#endif
{
bool showDialog();
int getSelectedPage();
void _setPreviewPage(int page);
// Signal handlers
void _onPageNumberChanged();
void _onToggleCropping();
void _onPrecisionChanged();
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
#ifdef HAVE_POPPLER_CAIRO
#endif
};
PdfInput () { };
static void init( void );
};
} } } /* namespace Inkscape, Extension, Implementation */
#endif /* HAVE_POPPLER */
#endif /* __EXTENSION_INTERNAL_PDFINPUT_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 :