(width, height, slide_object_name, presentation_object_name, utils_functions)
| 6 | return re.sub(r'[^0-9a-zA-Z_]+', '_', name) |
| 7 | |
| 8 | def initialize_poster_code(width, height, slide_object_name, presentation_object_name, utils_functions): |
| 9 | code = utils_functions |
| 10 | code += fr''' |
| 11 | # Poster: {presentation_object_name} |
| 12 | {presentation_object_name} = create_poster(width_inch={width}, height_inch={height}) |
| 13 | |
| 14 | # Slide: {slide_object_name} |
| 15 | {slide_object_name} = add_blank_slide({presentation_object_name}) |
| 16 | ''' |
| 17 | |
| 18 | return code |
| 19 | |
| 20 | def save_poster_code(output_file, utils_functions, presentation_object_name): |
| 21 | code = utils_functions |
no outgoing calls
no test coverage detected