Home
last modified time | relevance | path

Searched refs:nMargin (Results 1 – 15 of 15) sorted by relevance

/trunk/main/vbahelper/source/vbahelper/
H A Dvbatextframe.cxx48 sal_Int32 nMargin = 0; in getMargin() local
50 aMargin >>= nMargin; in getMargin()
51 return nMargin; in getMargin()
56 sal_Int32 nMargin = Millimeter::getInHundredthsOfOneMillimeter( fMargin ); in setMargin() local
57 m_xPropertySet->setPropertyValue( sMarginType, uno::makeAny( nMargin ) ); in setMargin()
83 sal_Int32 nMargin = getMargin( rtl::OUString::createFromAscii( "TextLowerDistance" ) ); in getMarginBottom() local
84 float fMargin = (float)Millimeter::getInPoints( nMargin ); in getMarginBottom()
98 float fMargin = (float)Millimeter::getInPoints( nMargin ); in getMarginTop()
111 sal_Int32 nMargin = getMargin( rtl::OUString::createFromAscii( "TextLeftDistance" ) ); in getMarginLeft() local
112 float fMargin = (float)Millimeter::getInPoints( nMargin ); in getMarginLeft()
[all …]
/trunk/main/oox/inc/oox/drawingml/table/
H A Dtablecell.hxx64 void setLeftMargin( sal_Int32 nMargin ){ mnMarL = nMargin; }; in setLeftMargin() argument
66 void setRightMargin( sal_Int32 nMargin ){ mnMarR = nMargin; }; in setRightMargin() argument
68 void setTopMargin( sal_Int32 nMargin ){ mnMarT = nMargin; }; in setTopMargin() argument
70 void setBottomMargin( sal_Int32 nMargin ){ mnMarB = nMargin; }; in setBottomMargin() argument
/trunk/main/wizards/com/sun/star/wizards/form/
H A DFormDocument.java115 int nMargin; in adjustPageStyle() local
119 nMargin = 500; in adjustPageStyle()
123 nMargin = 750; in adjustPageStyle()
127 nMargin = 1000; in adjustPageStyle()
129 xPropPageStyle.setPropertyValue("RightMargin", new Integer(nMargin)); in adjustPageStyle()
130 xPropPageStyle.setPropertyValue("LeftMargin", new Integer(nMargin)); in adjustPageStyle()
131 xPropPageStyle.setPropertyValue("TopMargin", new Integer(nMargin)); in adjustPageStyle()
132 xPropPageStyle.setPropertyValue("BottomMargin", new Integer(nMargin)); in adjustPageStyle()
133 aMainFormPoint = new Point(nMargin, nMargin); in adjustPageStyle()
134 nFormWidth = (int) (0.8 * (double) nPageWidth) - 2 * nMargin; in adjustPageStyle()
[all …]
/trunk/main/sw/source/ui/docvw/
H A Dedtdd.cxx363 const int nMargin = 10; in AcceptDrop() local
364 aWin.Left() += nMargin; in AcceptDrop()
365 aWin.Top() += nMargin; in AcceptDrop()
366 aWin.Right() -= nMargin; in AcceptDrop()
367 aWin.Bottom() -= nMargin; in AcceptDrop()
379 if(aPixPt.X() > aWin.Right()) aPixPt.X() += nMargin; in AcceptDrop()
380 if(aPixPt.X() < aWin.Left()) aPixPt.X() -= nMargin; in AcceptDrop()
381 if(aPixPt.Y() > aWin.Bottom()) aPixPt.Y() += nMargin; in AcceptDrop()
382 if(aPixPt.Y() < aWin.Top()) aPixPt.Y() -= nMargin; in AcceptDrop()
/trunk/main/sfx2/source/doc/
H A Diframe.cxx283 sal_Int32 nMargin = 0; in setPropertyValue() local
285 if ( aAny >>= nMargin ) in setPropertyValue()
287 aSize.Width() = nMargin; in setPropertyValue()
294 sal_Int32 nMargin = 0; in setPropertyValue() local
296 if ( aAny >>= nMargin ) in setPropertyValue()
298 aSize.Height() = nMargin; in setPropertyValue()
/trunk/main/editeng/source/uno/
H A Dunonrule.cxx419 sal_Int32 nMargin = 0; in setNumberingRuleByIndex() local
420 if( aVal >>= nMargin ) in setNumberingRuleByIndex()
422 aFmt.SetAbsLSpace((sal_uInt16)nMargin); in setNumberingRuleByIndex()
428 sal_Int32 nMargin = 0; in setNumberingRuleByIndex() local
429 if( aVal >>= nMargin ) in setNumberingRuleByIndex()
431 aFmt.SetFirstLineOffset((sal_uInt16)nMargin); in setNumberingRuleByIndex()
/trunk/main/editeng/source/items/
H A Dfrmitems.cxx663 sal_uInt16 nMargin = 0; in Store() local
666 rStrm << nMargin; in Store()
671 nMargin = 0; in Store()
672 rStrm << nMargin; in Store()
679 nMargin = 0; in Store()
680 rStrm << nMargin; in Store()
763 sal_Int32 nMargin; in Create() local
764 rStrm >> nMargin; in Create()
765 pAttr->nLeftMargin = nMargin; in Create()
766 pAttr->nTxtLeft = firstline >= 0 ? nMargin : nMargin - firstline; in Create()
[all …]
/trunk/main/svx/source/dialog/
H A Dsvxruler.cxx908 long nMargin = pLRSpaceItem? pLRSpaceItem->GetLeft(): 0; in UpdateObject() local
911 nMargin + lAppNullOffset); in UpdateObject()
913 ConvertPosPixel(pObjectItem->GetEndX() - nMargin + lAppNullOffset); in UpdateObject()
914 nMargin = pULSpaceItem? pULSpaceItem->GetUpper(): 0; in UpdateObject()
917 nMargin + lAppNullOffset); in UpdateObject()
2619 long nMargin = pLRSpaceItem? pLRSpaceItem->GetLeft(): 0; in ApplyObject() local
2623 + nMargin - lAppNullOffset,pObjectItem->GetStartX())); in ApplyObject()
2627 + nMargin - lAppNullOffset,pObjectItem->GetEndX())); in ApplyObject()
2628 nMargin = pULSpaceItem? pULSpaceItem->GetUpper(): 0; in ApplyObject()
2632 + nMargin - lAppNullOffset,pObjectItem->GetStartY())); in ApplyObject()
[all …]
/trunk/main/sw/source/filter/html/
H A Dsvxcss1.cxx2339 long nMargin = 0; in ParseCSS1_margin() local
2345 nMargin = pExpr->GetSLength(); in ParseCSS1_margin()
2352 nMargin = (long)pExpr->GetNumber(); in ParseCSS1_margin()
2353 SvxCSS1Parser::PixelToTwip( nPWidth, nMargin ); in ParseCSS1_margin()
2373 nMargins[0] = nMargins[1] =nMargins[2] = nMargins[3] = nMargin; in ParseCSS1_margin()
2378 nMargins[1] = nMargins[3] = nMargin; // right + left in ParseCSS1_margin()
2382 nMargins[2] = nMargin; // bottom in ParseCSS1_margin()
2386 nMargins[3] = nMargin; // left in ParseCSS1_margin()
/trunk/main/writerfilter/source/dmapper/
H A DPropertyMap.cxx544 sal_Int32 nMargin = 0; in SetBorderDistance() local
545 aMargin >>= nMargin; in SetBorderDistance()
551 nDist = nMargin - nDistance; in SetBorderDistance()
/trunk/main/sc/source/filter/excel/
H A Dxiescher.cxx548 sal_Int32 nMargin = rDffConv.GetDefaultTextMargin(); in PreProcessSdrObject() local
549 rSdrObj.SetMergedItem( SdrTextLeftDistItem( nMargin ) ); in PreProcessSdrObject()
550 rSdrObj.SetMergedItem( SdrTextRightDistItem( nMargin ) ); in PreProcessSdrObject()
551 rSdrObj.SetMergedItem( SdrTextUpperDistItem( nMargin ) ); in PreProcessSdrObject()
552 rSdrObj.SetMergedItem( SdrTextLowerDistItem( nMargin ) ); in PreProcessSdrObject()
/trunk/main/sc/source/ui/view/
H A Dviewfunc.cxx2439 sal_uInt16 nMargin = rMItem.GetLeftMargin() + rMItem.GetRightMargin(); in ModifyCellSize() local
2442 nMargin = sal::static_int_cast<sal_uInt16>( in ModifyCellSize()
2443nMargin + ((const SfxUInt16Item&)pPattern->GetItem(ATTR_INDENT)).GetValue() ); in ModifyCellSize()
2446 + nMargin + STD_EXTRA_WIDTH; in ModifyCellSize()
/trunk/main/sc/source/ui/cctrl/
H A Ddpcontrol.cxx126 const long nMargin = 2; in draw() local
165 aTextPos.setX(maPos.getX() + nMargin); in draw()
/trunk/main/reportdesign/source/core/api/
H A DReportDefinition.cxx304 const sal_Int32 nMargin = 2000; in OStyle() local
331 …erPropertyNoMember(PROPERTY_BOTTOMMARGIN, ++i,nBound,::getCppuType((const sal_Int32*)0) ,&nMargin); in OStyle()
394 …TY_LEFTMARGIN, ++i,beans::PropertyAttribute::BOUND, ::getCppuType((const sal_Int32*)0) ,&nMargin); in OStyle()
404 …RTY_RIGHTMARGIN, ++i,beans::PropertyAttribute::BOUND,::getCppuType((const sal_Int32*)0) ,&nMargin); in OStyle()
414 …isterPropertyNoMember(PROPERTY_TOPMARGIN, ++i,nBound,::getCppuType((const sal_Int32*)0) ,&nMargin); in OStyle()
/trunk/main/sc/source/core/data/
H A Dcolumn2.cxx676 long nMargin = (long) ( pMargin->GetLeftMargin() * nPPTX ) + in GetOptimalColWidth() local
682 sal_True ) + nMargin); in GetOptimalColWidth()

Completed in 173 milliseconds