Package org.bigbluebutton.presentation

Examples of org.bigbluebutton.presentation.PdfToSwfSlide


    for (final PdfToSwfSlide slide : slides) {
      Future<PdfToSwfSlide> future = null;
      try {
        future = completionService.poll(MAXWAIT, TimeUnit.MILLISECONDS);
        if (future != null) {
          PdfToSwfSlide s = future.get();
          slidesCompleted++;
          notifier.sendConversionUpdateMessage(slidesCompleted, pres);
        } else {
          log.info("Timedout waiting for page to finish conversion.");
        }
View Full Code Here


 
  private List<PdfToSwfSlide> setupSlides(UploadedPresentation pres, int numPages) {
    List<PdfToSwfSlide> slides = new ArrayList<PdfToSwfSlide>(numPages);
   
    for (int page = 1; page <= numPages; page++) {   
      PdfToSwfSlide slide = new PdfToSwfSlide(pres, page);
      slide.setBlankSlide(BLANK_SLIDE);
      slide.setMaxSwfFileSize(MAX_SWF_FILE_SIZE);
      slide.setPageConverter(pdfToSwfConverter);
      slide.setPdfPageToImageConversionService(imageConvertService);
     
      slides.add(slide);
    }
   
    return slides;
View Full Code Here

    for (final PdfToSwfSlide slide : slides) {
      Future<PdfToSwfSlide> future = null;
      try {
        future = completionService.poll(MAXWAIT, TimeUnit.MILLISECONDS);
        if (future != null) {
          PdfToSwfSlide s = future.get();
          slidesCompleted++;
          notifier.sendConversionUpdateMessage(slidesCompleted, pres);
        } else {
          log.warn("Timedout waiting for page to finish conversion. MeetingId=[" + pres.getMeetingId() + "], presId=[" + pres.getId() + "], name=[" + pres.getName() + "]");
        }
View Full Code Here

 
  private List<PdfToSwfSlide> setupSlides(UploadedPresentation pres, int numPages) {
    List<PdfToSwfSlide> slides = new ArrayList<PdfToSwfSlide>(numPages);
   
    for (int page = 1; page <= numPages; page++) {   
      PdfToSwfSlide slide = new PdfToSwfSlide(pres, page);
      slide.setBlankSlide(BLANK_SLIDE);
      slide.setMaxSwfFileSize(MAX_SWF_FILE_SIZE);
      slide.setPageConverter(pdfToSwfConverter);
      slide.setPdfPageToImageConversionService(imageConvertService);
     
      slides.add(slide);
    }
   
    return slides;
View Full Code Here

TOP

Related Classes of org.bigbluebutton.presentation.PdfToSwfSlide

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.