You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/04/18 09:22:32 UTC

DO NOT REPLY [Bug 44840] New: HSSFObjectData: how to read the entry of an CheckBox

https://issues.apache.org/bugzilla/show_bug.cgi?id=44840

           Summary: HSSFObjectData: how to read the entry of an CheckBox
           Product: POI
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: gazanfer.ercan.ext@siemens.com


> If I call getDirectory() this throws an exception.
>
> java.io.FileNotFoundException: no such entry: "MBD00000000"

Your ftPictFmla references the steam with id 0:
     .streamId             = 0x00000000 (0 )
But no such stream exists in your file, which is going to be a problem.

I've taken a look at EmbeddedObjectRefSubRecord, and I'm not completely
sure it's correct. Any chance you could open a new bug on bugzilla, and
upload the problem file, so we can take a look?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44840] HSSFObjectData: how to read the entry of an CheckBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44840


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Nick Burch <ni...@torchbox.com>  2008-05-23 08:56:05 PST ---
I think that in some cases, the object data is stored in the record itself, and
not in another POIFS stream

I've updated HSSFObjectData, so that it will tell you if it looks like there's
a directory entry or not. It will now also give you the OLE2 class name, and
the data if there's no directory entry.

Hopefully that'll fix things for you.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44840] HSSFObjectData: how to read the entry of an CheckBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44840





--- Comment #2 from gazanfer ercan <ga...@siemens.com>  2008-04-28 00:37:48 PST ---
Created an attachment (id=21865)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21865)
excel file with an embedded object


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44840] HSSFObjectData: how to read the entry of an CheckBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44840


gazanfer ercan <ga...@siemens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gazanfer.ercan.ext@siemens.c
                   |                            |om




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44840] HSSFObjectData: how to read the entry of an CheckBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44840





--- Comment #3 from gazanfer ercan <ga...@siemens.com>  2008-04-28 00:38:32 PST ---
Created an attachment (id=21866)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21866)
test case


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44840] HSSFObjectData: how to read the entry of an CheckBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44840


gazanfer ercan <ga...@siemens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44840] HSSFObjectData: how to read the entry of an CheckBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44840


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Nick Burch <ni...@torchbox.com>  2008-04-27 11:02:22 PST ---
Could you please upload the problem excel file too? We'll need to take a look
in it to see exactly what your EmbeddedObjectRefSubRecord contains


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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