示例#1
0
def read_borders(parent, dest, XPath, get):
    name = 'tblBorders' if parent.tag.endswith('}tblPr') else 'tcBorders'
    read_border(parent, dest, XPath, get, border_edges, name)
示例#2
0
def read_borders(parent, dest, XPath, get):
    name = 'tblBorders' if parent.tag.endswith('}tblPr') else 'tcBorders'
    read_border(parent, dest, XPath, get, border_edges, name)
示例#3
0
文件: tables.py 项目: botmtl/calibre
def read_borders(parent, dest, XPath, get):
    name = "tblBorders" if parent.tag.endswith("}tblPr") else "tcBorders"
    read_border(parent, dest, XPath, get, border_edges, name)