To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56856





------- Additional comments from [EMAIL PROTECTED] Wed May 28 06:17:42 +0000 
2008 -------
Related issues: 
 issue 78591
 issue 49277
 issue 13507

References
 http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx
  Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
   Document Properties (DOP)
    For files with nFib>217 (Word 2000, 2002, and 2003) the following was added:
     fExpShRtn uns long :1 00002000 Compatibility option: 
     when set to 1, expand character spaces on the line ending SHIFT+RETURN

Related, at least, source files of ww8 import filter
 sw/source/filter/ww8/ww8par.cxx
  rDoc.set(IDocumentSettingAccess::DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, 
false);

 sw/source/filter/ww8/ww8scan.cxx
  void WW8Dop::SetCompatabilityOptions(UINT32 a32Bit)
   ... need to replace 
   fCompatabilityOptions_Unknown1_14       = ( a32Bit &  0x00002000 ) >> 13 ;
   with
   fExpShRtn ...

  UINT32 WW8Dop::GetCompatabilityOptions() const
   ... need to replace 
   if (fCompatabilityOptions_Unknown1_14)          a32Bit |= 0x00002000;
   with
   fExpShRtn ...

  WW8Dop::WW8Dop(SvStream& rSt, INT16 nFib, INT32 nPos, sal_uInt32 nSize) :
bUseThaiLineBreakingRules(false)
        a8Bit = Get_Byte( pData );
        copts_fOrigWordTableRules    = 0 != ( a8Bit  &  0x01   );
        copts_fTransparentMetafiles  = 0 != ( a8Bit  &  0x02   );
        copts_fShowBreaksInFrames    = 0 != ( a8Bit  &  0x04   );
        copts_fSwapBordersFacingPgs  = 0 != ( a8Bit  &  0x08   );
        ... need some codes around here ...
 
  bool WW8Dop::Write(SvStream& rStrm, WW8Fib& rFib) const
    a8Bit = 0;
    if( copts_fOrigWordTableRules )     a8Bit |= 0x01;
    if( copts_fTransparentMetafiles )   a8Bit |= 0x02;
    if( copts_fShowBreaksInFrames )     a8Bit |= 0x04;
    if( copts_fSwapBordersFacingPgs )   a8Bit |= 0x08;
    ... need some codes around here ...

 sw/source/filter/ww8/ww8scan.hxx
  ... need to add some members ...

One question.
 Will we need to take care of files under sw/source/filter/ww8/dump/, too ?


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to