Skip to content

Commit

Permalink
pptx creation default to landscape
Browse files Browse the repository at this point in the history
  • Loading branch information
plutext committed Jan 5, 2014
1 parent d7750df commit 5aa2616
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ public static PresentationMLPackage createPackage() throws InvalidFormatExceptio
String slideSize= Docx4jProperties.getProperties().getProperty("pptx4j.PageSize", "A4");
log.info("Using paper size: " + slideSize);

String landscapeString = Docx4jProperties.getProperties().getProperty("pptx4j.PageOrientationLandscape", "false");
boolean landscape= Boolean.parseBoolean(landscapeString);
boolean landscape= Docx4jProperties.getProperty("pptx4j.PageOrientationLandscape", true);
log.info("Landscape orientation: " + landscape);

return createPackage(
Expand Down

0 comments on commit 5aa2616

Please sign in to comment.