process method

process #

Converts the input presentation to a set of SVG format images and saves them in the folder of the input presentation. If the input file name is given as “myPath/myFilename.pptx”, the result will be saved as a set of “myPath/myFilename_N.svg” files, where N is a slide number.

@staticmethod
def process(input_file_name):
    ...
Parameter Type Description
input_file_name str The name of the input presentation file.

Examples #

slidize.PresentationToSvgConverter.process("pres.pptx")

Exceptions #

Exception Description
RuntimeError(Proxy error(ArgumentException))

process #

Converts the input presentation to a set of SVG format images.
If the output file name is given as “myPath/myFilename.svg”, the result will be saved as a set of “myPath/myFilename_N.svg” files, where N is a slide number.

@staticmethod
def process(input_file_name, output_file_name):
    ...
Parameter Type Description
input_file_name str The name of the input presentation file.
output_file_name str The output file name.

Examples #

slidize.PresentationToSvgConverter.process("pres.pptx", "pres.svg")

Exceptions #

Exception Description
RuntimeError(Proxy error(ArgumentException))

process #

Converts the input presentation to a set of SVG format images with custom options. If the output file name is given as “myPath/myFilename.svg”, the result will be saved as a set of “myPath/myFilename_N.svg” files, where N is a slide number.

@staticmethod
def process(input_file_name, output_file_name, options):
    ...
Parameter Type Description
input_file_name str The name of the input presentation file.
output_file_name str The output file name.
options SvgConverterOptions SVG converter options.

Examples #

options = slidize.SvgConverterOptions()
options.vectorize_text = True
slidize.PresentationToSvgConverter.process("pres.pptx", "pres.svg", options)

Exceptions #

Exception Description
RuntimeError(Proxy error(ArgumentException))

See Also #