Bug 45685 - poi-3.5-beta1 XWPF getApplication() return "Microsoft Office Outlook"
Summary: poi-3.5-beta1 XWPF getApplication() return "Microsoft Office Outlook"
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 07:34 UTC by Khalid
Modified: 2008-08-26 02:39 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khalid 2008-08-25 07:34:58 UTC
if i want to get the application information from a XWPFDocument, it returns me always "Microsoft Office Outlook" as the application. But i except "Microsoft Office Office" or similar.

XWPFDocument document = new XWPFDocument(pkg);
xwpfdoc.getProperties().getExtendedProperties().getUnderlyingProperties().getApplication();

It works fine for the other file formats like Excel or PowerPoint.

Best regards,

Khalid
Comment 1 Khalid 2008-08-25 07:39:39 UTC
sorry,
XWPFDocument xwpfdoc = new XWPFDocument(pkg);
xwpfdoc.getProperties().getExtendedProperties().getUnderlyingProperties().getApplication();
Best regards,

Khalid
Comment 2 Khalid 2008-08-26 02:39:57 UTC
Ohh i'm sorry,

this is not a POI bug. I get the correct application after i tried with a document that was not created by myself.
I think the wrong application comes from my MS Office.

Best regards,

Khalid