Kaydet (Commit) 43de0b24 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: #i119548# document that ms changed the meaning of fWidowControl

Change-Id: I884c3c57dfd1d2e7bfa0675fd0c0184113cdda9c
üst 0e619cb5
......@@ -3727,7 +3727,7 @@ void WW8RStyle::Set1StyleDefaults()
pIo->pAktColl->SetFmtAttr(aAttr);
}
if( /*pIo->pWDop->fWidowControl &&*/ !bWidowsChanged ) // Widows ?
if( !bWidowsChanged ) // Widows ?
{
pIo->pAktColl->SetFmtAttr( SvxWidowsItem( 2, RES_PARATR_WIDOWS ) );
pIo->pAktColl->SetFmtAttr( SvxOrphansItem( 2, RES_PARATR_ORPHANS ) );
......
......@@ -1496,7 +1496,12 @@ public:
sal_uInt8 nDataStart;
//-------------------------
sal_uInt16 fFacingPages : 1; // 1 when facing pages should be printed
sal_uInt16 fWidowControl : 1; // 1 when widow control is in effect. 0 when widow control disabled.
sal_uInt16 fWidowControl : 1; //a: orig 97 docs say
// 1 when widow control is in effect. 0 when widow control disabled.
//b: MS-DOC: Word Binary File Format (.doc) Structure Specification 2008 says
// B - unused1 (1 bit): Undefined and MUST be ignored.
sal_uInt16 fPMHMainDoc : 1; // 1 when doc is a main doc for Print Merge Helper, 0 when not; default=0
sal_uInt16 grfSuppression : 2; // 0 Default line suppression storage; 0= form letter line suppression; 1= no line suppression; default=0
sal_uInt16 fpc : 2; // 1 footnote position code: 0 as endnotes, 1 at bottom of page, 2 immediately beneath text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment