View | Details | Raw Unified | Return to issue 119510
Collapse All | Expand All

(-)sw/source/filter/ww8/ww8par.cxx (-2 / +11 lines)
Lines 76-81 Link Here
76
#include <fmthdft.hxx>
76
#include <fmthdft.hxx>
77
#include <fmtcntnt.hxx>
77
#include <fmtcntnt.hxx>
78
#include <fmtcnct.hxx>
78
#include <fmtcnct.hxx>
79
#include <fmtanchr.hxx>
79
#include <fmtpdsc.hxx>
80
#include <fmtpdsc.hxx>
80
#include <ftninfo.hxx>
81
#include <ftninfo.hxx>
81
#include <fmtftn.hxx>
82
#include <fmtftn.hxx>
Lines 1687-1695 Link Here
1687
1688
1688
    SwFlyFrmFmt *pFrame = rDoc.MakeFlySection(FLY_AT_PARA, pPaM->GetPoint());
1689
    SwFlyFrmFmt *pFrame = rDoc.MakeFlySection(FLY_AT_PARA, pPaM->GetPoint());
1689
1690
1690
    pFrame->SetFmtAttr(SwFmtFrmSize(ATT_MIN_SIZE, nPageWidth, MINLAY));
1691
    SwFmtAnchor aAnch( pFrame->GetAnchor() );
1692
    aAnch.SetType( FLY_AT_PARA );
1693
    pFrame->SetFmtAttr( aAnch );
1694
    SwFmtFrmSize aSz(ATT_MIN_SIZE, nPageWidth, MINLAY);
1695
    SwFrmSize eFrmSize = ATT_MIN_SIZE;
1696
    if( eFrmSize != aSz.GetWidthSizeType() )
1697
        aSz.SetWidthSizeType( eFrmSize );
1698
    pFrame->SetFmtAttr(aSz);
1691
    pFrame->SetFmtAttr(SwFmtSurround(SURROUND_THROUGHT));
1699
    pFrame->SetFmtAttr(SwFmtSurround(SURROUND_THROUGHT));
1692
    pFrame->SetFmtAttr(SwFmtHoriOrient(0, text::HoriOrientation::RIGHT)); //iFOO
1700
    pFrame->SetFmtAttr(SwFmtHoriOrient(0, text::HoriOrientation::LEFT)); //iFOO
1701
 
1693
    // --> OD 2005-02-28 #i43427# - send frame for header/footer into background.
1702
    // --> OD 2005-02-28 #i43427# - send frame for header/footer into background.
1694
    pFrame->SetFmtAttr( SvxOpaqueItem( RES_OPAQUE, false ) );
1703
    pFrame->SetFmtAttr( SvxOpaqueItem( RES_OPAQUE, false ) );
1695
    SdrObject* pFrmObj = CreateContactObject( pFrame );
1704
    SdrObject* pFrmObj = CreateContactObject( pFrame );

Return to issue 119510