Пример #1
0
                 title_font_color='dm',
                 subtitle_font_color='dm',
                 footer='Foundation Trilogy',
                 show_date=True,
                 date_font_color='i',
                 footer_font_color='i',
                 page_number_font_color="i")

P.add_title_chart(title='The Foundation Series', subtitle='Isaac Asimov')

P.add_titled_text_and_image(text_location='top',
                            title='"Best All-Time Series" in 1966',
                            title_font_color='',
                            outline=[
                                "Psychohistory", "    Hari Seldon's Invention",
                                "R. Daneel Olivaw", "    Humanity's Protector"
                            ],
                            text_font_color='dm',
                            image_file='Foundation_Series.jpg',
                            keep_aspect_ratio=True,
                            pcent_stretch_center=50,
                            pcent_stretch_content=100)

P.add_titled_image(title='Two Prequels, Two Sequels, Many Reprints',
                   image_file='Foudation_Series_v3.jpg',
                   image_2_file='foundation_x7.png',
                   image_3_file='Foudation_Series_v2.jpg',
                   image_4_file='r_daneel_olivaw.jpg',
                   pcent_stretch_center=80,
                   pcent_stretch_content=80)

P.save(filename='asimov.odp', launch=1)
Пример #2
0
P.add_titled_image(title='Locus, Nebula, Hugo',
                   image_file='Titan.jpg',
                   image_2_file='Wizard.jpg',
                   image_3_file='Demon.jpg',
                   image_4_file='Demon.jpg',
                   pcent_stretch_center=PC_CENTER,
                   pcent_stretch_content=PC_CONTENT,
                   pcent_move_content_right=PC_RIGHT,
                   pcent_move_content_up=PC_UP)

P.add_titled_text_and_image(text_location='top',
                            title='Text on Top',
                            title_font_color='',
                            image_2_file='./examples/robot.gif',
                            outline=['My Favorite Duck', '    under fire'],
                            text_font_color='',
                            image_file='./examples/duck.gif',
                            keep_aspect_ratio=True,
                            pcent_stretch_center=PC_CENTER,
                            pcent_stretch_content=PC_CONTENT,
                            pcent_move_content_right=PC_RIGHT,
                            pcent_move_content_up=PC_UP)

P.add_titled_text_and_image(text_location='bottom',
                            title='Text on Bottom',
                            title_font_color='',
                            image_2_file='./examples/robot.gif',
                            outline=['My Favorite Duck', '    under fire'],
                            text_font_color='',
                            image_file='./examples/duck.gif',
                            keep_aspect_ratio=True,
                            pcent_stretch_center=PC_CENTER,
Пример #3
0
P.add_titled_image( title='Locus, Nebula, Hugo', image_file='Titan.jpg',
                    image_2_file='Wizard.jpg', image_3_file='Demon.jpg',
                    big_3rd_img_left=False,
                    pcent_stretch_center=PC_CENTER, pcent_stretch_content=PC_CONTENT,
                    pcent_move_content_right=PC_RIGHT, pcent_move_content_up=PC_UP)

P.add_titled_image( title='Locus, Nebula, Hugo', image_file='Titan.jpg',
                    image_2_file='Wizard.jpg', image_3_file='Demon.jpg',
                    image_4_file='Demon.jpg',
                    pcent_stretch_center=PC_CENTER, pcent_stretch_content=PC_CONTENT,
                    pcent_move_content_right=PC_RIGHT, pcent_move_content_up=PC_UP)


P.add_titled_text_and_image( text_location='top',
                        title='Text on Top', title_font_color='',  image_2_file='./examples/robot.gif',
                        outline=['My Favorite Duck','    under fire'], text_font_color='', 
                        image_file='./examples/duck.gif', keep_aspect_ratio=True, 
                        pcent_stretch_center=PC_CENTER, pcent_stretch_content=PC_CONTENT, 
                        pcent_move_content_right=PC_RIGHT, pcent_move_content_up=PC_UP)

P.add_titled_text_and_image( text_location='bottom',
                        title='Text on Bottom', title_font_color='',  image_2_file='./examples/robot.gif',
                        outline=['My Favorite Duck','    under fire'], text_font_color='', 
                        image_file='./examples/duck.gif', keep_aspect_ratio=True, 
                        pcent_stretch_center=PC_CENTER, pcent_stretch_content=PC_CONTENT, 
                        pcent_move_content_right=PC_RIGHT, pcent_move_content_up=PC_UP)

P.add_titled_text_and_image( text_location='top',
                        title='Text on Top', title_font_color='',  
                        outline=['My Favorite Duck','    under fire'], text_font_color='', 
                        image_file='./examples/duck.gif', keep_aspect_ratio=True, 
                        pcent_stretch_center=PC_CENTER, pcent_stretch_content=PC_CONTENT,