Test Setup Failed
Pull Request — master (#559)
by Konstantin
04:44
created

get_AllTextLine.get_AllTextLine()   A

Complexity

Conditions 2

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 2
nop 1
1
def get_AllTextLine(self):
2
    """
3
    Return all the TextLine in the document
4
    """
5
    ret = []
6
    for reg in self.get_AllRegions(['Text']):
7
        ret += reg.get_TextLine()
8
    return ret
9
10