개정판 8e44b27f
issue #000: line stream no case setting test
Change-Id: I2826405e5a145c9f27297e163a81f56c1a2339f5
DTI_PID/DTI_PID/ImportTextFromPDFDialog.py | ||
---|---|---|
133 | 133 |
unknowns.clear() |
134 | 134 |
"""up to here""" |
135 | 135 |
|
136 |
"""add text from autocad file to id xml file"""
|
|
136 |
"""add text from pdf file to id xml file"""
|
|
137 | 137 |
rects = [] |
138 | 138 |
|
139 | 139 |
for blk_tbl_record in pdf_xml_root.iter('Text'): |
... | ... | |
322 | 322 |
node = item.toXml() |
323 | 323 |
elif item.area == 'Drawing' and type(_item) is not QEngineeringTextItem: |
324 | 324 |
node = item.toXml() |
325 |
elif item.area == 'Drawing': |
|
325 |
elif False:#item.area == 'Drawing':
|
|
326 | 326 |
app_doc_data.getReplaceTables() |
327 | 327 |
app_doc_data.getCustomTables() |
328 | 328 |
app_doc_data.loadSymbolAttributeCodeTables() |
... | ... | |
336 | 336 |
if area.contains([loc[0], loc[1]]): |
337 | 337 |
node = item.toXml() |
338 | 338 |
break |
339 |
else: # allow all text item |
|
340 |
node = item.toXml() |
|
339 | 341 |
|
340 | 342 |
if node: |
341 | 343 |
nodes.append(node) |
내보내기 Unified diff