You can have different headers/footers on odd/even pages, or first/other pages, on a per section basis. Sounds like you want to start with first/other pages.
So one way would be to make extra sections in your docx (a section per each value of someClass.foo), but that's probably an unnatural hacky workaround (it depends on fixed page breaks).
The other way would be to use Open XML fields to implement your someClass.foo. Macros could even help. It depends a bit on how the docx you create with docx4j is to be used... will it be opened in Word, or are you converting to PDF, or something else?
Yes, we're always happy to have people contributing to docx4j. You can get started by cloning it on GitHub, then you just make pull requests with your patches. If you'd like ideas for what to work on, either post a new topic here, or send me an email
![Smile :-)](https://www.docx4java.org/forums/images/smilies/icon_e_smile.gif)