Bruno Lowagie (iText <bruno <at> lowagie.com> writes:

> 
> Zenith wrote:
> > Bruno Lowagie <bruno <at> lowagie.com> writes:
> > 
> >> I use class FieldPositioningEvents and chunks:
> >>
> >> FieldPositioningEvents fpe = new FieldPositioningEvents();
> >> writer.setPageEvent(fpe);
> >> Chunk academic_year = new Chunk("                  ");
> >> academic_year.setGenericTag("academic_year");
> >>
> >> The academic_year chunk can be added to the Paragraph.
> >> br,
> >> Bruno
> > 
> > 
> > I got a null pointer exception while using that code snippet of urs.
> 
> It's just a snippet, you are meant to elaborate.
> This is the complete sample:
>
http://itext.ugent.be/itext-in-action/examples/chapter17/FoobarLearningAgreement.java
> best regards,
> Bruno

Thanks for the link. Can you explain a bit what you are trying to do in this
code because I have my data in csv format also. I am trying to read from csv and
then generating a pdf. Any pointers in this area would be highly appreciated.

Thanks

Zenith




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to