public void export() {
		File f = Tools.showSaveDialog(Tools
				.getLocalizedString(ActionType.EXPORT.name() + ".Name"));
		if (f != null) {
			try {
				String url = Tools.getApplicationFolder() + "temp/temp.html";
				File file = new File(url);
				if (file.exists()) {
					url = file.toURI().toURL().toString();
				}
				String chemin = f.getAbsolutePath();
				if (!chemin.endsWith(".pdf"))
					chemin += ".pdf";
				Tools.createPDF(url, chemin);
			} catch (IOException e) {
				System.err.println(e.getMessage());
			} catch (DocumentException e) {
				System.err.println(e.getMessage());
			}
		}
	}