I'm looking for anyone who has had experience working with the linenum() function while processing documents - particularly with tables.
A function in our software creates XSLFO in order to generate a PDF. Prior to going to a PDF, we generate FOSI and feed the document into the linenum() function which counts the lines of content so we can determine how much content is on a page.
This works great, until we reach tables, especially tables which span pages. Here, it either ignores the table, or causes an inaccurate count. This is especially true of tables which have a <thead>.