Skip to content

Regression: getText() drops index entries in v2 #72

@JosePadilla98

Description

@JosePadilla98

After upgrading from v1 to v2, we are experiencing a functional regression in getText() output.
In v2, complete index entries are missing, not just formatted differently.

This affects PDFs with a table of contents layout like in this picture:

Image

Example (v1 output)

`


Expediente: ****
Referencia:***
INDICE
2
INDICE
....................................................................................................................................................................................................................................
3
HOJA RESUMEN
.....................................................................................................................................................................................................................
SOLICITANTE Y FINALIDAD
4
................................................................................................................................................................................................
4
IDENTIFICACIÓN Y LOCALIZACIÓN
..................................................................................................................................................................................
4
COMPROBACIONES Y DOCUMENTACIÓN
.......................................................................................................................................................................
5
LOCALIDAD Y ENTORNO
.......................................................................................................................................................................................................
TERRENOS, EDIFICIOS Y ELEMENTOS
5
................................................................................................................................................................................
SUPERFICIES
6
.....................................................................................................................................................................................................................
REGIMÉN DE PROTECCIÓN TENENCIA Y OCUPACIÓN
6
...................................................................................................................................................
ANÁLISIS DE MERCADO
6
...................................................................................................................................................................................................
CÁLCULOS DE VALORES TÉCNICOS
6
..................................................................................................................................................................................
VALOR DE TASACIÓN
8
..........................................................................................................................................................................................................
CONDICIONANTES
8
...............................................................................................................................................................................................................
ADVERTENCIAS
8
.....................................................................................................................................................................................................................
JUICIO CRÍTICO
8
.....................................................................................................................................................................................................................
FECHAS, CADUCIDAD Y FIRMAS
8
.........................................................................................................................................................................................
COMPROBACIONES, CRITERIOS Y GLOSARIO
...................................................................................................................................................
9
ANEXO. ESTUDIO DE MERCADO
.........................................................................................................................................................................................
10
OBSERVACIONES FINALES
8
...................................................................................................................................................................................................
Hoja Número: 2/10

Current ouput (v2)

Expediente: ****\nReferencia: *****\nINDICE\n2INDICE ....................................................................................................................................................................................................................................\n3HOJA RESUMEN ......................................................................................................................................................................................…................................................................................. 10\nOBSERVACIONES FINALES 8...................................................................................................................................................................................................\nHoja Número: 2/10

There is a loss of information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions