X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcairo-pager.h;h=361c29798b549e4f5caf847eb0a2aa8a085bfd88;hb=db9a44802bb9fde4d4acd1b11572493b82193ab0;hp=87dcd367f74fa8aff0b99604f871b1f98ac28aba;hpb=13ca98079f4cb3cd80deb10b173813548b1f3ddc;p=pspp diff --git a/src/output/cairo-pager.h b/src/output/cairo-pager.h index 87dcd367f7..361c29798b 100644 --- a/src/output/cairo-pager.h +++ b/src/output/cairo-pager.h @@ -38,7 +38,10 @@ struct xr_page_style struct page_heading headings[2]; /* Top and bottom headings. */ int initial_page_number; - int object_spacing; + + /* Whether to include an outline in PDF output. (The only reason I know to + omit it is to avoid a Cairo bug that caused crashes in some cases.) */ + bool include_outline; }; struct xr_page_style *xr_page_style_ref (const struct xr_page_style *); struct xr_page_style *xr_page_style_unshare (struct xr_page_style *); @@ -63,6 +66,7 @@ void xr_pager_add_item (struct xr_pager *, const struct output_item *); bool xr_pager_has_page (const struct xr_pager *); void xr_pager_add_page (struct xr_pager *, cairo_t *); +void xr_pager_finish_page (struct xr_pager *); bool xr_pager_needs_new_page (struct xr_pager *); #endif /* HAVE_CAIRO */