Examples of startExport()


Examples of org.freehep.graphicsio.svg.SVGGraphics2D.startExport()

          planComponent.home.getName() != null
              ? planComponent.home.getName()
              : "" );
      properties.setProperty(SVGGraphics2D.FOR, System.getProperty("user.name", ""));
      exportG2D.setProperties(properties);
      exportG2D.startExport();
      exportG2D.translate(-svgItemBounds.getMinX() + extraMargin,
          -svgItemBounds.getMinY() + extraMargin);
     
      planComponent.checkCurrentThreadIsntInterrupted(PaintMode.EXPORT);
      planComponent.paintContent(exportG2D, svgScale, Color.WHITE, Color.BLACK, PaintMode.EXPORT);  
View Full Code Here

Examples of org.goobi.production.export.ExportDocket.startExport()

      // write run note to servlet output stream
      try {
        ServletOutputStream out = response.getOutputStream();
        ExportDocket ern = new ExportDocket();
        ern.startExport(this, out, xsltfile.getAbsolutePath());
        out.flush();
        facesContext.responseComplete();
      } catch (Exception e) {
        Helper.setFehlerMeldung("Exception while exporting run note.", e.getMessage());
        response.reset();
View Full Code Here

Examples of org.goobi.production.export.ExportDocket.startExport()

        response.setHeader("Content-Disposition", "attachment;filename=\"" + fileName + "\"");

        try {
          ServletOutputStream out = response.getOutputStream();
          ExportDocket ern = new ExportDocket();
          ern.startExport(docket, out, xsltfile.getAbsolutePath());
          out.flush();
        } catch (IOException e) {
          logger.error("IOException while exporting run note", e);
        }
View Full Code Here

Examples of org.goobi.production.export.ExportDocket.startExport()

            // write docket to servlet output stream
            try {
                ServletOutputStream out = response.getOutputStream();
                ExportDocket ern = new ExportDocket();
                ern.startExport(this.processList, out, xsltfile.getAbsolutePath());
                out.flush();
            } catch (IOException e) {
                logger.error("IOException while exporting run note", e);
            }
View Full Code Here

Examples of org.goobi.production.export.ExportXmlLog.startExport()

  public void CreateXML() {
    ExportXmlLog xmlExport = new ExportXmlLog();
    try {
      LoginForm login = (LoginForm) Helper.getManagedBeanValue("#{LoginForm}");
      String ziel = login.getMyBenutzer().getHomeDir() + this.myProzess.getTitel() + "_log.xml";
      xmlExport.startExport(this.myProzess, ziel);
    } catch (IOException e) {
      Helper.setFehlerMeldung("could not write logfile to home directory: ", e);
    } catch (InterruptedException e) {
      Helper.setFehlerMeldung("could not execute command to write logfile to home directory", e);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.