pdf-input.h revision 400b8d183ba7c4109e8134ffdd44bf9cb9fa159e
/*
* 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"
#ifdef HAVE_POPPLER_CAIRO
struct _PopplerDocument;
typedef struct _PopplerDocument PopplerDocument;
#endif
struct _GdkEventExpose;
typedef _GdkEventExpose GdkEventExpose;
#if WITH_GTKMM_3_0
#else
#endif
}
}
}
/**
* PDF import using libpoppler.
*/
{
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
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 );
virtual bool wasCancelled();
bool _cancelled;
};
} // namespace Implementation
} // namespace Extension
} // namespace Inkscape
#endif // HAVE_POPPLER
#endif // SEEN_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 :