Home
last modified time | relevance | path

Searched refs:aTwipSz (Results 1 – 9 of 9) sorted by path

/trunk/main/sw/source/filter/html/
H A Dcss1atr.cxx2231 Size aTwipSz( pSdrObj->GetLogicRect().GetSize() ); in OutCSS1_FrmFmtOptions() local
2235 OutCSS1_PixelProperty( sCSS1_P_width, aTwipSz.Width(), in OutCSS1_FrmFmtOptions()
2238 OutCSS1_UnitProperty( sCSS1_P_width, aTwipSz.Width() ); in OutCSS1_FrmFmtOptions()
2243 OutCSS1_PixelProperty( sCSS1_P_height, aTwipSz.Height(), in OutCSS1_FrmFmtOptions()
2246 OutCSS1_UnitProperty( sCSS1_P_height, aTwipSz.Height() ); in OutCSS1_FrmFmtOptions()
H A Dhtmldraw.cxx488 if( (aTwipSz.Width() || aTwipSz.Height()) && Application::GetDefaultDevice() ) in NewMarquee()
524 aTwipSz.Width() = MINLAY; in NewMarquee()
535 if( aTwipSz.Height() < MINFLY ) in NewMarquee()
536 aTwipSz.Height() = MINFLY; in NewMarquee()
541 if( aTwipSz.Width() < MINFLY ) in NewMarquee()
542 aTwipSz.Width() = MINFLY; in NewMarquee()
543 pMarquee->SetLogicRect( Rectangle( 0, 0, aTwipSz.Width(), aTwipSz.Height() ) ); in NewMarquee()
770 aTwipSz.Width() = 0; in OutHTML_DrawFrmFmtAsMarquee()
779 if( MINFLY==aTwipSz.Height() ) in OutHTML_DrawFrmFmtAsMarquee()
780 aTwipSz.Height() = 0; in OutHTML_DrawFrmFmtAsMarquee()
[all …]
H A Dhtmlfly.cxx701 Size aTwipSz( (nPrcWidth ? 0 in OutFrmFmtOptions() local
706 ASSERT( aTwipSz.Width() >= 0 && aTwipSz.Height() >= 0, in OutFrmFmtOptions()
708 if( aTwipSz.Width() < 0 ) in OutFrmFmtOptions()
709 aTwipSz.Width() = 0; in OutFrmFmtOptions()
710 if( aTwipSz.Height() < 0 ) in OutFrmFmtOptions()
711 aTwipSz.Height() = 0; in OutFrmFmtOptions()
714 if( (aTwipSz.Width() || aTwipSz.Height()) && in OutFrmFmtOptions()
718 Application::GetDefaultDevice()->LogicToPixel( aTwipSz, in OutFrmFmtOptions()
720 if( !aPixelSz.Width() && aTwipSz.Width() ) in OutFrmFmtOptions()
722 if( !aPixelSz.Height() && aTwipSz.Height() ) in OutFrmFmtOptions()
H A Dhtmlforw.cxx1033 Size aTwipSz( rSdrObject.GetLogicRect().GetSize() ); in OutHTML_DrawFrmFmtAsControl() local
1035 if( (aTwipSz.Width() || aTwipSz.Height()) && in OutHTML_DrawFrmFmtAsControl()
1039 Application::GetDefaultDevice()->LogicToPixel( aTwipSz, in OutHTML_DrawFrmFmtAsControl()
1041 if( !aPixelSz.Width() && aTwipSz.Width() ) in OutHTML_DrawFrmFmtAsControl()
1043 if( !aPixelSz.Height() && aTwipSz.Height() ) in OutHTML_DrawFrmFmtAsControl()
H A Dhtmlgrin.cxx546 if( (aTwipSz.Width() || aTwipSz.Height()) && Application::GetDefaultDevice() ) in InsertImage()
561 aTwipSz.Width() = 0; in InsertImage()
576 aTwipSz.Height() = 0; in InsertImage()
605 aGrfSz = aTwipSz; in InsertImage()
688 ASSERT( !aTwipSz.Width(), in InsertImage()
696 if( aTwipSz.Width() < MINFLY ) in InsertImage()
697 aTwipSz.Width() = MINFLY; in InsertImage()
701 ASSERT( !aTwipSz.Height(), in InsertImage()
709 if( aTwipSz.Height() < MINFLY ) in InsertImage()
710 aTwipSz.Height() = MINFLY; in InsertImage()
[all …]
H A Dhtmlnum.cxx282 Size aTwipSz( nWidth, nHeight), *pTwipSz=0; in NewNumBulList() local
285 aTwipSz = in NewNumBulList()
286 Application::GetDefaultDevice()->PixelToLogic( aTwipSz, in NewNumBulList()
288 pTwipSz = &aTwipSz; in NewNumBulList()
H A Dhtmlplug.cxx140 if( (aTwipSz.Width() || aTwipSz.Height()) && Application::GetDefaultDevice() ) in SetFixSize()
142 aTwipSz = in SetFixSize()
151 aTwipSz.Width() = rTwipDfltSize.Width(); in SetFixSize()
155 aTwipSz.Width() = rCSS1PropInfo.nWidth; in SetFixSize()
163 aTwipSz.Width() = rTwipDfltSize.Width(); in SetFixSize()
167 aTwipSz.Width() = rTwipDfltSize.Width(); in SetFixSize()
169 if( aTwipSz.Width() < MINFLY ) in SetFixSize()
171 aTwipSz.Width() = MINFLY; in SetFixSize()
196 if( aTwipSz.Height() < MINFLY ) in SetFixSize()
198 aTwipSz.Height() = MINFLY; in SetFixSize()
[all …]
H A Dhtmltab.cxx2226 Size aTwipSz( bRelWidth ? 0 : nCellWidth, nCellHeight ); in InsertCell() local
2227 if( (aTwipSz.Width() || aTwipSz.Height()) && Application::GetDefaultDevice() ) in InsertCell()
2229 aTwipSz = Application::GetDefaultDevice() in InsertCell()
2230 ->PixelToLogic( aTwipSz, MapMode( MAP_TWIP ) ); in InsertCell()
2236 sal_uInt16 nTmp = bRelWidth ? nCellWidth : (sal_uInt16)aTwipSz.Width(); in InsertCell()
2245 ((*pRows)[nCurRow])->SetHeight( (sal_uInt16)aTwipSz.Height() ); in InsertCell()
2368 Size aTwipSz( bRelWidth ? 0 : nColWidth, 0 ); in InsertCol() local
2369 if( aTwipSz.Width() && Application::GetDefaultDevice() ) in InsertCol()
2371 aTwipSz = Application::GetDefaultDevice() in InsertCol()
2372 ->PixelToLogic( aTwipSz, MapMode( MAP_TWIP ) ); in InsertCol()
[all …]
H A Dsvxcss1.cxx911 Size aTwipSz( rWidth, rHeight ); in PixelToTwip() local
912 aTwipSz = Application::GetDefaultDevice()->PixelToLogic( aTwipSz, in PixelToTwip()
915 rWidth = aTwipSz.Width(); in PixelToTwip()
916 rHeight = aTwipSz.Height(); in PixelToTwip()

Completed in 105 milliseconds