Skip to content

glucazeau/test-poi-sling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. Download Sling 8 from http://www-us.apache.org/dist//sling/org.apache.sling.launchpad-8.jar
  2. Start Sling: java -jar org.apache.sling.launchpad-8.jar
  3. Open the Felix Web console: http://localhost:8080/system/console/bundles (admin/admin)
  4. Download the following bundles and install them from the Felix Web console (button "Install/Update", then check "Start bundle" and "Refresh Packages":
  1. Set OUTPUT_DIR value in GetPowerpointDocumentServlet
  2. Build and deploy the project, it will create a pptx from the Junit test mvn clean install -PautoInstallBundle
  3. Once the bundle is deployed and active, load this URL to create the document from Sling: http://localhost:8080/apps/test/poi.html

While the document from the JUnit contains a table, and can be opened with LibreOffice, the second one from Sling cannot be opened and ppt/slide1.xml is almost empty

About

Test XSLFTable creation from Apache Sling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages