You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Chris Bamford <cb...@mimecast.com> on 2012/12/13 17:36:07 UTC
Question about extending XSSFSheetXMLHandler
Hi POI people
I am using poi-3.8-beta5 as bundled with Aperture 1.6.0.
I would like to extend XSSFSheetXMLHandler so that in the case of formatted numbers in cells I can also optionally output the raw value instead.
Although the method in question (endElement()) is public and therefore extendable, it references private instance variables, so it isn't straightforward.
What would be the best way of achieving my aim?
Thanks,
- Chris
Re: Legacy word doc causes infinite loop with POI 3.8-beta5
Posted by Yegor Kozlov <ye...@dinom.ru>.
POI Bugzilla is the place to report bugs: https://issues.apache.org/bugzilla/
Please create a new bug and attach the problematic file and sample
Java code that falls into an infinite loop.
Yegor
On Fri, Jan 4, 2013 at 2:11 PM, Chris Bamford <cb...@mimecast.com> wrote:
> Hi guys
>
> I have recently come across a number of old-style word docs (.doc format) which cause an infinite loop in AbstractWordConverter.java when text extraction is attempted on them, triggered by some formatting characters. While I can see the problem in the debugger, unfortunately I don't have a suggested fix as I don't understand some of the assumptions being made in the loop.
>
> I can however, provide full details of the issue and an example file.
>
> Where is the best place to send them - here, or the developer's list? Also, should I attach the dodgy file to an email or is there a website I can upload it to?
>
> Thanks,
>
> - Chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Legacy word doc causes infinite loop with POI 3.8-beta5
Posted by Chris Bamford <cb...@mimecast.com>.
Hi guys
I have recently come across a number of old-style word docs (.doc format) which cause an infinite loop in AbstractWordConverter.java when text extraction is attempted on them, triggered by some formatting characters. While I can see the problem in the debugger, unfortunately I don't have a suggested fix as I don't understand some of the assumptions being made in the loop.
I can however, provide full details of the issue and an example file.
Where is the best place to send them - here, or the developer's list? Also, should I attach the dodgy file to an email or is there a website I can upload it to?
Thanks,
- Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Question about extending XSSFSheetXMLHandler
Posted by Chris Bamford <cb...@mimecast.com>.
Thanks Nick.
I'll try both those out.
Cheers
- Chris
On 18 Dec 2012, at 11:23, Nick Burch wrote:
> On Tue, 18 Dec 2012, Chris Bamford wrote:
>> I am resubmitting this as I didn't get an answer yet - can anyone help? I don't really want to maintain my own copy of POI just for this one change...
>
> Sort term - can you use reflection?
>
> Longer term, it might be worth you raising this as an enhancement in bugzilla, then head over to the dev list and ask for advice on how to go about adding this as an improvement
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Question about extending XSSFSheetXMLHandler
Posted by Nick Burch <ap...@gagravarr.org>.
On Tue, 18 Dec 2012, Chris Bamford wrote:
> I am resubmitting this as I didn't get an answer yet - can anyone help?
> I don't really want to maintain my own copy of POI just for this one
> change...
Sort term - can you use reflection?
Longer term, it might be worth you raising this as an enhancement in
bugzilla, then head over to the dev list and ask for advice on how to go
about adding this as an improvement
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Question about extending XSSFSheetXMLHandler
Posted by Chris Bamford <cb...@mimecast.com>.
Hi guys,
I am resubmitting this as I didn't get an answer yet - can anyone help? I don't really want to maintain my own copy of POI just for this one change...
Thanks
- Chris
On 13 Dec 2012, at 16:36, Chris Bamford wrote:
> Hi POI people
>
> I am using poi-3.8-beta5 as bundled with Aperture 1.6.0.
> I would like to extend XSSFSheetXMLHandler so that in the case of formatted numbers in cells I can also optionally output the raw value instead.
> Although the method in question (endElement()) is public and therefore extendable, it references private instance variables, so it isn't straightforward.
>
> What would be the best way of achieving my aim?
>
> Thanks,
>
> - Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org