Bookmark Topic Watch Topic
  • New Topic

iText Question

 
Mike London
Ranch Hand
Posts: 1290
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm not sure if anyone here uses iText (a very cool API to programmatically generate/manipulate PDFs), but I'm having an issue using the XML portion of the API.

Specifically, when you extend the PdfPageEventHelper class, some of the methods in the class you're extending seem to be called by the library and others don't.

I overrode the onSection tag since I'm trying to add a graphic at the beginning of a section, but this code is never called. The method signature matches the overridden method's signature.

Any help or suggestions would greatly be appreciated.

Thanks.

-- M

public void onSection(PdfWriter writer, Document document,
float paragraphPosition, int depth, Paragraph title)
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
This question really belongs into the Other Open Source Projects forum, where the iText experts hang out.
 
Mike London
Ranch Hand
Posts: 1290
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
ok thanks. I'll put it there instead.

-- M
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!