A
Anabel
I am working in converting one document with a lot of elements (every line is
a text box, tables have the borders as different elements than text
inside,...) into another with a continuous text and a defined structure. What
I have done is to catalogue all the elements and saved their top and left
properties.
I have found the problem with tables. I'm inserting a table when I find the
first element "Border" and insert the text in it by checking all the elements
behind and looking if the top and left properties are between top and
top+height, and left and left + width, respectively, of the "borders"
element. But I don't know what to do with the next columns and rows, because
this way of working can take too much time.
a text box, tables have the borders as different elements than text
inside,...) into another with a continuous text and a defined structure. What
I have done is to catalogue all the elements and saved their top and left
properties.
I have found the problem with tables. I'm inserting a table when I find the
first element "Border" and insert the text in it by checking all the elements
behind and looking if the top and left properties are between top and
top+height, and left and left + width, respectively, of the "borders"
element. But I don't know what to do with the next columns and rows, because
this way of working can take too much time.