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 2011/11/01 10:56:02 UTC

DO NOT REPLY [Bug 52117] New: Invalid "last printed" summary field value

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

             Bug #: 52117
           Summary: Invalid "last printed" summary field value
           Product: POI
           Version: 3.8-dev
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HPFS
        AssignedTo: dev@poi.apache.org
        ReportedBy: stas.shaposhnikov@gmail.com
    Classification: Unclassified


Created attachment 27881
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27881
Sample doc

HPSFPropertiesExtractor reports the following summary information property for
the Word file that has never been printed:

PID_LASTPRINTED = Mon Jan 01 03:00:00 MSK 1601

This file was created by MS Word 6.0/95.

-- 
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 52117] Invalid "last printed" summary field value

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

Stas Shaposhnikov <st...@gmail.com> changed:

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

--- Comment #2 from Stas Shaposhnikov <st...@gmail.com> 2011-11-03 05:54:44 UTC ---
All properties from the file returned by HPSFPropertiesExtractor:

1 = 65001
PID_TITLE = Document 6.1
PID_SUBJECT = Test 6.1
PID_AUTHOR = Author 6.1
PID_KEYWORDS = Word 6.1
PID_COMMENTS = Note 6.1
PID_TEMPLATE = D:\PROGRA~1\MICROS~3\OFFICE11\TEMPLATE\NORMAL.DOT
PID_LASTAUTHOR = Гвоздицин Александр свет Геннадьевич
PID_REVNUMBER = 3
PID_EDITTIME = Mon Jan 01 03:03:00 MSK 1601
PID_LASTPRINTED = Mon Jan 01 03:00:00 MSK 1601
PID_CREATE_DTM = Tue Mar 23 20:07:00 MSK 2010
PID_LASTSAVE_DTM = Tue Mar 23 20:19:00 MSK 2010
PID_CODEPAGE = 65001

What the default date do you mean? The file contains valid creation date. The
file never been printed so printed date should be absent or null/empty, I
think.

MS Word reported the following values on Properties-Statistics tab:

Created: Tuesday, March 23, 2010 9:07:00 PM
Modified: Tuesday, November 01, 2011 11:01:04 AM 
Accessed: Tuesday, November 01, 2011 11:01:04 AM
Printed: <empty>

-- 
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 52117] Invalid "last printed" summary field value

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

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

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

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2011-11-01 16:36:33 UTC ---
The issue is that a last printed date has been set in your file, just with what
I guess to be a default date

Can you try fetching the value yourself from HPSF, and see what gets stored?
(I'd guess at something like 0 or -1)

-- 
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