2 #include "mupdf-link_p.h"
4 #include <mupdf/fitz.h>
22 return QRectF(QPointF(
d->link->rect.x0,
d->link->rect.y0),
23 QPointF(
d->link->rect.x1,
d->link->rect.y1));
31 return d->dest.ld.gotor.page;
39 return d->dest.ld.gotor.flags & fz_link_flag_fit_h;
47 return d->dest.ld.gotor.flags & fz_link_flag_fit_v;
57 if (
d->dest.ld.gotor.flags & fz_link_flag_r_is_zoom) {
58 return d->dest.ld.gotor.rb.x;
69 return d->dest.ld.uri.uri;
78 return d->dest.ld.uri.is_map;
86 return d->dest.ld.launch.file_spec;
94 return d->dest.ld.launch.new_window;
102 return d->dest.ld.launch.is_uri;
110 return d->dest.ld.named.named;
120 return d->dest.ld.gotor.page;
130 return d->dest.ld.gotor.dest;
139 return d->dest.ld.gotor.file_spec;
147 return d->dest.ld.gotor.new_window;