Skip to content

Commit

Permalink
Update ns_ddx_figure.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhsukeogawa authored Aug 1, 2024
1 parent 0014a3f commit 7e5a735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ns_ddx_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def add_shape(self):
ns_ddx_figure_run.add_segment_line(self,shape_left,shape_top,shape_width,shape_hight,folder_left,folder_top,folder_width,folder_hight,temp_sub_col_count,temp_row_subfolder,temp_width_margin,temp_hight_margin)

###write normal shape
if self.input_ppt_mata_excel.active.cell(temp_row_subfolder, temp_sub_col_count).value != None and segment_flag == False:
if self.input_ppt_mata_excel.active.cell(temp_row_subfolder, temp_sub_col_count).value != None and segment_flag == False and '_AIR_' not in str(self.input_ppt_mata_excel.active.cell(temp_row_subfolder, temp_sub_col_count).value):
self.shape = self.slide.shapes
self.shape = self.shape.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE, Inches(shape_left), Inches(shape_top), Inches(shape_width), Inches(shape_hight))
## write text and reflected TAG function in the shape
Expand Down

0 comments on commit 7e5a735

Please sign in to comment.