Home
last modified time | relevance | path

Searched refs:nTopMargin (Results 1 – 19 of 19) sorted by path

/trunk/main/sc/source/core/tool/
H A Deditutil.cxx145 long nTopMargin = (long) ( pMargin->GetTopMargin() * nPPTY ); in GetEditArea() local
155 nPixDifY = nTopMargin; in GetEditArea()
169 nTextHeight = pDev->GetTextHeight() + nTopMargin + in GetEditArea()
175 if ( nTextHeight > nCellY + nTopMargin || bForceToTop ) in GetEditArea()
180 nPixDifY = nTopMargin + ( nCellY - nTextHeight ) / 2; in GetEditArea()
182 nPixDifY = nCellY - nTextHeight + nTopMargin; // JUSTIFY_BOTTOM in GetEditArea()
/trunk/main/sc/source/filter/html/
H A Dhtmlimp.cxx90 long nTopMargin = pULItem->GetUpper(); in ScHTMLImport() local
99 aPageSize.Height() -= nTopMargin + nBottomMargin; in ScHTMLImport()
/trunk/main/sc/source/ui/cctrl/
H A Ddpcontrol.cxx831 const sal_uInt16 nTopMargin = 5; in getMenuItemPosSize() local
836 Point aPos1(nLeftMargin, nTopMargin); in getMenuItemPosSize()
1059 const sal_uInt16 nTopMargin = 5; in getSectionPosSize() local
1071 …const sal_uInt16 nListBoxHeight = static_cast< sal_uInt16 >( maWndSize.Height() - nTopMargin - nMe… in getSectionPosSize()
1074 …const sal_uInt16 nSingleBtnAreaY = nTopMargin + nMenuHeight + nListBoxHeight + nMenuListMargin - 1; in getSectionPosSize()
1086 rPos = Point(nListBoxMargin, nTopMargin + nMenuHeight + nMenuListMargin); in getSectionPosSize()
1092 rPos = Point(nListBoxMargin, nTopMargin + nMenuHeight + nMenuListMargin); in getSectionPosSize()
/trunk/main/sc/source/ui/inc/
H A Dprintfun.hxx167 sal_uInt16 nTopMargin; member in ScPrintFunc
292 sal_uInt16 GetTopMargin() const{return nTopMargin;} in GetTopMargin()
296 void SetTopMargin(sal_uInt16 nRulerTopDistance){ nTopMargin = nRulerTopDistance; } in SetTopMargin()
/trunk/main/sc/source/ui/view/
H A Dpreview.cxx372 long nTopMargin = 0; in DoPrint() local
413 nTopMargin = pPrintFunc->GetTopMargin(); in DoPrint()
460 nTopMargin = (long) ( nTopMargin * HMM_PER_TWIPS ); in DoPrint()
462 nHeaderHeight = (long) ( nHeaderHeight * HMM_PER_TWIPS * mnScale / 100 + nTopMargin ); in DoPrint()
491 DrawInvert( (long)( nTopMargin - aOffset.Y() ), POINTER_VSIZEBAR ); in DoPrint()
1265 long nTopMargin = 0; in MouseMove() local
1286 nTopMargin = (long)( pPrintFunc->GetTopMargin() * HMM_PER_TWIPS - aOffset.Y() ); in MouseMove()
1291 …nHeaderHeight = (long)( nTopMargin + pPrintFunc->GetHeader().nHeight * HMM_PER_TWIPS * mnScale / 1… in MouseMove()
1296 nHeaderHeight = (long)( nTopMargin + pPrintFunc->GetHeader().nHeight * HMM_PER_TWIPS ); in MouseMove()
1306 Point aTopLeft = LogicToPixel( Point( -aOffset.X(), nTopMargin ), aMMMode ); in MouseMove()
[all …]
H A Dprintfun.cxx832 nTopMargin = pULItem->GetUpper(); in InitParam()
1083 aSize.Height() -= nTopMargin + nBottomMargin; in GetDataSize()
1092 rPhysSize.Height() -= nTopMargin + nBottomMargin; in GetScaleData()
2949 aPageRect.Top() = ( aPageRect.Top() + nTopMargin ) * 100 / nZoom + aHdr.nHeight; in GetDocPageSize()
/trunk/main/svx/inc/svx/
H A Dalgitem.hxx154 sal_Int16 nTopMargin; member in SvxMarginItem
180 sal_Int16 GetTopMargin() const {return nTopMargin; } in GetTopMargin()
190 nTopMargin = rMargin.nTopMargin; in operator =()
/trunk/main/svx/source/items/
H A Dalgitem.cxx537 nTopMargin ( 20 ), in SvxMarginItem()
553 nTopMargin ( nTop ), in SvxMarginItem()
567 nTopMargin = rItem.nTopMargin; in SvxMarginItem()
592 rText += GetMetricText( (long)nTopMargin, eCoreUnit, ePresUnit, pIntl ); in GetPresentation()
607 rText += GetMetricText( (long)nTopMargin, eCoreUnit, ePresUnit, pIntl ); in GetPresentation()
635 ( nTopMargin == ( (SvxMarginItem&)rItem ).nTopMargin ) && in operator ==()
667 rStream << nTopMargin; in Store()
690 rVal <<= (sal_Int32)( bConvert ? TWIP_TO_MM100(nTopMargin) : nTopMargin ); in QueryValue()
721 nTopMargin = (sal_Int16)( bConvert ? MM100_TO_TWIP(nVal) : nVal ); in PutValue()
745 nTopMargin = nTop; in SetTopMargin()
/trunk/main/sw/source/core/layout/
H A Dlayact.cxx1753 SwTwips nTopMargin = (pTab->*fnRect->fnGetTopMargin)(); in FormatLayoutTab() local
1754 if ( nTopMargin > 0) in FormatLayoutTab()
1757 (aMarginRect.*fnRect->fnSetHeight)( nTopMargin ); in FormatLayoutTab()
H A Dsectfrm.cxx1255 SwTwips nTopMargin = (mpSectFrm->*fnRect->fnGetTopMargin)(); in FormatSectionToPositionObjs() local
1260 (mpSectFrm->*fnRect->fnSetYMargins)( nTopMargin, 0 ); in FormatSectionToPositionObjs()
/trunk/main/sw/source/core/objectpositioning/
H A Dtocntntanchoredobjectposition.cxx544 SwTwips nTopMargin = (pAnchorFrmForVertPos->*fnRect->fnGetTopMargin)(); in CalcPosition() local
547 nTopMargin -= static_cast<const SwTxtFrm*>(pAnchorFrmForVertPos)-> in CalcPosition()
550 nVertOffsetToFrmAnchorPos += nTopMargin; in CalcPosition()
/trunk/main/sw/source/filter/html/
H A Dhtmlatr.cxx317 sal_uInt16 nTopMargin; member
527 nTopMargin = rULSpace.GetUpper(); in SV_IMPL_OP_PTRARR_SORT()
897 rHWrt.nDfltTopMargin = pFmtInfo->nTopMargin; in OutHTML_SwFmt()
/trunk/main/sw/source/ui/vba/
H A Dvbainformationhelper.cxx53 sal_Int32 nTopMargin = 0; in handleWdVerticalPositionRelativeToPage() local
54 …rops->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TopMargin") ) ) >>= nTopMargin; in handleWdVerticalPositionRelativeToPage()
65 …nCurrentPos = nCurrentPos + nTopMargin - ( DEFAULT_PAGE_DISTANCE + TWIP_TO_MM100( nPageHeight ) ) … in handleWdVerticalPositionRelativeToPage()
H A Dvbapagesetup.cxx161 sal_Int32 nTopMargin = 0; in setDifferentFirstPageHeaderFooter() local
162 …eProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TopMargin"))) >>= nTopMargin; in setDifferentFirstPageHeaderFooter()
178 nTopMargin += nHeaderHeight; in setDifferentFirstPageHeaderFooter()
201 …rtyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TopMargin") ), uno::makeAny( nTopMargin ) ); in setDifferentFirstPageHeaderFooter()
/trunk/main/vcl/inc/vcl/
H A Dprint.hxx412 long nTopMargin; member
422 , nLeftMargin( 0 ), nTopMargin( 0 ) in MultiPageSetup()
/trunk/main/vcl/source/gdi/
H A Dprint3.cxx432 …IntProperty( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "NUpPageMarginTop" ) ), aMPS.nTopMargin ); in ImplPrintJob()
434 aMPS.nTopMargin = nValue; in ImplPrintJob()
1005 rMPS.nTopMargin == 0 && rMPS.nBottomMargin == 0 ) in getFilteredPageFile()
1037 aMPArea.Height() -= rMPS.nTopMargin + rMPS.nBottomMargin; in getFilteredPageFile()
1099 long nY = rMPS.nTopMargin + nOffY + nAdvY * nCellY; in getFilteredPageFile()
/trunk/main/vcl/source/window/
H A Dprintdlg.cxx2091 aMPS.nTopMargin = in updateNup()
/trunk/main/writerfilter/source/dmapper/
H A DGraphicImport.cxx232 sal_Int32 nTopMargin; member in writerfilter::dmapper::GraphicImport_Impl
294 ,nTopMargin(0) in GraphicImport_Impl()
1358 m_pImpl->nTopMargin = nIntValue / 360; in ProcessShapeOptions()
1607 m_pImpl->nTopMargin = 0; in createGraphicObject()
1665 uno::makeAny(m_pImpl->nTopMargin)); in createGraphicObject()
H A DPropertyMap.cxx751 sal_Int32 nTopMargin = m_nTopMargin; in PrepareHeaderFooterProperties() local
755 if( nTopMargin > 0 && nTopMargin > m_nHeaderTop ) in PrepareHeaderFooterProperties()
756 m_nHeaderTop = nTopMargin - m_nHeaderTop; in PrepareHeaderFooterProperties()
766 if( nTopMargin >= 0 ) //fixed height header -> see WW8Par6.hxx in PrepareHeaderFooterProperties()
779 …ropertyDefinition( PROP_HEADER_BODY_DISTANCE, false )) = uno::makeAny( nTopMargin - m_nHeaderTop ); in PrepareHeaderFooterProperties()

Completed in 141 milliseconds