*
* @param full
*/
protected Configuration grabDialogContents(final boolean full)
{
final DefaultConfiguration config = new DefaultConfiguration();
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Keywords", //$NON-NLS-1$
txKeywords.getText());
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Description", //$NON-NLS-1$
txDescription.getText());
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Author", //$NON-NLS-1$
txAuthor.getText());
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Title", //$NON-NLS-1$
txTitle.getText());
config.setConfigProperty("org.pentaho.reporting.engine.classic.core.modules.gui.pdf.TargetFileName", //$NON-NLS-1$
txFilename.getText());
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Encoding", //$NON-NLS-1$
encodingModel.getSelectedEncoding());
config.getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.PrintLevel", //$NON-NLS-1$
getPrintLevel());
config.getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Encryption", //$NON-NLS-1$
getEncryptionValue());
config.getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.UserPassword", //$NON-NLS-1$
txUserPassword.getText());
config.getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.OwnerPassword", //$NON-NLS-1$
txOwnerPassword.getText());
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AllowAssembly", //$NON-NLS-1$
String.valueOf(cxAllowAssembly.isSelected()));
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AllowCopy", //$NON-NLS-1$
String.valueOf(cxAllowCopy.isSelected()));
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AllowFillIn", //$NON-NLS-1$
String.valueOf(cxAllowFillIn.isSelected()));
config.setConfigProperty(
"org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AllowModifyAnnotations", //$NON-NLS-1$
String.valueOf(cxAllowModifyAnnotations.isSelected()));
config.setConfigProperty(
"org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AllowModifyContents", //$NON-NLS-1$
String.valueOf(cxAllowModifyContents.isSelected()));
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AllowScreenReaders", //$NON-NLS-1$
String.valueOf(cxAllowScreenReaders.isSelected()));
config.setConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.EmbedFonts", //$NON-NLS-1$
String.valueOf(cxEmbedded.isSelected()));
return config;
}