forked from ScoDoc/ScoDoc
Tables excel avec titres sur ligne: fix décalage ligne titre
This commit is contained in:
parent
ab65ae375f
commit
c88191b0ca
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user