Math.round(h / WKConstants.MILLIPOINTS_PER_POINT));
renderRegions(page);
try {
getContentStream().close();
} catch (final PdfException e1) {
throw new GalleyVisitorException(e1);
}
renderDestinations(page);
getLogger().debug("Writing out PDF.");
try {
this.pdfDoc.writeIndirectObjects();
} catch (final PdfException e) {
throw new GalleyVisitorException(e);
}
}