Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textlines not displayed #13

Closed
bertsky opened this issue Apr 23, 2020 · 3 comments
Closed

textlines not displayed #13

bertsky opened this issue Apr 23, 2020 · 3 comments

Comments

@bertsky
Copy link

bertsky commented Apr 23, 2020

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.

@bertsky
Copy link
Author

bertsky commented Apr 23, 2020

(So maybe this issue should be moved to prima-core-libs?)

@chris1010010
Copy link
Contributor

Should work now, please test

@bertsky
Copy link
Author

bertsky commented Apr 27, 2020

Should work now, please test

It does (1.4.05) – thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants