poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Murphy <jmarkmur...@gmail.com>
Subject Re: Any Active Work on XWPF Sections?
Date Mon, 24 Jun 2019 20:16:09 GMT
I don't think there is anyone working on sections. But, I would want a
section class that is used by the document class much like headers and
footers. The document object would need to be able to create, retrieve,
move, and remove sections. In addition, it might be nice to be able to mark
a particular section as the default section. That's really not the way that
Word does it, so that functionality would have to be thought about as far
as how it would work. In Word, the last section is the default section. And
other than the default section, section information is kept in the last
paragraph in the section. That paragraph can be otherwise empty.

On Sat, Jun 22, 2019 at 2:31 PM Eliot Kimber <ekimber@contrext.com> wrote:

> I need to implement generation of sections in DOCX. Looking at the code in
> trunk I see some code that reads or makes CTSectPr objects (e.g.,
> XWPFDocument#createFooter) but it doesn't look like full section support is
> there.
> I would expect an XWPFSection or XWPFSectPR class for working with
> sections, and maybe methods on XWPFDocument for creating or setting them,
> although I haven't worked out my exact API needs yet.
> Is anyone actively working on more complete section support or is there
> any design work I could use to take this forward?
> I'll implement some ad-hoc section creation stuff in my Wordinator code
> but I'd like to fold anything I come up with back into the XWPF API.
> Cheers,
> E.
> --
> Eliot Kimber
> http://contrext.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message