Commit e352b982 authored by Thorsten Simons's avatar Thorsten Simons

1.3.2 - added header line to content sheet for Ecky

parent f4186f1f
src/docs/source/_static/xlsx.png

452 KB | W: | H:

src/docs/source/_static/xlsx.png

464 KB | W: | H:

src/docs/source/_static/xlsx.png
src/docs/source/_static/xlsx.png
src/docs/source/_static/xlsx.png
src/docs/source/_static/xlsx.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -183,13 +183,24 @@ class Xlsx(Csv):
:param start: the timestamp of the first rec in the DB
:param end: the timestamp of the last rec in the DB
"""
row = 3
row = 4
col = 1
w_q = w_c = w_r = 0
title = self.wb.add_format({'bold': True,
'align': 'center',
'font_size': 14,
'bg_color': 'yellow'})
hright = self.wb.add_format({'align': 'right',
'font_size': 12,
'font_color': 'lightgrey',
'bottom': True})
hlink = self.wb.add_format({'align': 'left',
'font_size': 12,
'font_color': 'lightgrey',
'bottom': True})
hlight = self.wb.add_format({'align': 'right',
'font_size': 12,
'font_color': 'lightgrey',
'bottom': True})
right = self.wb.add_format({'bold': True,
'align': 'right',
'font_size': 12})
......@@ -209,6 +220,14 @@ class Xlsx(Csv):
# headline
self.contentws.merge_range(1, 1, 1, 5, 'Content', title)
self.contentws.write(row-1, 1, 'query', hright)
self.contentws.write(row-1, 2, '', hright)
w_q = len('query')
self.contentws.write(row-1, 3, 'description', hlink)
self.contentws.write(row-1, 4, '', hlink)
w_c = len('description')
self.contentws.write(row-1, 5, '(run time)', hlight)
w_r = len('(run time)')
for q in sorted(self.content.keys()):
self.contentws.write(row, col, q, right)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment