// Set PDF document description
pdfDocument.addAuthor(System.getProperty("user.name", ""));
String pdfDocumentCreator = this.preferences.getLocalizedString(
HomePDFPrinter.class, "pdfDocument.creator");
pdfDocument.addCreator(pdfDocumentCreator);
pdfDocument.addCreationDate();
String homeName = this.home.getName();
if (homeName != null) {
pdfDocument.addTitle(this.controller.getContentManager().getPresentationName(
homeName, ContentManager.ContentType.PDF));