/aoo41x/main/sw/source/core/undo/ |
H A D | undobj1.cxx | 55 : SwUndo( nUndoId ), pFrmFmt( pFormat ) in SwUndoFlyBase() 62 delete pFrmFmt; in ~SwUndoFlyBase() 108 if( RES_DRAWFRMFMT != pFrmFmt->Which() ) in InsFly() 125 SwFmtFlyCnt aFmt( pFrmFmt ); in InsFly() 129 pFrmFmt->MakeFrms(); in InsFly() 370 if (pFrmFmt) in GetComment() 426 SwDoc * pDoc = pFrmFmt->GetDoc(); in GetRewriter() 471 DelFly( pFrmFmt->GetDoc() ); in RedoForRollback() 563 pFrmFmt->DelFrms(); in UndoImpl() 566 pFrmFmt->SetDerivedFrom( pOldFmt ); in UndoImpl() [all …]
|
H A D | unattr.cxx | 475 SwFlyFrmFmt* pFrmFmt = static_cast<SwFlyFrmFmt*>(m_pFmt); in RestoreFlyAnchor() local 517 if( RES_DRAWFRMFMT == pFrmFmt->Which() ) in RestoreFlyAnchor() 527 aDrawOldPt = pFrmFmt->FindSdrObject()->GetRelativePos(); in RestoreFlyAnchor() 533 pFrmFmt->DelFrms(); // delete Frms in RestoreFlyAnchor() 537 const SwFmtAnchor &rOldAnch = pFrmFmt->GetAnchor(); in RestoreFlyAnchor() 555 ASSERT( pHnt && pHnt->GetFlyCnt().GetFrmFmt() == pFrmFmt, in RestoreFlyAnchor() 580 if ( RES_DRAWFRMFMT == pFrmFmt->Which() ) in RestoreFlyAnchor() 609 SwFmtFlyCnt aFmt( pFrmFmt ); in RestoreFlyAnchor() 614 if( RES_DRAWFRMFMT != pFrmFmt->Which() ) in RestoreFlyAnchor() 615 pFrmFmt->MakeFrms(); in RestoreFlyAnchor() [all …]
|
/aoo41x/main/sw/source/ui/uiview/ |
H A D | formatclipboard.cxx | 176 SwFrmFmt *pFrmFmt = rSh.GetTableFmt(); in lcl_getTableAttributes() local 177 if(pFrmFmt) in lcl_getTableAttributes() 179 rSet.Put( pFrmFmt->GetShadow() ); in lcl_getTableAttributes() 180 rSet.Put( pFrmFmt->GetBreak() ); in lcl_getTableAttributes() 183 rSet.Put( pFrmFmt->GetKeep() ); in lcl_getTableAttributes() 184 rSet.Put( pFrmFmt->GetFrmDir() ); in lcl_getTableAttributes() 232 SwFrmFmt* pFrmFmt = rSh.GetTableFmt(); in lcl_setTableAttributes() local 233 if(pFrmFmt) in lcl_setTableAttributes() 239 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes() 245 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes() [all …]
|
/aoo41x/main/sw/source/filter/xml/ |
H A D | xmltexti.cxx | 209 SwOLENode *lcl_GetOLENode( const SwFrmFmt *pFrmFmt ) in lcl_GetOLENode() argument 212 if( pFrmFmt ) in lcl_GetOLENode() 214 const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt(); in lcl_GetOLENode() 257 SwFrmFmt *pFrmFmt = 0; in createAndInsertOLEObject() local 307 pOLENd = lcl_GetOLENode( pFrmFmt ); in createAndInsertOLEObject() 357 pOLENd = lcl_GetOLENode( pFrmFmt ); in createAndInsertOLEObject() 362 if( !pFrmFmt ) in createAndInsertOLEObject() 368 pOLENd = lcl_GetOLENode( pFrmFmt ); in createAndInsertOLEObject() 380 const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt(); in createAndInsertOLEObject() 922 SwFrmFmt *pFrmFmt = pFrame->GetFrmFmt(); in endAppletOrPlugin() local [all …]
|
H A D | xmltble.cxx | 670 SwFrmFmt *pFrmFmt = pLine->GetFrmFmt(); in ExportTableLinesAutoStyles() local 671 if( rExpRows.AddRow( *pFrmFmt, rNamePrefix, nLine ) ) in ExportTableLinesAutoStyles() 672 ExportFmt( *pFrmFmt, XML_TABLE_ROW ); in ExportTableLinesAutoStyles() 801 const SwFrmFmt *pFrmFmt = rBox.GetFrmFmt(); in ExportTableBox() local 802 if( pFrmFmt ) in ExportTableBox() 804 const String& rName = pFrmFmt->GetName(); in ExportTableBox() 942 const SwFrmFmt *pFrmFmt = rLine.GetFrmFmt(); in ExportTableLine() local 943 if( pFrmFmt ) in ExportTableLine() 945 const String& rName = pFrmFmt->GetName(); in ExportTableLine() 1127 if( pFrmFmt && pFrmFmt->GetName().Len() ) in lcl_xmltble_ClearName_Box() [all …]
|
H A D | xmltbli.cxx | 1959 SwFrmFmt *pFrmFmt = pBox->ClaimFrmFmt(); in MakeTableBox() local 1962 pFrmFmt->ResetAllFmtAttr(); in MakeTableBox() 1964 pFrmFmt->SetFmtAttr( aFillOrder ); in MakeTableBox() 2225 SwFrmFmt *pFrmFmt = pLine->ClaimFrmFmt(); in MakeTableLine() local 2228 pFrmFmt->ResetAllFmtAttr(); in MakeTableLine() 2230 pFrmFmt->SetFmtAttr( aFillOrder ); in MakeTableLine() 2240 pFrmFmt->SetFmtAttr( *pAutoItemSet ); in MakeTableLine() 2794 pFrmFmt->SetFmtAttr( *pAutoItemSet ); in MakeTable() 2818 pFrmFmt->LockModify(); in MakeTable() 2821 pFrmFmt->SetFmtAttr( aSize ); in MakeTable() [all …]
|
/aoo41x/main/sw/source/ui/app/ |
H A D | docstyle.cxx | 408 pFrmFmt(0), in SwDocStyleSheet() 445 pFrmFmt(rOrg.pFrmFmt), in SwDocStyleSheet() 820 if( pFrmFmt && pFrmFmt->GetName() != rStr ) in SetName() 1295 pFmt = pFrmFmt; in SetItemSet() 1630 pFmt = pFrmFmt; in FillStyleSheet() 1637 pFrmFmt = 0; in FillStyleSheet() 1774 if( !pFrmFmt ) in Create() 1892 pFrmFmt = 0; in SetPhysical() 1901 return pFrmFmt; in GetFrmFmt() 1970 if( !pFrmFmt && in GetHelpId() [all …]
|
/aoo41x/main/sw/source/core/access/ |
H A D | accframebase.cxx | 133 const SwFrmFmt *pFrmFmt = pFlyFrm->GetFmt(); in GetNodeType() local 134 const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt(); in GetNodeType() 157 const SwFrmFmt *pFrmFmt = pFlyFrm->GetFmt(); in SwAccessibleFrameBase() local 158 const_cast< SwFrmFmt * >( pFrmFmt )->Add( this ); in SwAccessibleFrameBase() 160 SetName( pFrmFmt->GetName() ); in SwAccessibleFrameBase() 248 const SwFrmFmt *pFrmFmt = pFlyFrm->GetFmt(); in Modify() local 249 ASSERT( pFrmFmt == GetRegisteredIn(), "invalid frame" ); in Modify() 256 const String& rNewName = pFrmFmt->GetName(); in Modify() 334 const SwFrmFmt *pFrmFmt = pFlyFrm->GetFmt(); in GetSelectedState() local 335 const SwFmtAnchor& pAnchor = pFrmFmt->GetAnchor(); in GetSelectedState()
|
H A D | accfrmobj.cxx | 183 const SwFrmFmt *pFrmFmt = ::FindFrmFmt( mpDrawObj ); in GetAnchorPosition() local 184 if ( pFrmFmt ) in GetAnchorPosition() 186 const SwPosition *pPos = pFrmFmt->GetAnchor().GetCntntAnchor(); in GetAnchorPosition() 394 const SwFrmFmt *pFrmFmt = pContact->GetFmt(); in GetParent() local 395 ASSERT( pFrmFmt, "frame format is missing" ); in GetParent() 396 if( pFrmFmt && FLY_AS_CHAR == pFrmFmt->GetAnchor().GetAnchorId() ) in GetParent()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmltab.cxx | 145 pFrmFmt( 0 ), in _HTMLTableContext() 1459 bReUsable = !pFrmFmt; in FixFrameFmt() 1463 if( !pFrmFmt ) in FixFrameFmt() 1465 pFrmFmt = pBox->ClaimFrmFmt(); in FixFrameFmt() 1583 pFrmFmt->LockModify(); in FixFrameFmt() 1586 pFrmFmt->UnlockModify(); in FixFrameFmt() 1643 pFrmFmt->SetFmtAttr( aBoxItem ); in FixFillerFrameFmt() 1729 ResetLineFrmFmtAttrs( pFrmFmt ); in MakeTableLine() 2601 pFrmFmt->LockModify(); in MakeTable() 2605 pFrmFmt->UnlockModify(); in MakeTable() [all …]
|
H A D | htmltabw.cxx | 104 sal_Bool bTHead=sal_False, const SwFrmFmt *pFrmFmt=0, 568 sal_Bool bTHead, const SwFrmFmt *pFrmFmt, in Write() argument 634 if( pFrmFmt ) in Write() 635 rWrt.nDirection = rWrt.GetHTMLDirection( pFrmFmt->GetAttrSet() ); in Write() 797 if( pFrmFmt ) in Write() 800 rWrt.OutBackground( pFrmFmt->GetAttrSet(), aDummy, sal_False ); in Write() 802 if( rWrt.bCfgOutStyles && pFrmFmt ) in Write() 803 rWrt.OutCSS1_TableFrmFmtOptions( *pFrmFmt ); in Write()
|
/aoo41x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 232 if( USHRT_MAX == aFlyFrmArr.GetPos( pFrmFmt) ) in Read() 258 RES_DRAWFRMFMT == pFrmFmt->Which() ) in Read() 262 pFrmFmt->DelFrms(); in Read() 263 pDoc->DelFrmFmt( pFrmFmt ); in Read() 278 if( pFrmFmt->GetDepends() ) in Read() 282 pFrmFmt->DelFrms(); in Read() 289 pFrmFmt->MakeFrms(); in Read() 297 pFrmFmt->MakeFrms(); in Read() 692 pFrmFmt->ResetFmtAttr( RES_LR_SPACE ); in ResetFrmFmts() 693 pFrmFmt->ResetFmtAttr( RES_UL_SPACE ); in ResetFrmFmts() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docdraw.cxx | 459 SwFlyFrmFmt* pFrmFmt = (SwFlyFrmFmt*) in DeleteSelection() local 461 if( pFrmFmt ) in DeleteSelection() 463 DelLayoutFmt( pFrmFmt ); in DeleteSelection() 475 SwDrawFrmFmt *pFrmFmt = (SwDrawFrmFmt*)pC->GetFmt(); in DeleteSelection() local 476 if( pFrmFmt && in DeleteSelection() 477 FLY_AS_CHAR == pFrmFmt->GetAnchor().GetAnchorId() ) in DeleteSelection() 481 DelLayoutFmt( pFrmFmt ); in DeleteSelection() 549 _ZSortFly::_ZSortFly( const SwFrmFmt* pFrmFmt, const SwFmtAnchor* pFlyAn, in _ZSortFly() argument 551 : pFmt( pFrmFmt ), pAnchor( pFlyAn ), nOrdNum( nArrOrdNum ) in _ZSortFly() 561 SwFlyFrm* pFly = SwIterator<SwFlyFrm,SwFmt>::FirstElement( *pFrmFmt ); in _ZSortFly() [all …]
|
H A D | doc.cxx | 955 SwFrmFmt* pFrmFmt) in _InsNoTxtNode() argument 976 SwFrmFmt* pFrmFmt ) in Insert() argument 978 if ( !pFrmFmt ) in Insert() 995 SwFrmFmt* pFrmFmt ) in Insert() argument 997 if ( !pFrmFmt ) in Insert() 1010 SwFrmFmt* pFrmFmt ) in Insert() argument 1012 if( !pFrmFmt ) in Insert() 1026 pFrmFmt ); in Insert() 1033 SwFrmFmt* pFrmFmt ) in InsertOLE() argument 1035 if( !pFrmFmt ) in InsertOLE() [all …]
|
H A D | docbm.cxx | 1551 SwFrmFmt* pFrmFmt = (*pDoc->GetSpzFrmFmts())[ in _SaveCntntIdx() local 1553 if ( RES_FLYFRMFMT != pFrmFmt->Which() && in _SaveCntntIdx() 1554 RES_DRAWFRMFMT != pFrmFmt->Which() ) in _SaveCntntIdx() 1557 const SwFmtAnchor& rAnchor = pFrmFmt->GetAnchor(); in _SaveCntntIdx() 1674 SwFrmFmt *pFrmFmt = (*pSpz)[ aSave.GetCount() ]; in _RestoreCntntIdx() local 1675 const SwFmtAnchor& rFlyAnchor = pFrmFmt->GetAnchor(); in _RestoreCntntIdx() 1691 pFrmFmt->SetFmtAttr( aNew ); in _RestoreCntntIdx() 1698 SwFrmFmt *pFrmFmt = (*pSpz)[ aSave.GetCount() ]; in _RestoreCntntIdx() local 1700 pFrmFmt->NotifyClients( pAnchor, pAnchor ); in _RestoreCntntIdx() 1842 SwFrmFmt *pFrmFmt = (*pSpz)[ aSave.GetCount() ]; in _RestoreCntntIdx() local [all …]
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unotbl.cxx | 4580 SwFrmFmt* pFrmFmt = GetFrmFmt(); in getCount() local 4581 if(!pFrmFmt) in getCount() 4596 SwFrmFmt* pFrmFmt = GetFrmFmt(); in getByIndex() local 4597 if(!pFrmFmt || nIndex < 0 ) in getByIndex() 4635 SwFrmFmt* pFrmFmt = GetFrmFmt(); in hasElements() local 4636 if(!pFrmFmt) in hasElements() 4648 if(!pFrmFmt) in insertByIndex() 4798 if(!pFrmFmt) in getCount() 4819 if(!pFrmFmt) in getByIndex() 4847 if(!pFrmFmt) in hasElements() [all …]
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | drwbassh.cxx | 269 SwFrmFmt* pFrmFmt = FindFrmFmt( pObj ); in Execute() local 271 aSet.Put( pFrmFmt->GetFmtAttr(RES_FOLLOW_TEXT_FLOW) ); in Execute() 273 … SwFmtVertOrient aVOrient((const SwFmtVertOrient&)pFrmFmt->GetFmtAttr(RES_VERT_ORIENT)); in Execute() 278 … SwFmtHoriOrient aHOrient((const SwFmtHoriOrient&)pFrmFmt->GetFmtAttr(RES_HORI_ORIENT)); in Execute() 320 SwFmtAnchor aAnchor(pFrmFmt->GetAnchor()); in Execute() 500 SwFrmFmt* pFrmFmt = FindFrmFmt( pObj ); in Execute() local 501 … SwFmtVertOrient aVOrient((SwFmtVertOrient&)pFrmFmt->GetFmtAttr(RES_VERT_ORIENT)); in Execute() 503 pFrmFmt->SetFmtAttr(aVOrient); in Execute() 835 SwFrmFmt* pFrmFmt = FindFrmFmt( pObj ); in IMPL_LINK() local 836 pCntntPos = pFrmFmt->GetAnchor().GetCntntAnchor(); in IMPL_LINK()
|
/aoo41x/main/sw/source/core/txtnode/ |
H A D | atrflyin.cxx | 44 SwFmtFlyCnt::SwFmtFlyCnt( SwFrmFmt *pFrmFmt ) in SwFmtFlyCnt() argument 47 pFmt( pFrmFmt ) in SwFmtFlyCnt() 223 SwFrmFmt* pFrmFmt = GetFlyCnt().GetFrmFmt(); in _GetFlyFrm() local 224 if( RES_DRAWFRMFMT == pFrmFmt->Which() ) in _GetFlyFrm() 265 SwFlyInCntFrm *pFly = new SwFlyInCntFrm( (SwFlyFrmFmt*)pFrmFmt, pCurrFrame, pCurrFrame ); in _GetFlyFrm()
|
/aoo41x/main/sw/source/core/frmedt/ |
H A D | fefly1.cxx | 843 SwFrmFmt* pFrmFmt ) in Insert() argument 892 pGrfAttrSet, pFrmFmt ); in Insert() 915 SwFrmFmt* pFrmFmt ) in InsertObject() argument 922 pFlyAttrSet, pGrfAttrSet, pFrmFmt ); in InsertObject() 1864 SwFrmFmt* pFrmFmt( pDrawContact->GetFmt() ); in GetObjCntType() local 1865 if ( !pFrmFmt ) in GetObjCntType() 2223 SwFrmFmt * pFrmFmt = pFly ? pFly->GetFmt() : 0; in AlignFormulaToBaseline() local 2226 if ( pFly && pFrmFmt && FLY_AS_CHAR == pFrmFmt->GetAnchor().GetAnchorId() ) in AlignFormulaToBaseline() 2263 pFrmFmt->LockModify(); in AlignFormulaToBaseline() 2264 pFrmFmt->SetFmtAttr( aVert ); in AlignFormulaToBaseline() [all …]
|
/aoo41x/main/sw/source/filter/ww1/ |
H A D | fltshell.cxx | 848 SfxPoolItem(RES_FLTR_ANCHOR), pFrmFmt(pFmt) in SwFltAnchor() 851 pFrmFmt->Add(pClient); in SwFltAnchor() 855 SfxPoolItem(RES_FLTR_ANCHOR), pFrmFmt(rCpy.pFrmFmt) in SwFltAnchor() 858 pFrmFmt->Add(pClient); in SwFltAnchor() 868 pFrmFmt = _pFrmFmt; in SetFrmFmt() 873 return pFrmFmt; in GetFrmFmt() 878 return pFrmFmt; in GetFrmFmt() 883 return pFrmFmt == ((SwFltAnchor&)rItem).pFrmFmt; in operator ==() 906 SwFrmFmt * pFrmFmt = dynamic_cast<SwFrmFmt *> (pFmtChg->pChangedFmt); in Modify() local 908 if (pFrmFmt != NULL) in Modify() [all …]
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | ww8glsy.cxx | 70 SwFrmFmt* pFrmFmt = (*pDoc->GetSpzFrmFmts())[ --nCnt ]; in HasBareGraphicEnd() local 71 if ( RES_FLYFRMFMT != pFrmFmt->Which() && in HasBareGraphicEnd() 72 RES_DRAWFRMFMT != pFrmFmt->Which() ) in HasBareGraphicEnd() 74 const SwFmtAnchor& rAnchor = pFrmFmt->GetAnchor(); in HasBareGraphicEnd()
|
/aoo41x/main/sw/source/core/draw/ |
H A D | dview.cxx | 235 SwFrmFmt* pFrmFmt( ::FindFrmFmt( pObj ) ); in AddCustomHdl() local 236 if ( !pFrmFmt ) in AddCustomHdl() 241 const SwFmtAnchor &rAnchor = pFrmFmt->GetAnchor(); in AddCustomHdl() 1004 SwFrmFmt* pFrmFmt( ::FindFrmFmt( const_cast<SdrObject*>(pObj) ) ); in CheckPossibilities() local 1005 if ( !pFrmFmt ) in CheckPossibilities() 1011 else if ((FLY_AS_CHAR == pFrmFmt->GetAnchor().GetAnchorId()) && in CheckPossibilities()
|
/aoo41x/main/sw/source/core/text/ |
H A D | itratr.cxx | 725 SwFrmFmt *pFrmFmt = pHint->GetFlyCnt().GetFrmFmt(); in GetMinMaxSize() local 726 const SvxLRSpaceItem &rLR = pFrmFmt->GetLRSpace(); in GetMinMaxSize() 727 if( RES_DRAWFRMFMT == pFrmFmt->Which() ) in GetMinMaxSize() 729 const SdrObject* pSObj = pFrmFmt->FindSdrObject(); in GetMinMaxSize() 737 const SwFmtFrmSize& rTmpSize = pFrmFmt->GetFrmSize(); in GetMinMaxSize() 738 if( RES_FLYFRMFMT == pFrmFmt->Which() in GetMinMaxSize() 753 nAktWidth = pFrmFmt->GetFrmSize().GetWidth(); in GetMinMaxSize()
|
/aoo41x/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 754 SwFrmFmt* pFrmFmt = pCurrBox->ClaimFrmFmt(); in NewInsertCol() local 755 SwFmtFrmSize aFrmSz( pFrmFmt->GetFrmSize() ); in NewInsertCol() 757 pFrmFmt->SetFmtAttr( aFrmSz ); in NewInsertCol() 759 pFrmFmt->SetFmtAttr( *pNoRightBorder ); in NewInsertCol() 760 aInsFormat[j] = (SwTableBoxFmt*)pFrmFmt; in NewInsertCol() 767 SwFrmFmt* pFrmFmt = pBox->ClaimFrmFmt(); in NewInsertCol() local 768 pFrmFmt->SetFmtAttr( *pNoRightBorder ); in NewInsertCol() 1168 SwFrmFmt* pFrmFmt = rLine.ClaimFrmFmt(); in InsertSpannedRow() local 1173 pFrmFmt->SetFmtAttr( aFSz ); in InsertSpannedRow() 1935 SwFrmFmt* pFrmFmt = pBox->ClaimFrmFmt(); in PrepareDeleteCol() local [all …]
|
/aoo41x/main/sw/source/core/inc/ |
H A D | mvsave.hxx | 103 SwFrmFmt* pFrmFmt; /// the fly's frame format member 107 : nNdDiff( nNodeDiff ), pFrmFmt( pFmt ), bInsertPosition( bInsert ) in _SaveFly() 166 _ZSortFly( const SwFrmFmt* pFrmFmt, const SwFmtAnchor* pFlyAnchor,
|