(
self,
shapes: list[ShapeElement],
slide_idx: int,
real_idx: int,
background_xml: str,
slide_notes: str,
slide_layout_name: str,
slide_title: str,
slide_width: int,
slide_height: int,
)
| 963 | """ |
| 964 | |
| 965 | def __init__( |
| 966 | self, |
| 967 | shapes: list[ShapeElement], |
| 968 | slide_idx: int, |
| 969 | real_idx: int, |
| 970 | background_xml: str, |
| 971 | slide_notes: str, |
| 972 | slide_layout_name: str, |
| 973 | slide_title: str, |
| 974 | slide_width: int, |
| 975 | slide_height: int, |
| 976 | ): |
| 977 | self.shapes = shapes |
| 978 | self.slide_idx = slide_idx |
| 979 | self.real_idx = real_idx |
| 980 | self.background_xml = background_xml |
| 981 | self.slide_notes = slide_notes |
| 982 | self.slide_layout_name = slide_layout_name |
| 983 | self.slide_title = slide_title |
| 984 | self.slide_width = slide_width |
| 985 | self.slide_height = slide_height |
| 986 | groups_shapes_labels = [] |
| 987 | for shape in self.shape_filter(GroupShape): |
| 988 | for group_shape in groups_shapes_labels: |
| 989 | if group_shape == shape: |
| 990 | shape.group_label = group_shape.group_label |
| 991 | continue |
| 992 | groups_shapes_labels.append(shape) |
| 993 | shape.group_label = f"group_{len(groups_shapes_labels)}" |
| 994 | |
| 995 | @classmethod |
| 996 | def from_slide( |
nothing calls this directly
no test coverage detected