poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23868] New: - DocumentSummaryInformation getters fail when 2nd section exists
Date Thu, 16 Oct 2003 17:33:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23868>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23868

DocumentSummaryInformation getters fail when 2nd section exists

           Summary: DocumentSummaryInformation getters fail when 2nd section
                    exists
           Product: POI
           Version: 2.0-pre3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HPFS
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: Robert_Flaherty@Hyperion.com


When user-defined properties are added to a document, a second section exists 
for DocumentSummaryInformation.  This causes the specialized getXxx() calls 
which inturn call getProperty() to fail b/c it is wired to only work when one 
section exists.  Because they are known to be in the first section, 
DocumentSummaryInformation should override getProperty() or create a 
getFirstSectionProperty() to get them.  It may be worthwhile to put the same 
code in SummaryInformation in case a second section could ever be created (not 
sure?).

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


Mime
View raw message