Return a bytestream containing XML for a default styles part.
(cls)
| 35 | |
| 36 | @classmethod |
| 37 | def _default_styles_xml(cls): |
| 38 | """Return a bytestream containing XML for a default styles part.""" |
| 39 | path = os.path.join(os.path.split(__file__)[0], "..", "templates", "default-styles.xml") |
| 40 | with open(path, "rb") as f: |
| 41 | xml_bytes = f.read() |
| 42 | return xml_bytes |