Package org.bigbluebutton.presentation

Examples of org.bigbluebutton.presentation.PageConverter


  public void generateSlides(UploadedPresentation pres) {
    log.debug("Generating slides")
    pres.setNumberOfPages(1); // There should be only one image to convert.
    log.debug("Determined number of pages " + pres.getNumberOfPages());
    if (pres.getNumberOfPages() > 0) {
      PageConverter pageConverter = determinePageConverter(pres);
      convertImageToSwf(pres, pageConverter);
    }
   
    /* adding accessibility */
    createTextFiles(pres);
 
View Full Code Here


    String filenameWithoutExt = presentationFile.getAbsolutePath().substring(0, presentationFile.getAbsolutePath().lastIndexOf("."));
    return new File(filenameWithoutExt + ".pdf");
  }
 
  private boolean convertOfficeDocToPdf(UploadedPresentation pres, File pdfOutput) {
    PageConverter converter = new Office2PdfPageConverter();
    return converter.convert(pres.getUploadedFile(), pdfOutput, 0);
  }
View Full Code Here

  public void generateSlides(UploadedPresentation pres) {
    log.debug("Generating slides")
    pres.setNumberOfPages(1); // There should be only one image to convert.
    log.debug("Determined number of pages " + pres.getNumberOfPages());
    if (pres.getNumberOfPages() > 0) {
      PageConverter pageConverter = determinePageConverter(pres);
      convertImageToSwf(pres, pageConverter);
    }
   
    /* adding accessibility */
    createTextFiles(pres);
 
View Full Code Here

TOP

Related Classes of org.bigbluebutton.presentation.PageConverter

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.