*
* @param full
*/
protected Configuration grabDialogContents(final boolean full)
{
final DefaultConfiguration config = new DefaultConfiguration();
final String prefix = getConfigurationPrefix();
config.setConfigProperty(prefix + "TargetFileName", txFilename.getText());
config.setConfigProperty(prefix + "Encoding", encodingModel.getSelectedEncoding());
config.getConfigProperty(prefix + "security.PrintLevel", getPrintLevel());
config.getConfigProperty(prefix + "security.Encryption", getEncryptionValue());
config.getConfigProperty(prefix + "security.UserPassword", txUserPassword.getText());
config.getConfigProperty(prefix + "security.OwnerPassword", txOwnerPassword.getText());
config.setConfigProperty(prefix + "security.AllowAssembly",
String.valueOf(cxAllowAssembly.isSelected()));
config.setConfigProperty(prefix + "security.AllowCopy",
String.valueOf(cxAllowCopy.isSelected()));
config.setConfigProperty(prefix + "security.AllowFillIn",
String.valueOf(cxAllowFillIn.isSelected()));
config.setConfigProperty(prefix + "security.AllowModifyAnnotations",
String.valueOf(cxAllowModifyAnnotations.isSelected()));
config.setConfigProperty(prefix + "security.AllowModifyContents",
String.valueOf(cxAllowModifyContents.isSelected()));
config.setConfigProperty(prefix + "security.AllowScreenReaders",
String.valueOf(cxAllowScreenReaders.isSelected()));
return config;
}