fredstroup
fredstroup

Reputation: 60

With POI Word API, how to repeat a table heading on subsequent pages?

I am using Apache POI 3.12 for generating a Word document containing a XWPFTable. In the MS Word interface you can repeat a table heading on subsequent pages by checking a property on the table itself.

How do you do the same using the XWPFTable API ?

Upvotes: 0

Views: 1532

Answers (1)

Marko
Marko

Reputation: 46

In JWord that is set on Row level. There is method

row.setHeader(true);

Something similar should exist in the POI.

Upvotes: 3

Related Questions