I am using the following code to remove the Header and the Footer.
Document doc = new Document(oInputStream);
for (int i = 0; i < doc.getSections().getCount(); i++)
{
doc.getSections().get(i).getHeadersFooters().clear();
}
Is it possible to remove only the Footer and retain the Header. If so please point to the right code that does it.