Skip to content

Commit 987605a

Browse files
authored
Update ppt2pdf_win.py
1 parent 132a8f3 commit 987605a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ppt2pdf/ppt2pdf_win.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
# Function PPTtoPDF
6-
def PPTtoPDF(inputFileName, outputFileName, formatType = 32):
6+
def PPTtoPDF(inputFileName, outputFileName, formatType= 2):
77
powerpoint = CreateObject('Powerpoint.Application')
88
constants = Constants(powerpoint)
99
powerpoint.Visible = 1
@@ -15,8 +15,9 @@ def PPTtoPDF(inputFileName, outputFileName, formatType = 32):
1515
deck.Close()
1616
powerpoint.Quit()
1717

18+
1819
# Function PPTtoPDFNote
19-
def PPTtoPDFNote(inputFileName, outputFileName, formatType = 32):
20+
def PPTtoPDFNote(inputFileName, outputFileName, formatType=32):
2021
powerpoint = CreateObject('Powerpoint.Application')
2122
constants = Constants(powerpoint)
2223
powerpoint.Visible = 1
@@ -28,7 +29,7 @@ def PPTtoPDFNote(inputFileName, outputFileName, formatType = 32):
2829
outputFileName,
2930
constants.ppFixedFormatTypePDF,
3031
constants.ppFixedFormatIntentPrint,
31-
False, # No frame
32+
False, # No frame
3233
constants.ppPrintHandoutHorizontalFirst,
3334
constants.ppPrintOutputNotesPages,
3435
constants.ppPrintAll

0 commit comments

Comments
 (0)