コード例 #1
0
 def of(cls, title_generator, caption_1_generator, image_or_text_1_generator, caption_2_generator,
        image_or_text_2_generator, caption_3_generator,
        image_or_text_3_generator, original_image_size=True):
     return cls(
         CombinedGenerator(title_generator, caption_1_generator, image_or_text_1_generator, caption_2_generator,
                           image_or_text_2_generator, caption_3_generator,
                           image_or_text_3_generator, generator_util.StaticGenerator(original_image_size)))
コード例 #2
0
 def of(cls,
        title_generator,
        image_generator=None,
        original_image_size=True):
     return cls(
         CombinedSlideGenerator(
             title_generator,
             image_generator,
             generator_util.StaticGenerator(original_image_size),
         ))
コード例 #3
0
 def of(
     cls,
     title_generator,
     chart_type_generator,
     chart_data_generator,
     chart_modifier=None,
 ):
     return cls(
         CombinedSlideGenerator(
             title_generator,
             chart_type_generator,
             chart_data_generator,
             generator_util.StaticGenerator(chart_modifier),
         ))