You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to changes in the workings of the document wrapper, accessing paragraphs or tables now does not account for the specific type anymore, but has to be specified in total offset from the start.
For example, a document which has one text paragraph followed by one table followed by one text paragraph would have to be navigated in the following way documentWrapper.getParagraph(0), documentWrapper.getTable(1), documentWrapper.getParagraph(2).
While this is of course more direct, it takes away from the power of the library in my opinion, since developers now have to keep this in their mind as they develop tests.
The text was updated successfully, but these errors were encountered:
Due to changes in the workings of the document wrapper, accessing paragraphs or tables now does not account for the specific type anymore, but has to be specified in total offset from the start.
For example, a document which has one text paragraph followed by one table followed by one text paragraph would have to be navigated in the following way
documentWrapper.getParagraph(0)
,documentWrapper.getTable(1)
,documentWrapper.getParagraph(2)
.While this is of course more direct, it takes away from the power of the library in my opinion, since developers now have to keep this in their mind as they develop tests.
The text was updated successfully, but these errors were encountered: