Closed zhangwx2020 closed 3 years ago
Hi Bill,
is there any issue or problem you are facing which you think may stem from this particular line of code?
In theory, I think, one could adapt the null
and return the PDDocument
, but this would require some work (there is no drawingContext.getPdDocument()
as of now) and I don't see any benefit. This code you mentioned is mostly glue code. It's needed for the wrapping of pdfbox-layout.
Best, Stefan
Yeah, the code is in pdf-box-layout. I wanted to refer PDDocument to support page number link while creating TOC. Thanks, Stefan!
Should it return drawingContext.getPdDocument() instead of null in getPdDocument() of AnnotationDrawListener? This is located at ParagraphCellDrawer.java. Thanks for your help. -Bill