mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-01 22:17:29 +08:00
Merge pull request #173 from adrg/fix-toc-chapter-tables
Fix TOC page numbering for chapters containing tables
This commit is contained in:
commit
5c6d448fca
@ -451,6 +451,7 @@ func (table *Table) GeneratePageBlocks(ctx DrawContext) ([]*Block, DrawContext,
|
||||
ulY = ctx.Margins.top
|
||||
|
||||
ctx.Height = ctx.PageHeight - ctx.Margins.top - ctx.Margins.bottom
|
||||
ctx.Page++
|
||||
origHeight = ctx.Height
|
||||
|
||||
startrow = cell.row - 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user