pdf-input.h revision a53fd00014de5e3469827acbab0e4cce9ed39087
/*
* 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
#endif
#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 :