mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-09-17 21:29:56 +02:00
writer: use @type='heading' instead of 'header'
This commit is contained in:
parent
bb9cba1fd9
commit
090341241e
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class EynollahXmlWriter():
|
|||
|
||||
self.logger.debug('len(found_polygons_text_region_h) %s', len(found_polygons_text_region_h))
|
||||
for mm in range(len(found_polygons_text_region_h)):
|
||||
textregion = TextRegionType(id=counter.next_region_id, type_='header',
|
||||
textregion = TextRegionType(id=counter.next_region_id, type_='heading',
|
||||
Coords=CoordsType(points=self.calculate_polygon_coords(found_polygons_text_region_h[mm], page_coord)))
|
||||
page.add_TextRegion(textregion)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue