Write a physical package (.pptx file) to `pkg_file` containing `pkg_rels` and `parts` and a content types stream based on the content types of the parts.
(pkg_file, pkg_rels, parts)
| 29 | |
| 30 | @staticmethod |
| 31 | def write(pkg_file, pkg_rels, parts): |
| 32 | """Write a physical package (.pptx file) to `pkg_file` containing `pkg_rels` and |
| 33 | `parts` and a content types stream based on the content types of the parts.""" |
| 34 | phys_writer = PhysPkgWriter(pkg_file) |
| 35 | PackageWriter._write_content_types_stream(phys_writer, parts) |
| 36 | PackageWriter._write_pkg_rels(phys_writer, pkg_rels) |
| 37 | PackageWriter._write_parts(phys_writer, parts) |
| 38 | phys_writer.close() |
| 39 | |
| 40 | @staticmethod |
| 41 | def _write_content_types_stream(phys_writer, parts): |
no test coverage detected