Home
last modified time | relevance | path

Searched refs:SwFmtFrmSize (Results 1 – 25 of 107) sorted by relevance

12345

/trunk/main/sw/inc/
H A Dfmtfsize.hxx46 class SW_DLLPUBLIC SwFmtFrmSize: public SfxPoolItem class
67 SwFmtFrmSize( SwFrmSize eSize = ATT_VAR_SIZE,
69 SwFmtFrmSize& operator=( const SwFmtFrmSize& rCpy );
102 inline const SwFmtFrmSize &SwAttrSet::GetFrmSize(sal_Bool bInP) const in GetFrmSize()
103 { return (const SwFmtFrmSize&)Get( RES_FRM_SIZE,bInP); } in GetFrmSize()
105 inline const SwFmtFrmSize &SwFmt::GetFrmSize(sal_Bool bInP) const in GetFrmSize()
/trunk/main/sw/source/filter/rtf/
H A Drtffly.cxx78 inline const SwFmtFrmSize GetFrmSize(const SfxItemSet& rSet, sal_Bool bInP=sal_True) in SV_IMPL_PTRARR()
80 return (const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE,bInP); in SV_IMPL_PTRARR()
146 const SwFmtFrmSize& rSz = GetFrmSize( aFlySet ); in SetFlySize()
148 aFlySet.Put( SwFmtFrmSize( rSz.GetHeightSizeType(), nWidth, rSz.GetHeight() )); in SetFlySize()
597 SwFmtFrmSize aSz( ATT_MIN_SIZE, nTokenValue, 0 ); in ReadFly()
603 aSz.SetHeight( ((SwFmtFrmSize*)pItem)->GetHeight() ); in ReadFly()
611 SwFmtFrmSize aSz( ATT_MIN_SIZE, 0, MINFLY ); in ReadFly()
616 aSz.SetWidth( ((SwFmtFrmSize*)pItem)->GetWidth() ); in ReadFly()
1176 SwFmtFrmSize aSz1( (SwFmtFrmSize&)pFlyFmt->GetAttrSet(). in ReadFly()
1178 SwFmtFrmSize aSz2( (SwFmtFrmSize&)pFlySave->aFlySet. in ReadFly()
[all …]
H A Drtftbl.cxx342 pFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, nSize, 0 )); in ReadTable()
563 const SwFmtFrmSize& rTblSz = pFmt->GetFrmSize(); in ReadTable()
577 SwFmtFrmSize aSz( rTblSz ); in ReadTable()
615 SwFmtFrmSize aSz( rTblSz ); in ReadTable()
670 const SwFmtFrmSize& rTblSz = pFmt->GetFrmSize(); in ReadTable()
690 const SwFmtFrmSize& rTblSz = pFmt->GetFrmSize(); in ReadTable()
693 SwFmtFrmSize aSz( rTblSz ); in ReadTable()
738 SwFmtFrmSize aSz( pFmt->GetFrmSize() ); in ReadTable()
761 pNewLine->ClaimFrmFmt()->SetFmtAttr(SwFmtFrmSize(eSize, 0, nLineHeight)); in ReadTable()
/trunk/main/sw/source/core/doc/
H A Dtblrwcl.cxx2034 SwFmtFrmSize aFrmSz; in lcl_CopyBoxToDoc()
2600 SwFmtFrmSize aNew( rSz ); in lcl_SetSelBoxWidth()
2701 SwFmtFrmSize aNew( rSz ); in lcl_SetOtherBoxWidth()
2813 SwFmtFrmSize aNew( rSz ); in lcl_InsSelBox()
2829 SwFmtFrmSize aNew( rSz ); in lcl_InsSelBox()
3002 SwFmtFrmSize aNew( rSz ); in lcl_InsOtherBox()
3104 const SwFmtFrmSize& rOldSz, in lcl_ChgBoxSize()
3151 SwFmtFrmSize aNew( rOldSz ); in lcl_ChgBoxSize()
3393 SwFmtFrmSize aNew( rSz ); in lcl_DelSelBox()
3706 SwFmtFrmSize aSz( rSz ); in SetColWidth()
[all …]
H A Dhtmltbl.cxx336 pFrmFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, nFrmWidth, 0 )); in SetBoxWidth()
1620 rpBox->GetFrmFmt()->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, nWidth, 0 )); in lcl_ResizeBox()
1723 SwFmtFrmSize aFrmSize( pFrmFmt->GetFrmSize() ); in SetWidths()
1738 SwFmtFrmSize aFlyFrmSize( ATT_VAR_SIZE, nRelTabWidth, MINLAY ); in SetWidths()
1770 SwFmtFrmSize( ATT_VAR_SIZE, nRelLeftFill, 0 )); in SetWidths()
1775 SwFmtFrmSize( ATT_VAR_SIZE, nRelRightFill, 0 )); in SetWidths()
/trunk/main/sw/source/ui/inc/
H A Dfrmmgr.hxx141 inline const SwFmtFrmSize &GetFrmSize() const;
149 return ((SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE)).GetSize(); in GetSize()
160 inline const SwFmtFrmSize& SwFlyFrmAttrMgr::GetFrmSize() const in GetFrmSize()
162 return ((SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE)); in GetFrmSize()
/trunk/main/sw/source/core/layout/
H A Dfly.cxx121 const SwFmtFrmSize &rFrmSize = pFmt->GetFrmSize(); in SwFlyFrm()
728 sal_Bool SwFlyFrm::FrmSizeChg( const SwFmtFrmSize &rFrmSize ) in FrmSizeChg()
925 const SwFmtFrmSize &rNew = GetFmt()->GetFrmSize(); in _UpdateAttr()
935 const SwFmtFrmSize &rNew = GetFmt()->GetFrmSize(); in _UpdateAttr()
973 const SwFmtFrmSize &rOld = nWhich == RES_FRM_SIZE ? in _UpdateAttr()
974 *(SwFmtFrmSize*)pNew : in _UpdateAttr()
1092 const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize(); in _UpdateAttr()
1385 const SwFmtFrmSize &rFrmSz = GetFmt()->GetFrmSize(); in Format()
2028 const SwFmtFrmSize& rFmtSize = GetFmt()->GetFrmSize(); in _Shrink()
2157 SwFmtFrmSize aSz( pFmt->GetFrmSize() ); in ChgSize()
[all …]
H A Datrfrm.cxx250 SwFmtFrmSize::SwFmtFrmSize( SwFrmSize eSize, SwTwips nWidth, SwTwips nHeight ) in SwFmtFrmSize() function in SwFmtFrmSize
259 SwFmtFrmSize& SwFmtFrmSize::operator=( const SwFmtFrmSize& rCpy ) in operator =()
269 int SwFmtFrmSize::operator==( const SfxPoolItem& rAttr ) const in operator ==()
272 return( eFrmHeightType == ((SwFmtFrmSize&)rAttr).eFrmHeightType && in operator ==()
273 eFrmWidthType == ((SwFmtFrmSize&)rAttr).eFrmWidthType && in operator ==()
274 aSize == ((SwFmtFrmSize&)rAttr).GetSize()&& in operator ==()
275 nWidthPercent == ((SwFmtFrmSize&)rAttr).GetWidthPercent() && in operator ==()
276 nHeightPercent == ((SwFmtFrmSize&)rAttr).GetHeightPercent() ); in operator ==()
279 SfxPoolItem* SwFmtFrmSize::Clone( SfxItemPool* ) const in Clone()
281 return new SwFmtFrmSize( *this ); in Clone()
[all …]
/trunk/main/sw/source/filter/basflt/
H A Dfltini.cxx622 MINFLY > ((SwFmtFrmSize*)pItem)->GetWidth() ) in CalculateFlySize()
624 SwFmtFrmSize aSz((SwFmtFrmSize&)rFlySet.Get(RES_FRM_SIZE, sal_True)); in CalculateFlySize()
626 aSz = (SwFmtFrmSize&)(*pItem); in CalculateFlySize()
722 else if( MINFLY > ((SwFmtFrmSize*)pItem)->GetHeight() ) in CalculateFlySize()
724 SwFmtFrmSize aSz( *(SwFmtFrmSize*)pItem ); in CalculateFlySize()
/trunk/main/sw/source/core/docnode/
H A Dndtbl1.cxx295 void lcl_ProcessBoxSize( SvPtrarr &rFmtCmp, SwTableBox *pBox, const SwFmtFrmSize &rNew );
297 void lcl_ProcessRowSize( SvPtrarr &rFmtCmp, SwTableLine *pLine, const SwFmtFrmSize &rNew ) in lcl_ProcessRowSize()
307 void lcl_ProcessBoxSize( SvPtrarr &rFmtCmp, SwTableBox *pBox, const SwFmtFrmSize &rNew ) in lcl_ProcessBoxSize()
312 SwFmtFrmSize aSz( rNew ); in lcl_ProcessBoxSize()
384 void SwDoc::SetRowHeight( const SwCursor& rCursor, const SwFmtFrmSize &rNew ) in SetRowHeight()
413 void SwDoc::GetRowHeight( const SwCursor& rCursor, SwFmtFrmSize *& rpSz ) const in GetRowHeight()
425 rpSz = &(SwFmtFrmSize&)((SwTableLine*)aRowArr[0])-> in GetRowHeight()
434 rpSz = new SwFmtFrmSize( *rpSz ); in GetRowHeight()
465 SwFmtFrmSize aNew( ATT_MIN_SIZE, 0, nHeight ); in BalanceRowHeight()
H A Dndtbl.cxx217 pBoxFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, in lcl_CreateDfltBoxFmt()
236 pBoxFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, in lcl_CreateAFmtBoxFmt()
465 pTableFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, nWidth )); in InsertTable()
743 pTableFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, USHRT_MAX )); in TextToTable()
1095 pNewFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, in TextToTable()
1196 pTableFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, USHRT_MAX )); in TextToTable()
1452 pNewFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, in TextToTable()
2835 const SwFmtFrmSize& rTblFrmSz = rTab.GetFrmFmt()->GetFrmSize(); in SetTabCols()
2848 SwFmtFrmSize aSz( rTblFrmSz ); in SetTabCols()
3355 SwFmtFrmSize aTblMaxSz( pFmt->GetFrmSize() ); in lcl_ChgTblSize()
[all …]
/trunk/main/sw/source/core/inc/
H A Dflyfrm.hxx31 class SwFmtFrmSize;
132 Size CalcRel( const SwFmtFrmSize &rSz ) const;
178 sal_Bool FrmSizeChg( const SwFmtFrmSize & );
H A Dlayfrm.hxx34 class SwFmtFrmSize;
62 long CalcRel( const SwFmtFrmSize &rSz, sal_Bool bWidth ) const;
/trunk/main/sw/source/ui/frmdlg/
H A Dcolumn.cxx283 pSet->Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth, nWidth)); in IMPL_LINK()
288 pSet->Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth, nWidth)); in IMPL_LINK()
293 pSet->Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth, nWidth)); in IMPL_LINK()
649 const SwFmtFrmSize& rSize = (const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE); in Reset()
1292 const SwFmtFrmSize& rSize = (const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE); in ActivatePage()
H A Dfrmdlg.cxx190 const SwFmtFrmSize& rSize = (const SwFmtFrmSize&) in PageCreated()
/trunk/main/sw/source/ui/shells/
H A Dfrmsh.cxx470 SwFmtFrmSize aFrmSize(ATT_VAR_SIZE, rPg.Width(), rPg.Height()); in Execute()
475 SwFmtFrmSize aPrtSize(ATT_VAR_SIZE, rPr.Width(), rPr.Height()); in Execute()
483 SwFmtFrmSize& rSize = (SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE); in Execute()
740 SwFmtFrmSize aSz(aMgr.GetFrmSize()); in GetState()
821 const SwFmtFrmSize& rFrmSz = pFmt->GetFrmSize(); in GetState()
H A Dgrfsh.cxx167 SwFmtFrmSize aFrmSize( ATT_VAR_SIZE, pRect->Width(), pRect->Height()); in Execute()
187 SwFmtFrmSize aSizeCopy = (const SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE); in Execute()
267 SwFmtFrmSize aSize; in Execute()
/trunk/main/sw/source/ui/utlui/
H A Duitool.cxx166 SwFmtFrmSize aFrmSize(rDynamic.GetValue() ? ATT_MIN_SIZE : ATT_FIX_SIZE, in FillHdFt()
207 SwFmtFrmSize aSize(ATT_FIX_SIZE); in ItemSetToPageDesc()
407 const SwFmtFrmSize &rFrmSize = pHeaderFmt->GetFrmSize(); in PageDescToItemSet()
460 const SwFmtFrmSize &rFrmSize = pFooterFmt->GetFrmSize(); in PageDescToItemSet()
/trunk/main/sw/source/filter/xml/
H A Dxmltble.cxx222 const SwFmtFrmSize *pFrmSize = 0; in AddRow()
229 pFrmSize = (const SwFmtFrmSize *)pItem; in AddRow()
247 const SwFmtFrmSize *pTestFrmSize = 0; in AddRow()
258 pTestFrmSize = (const SwFmtFrmSize *)pItem; in AddRow()
761 const SwFmtFrmSize& rFrmSize = pTblFmt->GetFrmSize(); in ExportTableAutoStyles()
/trunk/main/sw/source/core/table/
H A Dswnewtable.cxx574 pFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, nNewWidth, 0 ) ); in CollectBoxSelection()
755 SwFmtFrmSize aFrmSz( pFrmFmt->GetFrmSize() ); in NewInsertCol()
932 pNewFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, pSel->mnMergeWidth, 0 ) ); in PrepareMerge()
945 pFmt->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, 0, 0 ) ); in PrepareMerge()
1165 SwFmtFrmSize aFSz( rLine.GetFrmFmt()->GetFrmSize() ); in InsertSpannedRow()
1427 SwFmtFrmSize aFSz( pRowFmt->GetFrmSize() ); in NewSplitRow()
1439 SwFmtFrmSize aFSz( pRowFmt->GetFrmSize() ); in NewSplitRow()
1936 SwFmtFrmSize aFrmSz( pFrmFmt->GetFrmSize() ); in PrepareDeleteCol()
H A Dswtable.cxx416 SwFmtFrmSize aNewBox( ATT_VAR_SIZE, SwTwips(nBox), 0 ); in lcl_ModifyLines()
455 SwFmtFrmSize aNewBox( ATT_VAR_SIZE, static_cast< SwTwips >(nBox), 0 ); in lcl_ModifyBoxes()
472 const SwFmtFrmSize* pNewSize = 0, *pOldSize = 0; in Modify()
482 pOldSize = (const SwFmtFrmSize*)pOld; in Modify()
483 pNewSize = (const SwFmtFrmSize*)pNew; in Modify()
914 SwFmtFrmSize aFmtFrmSize( pBox->GetFrmFmt()->GetFrmSize() ); in lcl_ProcessBoxSet()
982 SwFmtFrmSize aFmtFrmSize( pBox->GetFrmFmt()->GetFrmSize() ); in lcl_AdjustBox()
1071 SwFmtFrmSize aSz( pFmt->GetFrmSize() ); in SetTabCols()
1196 SwFmtFrmSize aFmtFrmSize( pBox->GetFrmFmt()->GetFrmSize() ); in lcl_AdjustWidthsInLine()
/trunk/main/sw/source/ui/table/
H A Drowht.cxx68 SwFmtFrmSize aSz(ATT_FIX_SIZE, 0, nHeight); in Apply()
103 SwFmtFrmSize *pSz; in SwTableHeightDlg()
/trunk/main/sw/source/filter/writer/
H A Dwrtswtbl.cxx102 const SwFmtFrmSize& aFrmSize= in GetBoxWidth()
103 (const SwFmtFrmSize&)pFmt->GetFmtAttr( RES_FRM_SIZE ); in GetBoxWidth()
176 nHeight = ((SwFmtFrmSize*)pItem)->GetHeight(); in GetLineHeight()
619 nHeight = ((SwFmtFrmSize*)pItem)->GetHeight(); in FillTableRowsCols()
/trunk/main/sw/source/filter/ww8/
H A Dww8par4.cxx293 pTempSet->Put( SwFmtFrmSize( ATT_FIX_SIZE, aSizeTwip.Width(), in ImportOle()
403 if (const SwFmtFrmSize* pSize = in ImportOleBase()
404 (const SwFmtFrmSize*)pFlySet->GetItem(RES_FRM_SIZE, false)) in ImportOleBase()
/trunk/main/sw/source/core/undo/
H A Dunattr.cxx430 m_pOldSet->Put( SwFmtFrmSize( ATT_VAR_SIZE, aPt.X(), aPt.Y() ) ); in SaveFlyAnchor()
514 const SwFmtFrmSize& rOldSize = static_cast<const SwFmtFrmSize&>( in RestoreFlyAnchor()
595 SwFmtFrmSize( ATT_VAR_SIZE, aDrawOldPt.X(), aDrawOldPt.Y() ) ); in RestoreFlyAnchor()

Completed in 177 milliseconds

12345