Module: Poppler
- Defined in:
- lib/poppler.rb,
ext/poppler/rbpoppler.c
Defined Under Namespace
Classes: ActionAny, ActionGotoDest, ActionGotoRemote, ActionLaunch, ActionMovie, ActionNamed, ActionUri, ButtonField, ChoiceField, Document, SignatureField, TextField, UnknownField
Constant Summary
collapse
- LOG_DOMAIN =
"Poppler"
- VERSION =
version.split(".").collect {|x| x.to_i}
- BUILD_VERSION =
rb_ary_new3(3,
INT2FIX(POPPLER_MAJOR_VERSION),
INT2FIX(POPPLER_MINOR_VERSION),
INT2FIX(POPPLER_MICRO_VERSION))
Class Method Summary
collapse
Class Method Details
.backend ⇒ Object
12
13
14
15
16
|
# File 'ext/poppler/rbpoppler.c', line 12
static VALUE
get_backend(VALUE self)
{
return GENUM2RVAL(poppler_get_backend(), POPPLER_TYPE_BACKEND);
}
|
.cairo_available? ⇒ Boolean
24
25
26
27
28
29
30
31
32
|
# File 'ext/poppler/rbpoppler.c', line 24
static VALUE
cairo_available(VALUE self)
{
#ifdef RB_POPPLER_CAIRO_AVAILABLE
return Qtrue;
#else
return Qfalse;
#endif
}
|
.version ⇒ Object
18
19
20
21
22
|
# File 'ext/poppler/rbpoppler.c', line 18
static VALUE
get_version(VALUE self)
{
return CSTR2RVAL(poppler_get_version());
}
|