pdf-input-cairo.h revision 400b8d183ba7c4109e8134ffdd44bf9cb9fa159e
/*
* 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"
#if WITH_GTKMM_3_0
#else
#endif
}
}
}
{
bool showDialog();
int getSelectedPage();
void _setPreviewPage(int page);
// Signal handlers
#if !WITH_GTKMM_3_0
#endif
void _onPageNumberChanged();
void _onToggleCropping();
void _onPrecisionChanged();
#if WITH_GTKMM_3_0
#else
#endif
// 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 :