2014-02-25 23:46:06 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
|
|
|
|
|
|
|
Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the
|
|
|
|
terms of the GNU Lesser General Public License as published by the Free Software
|
|
|
|
Foundation; either version 3.0 of the License, or (at your option) any later
|
|
|
|
version.
|
|
|
|
|
|
|
|
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License along
|
|
|
|
with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
-->
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2017-07-03 22:44:13 +08:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
|
|
|
|
|
2022-07-08 03:23:58 +08:00
|
|
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
2022-09-20 04:27:59 +08:00
|
|
|
<property name="locations">
|
|
|
|
<list>
|
|
|
|
<value>classpath:bigbluebutton.properties</value>
|
|
|
|
<value>file:/etc/bigbluebutton/bbb-web.properties</value>
|
|
|
|
</list>
|
2022-07-08 03:23:58 +08:00
|
|
|
</property>
|
2022-09-22 01:40:26 +08:00
|
|
|
<property name="ignoreResourceNotFound" value="true" />
|
|
|
|
<property name="ignoreUnresolvablePlaceholders" value="true" />
|
2022-07-08 03:23:58 +08:00
|
|
|
</bean>
|
|
|
|
|
2017-07-03 22:44:13 +08:00
|
|
|
<bean id="documentConversionService" class="org.bigbluebutton.presentation.DocumentConversionServiceImp">
|
|
|
|
<property name="bbbWebApiGWApp" ref="bbbWebApiGWApp"/>
|
2021-03-25 02:00:05 +08:00
|
|
|
<property name="officeToPdfConversionService" ref="officeToPdfConversionService"/>
|
2020-02-27 06:36:04 +08:00
|
|
|
<property name="presentationFileProcessor" ref="presentationFileProcessor"/>
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="slidesGenerationProgressNotifier" ref="slidesGenerationProgressNotifier"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
</bean>
|
|
|
|
|
2017-09-27 03:23:39 +08:00
|
|
|
<bean id="officeDocumentValidator" class="org.bigbluebutton.presentation.imp.OfficeDocumentValidator2">
|
|
|
|
<property name="presCheckExec" value="${presCheckExec}"/>
|
|
|
|
</bean>
|
|
|
|
|
2021-03-25 02:00:05 +08:00
|
|
|
<bean id="officeToPdfConversionService" class="org.bigbluebutton.presentation.imp.OfficeToPdfConversionService">
|
2021-03-23 02:32:22 +08:00
|
|
|
<property name="officeDocumentValidator" ref="officeDocumentValidator"/>
|
|
|
|
<property name="skipOfficePrecheck" value="${skipOfficePrecheck}"/>
|
|
|
|
<property name="presOfficeConversionExec" value="${presOfficeConversionExec:/usr/share/bbb-libreoffice-conversion/convert.sh}"/>
|
2021-03-30 22:26:03 +08:00
|
|
|
<property name="presOfficeConversionTimeout" value="${officeToPdfConversionTimeout}"/>
|
|
|
|
<property name="presOfficeConversionMaxConcurrents" value="${officeToPdfMaxConcurrentConversions}"/>
|
2021-03-23 02:32:22 +08:00
|
|
|
</bean>
|
|
|
|
|
2017-07-03 22:44:13 +08:00
|
|
|
<bean id="pageExtractor" class="org.bigbluebutton.presentation.imp.PageExtractorImp"/>
|
|
|
|
|
|
|
|
<bean id="pageCounter" class="org.bigbluebutton.presentation.imp.PdfPageCounter"/>
|
|
|
|
|
2018-09-11 19:51:03 +08:00
|
|
|
<bean id="imageResizer" class="org.bigbluebutton.presentation.imp.ImageResizerImp"/>
|
|
|
|
|
2017-07-03 22:44:13 +08:00
|
|
|
<bean id="pageCounterService" class="org.bigbluebutton.presentation.imp.PageCounterService">
|
|
|
|
<property name="pageCounter" ref="pageCounter"/>
|
|
|
|
<property name="maxNumPages" value="${maxNumPages}"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="thumbCreator" class="org.bigbluebutton.presentation.imp.ThumbnailCreatorImp">
|
|
|
|
<property name="imageMagickDir" value="${imageMagickDir}"/>
|
|
|
|
<property name="blankThumbnail" value="${BLANK_THUMBNAIL}"/>
|
|
|
|
</bean>
|
|
|
|
|
2018-04-11 04:06:08 +08:00
|
|
|
<bean id="pngCreator" class="org.bigbluebutton.presentation.imp.PngCreatorImp">
|
|
|
|
<property name="blankPng" value="${BLANK_PNG}"/>
|
|
|
|
<property name="slideWidth" value="${pngSlideWidth}"/>
|
|
|
|
</bean>
|
|
|
|
|
2017-07-03 22:44:13 +08:00
|
|
|
<bean id="textFileCreator" class="org.bigbluebutton.presentation.imp.TextFileCreatorImp"/>
|
|
|
|
|
|
|
|
<bean id="svgImageCreator" class="org.bigbluebutton.presentation.imp.SvgImageCreatorImp">
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="slidesGenerationProgressNotifier" ref="slidesGenerationProgressNotifier"/>
|
2018-10-05 06:52:57 +08:00
|
|
|
<property name="imageTagThreshold" value="${imageTagThreshold}"/>
|
|
|
|
<property name="pathsThreshold" value="${placementsThreshold}"/>
|
2020-02-23 01:26:50 +08:00
|
|
|
<property name="blankSvg" value="${BLANK_SVG}"/>
|
2021-03-31 05:29:34 +08:00
|
|
|
<property name="convPdfToSvgTimeout" value="${svgConversionTimeout}"/>
|
2022-09-23 03:58:37 +08:00
|
|
|
<property name="pdfFontsTimeout" value="${pdfFontsTimeout}"/>
|
|
|
|
<property name="maxNumberOfAttempts" value="${maxNumberOfAttemptsForPdfFonts}"/>
|
2021-04-20 03:01:48 +08:00
|
|
|
<property name="svgResolutionPpi" value="${svgPresentationResolutionPpi}"/>
|
2021-04-23 08:57:55 +08:00
|
|
|
<property name="forceRasterizeSlides" value="${forceRasterizeSlides}"/>
|
|
|
|
<property name="pngWidthRasterizedSlides" value="${pngWidthRasterizedSlides}"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="generatedSlidesInfoHelper" class="org.bigbluebutton.presentation.GeneratedSlidesInfoHelperImp"/>
|
|
|
|
|
2022-11-17 21:55:19 +08:00
|
|
|
<bean id="pdfSlidesGenerationService"
|
|
|
|
class="org.bigbluebutton.presentation.imp.PdfSlidesGenerationService">
|
2017-07-03 22:44:13 +08:00
|
|
|
<constructor-arg index="0" value="${numConversionThreads}"/>
|
2020-02-27 06:36:04 +08:00
|
|
|
<property name="presentationConversionCompletionService" ref="presentationConversionCompletionService"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="presentationFileProcessor"
|
|
|
|
class="org.bigbluebutton.presentation.imp.PresentationFileProcessor">
|
2020-02-28 05:37:42 +08:00
|
|
|
<constructor-arg index="0" value="${numFileProcessorThreads}"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="thumbnailCreator" ref="thumbCreator"/>
|
2018-04-11 04:06:08 +08:00
|
|
|
<property name="pngCreator" ref="pngCreator"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="textFileCreator" ref="textFileCreator"/>
|
|
|
|
<property name="svgImageCreator" ref="svgImageCreator"/>
|
2019-10-16 15:37:03 +08:00
|
|
|
<property name="pageExtractor" ref="pageExtractor"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="maxConversionTime" value="${maxConversionTime}"/>
|
2019-10-16 15:37:03 +08:00
|
|
|
<property name="bigPdfSize" value="${bigPdfSize}"/>
|
|
|
|
<property name="maxBigPdfPageSize" value="${maxBigPdfPageSize}"/>
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="slidesGenerationProgressNotifier" ref="slidesGenerationProgressNotifier"/>
|
2018-04-11 04:06:08 +08:00
|
|
|
<property name="generatePngs" value="${generatePngs}"/>
|
2020-02-27 06:36:04 +08:00
|
|
|
<property name="presentationConversionCompletionService" ref="presentationConversionCompletionService"/>
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="imageSlidesGenerationService" ref="imageSlidesGenerationService"/>
|
2020-02-27 06:36:04 +08:00
|
|
|
<property name="counterService" ref="pageCounterService"/>
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="pdfSlidesGenerationService" ref="pdfSlidesGenerationService"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
</bean>
|
|
|
|
|
2022-11-17 21:55:19 +08:00
|
|
|
<bean id="imageSlidesGenerationService"
|
|
|
|
class="org.bigbluebutton.presentation.imp.ImageSlidesGenerationService">
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="svgImageCreator" ref="svgImageCreator"/>
|
|
|
|
<property name="thumbnailCreator" ref="thumbCreator"/>
|
2019-05-16 01:50:28 +08:00
|
|
|
<property name="pngCreator" ref="pngCreator"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="textFileCreator" ref="textFileCreator"/>
|
|
|
|
<property name="maxConversionTime" value="${maxConversionTime}"/>
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="slidesGenerationProgressNotifier" ref="slidesGenerationProgressNotifier"/>
|
2018-09-11 19:51:03 +08:00
|
|
|
<property name="imageResizer" ref="imageResizer"/>
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="maxImageWidth" value="${maxImageWidth}"/>
|
|
|
|
<property name="maxImageHeight" value="${maxImageHeight}"/>
|
2019-05-16 01:50:28 +08:00
|
|
|
<property name="generatePngs" value="${generatePngs}"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
</bean>
|
|
|
|
|
2022-11-17 21:55:19 +08:00
|
|
|
<bean id="slidesGenerationProgressNotifier"
|
|
|
|
class="org.bigbluebutton.presentation.imp.SlidesGenerationProgressNotifier">
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="messagingService" ref="bbbWebApiGWApp"/>
|
2022-09-23 03:58:37 +08:00
|
|
|
<property name="maxNumberOfAttempts" value="${maxNumberOfAttemptsForPdfFonts}"/>
|
2017-07-03 22:44:13 +08:00
|
|
|
<property name="generatedSlidesInfoHelper" ref="generatedSlidesInfoHelper"/>
|
|
|
|
</bean>
|
2020-02-27 06:36:04 +08:00
|
|
|
|
|
|
|
<bean id="presentationConversionCompletionService"
|
|
|
|
class="org.bigbluebutton.presentation.imp.PresentationConversionCompletionService"
|
|
|
|
init-method="start" destroy-method="stop">
|
2022-11-17 21:55:19 +08:00
|
|
|
<property name="slidesGenerationProgressNotifier" ref="slidesGenerationProgressNotifier"/>
|
2020-02-27 06:36:04 +08:00
|
|
|
</bean>
|
|
|
|
|
2015-07-16 04:58:15 +08:00
|
|
|
</beans>
|