Home
last modified time | relevance | path

Searched refs:nDistance (Results 1 – 25 of 70) sorted by relevance

123

/aoo41x/main/svtools/source/control/
H A Dctrlbox.cxx267 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 …]
/aoo41x/main/xmloff/source/style/
H A Dbordrhdl.cxx238 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()
/aoo41x/main/svtools/inc/svtools/
H A Dctrlbox.hxx254 …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()
/aoo41x/main/sw/source/core/para/
H A Dparatr.cxx70 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()
/aoo41x/main/svtools/source/contnr/
H A Dimivctl2.cxx187 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()
/aoo41x/main/chart2/source/controller/dialogs/
H A Dtp_AxisPositions.cxx129 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()
/aoo41x/main/svx/inc/svx/
H A Dxhatch.hxx40 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 Dxdash.hxx44 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()
/aoo41x/main/vcl/source/window/
H A Darrange.cxx291 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 …]
/aoo41x/main/editeng/inc/editeng/
H A Dborderline.hxx95 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()
/aoo41x/main/sd/source/ui/slidesorter/controller/
H A DSlsScrollBarManager.cxx659 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()
/aoo41x/main/sdext/source/presenter/
H A DPresenterTextView.cxx320 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 DPresenterScrollBar.cxx808 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()
/aoo41x/main/sw/source/ui/vba/
H A Dvbawrapformat.cxx168 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()
/aoo41x/main/sw/source/filter/xml/
H A Dxmlexpit.cxx592 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 Dxmlithlp.cxx180 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()
H A Dxmlimpit.cxx509 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()
/aoo41x/main/vcl/source/gdi/
H A Dhatch.cxx82 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()
/aoo41x/main/oox/source/drawingml/
H A Dlineproperties.cxx59 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()
/aoo41x/main/sw/source/core/text/
H A Dpordrop.hxx74 KSHORT nDistance; // Abstand zum Text member in SwDropPortion
87 const KSHORT nDistance );
97 inline KSHORT GetDistance() const { return nDistance; } in GetDistance()
/aoo41x/main/editeng/source/items/
H A Dfrmitems.cxx1577 , 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 …]
/aoo41x/main/xmloff/source/text/
H A DXMLTextColumnsExport.cxx85 sal_Int32 nDistance = 0; in exportXML() local
86 aAny >>= nDistance; in exportXML()
89 aBuffer, nDistance ); in exportXML()
/aoo41x/main/sd/source/ui/presenter/
H A DPresenterTextView.cxx546 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()
/aoo41x/main/vcl/unx/generic/app/
H A Di18n_status.cxx370 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()
/aoo41x/main/sw/inc/
H A Dparatr.hxx53 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()

Completed in 145 milliseconds

123