hrbrmstr / pdfbox

📄◻️ Create, Maniuplate and Extract Data from PDF Files (R Apache PDFBox wrapper)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best way to keep running track of cursor while composing mixed text-table page

ewinbarnett opened this issue · comments

I am composing a page that starts out with a few lines of text (using the newLine() and showText() methods) but has two embedded tables that are build using the boxable library.

What is the best way to keep track of my position on the page as I lay down lines of text, so I can make a pagination decision when I need to add a table? Boxable allows me to know the size of the table, but I how do I know what my cursor position is on the PDPage?

--Ewin