/aoo41x/main/vbahelper/source/vbahelper/ |
H A D | vbatextframe.cxx | 48 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 …]
|
/aoo41x/main/oox/inc/oox/drawingml/table/ |
H A D | tablecell.hxx | 64 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
|
/aoo41x/main/wizards/com/sun/star/wizards/form/ |
H A D | FormDocument.java | 115 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 …]
|
/aoo41x/main/sw/source/ui/docvw/ |
H A D | edtdd.cxx | 367 const int nMargin = 10; in AcceptDrop() local 368 aWin.Left() += nMargin; in AcceptDrop() 369 aWin.Top() += nMargin; in AcceptDrop() 370 aWin.Right() -= nMargin; in AcceptDrop() 371 aWin.Bottom() -= nMargin; in AcceptDrop() 383 if(aPixPt.X() > aWin.Right()) aPixPt.X() += nMargin; in AcceptDrop() 384 if(aPixPt.X() < aWin.Left()) aPixPt.X() -= nMargin; in AcceptDrop() 385 if(aPixPt.Y() > aWin.Bottom()) aPixPt.Y() += nMargin; in AcceptDrop() 386 if(aPixPt.Y() < aWin.Top()) aPixPt.Y() -= nMargin; in AcceptDrop()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | iframe.cxx | 283 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()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unonrule.cxx | 419 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()
|
/aoo41x/main/editeng/source/items/ |
H A D | frmitems.cxx | 663 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 …]
|
/aoo41x/main/svx/source/dialog/ |
H A D | svxruler.cxx | 908 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 …]
|
/aoo41x/main/sw/source/filter/html/ |
H A D | svxcss1.cxx | 2339 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()
|
/aoo41x/main/writerfilter/source/dmapper/ |
H A D | PropertyMap.cxx | 541 sal_Int32 nMargin = 0; in SetBorderDistance() local 542 aMargin >>= nMargin; in SetBorderDistance() 548 nDist = nMargin - nDistance; in SetBorderDistance()
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | xiescher.cxx | 548 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()
|
/aoo41x/main/sc/source/ui/cctrl/ |
H A D | dpcontrol.cxx | 126 const long nMargin = 2; in draw() local 165 aTextPos.setX(maPos.getX() + nMargin); in draw()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | viewfunc.cxx | 2439 sal_uInt16 nMargin = rMItem.GetLeftMargin() + rMItem.GetRightMargin(); in ModifyCellSize() local 2442 nMargin = sal::static_int_cast<sal_uInt16>( in ModifyCellSize() 2443 … nMargin + ((const SfxUInt16Item&)pPattern->GetItem(ATTR_INDENT)).GetValue() ); in ModifyCellSize() 2446 + nMargin + STD_EXTRA_WIDTH; in ModifyCellSize()
|
/aoo41x/main/reportdesign/source/core/api/ |
H A D | ReportDefinition.cxx | 304 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()
|
/aoo41x/main/sc/source/core/data/ |
H A D | column2.cxx | 676 long nMargin = (long) ( pMargin->GetLeftMargin() * nPPTX ) + in GetOptimalColWidth() local 682 sal_True ) + nMargin); in GetOptimalColWidth()
|