Home
last modified time | relevance | path

Searched refs:nH (Results 1 – 25 of 98) sorted by relevance

1234

/trunk/main/svx/source/dialog/
H A Dparaprev.cxx89 long nH = aWinSize.Height() / 19; in DrawParagraph() local
90 Size aLineSiz( aWinSize.Width() - DEF_MARGIN, nH ), in DrawParagraph()
133 case SVX_PREV_LINESPACE_15: aPnt.Y() += nH / 2; break; in DrawParagraph()
134 case SVX_PREV_LINESPACE_2: aPnt.Y() += nH; break; in DrawParagraph()
142 aPnt.Y() += nH; in DrawParagraph()
217 aPnt.Y() += nH; in DrawParagraph()
H A Dhdft.cxx274 long nH = GetCoreValue( aHeightEdit, eUnit ); in FillItemSet() local
278 nH += nDist; // dann Abstand dazu addieren in FillItemSet()
279 aSize.Height() = nH; in FillItemSet()
1093 long nH = aBspWin.GetSize().Height(); in IMPL_LINK() local
1100 nMin = ( nH - nBB - nBT ) / 5; // 20% in IMPL_LINK()
1101 nMax = Max( nH - nMin - nHDist - nFDist - nFHeight - nBB - nBT, in IMPL_LINK()
1104 nMin = ( nH - nBB - nBT ) / 5; // 20% in IMPL_LINK()
1105 nDist = Max( nH - nMin - nHHeight - nFDist - nFHeight - nBB - nBT, in IMPL_LINK()
1112 nMin = ( nH - nBT - nBB ) / 5; // 20% in IMPL_LINK()
1113 nMax = Max( nH - nMin - nFDist - nHDist - nHHeight - nBT - nBB, in IMPL_LINK()
[all …]
H A Dsrchdlg.cxx863 long nH = LogicToPixel( Size( 0, nAppFontHeight ), MAP_APPFONT ).Height(); in CalculateDelta_Impl() local
866 aNewPos.Y() -= nH; in CalculateDelta_Impl()
869 aNewPos.Y() -= nH; in CalculateDelta_Impl()
871 nH *= 3; in CalculateDelta_Impl()
876 aNewPos.Y() -= nH; in CalculateDelta_Impl()
882 aNewPos.Y() -= nH; in CalculateDelta_Impl()
885 aNewPos.Y() -= nH; in CalculateDelta_Impl()
903 long nH = LogicToPixel( Size( 0, nOffset ), MAP_APPFONT ).Height(); in CalculateDelta_Impl() local
911 aNewPos.Y() -= nH; in CalculateDelta_Impl()
/trunk/main/svtools/source/dialogs/
H A Dfiledlg2.cxx166 long nH = 0; in InitControls() local
186 nH = aPnt.Y() + aEDSiz.Height() + a6Siz.Height(); in InitControls()
192 nH = aPnt.Y() + nNewH + a6Siz.Height(); in InitControls()
242 pDlg->SetOutputSizePixel( Size( nW, nH ) ); // Groesse ggf. auch Resource wird geplaettet? in InitControls()
736 const int nH = 48; // Um den Dialog in eine akzeptable Form zu bringen in InitControls() local
743 Point(10, 58), Size(nW, 180-nH), aEmptyStr, HID_FILEDLG_FILES ); in InitControls()
750 Point(nW+20, 58), Size(nW, 180-nH ), aEmptyStr, HID_FILEDLG_DIRS ); in InitControls()
757 Point(10, 265-nH ), Size(nW, 100 ), aEmptyStr, HID_FILEDLG_TYPES ); in InitControls()
762 Point(nW+20, 265-nH ), Size(nW, 100 ), aEmptyStr, HID_FILEDLG_DRIVES ); in InitControls()
767 Point(10, 265-nH ), Size(2*nW+20, 100 ), aEmptyStr, HID_FILEDLG_TYPES ); in InitControls()
[all …]
/trunk/main/sw/source/ui/utlui/
H A Dshdwcrsr.cxx110 long nH = nOldHeight; in GetRect() local
113 nH = (((nH / 4)+1) * 4) + 1; in GetRect()
114 long nWidth = nH / 4 + 3 + 1; in GetRect()
116 Size aSz( nWidth, nH ); in GetRect()
/trunk/main/vcl/win/source/gdi/
H A Dsalbmp.cxx307 const sal_uInt32 nH(pRGB->mnHeight); in ImplCreateGdiPlusBitmap() local
309 pRetval = new Gdiplus::Bitmap(nW, nH, PixelFormat24bppRGB); in ImplCreateGdiPlusBitmap()
318 const Gdiplus::Rect aAllRect(0, 0, nW, nH); in ImplCreateGdiPlusBitmap()
323 for(sal_uInt32 y(0); y < nH; y++) in ImplCreateGdiPlusBitmap()
325 const sal_uInt32 nYInsert(bTopDown ? y : nH - y - 1); in ImplCreateGdiPlusBitmap()
445 const sal_uInt32 nH(pRGB->mnHeight); in ImplCreateGdiPlusBitmap() local
447 pRetval = new Gdiplus::Bitmap(nW, nH, PixelFormat32bppARGB); in ImplCreateGdiPlusBitmap()
458 const Gdiplus::Rect aAllRect(0, 0, nW, nH); in ImplCreateGdiPlusBitmap()
464 for(sal_uInt32 y(0); y < nH; y++) in ImplCreateGdiPlusBitmap()
466 const sal_uInt32 nYInsert(bTopDown ? y : nH - y - 1); in ImplCreateGdiPlusBitmap()
/trunk/main/sw/source/ui/frmdlg/
H A Dfrmmgr.cxx326 SwTwips nH = rVal.nHPos; in ValidateMetrics() local
334 nH = rVal.nHPos; in ValidateMetrics()
361 nH = aBoundRect.Left(); in ValidateMetrics()
367 rVal.nMaxWidth = aBoundRect.Right() - nH; in ValidateMetrics()
426 const SwTwips nH = ( rVal.nHoriOrient != text::HoriOrientation::NONE ) in ValidateMetrics() local
433 rVal.nMaxWidth = rVal.nMaxHPos + rVal.nWidth - nH; in ValidateMetrics()
457 const SwTwips nH = ( rVal.nHoriOrient != text::HoriOrientation::NONE ) in ValidateMetrics() local
460 rVal.nMaxWidth = rVal.nMaxHPos + rVal.nWidth - nH; in ValidateMetrics()
/trunk/main/vcl/source/gdi/
H A Dbitmapex.cxx1186 const sal_uInt32 nH(rSize.Height()); in createBlendFrame() local
1188 if(nW || nH) in createBlendFrame()
1192 const sal_uInt32 nDE(nW + nH); in createBlendFrame()
1195 aColBottomLeft.Merge(aColorBottomRight, 255 - sal_uInt8((nH * 255) / nDE)); in createBlendFrame()
1238 const long nH(rSize.Height()); in createBlendFrame() local
1240 if(nW && nH) in createBlendFrame()
1279 for(y = 1; y < nH - 1; y++) in createBlendFrame()
1283 aMixA.Merge(aColorBottomLeft, 255 - sal_uInt8((y * 255) / nH)); in createBlendFrame()
1292 aMixB.Merge(aColorBottomRight, 255 - sal_uInt8((y * 255) / nH)); in createBlendFrame()
1299 if(y < nH) in createBlendFrame()
/trunk/main/svx/source/mnuctrls/
H A Dfntszctl.cxx68 long nH = LOGIC( pMen->GetCurHeight(), MAP_POINT, (MapUnit)eUnit ) / 10; in IMPL_LINK() local
69 SvxFontHeightItem aItem( nH, 100, GetId() ); in IMPL_LINK()
111 long nH = pItem->GetHeight() * 10; in StateChanged() local
112 nVal = LOGIC( nH, (MapUnit)eUnit, MAP_POINT ); in StateChanged()
/trunk/main/avmedia/source/java/
H A DPlayerWindow.java118 int nH = maFrame.getJavaFrame().getHeight(); in LayoutComponents() local
121 aPanel.setBounds( 0, 0, nW, nH ); in LayoutComponents()
131 nControlH = Math.min( nH, aControlDimension.height ); in LayoutComponents()
132 aControlComponent.setBounds( 0, nH - nControlH, nW, nControlH ); in LayoutComponents()
143 int nVideoW = nW, nVideoH = ( nH - nControlH ); in LayoutComponents()
206 nY = ( nH - nControlH - nVideoH ) >> 1; in LayoutComponents()
/trunk/main/framework/source/dispatch/
H A Dhelpagentdispatcher.cxx378 sal_Int32 nH = aAgentSize.Height(); in implts_positionAgentWindow() local
382 if (nH < 1) in implts_positionAgentWindow()
383 nH = 100; in implts_positionAgentWindow()
386 sal_Int32 nY = aContainerSize.Height - nH; in implts_positionAgentWindow()
389 xAgentWindow->setPosSize(nX, nY, nW, nH, css::awt::PosSize::POSSIZE); in implts_positionAgentWindow()
/trunk/main/sd/source/ui/view/
H A Ddrviewse.cxx1181 long nH = (long) (maMarkRect.GetHeight() * 1.03); in FuSupport() local
1184 aPos.Y() -= nH / 2; in FuSupport()
1185 if ( nW && nH ) in FuSupport()
1187 SetZoomRect(Rectangle(aPos, Size(nW, nH))); in FuSupport()
1214 long nH = (long) (aBoundRect.GetHeight() * 1.03); in FuSupport() local
1217 aPos.Y() -= nH / 2; in FuSupport()
1218 if ( nW && nH ) in FuSupport()
1220 SetZoomRect( Rectangle( aPos, Size( nW, nH ) ) ); in FuSupport()
H A Dviewshe2.cxx121 long nH = (long)(mpContentWindow->GetVisibleHeight() * 32000); in UpdateScrollBars() local
138 mpVerticalScrollBar->SetVisibleSize(nH); in UpdateScrollBars()
140 nH = 32000 - nH; in UpdateScrollBars()
141 long nLine = (long) (mpContentWindow->GetScrlLineHeight() * nH); in UpdateScrollBars()
142 long nPage = (long) (mpContentWindow->GetScrlPageHeight() * nH); in UpdateScrollBars()
/trunk/main/sw/source/ui/shells/
H A Ddrwbassh.cxx869 SwTwips nH = pValidation->nHPos; in IMPL_LINK() local
877 nH = pValidation->nHPos; in IMPL_LINK()
904 nH = aBoundRect.Left(); in IMPL_LINK()
910 pValidation->nMaxWidth = aBoundRect.Right() - nH; in IMPL_LINK()
964 const SwTwips nH = ( pValidation->nHoriOrient != text::HoriOrientation::NONE ) in IMPL_LINK() local
971 pValidation->nMaxWidth = pValidation->nMaxHPos + pValidation->nWidth - nH; in IMPL_LINK()
/trunk/main/vcl/inc/unx/
H A Dsalfont.h64 inline SalFontDimension( USHORT nA = 0, USHORT nH = 0 );
75 inline SalFontDimension::SalFontDimension( USHORT nA, USHORT nH ) in SalFontDimension() argument
76 : nHeight_( nH ), nAverage_( nA ) in SalFontDimension()
/trunk/main/vcl/source/fontsubset/
H A Dcff.cxx1464 const U8 nH = c >> 4U; in readRealVal() local
1465 if( nH <= 9) { in readRealVal()
1466 nNumber = nNumber * 10 + nH; in readRealVal()
1468 } else if( nH == 10) { // comma in readRealVal()
1471 } else if( nH == 11) { // +exp in readRealVal()
1475 } else if( nH == 12) { // -exp in readRealVal()
1479 } else if( nH == 13) { // reserved in readRealVal()
1481 } else if( nH == 14) // minus in readRealVal()
1483 else if( nH == 15) // end in readRealVal()
/trunk/main/sc/source/filter/lotus/
H A Dtool.cxx205 sal_uInt8 nL, nH; // Low-/High-Nibble in NewAttr() local
221 nH = ( nFormat & 0xF0 ) / 16; in NewAttr()
223 nH &= 0x07; // Bits 4-6 'rausziehen in NewAttr()
224 switch( nH ) in NewAttr()
/trunk/main/svtools/source/filter/wmf/
H A Denhwmf.cxx247 nW, nH, nPoints, nColor, nIndex, in ReadEnhWMF() local
432 *pWMF >> nW >> nH; in ReadEnhWMF()
433 pOut->SetWinExt( Size( nW, nH ) ); in ReadEnhWMF()
467 *pWMF >> nW >> nH; in ReadEnhWMF()
468 pOut->SetDevExt( Size( nW, nH ) ); in ReadEnhWMF()
730 *pWMF >> nX32 >> nY32 >> nx32 >> ny32 >> nW >> nH; in ReadEnhWMF()
731 Size aSize( Size( nW, nH ) ); in ReadEnhWMF()
/trunk/main/editeng/source/editeng/
H A Dimpedit3.cxx1334 sal_Int32 nH = nTxtHeight; in CreateLines() local
1335 nH *= rLSItem.GetPropLineSpace(); in CreateLines()
1336 nH /= 100; in CreateLines()
1338 long nDiff = pLine->GetHeight() - nH; in CreateLines()
1349 sal_uInt32 nH = rLSItem.GetLineHeight(); in CreateLines() local
1350 if ( nH != nTxtHeight ) in CreateLines()
1692 sal_Int32 nH = nTxtHeight; in CreateAndInsertEmptyLine() local
1693 nH *= rLSItem.GetPropLineSpace(); in CreateAndInsertEmptyLine()
1694 nH /= 100; in CreateAndInsertEmptyLine()
1707 sal_uInt32 nH = rLSItem.GetLineHeight(); in CreateAndInsertEmptyLine() local
[all …]
/trunk/main/svx/source/tbxctrls/
H A Dlinectrl.cxx618 long nH = rNewSize.Height(); in Resizing() local
619 nLines = (sal_uInt16) Max( ( ( nH + nItemH / 2 ) / nItemH ), 1L ); in Resizing()
638 nH = nItemH * nLines; in Resizing()
641 rNewSize.Height() = nH; in Resizing()
/trunk/main/sw/source/filter/inc/
H A Dfltshell.hxx351 virtual void SetCellHeight(SwTwips nH);
408 virtual void SetCellHeight(SwTwips nH);
575 void SetCellHeight(SwTwips nH) { in SetCellHeight() argument
576 pOut->SetCellHeight(nH); } in SetCellHeight()
/trunk/main/cui/source/tabpages/
H A Dpage.cxx1636 long nH = static_cast<long>(aPaperHeightEdit.Denormalize(aPaperHeightEdit.GetValue(FUNIT_TWIP))); in IMPL_LINK() local
1650 nH = static_cast<long>(aPaperHeightEdit.Denormalize(aPaperHeightEdit.GetValue(FUNIT_TWIP))); in IMPL_LINK()
1654 long nMax = nH - nBB - aBorder.Height() - MINBODY - in IMPL_LINK()
1660 nMax = nH - nBT - aBorder.Height() - MINBODY - in IMPL_LINK()
1686 long nH = GetCoreValue( aPaperHeightEdit, SFX_MAPUNIT_TWIP ); in CalcMargin_Impl() local
1692 if ( nWidth > nW || nHeight > nH ) in CalcMargin_Impl()
1705 if ( nHeight > nH ) in CalcMargin_Impl()
1708 nTmp -= nHeight - nH; in CalcMargin_Impl()
/trunk/main/svx/source/fmcomp/
H A Dgridctrl.cxx466 const long nH = aRect.GetSize().Height(); in ArrangeControls() local
475 m_aRecordText.SetSizePixel(Size(nTextWidth,nH)); in ArrangeControls()
479 m_aAbsolute.SetSizePixel( Size(3*nH,aRect.GetSize().Height()) ); // Heuristik XXXXXXX in ArrangeControls()
480 nX = sal::static_int_cast< sal_uInt16 >(nX + (3*nH) + aBorder.Width()); in ArrangeControls()
485 m_aRecordOf.SetSizePixel(Size(nTextWidth,nH)); in ArrangeControls()
490 m_aRecordCount.SetSizePixel(Size(nTextWidth,nH)); in ArrangeControls()
494 Size aButtonSize(nH,nH); in ArrangeControls()
502 aButtonPos.X() + (sal_uInt16)(nH + aBorder.Width())); in ArrangeControls()
506 if (aOutputFont.GetSize().Height() > nH) in ArrangeControls()
514 aApplFont.SetSize( Size( 0, nH - 2 ) ); in ArrangeControls()
/trunk/main/sc/source/core/data/
H A Ddptabsrc.cxx1902 ScDPHierarchy::ScDPHierarchy( ScDPSource* pSrc, long nD, long nH ) : in ScDPHierarchy() argument
1905 nHier( nH ), in ScDPHierarchy()
1963 ScDPLevels::ScDPLevels( ScDPSource* pSrc, long nD, long nH ) : in ScDPLevels() argument
1966 nHier( nH ), in ScDPLevels()
2114 ScDPLevel::ScDPLevel( ScDPSource* pSrc, long nD, long nH, long nL ) : in ScDPLevel() argument
2117 nHier( nH ), in ScDPLevel()
2410 ScDPMembers::ScDPMembers( ScDPSource* pSrc, long nD, long nH, long nL ) : in SC_IMPL_DUMMY_PROPERTY_LISTENER()
2413 nHier( nH ), in SC_IMPL_DUMMY_PROPERTY_LISTENER()
2682 ScDPMember::ScDPMember( ScDPSource* pSrc, long nD, long nH, long nL, in ScDPMember() argument
2686 nHier( nH ), in ScDPMember()
/trunk/main/sw/source/ui/envelp/
H A Denvlop1.cxx117 nH = (sal_uInt16) (f * nPageH), in Paint() local
119 nY = (GetOutputSizePixel().Height() - nH) / 2; in Paint()
121 DrawRect(Rectangle(Point(nX, nY), Size(nW, nH))); in Paint()

Completed in 236 milliseconds

1234