Skip to content
Snippets Groups Projects
Commit c88191b0 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

Tables excel avec titres sur ligne: fix décalage ligne titre

parent ab65ae37
No related branches found
No related tags found
No related merge requests found
...@@ -313,11 +313,11 @@ class GenTable: ...@@ -313,11 +313,11 @@ class GenTable:
T.append(l + [self.bottom_titles.get(cid, "") for cid in self.columns_ids]) T.append(l + [self.bottom_titles.get(cid, "") for cid in self.columns_ids])
return T return T
def get_titles_list(self, with_lines_titles=True): def get_titles_list(self):
"list of titles" "list of titles"
titles = [self.titles.get(cid, "") for cid in self.columns_ids] titles = [self.titles.get(cid, "") for cid in self.columns_ids]
if with_lines_titles: if "row_title" in self.titles and "row_title" not in self.columns_ids:
titles.insert(0, "") titles.insert(0, self.titles["row_title"])
return titles return titles
def gen(self, fmt="html", columns_ids=None): def gen(self, fmt="html", columns_ids=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment