|
|
|
|
|
|
212
|
|
212
|
|
|
213
|
elif value is True:
|
213
|
elif value is True:
|
|
214
|
img = Image(checked_image_path)
|
214
|
img = Image(checked_image_path)
|
|
215
|
- img.width = img.height = pixels_to_points(15)
|
|
|
|
|
|
215
|
+ img.width = pixels_to_points(20)
|
|
|
|
216
|
+ img.height = pixels_to_points(15)
|
|
|
|
217
|
+
|
|
216
|
# img.width = 15
|
218
|
# img.width = 15
|
|
217
|
# img.hegiht = 10
|
219
|
# img.hegiht = 10
|
|
218
|
print(f"{cell.coordinate}")
|
220
|
print(f"{cell.coordinate}")
|
|
|
|
|
|
|
224
|
img = Image(unchecked_image_path)
|
226
|
img = Image(unchecked_image_path)
|
|
225
|
# img.width = 15
|
227
|
# img.width = 15
|
|
226
|
# img.height = 10
|
228
|
# img.height = 10
|
|
227
|
- img.width = img.height = pixels_to_points(15)
|
|
|
|
|
|
229
|
+ img.width = pixels_to_points(20)
|
|
|
|
230
|
+ img.height = pixels_to_points(15)
|
|
228
|
# sheet.add_image(img, cell.coordinate)
|
231
|
# sheet.add_image(img, cell.coordinate)
|
|
229
|
# set_image_with_offset(sheet, img, cell.coordinate, offset_x=100)
|
232
|
# set_image_with_offset(sheet, img, cell.coordinate, offset_x=100)
|
|
230
|
center_image_in_cell(sheet, img, cell.coordinate, )
|
233
|
center_image_in_cell(sheet, img, cell.coordinate, )
|