![]() ![]() ![]() ,Ĭellstylenum = odf_create_style('table-cell', name='cellstylenum')Ĭt_properties(area='paragraph', align='start')Ĭellcenterred = odf_create_style('table-cell', name='cellcenterred')Ĭt_properties(area = 'text', color="#FF0000")Ĭt_properties(area='paragraph', align='center')Ĭelltopred = odf_create_style('table-cell', name='celltopred')Ĭt_properties(area = 'text', color="#FF0000")Ĭt_properties(area='paragraph', align='center')Ĭol3cm = odf_create_style('table-column', width='3cm')Ĭol4cm = odf_create_style('table-column', width='4cm') Here is the code #!/usr/bin/env pythonįrom _future_ import unicode_literals, print_function, divisionįrom lpod.document import odf_new_document I was able to produce an open-document spreadsheet using the development version of lpod-python (the function to merge cells was added 1 month ago). Csv does not contain any cell style information.
0 Comments
Leave a Reply. |