return XPrintConfiguration.FORMAT_A4;
}
public XPrintConfiguration getPrintConfiguration() {
XPrintConfiguration config = new XPrintConfiguration();
config.setPaperFormat(translateFormat(paperFormat.getValue().getValue()));
config.setPaperOrientation(paperOrientation.getValue().getValue().equals(constants.portrait()) ? XPrintConfiguration.PORTRAIT : XPrintConfiguration.LANDSCAPE);
config.setShowTitle(printTitle.getValue());
config.setTitle(titleField.getValue());
config.setShowPOV(showPOV.getValue());
config.setShowExpansionStateIcons(showExpansionStates.getValue());
config.setIndent(indent.getValue());
config.setPrintPageNumbers(printPageNumbers.getValue());
paperFormatDefault = paperFormat.getValue().getValue();
paperOrientationDefault = paperOrientation.getValue().getValue();
showTitleDefault = printTitle.getValue();
if (printTitle.getValue()) {