/trunk/main/svtools/source/control/ |
H A D | ctrlbox.cxx | 267 long nDistance; member 294 nDistance *= 20; in ImpGetLine() 302 nDistance *= 14440; in ImpGetLine() 303 nDistance /= 254; in ImpGetLine() 311 long nDist = nDistance / 100; in ImpGetLine() 347 nDistance /= 20; in ImpGetLine() 356 nDistance *= 254; in ImpGetLine() 357 nDistance /= 14400; in ImpGetLine() 441 pData->nDistance = nDistance; in InsertEntry() 490 (pData->nDistance == nDistance) ) in GetEntryPos() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | bordrhdl.cxx | 238 sal_Int32 nInWidth, nDistance, nOutWidth; in importXML() local 250 if( !rUnitConverter.convertMeasure( nDistance, aToken, 0, 500 ) ) in importXML() 265 aDBorderWidths[i+3] == nDistance ) in importXML() 269 sal_uInt16 nWidth = i < nSize ? 0 : nOutWidth + nInWidth + nDistance; in importXML() 278 aBorderLine.LineDistance = sal::static_int_cast< sal_Int16 >(nDistance); in importXML() 423 const sal_uInt16 nDistance = aBorderLine.LineDistance; in exportXML() local 424 if( 0 != nDistance ) in exportXML() 426 nWidth += nDistance; in exportXML() 440 aOut.append( GetXMLToken((0 == nDistance) ? XML_SOLID : XML_DOUBLE) ); in exportXML()
|
/trunk/main/svtools/inc/svtools/ |
H A D | ctrlbox.hxx | 254 …SVT_DLLPRIVATE void ImpGetLine( long nLine1, long nLine2, long nDistance, Bitmap& rBmp, XubStrin… 269 …virtual sal_uInt16 InsertEntry( long nLine1, long nLine2 = 0, long nDistance = 0, sal_uInt16 nPos … 275 sal_uInt16 GetEntryPos( long nLine1, long nLine2 = 0, long nDistance = 0 ) const; 281 …void SelectEntry( long nLine1, long nLine2 = 0, long nDistance = 0, sal_Bool bSelect = sal_True … 286 sal_Bool IsEntrySelected( long nLine1, long nLine2 = 0, long nDistance = 0 ) const; 304 inline void LineListBox::SelectEntry( long nLine1, long nLine2, long nDistance, sal_Bool bSelect ) in SelectEntry() argument 306 sal_uInt16 nPos = GetEntryPos( nLine1, nLine2, nDistance ); in SelectEntry() 338 inline sal_Bool LineListBox::IsEntrySelected( long nLine1, long nLine2, long nDistance ) const in IsEntrySelected() 340 sal_uInt16 nPos = GetEntryPos( nLine1, nLine2, nDistance ); in IsEntrySelected()
|
/trunk/main/svtools/source/contnr/ |
H A D | imivctl2.cxx | 187 long nDistance = rRect.Top() - rRefRect.Top(); in SearchCol() local 188 if( nDistance < 0 ) in SearchCol() 189 nDistance *= -1; in SearchCol() 190 if( nDistance && nDistance < nMinDistance ) in SearchCol() 192 nMinDistance = nDistance; in SearchCol() 262 long nDistance = rRect.Left() - rRefRect.Left(); in SearchRow() local 263 if( nDistance < 0 ) in SearchRow() 264 nDistance *= -1; in SearchRow() 265 if( nDistance && nDistance < nMinDistance ) in SearchRow() 267 nMinDistance = nDistance; in SearchRow()
|
/trunk/main/sw/source/core/para/ |
H A D | paratr.cxx | 70 nDistance( 0 ), in SwFmtDrop() 84 nDistance( rCpy.GetDistance() ), in SwFmtDrop() 139 nDistance == ((SwFmtDrop&)rAttr).GetDistance() && in operator ==() 156 case MID_DROPCAP_DISTANCE : rVal <<= (sal_Int16) TWIP_TO_MM100_UNSIGNED(nDistance); break; in QueryValue() 162 aDrop.Distance = TWIP_TO_MM100_UNSIGNED(nDistance); in QueryValue() 206 nDistance = (sal_Int16) MM100_TO_TWIP((sal_Int32)nVal); in PutValue() 218 nDistance = MM100_TO_TWIP(pDrop->Distance); in PutValue()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_AxisPositions.cxx | 129 const long nDistance = LogicToPixel( Size(RSC_SP_CTRL_X, 0), MapMode(MAP_APPFONT) ).Width(); in AxisPositionsTabPage() local 136 …ong nXPos = m_aFT_CrossesAt.GetPosPixel().X() + m_aFT_CrossesAt.GetSizePixel().Width() + nDistance; in AxisPositionsTabPage() 139 nXPos += m_aLB_CrossesAt.GetSizePixel().Width() + nDistance; in AxisPositionsTabPage() 158 long nXPos = m_aFT_PlaceLabels.GetPosPixel().X() + nLabelPlacementWidth + nDistance; in AxisPositionsTabPage() 166 long nXPos = m_aFT_PlaceTicks.GetPosPixel().X() + nMarkPlacementWidth + nDistance; in AxisPositionsTabPage() 176 long nLeftSpace = nDialogWidth - nWidth_0 - nWidth_1 - nWidth_2 - 3*nDistance; in AxisPositionsTabPage() 189 long nXPos = m_aFT_Major.GetPosPixel().X() + nWidth_0 + nDistance; in AxisPositionsTabPage() 193 nXPos += nWidth_1 + nDistance; in AxisPositionsTabPage() 197 nXPos += nWidth_2 + nDistance; in AxisPositionsTabPage()
|
/trunk/main/vcl/source/window/ |
H A D | arrange.cxx | 291 long nDistance = getBorderValue( m_nBorderWidth ); in getOptimalSize() local 302 aRet.Height() += nDistance; in getOptimalSize() 311 aRet.Width() += nDistance; in getOptimalSize() 324 aRet.Height() -= nDistance; in getOptimalSize() 326 aRet.Width() -= nDistance; in getOptimalSize() 436 long nDistance = getBorderValue( m_nBorderWidth ); in resize() local 438 long nUsedWidth = 2*nOuterBorder - (nElements ? nDistance : 0); in resize() 447 nUsedWidth += aElementSizes[i].Height() + nDistance; in resize() 452 nUsedWidth += aElementSizes[i].Width() + nDistance; in resize() 589 long nDistance = getBorderValue( m_nDistance ); in resize() local [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | xhatch.hxx | 40 long nDistance; member in XHatch 44 XHatch() : eStyle(XHATCH_SINGLE), nDistance(0), nAngle(0) {} in XHatch() 46 long nDistance = 20, long nAngle = 0); 52 void SetDistance(long nNewDistance) { nDistance = nNewDistance; } in SetDistance() 57 long GetDistance() const { return nDistance; } in GetDistance()
|
H A D | xdash.hxx | 44 sal_uIntPtr nDistance; member in XDash 49 sal_uInt16 nDashes = 1, sal_uIntPtr nDashLen = 20, sal_uIntPtr nDistance = 20); 58 void SetDistance(sal_uIntPtr nNewDistance) { nDistance = nNewDistance; } in SetDistance() 65 sal_uIntPtr GetDistance() const { return nDistance; } in GetDistance()
|
/trunk/main/editeng/inc/editeng/ |
H A D | borderline.hxx | 95 sal_uInt16 nDistance; member in SvxBorderLine 106 sal_uInt16 GetDistance() const { return nDistance; } in GetDistance() 111 void SetDistance( sal_uInt16 nNew ) { nDistance = nNew; } in SetDistance() 122 bool isEmpty() const { return (0 == nOutWidth && 0 == nInWidth && 0 == nDistance); } in isEmpty() 124 sal_uInt16 getWidth() const { return nOutWidth + nInWidth + nDistance; } in getWidth()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterTextView.cxx | 320 const sal_Int32 nDistance, in MoveCaret() argument 340 nCharacterIndex += nDistance; in MoveCaret() 345 sal_Int32 nRemainingDistance (nDistance); in MoveCaret() 351 const sal_Int32 nDelta (Signum(nDistance)); in MoveCaret() 380 if (nDistance<0) in MoveCaret() 817 const sal_Int32 nDistance) in GetWordBoundary() argument 819 OSL_ASSERT(nDistance==-1 || nDistance==+1); in GetWordBoundary() 824 if (nDistance < 0) in GetWordBoundary() 839 if (nDistance > 0) in GetWordBoundary() 845 nIndex += nDistance; in GetWordBoundary()
|
H A D | PresenterScrollBar.cxx | 808 const double nDistance (nY - maDragAnchor.Y); in GetDragDistance() local 809 if (nDistance == 0) in GetDragDistance() 816 const double nDragDistance (mnTotalSize / nPagerHeight * nDistance); in GetDragDistance() 1029 const double nDistance (nX - maDragAnchor.X); in GetDragDistance() local 1030 if (nDistance == 0) in GetDragDistance() 1037 const double nDragDistance (mnTotalSize / nPagerWidth * nDistance); in GetDragDistance()
|
/trunk/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsScrollBarManager.cxx | 659 const sal_Int32 nDistance) in Scroll() argument 678 aNewTopLeft.Y() += nDistance; in Scroll() 680 aNewTopLeft.X() += nDistance; in Scroll() 689 aNewTopLeft.Y() += nDistance * rLayouter.GetPageObjectSize().Height(); in Scroll() 691 aNewTopLeft.X() += nDistance * rLayouter.GetPageObjectSize().Width(); in Scroll() 695 if (nDistance > 0) in Scroll() 711 if (nDistance > 0) in Scroll()
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmlexpit.cxx | 592 const sal_uInt16 nDistance = pTop->GetDistance(); in QueryXMLValue() local 596 bEqual = nDistance == pLeft->GetDistance() && in QueryXMLValue() 599 nDistance == pRight->GetDistance() && in QueryXMLValue() 602 nDistance == pBottom->GetDistance() && in QueryXMLValue() 687 const sal_uInt16 nDistance = pLine->GetDistance(); in QueryXMLValue() local 688 if( 0 != nDistance ) in QueryXMLValue() 690 nWidth += nDistance; in QueryXMLValue() 695 (0 == nDistance) ? XML_SOLID : XML_DOUBLE; in QueryXMLValue()
|
H A D | xmlimpit.cxx | 509 sal_Int32 nInWidth, nDistance, nOutWidth; in PutXMLValue() local 523 if( !rUnitConverter.convertMeasure( nDistance, aToken, in PutXMLValue() 544 static_cast< sal_uInt16 >( nDistance ) ); in PutXMLValue() 551 static_cast< sal_uInt16 >( nDistance ) ); in PutXMLValue() 558 static_cast< sal_uInt16 >( nDistance ) ); in PutXMLValue() 565 static_cast< sal_uInt16 >( nDistance ) ); in PutXMLValue()
|
H A D | xmlithlp.cxx | 180 sal_uInt16 nDistance ) in lcl_frmitems_setXMLBorderWidth() argument 184 rLine.SetDistance( nDistance ); in lcl_frmitems_setXMLBorderWidth() 286 sal_uInt16 nInWidth, sal_uInt16 nDistance ) in lcl_frmitems_setXMLBorder() argument 295 nDistance ); in lcl_frmitems_setXMLBorder()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbawrapformat.cxx | 168 sal_Int32 nDistance = 0; in getDistance() local 169 m_xPropertySet->getPropertyValue( sName ) >>= nDistance; in getDistance() 170 return static_cast< float >( Millimeter::getInPoints( nDistance ) ); in getDistance() 175 sal_Int32 nDistance = Millimeter::getInHundredthsOfOneMillimeter( _distance ); in setDistance() local 176 m_xPropertySet->setPropertyValue( sName, uno::makeAny( nDistance ) ); in setDistance()
|
/trunk/main/vcl/source/gdi/ |
H A D | hatch.cxx | 82 long nDistance, sal_uInt16 nAngle10 ) in Hatch() argument 88 mpImplHatch->mnDistance = nDistance; in Hatch() 164 void Hatch::SetDistance( long nDistance ) in SetDistance() argument 168 mpImplHatch->mnDistance = nDistance; in SetDistance()
|
/trunk/main/oox/source/drawingml/ |
H A D | lineproperties.cxx | 59 sal_Int16 nDashes, sal_Int32 nDashLen, sal_Int32 nDistance ) in lclSetDashData() argument 65 orLineDash.Distance = nDistance; in lclSetDashData() 115 sal_Int32 nDistance = 0; in lclConvertCustomDash() local 128 nDistance += aIt->second; in lclConvertCustomDash() 134 orLineDash.Distance = ::std::max< sal_Int32 >( nDistance / rCustomDash.size(), 1 ); in lclConvertCustomDash()
|
/trunk/main/editeng/source/items/ |
H A D | frmitems.cxx | 1577 , nDistance( nDist ) in SvxBorderLine() 1597 nDistance = r.nDistance; in operator =() 1607 nDistance = (sal_uInt16)Scale( nDistance, nMult, nDiv ); in ScaleMetrics() 1617 ( nDistance == rCmp.GetDistance() ) ); in operator ==() 1630 if ( 0 == nDistance ) in GetValueString() 1644 else if ( DEF_LINE_WIDTH_1 == nDistance ) in GetValueString() 2351 sal_uInt16 nDistance; in Create() local 2352 rStrm >> nDistance; in Create() 2384 pAttr->SetDistance( nDistance ); in Create() 2771 short nOutline, nInline, nDistance; in Create() local [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | pordrop.hxx | 74 KSHORT nDistance; // Abstand zum Text member in SwDropPortion 87 const KSHORT nDistance ); 97 inline KSHORT GetDistance() const { return nDistance; } in GetDistance()
|
/trunk/main/xmloff/source/text/ |
H A D | XMLTextColumnsExport.cxx | 85 sal_Int32 nDistance = 0; in exportXML() local 86 aAny >>= nDistance; in exportXML() 89 aBuffer, nDistance ); in exportXML()
|
/trunk/main/sd/source/ui/presenter/ |
H A D | PresenterTextView.cxx | 546 sal_Int32 nDistance (0); in ParseDistance() local 549 nDistance = rsDistance.copy(0,rsDistance.getLength()-2).toInt32(); in ParseDistance() 556 nDistance = nFirstLineHeight * nLines; in ParseDistance() 559 return nDistance; in ParseDistance()
|
/trunk/main/vcl/unx/generic/app/ |
H A D | i18n_status.cxx | 370 int nDistance = rGeom.nTopDecoration; in IIIMPStatusWindow() local 371 if( nDistance < 20 ) in IIIMPStatusWindow() 372 nDistance = 20; in IIIMPStatusWindow() 376 rGeom.nY + rGeom.nHeight + nDistance in IIIMPStatusWindow()
|
/trunk/main/sw/inc/ |
H A D | paratr.hxx | 53 sal_uInt16 nDistance; // Distance from the text beginning member in SwFmtDrop 95 inline sal_uInt16 GetDistance() const { return nDistance; } in GetDistance() 96 inline sal_uInt16 &GetDistance() { return nDistance; } in GetDistance()
|