poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54849] Controlled content/Form (Std/StdBlock) content is not processed
Date Tue, 16 Apr 2013 23:25:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54849

--- Comment #6 from Tim Allison <tallison@mitre.org> ---
(In reply to comment #4)
> (In reply to comment #2)
> > Created attachment 30203 [details]
> > [PATCH] POI 54849
> > 
> > Proposed patch is attached.  In the long run, it'd be great to build out the
> > controlled content/form object (on par with XWPFParagraph and XWPFTable),
> > but for now, this will at least read the text within one into the
> > paragraphs, tables and bodyelements lists.
> > 
> > Any recommendations?
> 
> I think it might be best to add a very simple body element for the
> controlled content, and have the inner paragraphs+tables made available from
> that. That would seem to be the most future proof way to go, as we can then
> add in future logic / information on the controlled content later, without
> changing the behaviour. If we do a simple parsing now and pop the text into
> the regular list, then when we come to add proper support we'd risk breaking
> existing code by causing the location of the text objects to move in the
> body hierarchy.

Agreed. Makes it much cleaner.  

Not much time to burn on this...maybe by end of next week for first draft.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message