I believe I found a bug in whether or not PageViewer enables the Lines button in the main toolbar.
When the only textlines of the document are on a non-toplevel region (e.g. a table), then the page will be shows as if it had none.
The cause seems to be that DISPLAY_TEXTLINES is only enabled when org.primaresearch.dla.page.layout.PageLayout.hasLowLevelTextObject() returns true for TextLine, but that function does not enter the recursive region hierarchy.
I believe I found a bug in whether or not PageViewer enables the
Lines
button in the main toolbar.When the only textlines of the document are on a non-toplevel region (e.g. a table), then the page will be shows as if it had none.
The cause seems to be that
DISPLAY_TEXTLINES
is only enabled whenorg.primaresearch.dla.page.layout.PageLayout.hasLowLevelTextObject()
returns true forTextLine
, but that function does not enter the recursive region hierarchy.