I have 2 ideas about this:
1> To start a new fpdocument package. I had a plan to implement this some time ago, even had chosen the same name! But never had time and it ended up forgotten. Maybe now you will achieve this =) A lot of the structural code can be copied from fpspreadsheet, but I'd rather keep it separate from it, since we are talking really about 2 completely different things.
or
2> Expand fpvectorial to support more document oriented features. It is a library created originally for vectorial drawings, but since the beginning it has had PDF support which is a general document, and vectorial drawings are almost text documents anyway. Just add a rich text, a footer and a header entity and it should be almost ready.
The advantage of this method is that it would make the solution extremely flexible and capable of converting from PDF to Word and vice-versa for example.
fpvectorial already supports multiple pages per document, so structurally it is probably ready.
Plus, I work actively in fpvectorial, but I'm not sure if I would be able to contribute to a new package (already have too many to maintain)