http://openoffice.org/bugzilla/show_bug.cgi?id=117415
Issue Type: DEFECT
Summary: *.doc file has Field "Fib.nFib" set incorrectly
Classification: Application
Product: Word processor
Version: OOo 3.2.1
Platform: All
OS/Version: All
Status: UNCONFIRMED
Priority: P3
Component: save-export
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=76125)
--> (http://openoffice.org/bugzilla/attachment.cgi?id=76125)
Trivial *.doc file generated by OOo 3.2.1 that exhibits the problem
I'm writing code to load *.doc files for a proprietary project and have been
reading the "[MS-DOC]" file (from Microsoft Open Specification). For testing, I
have sample files saved by both Microsoft Word 2007 and OpenOffice 3.2.1.
ref: http://msdn.microsoft.com/en-us/library/cc313153.aspx
The problem I'm seeing is that OpenOffice saves the field 'FibBase.nFib' (pg
52) with the incorrect value (0x0101) instead of what is specified (0x00C1) in
the spec. This doesn't harm anything really since the documentation says the
value "SHOULD" be 0x00C1 but not "MUST" be. In fact, when 'FibRgCswNew.nFibNew'
is present, that 'FibBase.nFib' isn't used and references to it are replaced
with 'FibRgCswNew.nFibNew'.
However, the 'cswNew' field (near bottom of pg 51) is zero, which means the
whole 'FibRgCswNew' structure isn't present (and therefore neither
'FibRgCswNew.nFibNew'). In that case, 'FibBase.nFib' really should be 0x00C1
(see table at bottom of pg 51) since it not only differs from the "SHOULD"
value, but the expected value from the nFib -> cswNew table is a "MUST" match
(again, see bottom of pg 51).
Though wrong, none of these details seem to confuse OpenOffice or MS-Word, but
they are somewhat inconsistent with the spec and files generated by MS-Word.
Stricter validators/loaders may reject the files created by OpenOffice.
--
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help