Home
last modified time | relevance | path

Searched refs:rFrmSize (Results 1 – 10 of 10) sorted by relevance

/aoo41x/main/sw/source/ui/frmdlg/
H A Dwrap.cxx461 const SwFmtFrmSize& rFrmSize = (const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE); in ActivatePage() local
462 Size aSize = rFrmSize.GetSize(); in ActivatePage()
477 aVal.bAutoHeight = rFrmSize.GetHeightSizeType() == ATT_MIN_SIZE; in ActivatePage()
478 aVal.bAutoWidth = rFrmSize.GetWidthSizeType() == ATT_MIN_SIZE; in ActivatePage()
492 if (rFrmSize.GetWidthPercent() && rFrmSize.GetWidthPercent() != 0xff) in ActivatePage()
493 aSize.Width() = aSize.Width() * rFrmSize.GetWidthPercent() / 100; in ActivatePage()
495 if (rFrmSize.GetHeightPercent() && rFrmSize.GetHeightPercent() != 0xff) in ActivatePage()
496 aSize.Height() = aSize.Height() * rFrmSize.GetHeightPercent() / 100; in ActivatePage()
H A Dfrmpage.cxx910 const SwFmtFrmSize& rFrmSize = (const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE); in Reset() local
912 if (rFrmSize.GetWidthPercent() != 0xff && rFrmSize.GetWidthPercent() != 0) in Reset()
915 sal_Int32 nSpace = rFrmSize.GetWidth() * 100 / rFrmSize.GetWidthPercent(); in Reset()
919 if (rFrmSize.GetHeightPercent() != 0xff && rFrmSize.GetHeightPercent() != 0) in Reset()
922 sal_Int32 nSpace = rFrmSize.GetHeight() * 100 / rFrmSize.GetHeightPercent(); in Reset()
/aoo41x/main/sw/source/ui/utlui/
H A Duitool.cxx400 const SwFmtFrmSize &rFrmSize = pHeaderFmt->GetFrmSize(); in PageDescToItemSet() local
401 const SwFrmSize eSizeType = rFrmSize.GetHeightSizeType(); in PageDescToItemSet()
411 SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); in PageDescToItemSet()
446 const SwFmtFrmSize &rFrmSize = pFooterFmt->GetFrmSize(); in PageDescToItemSet() local
447 const SwFrmSize eSizeType = rFrmSize.GetHeightSizeType(); in PageDescToItemSet()
457 SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); in PageDescToItemSet()
/aoo41x/main/sw/source/core/layout/
H A Dfly.cxx126 const SwFmtFrmSize &rFrmSize = pFmt->GetFrmSize(); in SwFlyFrm() local
176 Frm().Width( rFrmSize.GetWidth() ); in SwFlyFrm()
177 Frm().Height( rFrmSize.GetHeightSizeType() == ATT_VAR_SIZE ? MINFLY : rFrmSize.GetHeight() ); in SwFlyFrm()
180 if ( rFrmSize.GetHeightSizeType() == ATT_MIN_SIZE ) in SwFlyFrm()
182 else if ( rFrmSize.GetHeightSizeType() == ATT_FIX_SIZE ) in SwFlyFrm()
748 sal_Bool SwFlyFrm::FrmSizeChg( const SwFmtFrmSize &rFrmSize ) in FrmSizeChg() argument
752 if ( rFrmSize.GetHeightSizeType() == ATT_VAR_SIZE ) in FrmSizeChg()
756 if ( rFrmSize.GetHeightSizeType() == ATT_FIX_SIZE ) in FrmSizeChg()
761 else if ( rFrmSize.GetHeightSizeType() == ATT_MIN_SIZE ) in FrmSizeChg()
766 nDiffHeight -= rFrmSize.GetHeight(); in FrmSizeChg()
[all …]
H A Dtabfrm.cxx4454 const SwFmtFrmSize &rFrmSize = GetFmt()->GetFrmSize(); in Format() local
4455 ASSERT( rFrmSize.GetSize().Height() > 0, "Hat ihn" ); in Format()
/aoo41x/main/sw/source/filter/html/
H A Dhtmltabw.cxx995 const SwFmtFrmSize& rFrmSize = pFlyFrmFmt->GetFrmSize(); in OutHTML_SwTblNode() local
996 nFlyPrcWidth = rFrmSize.GetWidthPercent(); in OutHTML_SwTblNode()
997 nFlyWidth = rFrmSize.GetSize().Width(); in OutHTML_SwTblNode()
1021 const SwFmtFrmSize& rFrmSize = pFmt->GetFrmSize(); in OutHTML_SwTblNode() local
1022 long nWidth = rFrmSize.GetSize().Width(); in OutHTML_SwTblNode()
1023 sal_uInt8 nPrcWidth = rFrmSize.GetWidthPercent(); in OutHTML_SwTblNode()
H A Dhtmlfly.cxx898 const SwFmtFrmSize& rFrmSize = rFrmFmt.GetFrmSize(); in OutHTML_Image() local
901 if( !rFrmSize.GetWidthPercent() && rRealSize.Width() ) in OutHTML_Image()
903 SwTwips nWidth = rFrmSize.GetWidth(); in OutHTML_Image()
917 if( !rFrmSize.GetHeightPercent() && rRealSize.Height() ) in OutHTML_Image()
919 SwTwips nHeight = rFrmSize.GetHeight(); in OutHTML_Image()
/aoo41x/main/sw/source/core/graphic/
H A Dndgrf.cxx833 const SwFmtFrmSize& rFrmSize = pFmt->GetFrmSize(); in ScaleImageMap() local
836 if ( !rFrmSize.GetWidthPercent() ) in ScaleImageMap()
838 SwTwips nWidth = rFrmSize.GetWidth(); in ScaleImageMap()
851 if ( !rFrmSize.GetHeightPercent() ) in ScaleImageMap()
853 SwTwips nHeight = rFrmSize.GetHeight(); in ScaleImageMap()
/aoo41x/main/sw/source/filter/xml/
H A Dxmltble.cxx761 const SwFmtFrmSize& rFrmSize = pTblFmt->GetFrmSize(); in ExportTableAutoStyles() local
763 sal_uInt32 nAbsWidth = rFrmSize.GetSize().Width(); in ExportTableAutoStyles()
765 sal_Int8 nPrcWidth = rFrmSize.GetWidthPercent(); in ExportTableAutoStyles()
/aoo41x/main/sw/source/ui/uiview/
H A Dviewtab.cxx290 const SwFmtFrmSize &rFrmSize = rDesc.GetMaster().GetFrmSize(); in ExecTabWin() local
293 const long nPageWidth = bBrowse ? rPageRect.Width() : rFrmSize.GetWidth(); in ExecTabWin()
294 const long nPageHeight = bBrowse ? rPageRect.Height() : rFrmSize.GetHeight(); in ExecTabWin()

Completed in 117 milliseconds