Package org.jfree.util

Examples of org.jfree.util.DefaultConfiguration


    /**
     * Default constructor.
     */
    protected FrontendDefaultHandler() {
        this.parserConfiguration = new DefaultConfiguration();
        this.commentHandler = new CommentHandler();
    }
View Full Code Here


    private final DefaultConfiguration props;
    private final NamespaceDefinition[] namespaces;

    private OfficeParserUtil()
    {
        props = new DefaultConfiguration();

        final ResourceManager resourceManager = new ResourceManager();
        resourceManager.registerDefaults();
        try
        {
View Full Code Here

   *
   * @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;
  }
View Full Code Here

    return "org.jfree.report.modules.gui.common.html.file.";
  }

  protected Configuration grabDialogContents(final boolean full)
  {
    final ModifiableConfiguration conf = new DefaultConfiguration();
    if (full)
    {
      conf.setConfigProperty
          ("org.jfree.report.modules.gui.common.html.file.TargetFileName", filenameField.getText());
      conf.setConfigProperty
          ("org.jfree.report.modules.gui.common.html.file.DataDirectory", dataDirField.getText());
    }
    conf.setConfigProperty
        ("org.jfree.report.modules.gui.common.html.file.ExportMethod", getExportMethod());

    return conf;
  }
View Full Code Here

   *
   * @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;
  }
View Full Code Here

    return "org.jfree.report.modules.gui.common.html.zip.";
  }

  protected Configuration grabDialogContents(final boolean full)
  {
    final ModifiableConfiguration conf = new DefaultConfiguration();
    if (full)
    {
      conf.setConfigProperty
          ("org.jfree.report.modules.gui.common.html.zip.TargetFileName", filenameField.getText());
      conf.setConfigProperty
          ("org.jfree.report.modules.gui.common.html.zip.DataDirectory", dataDirField.getText());
    }
    conf.setConfigProperty
        ("org.jfree.report.modules.gui.common.html.zip.ExportMethod", getExportMethod());

    return conf;
  }
View Full Code Here

    this.sourceDirectory = sourceDirectory;
    this.targetDirectory = targetDirectory;

    final InputStream propIn = ObjectUtilities.getResourceRelativeAsStream
            ("encodings.properties", EncodingGenerator.class);
    propertySet = new DefaultConfiguration();
    try
    {
      propertySet.load(propIn);
    }
    finally
View Full Code Here

    return "org.jfree.report.modules.gui.common.html.file.";
  }

  protected Configuration grabDialogContents(boolean full)
  {
    ModifiableConfiguration conf = new DefaultConfiguration();
    if (full)
    {
      conf.setConfigProperty
          ("org.jfree.report.modules.gui.common.html.file.TargetFileName", filenameField.getText());
      conf.setConfigProperty
          ("org.jfree.report.modules.gui.common.html.file.DataDirectory", dataDirField.getText());
    }
    conf.setConfigProperty
        ("org.jfree.report.modules.gui.common.html.file.ExportMethod", getExportMethod());

    return conf;
  }
View Full Code Here

  private DefaultConfiguration props;
  private NamespaceDefinition[] namespaces;

  private OfficeParserUtil ()
  {
    props = new DefaultConfiguration();

    ResourceManager resourceManager = new ResourceManager();
    resourceManager.registerDefaults();
    try
    {
View Full Code Here

    this.manager = manager;
    this.source = source;
    this.context = context;
    this.dependencyCollector = new DependencyCollector(source, version);
    this.objectRegistry = new HashMap();
    this.parserConfiguration = new DefaultConfiguration();
    this.commentHandler = new CommentHandler();
    this.namespaces = new FastStack();
  }
View Full Code Here

TOP

Related Classes of org.jfree.util.DefaultConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.