/trunk/main/sw/source/core/layout/ |
H A D | atrfrm.cxx | 154 rVal >>= nVal; in lcl_IntToRelation() 155 switch(nVal) in lcl_IntToRelation() 1316 rVal >>= nVal; in PutValue() 1317 switch( nVal ) in PutValue() 1340 rVal >>= nVal; in PutValue() 1342 nVal = MM100_TO_TWIP(nVal); in PutValue() 1465 nVal = MM100_TO_TWIP(nVal); in PutValue() 1663 if((rVal >>= nVal) && nVal > 0) in PutValue() 1974 rVal >>= nVal; in PutValue() 1975 if(nVal >= 0) in PutValue() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | dbdocutl.cxx | 53 double nVal = 0.0; in PutData() local 70 nVal = (xRow->getBoolean(nRowPos) ? 1 : 0); in PutData() 71 bEmptyFlag = ( nVal == 0.0 ) && xRow->wasNull(); in PutData() 85 nVal = xRow->getDouble(nRowPos); in PutData() 86 bEmptyFlag = ( nVal == 0.0 ) && xRow->wasNull(); in PutData() 104 nVal = Date( aDate.Day, aDate.Month, aDate.Year ) - in PutData() 118 nVal = ( aTime.Hours * 3600 + aTime.Minutes * 60 + in PutData() 132 nVal = ( Date( aStamp.Day, aStamp.Month, aStamp.Year ) - in PutData() 173 pCell = new ScValueCell( nVal ); in PutData()
|
/trunk/main/xmloff/source/style/ |
H A D | xmlnumi.cxx | 779 sal_Int32 nVal; in SvxXMLListLevelStyleAttrContext_Impl() local 784 rListLevel.SetSpaceBefore( nVal ); in SvxXMLListLevelStyleAttrContext_Impl() 788 rListLevel.SetMinLabelWidth( nVal ); in SvxXMLListLevelStyleAttrContext_Impl() 792 rListLevel.SetMinLabelDist( nVal ); in SvxXMLListLevelStyleAttrContext_Impl() 831 rListLevel.SetImageWidth( nVal ); in SvxXMLListLevelStyleAttrContext_Impl() 835 rListLevel.SetImageHeight( nVal ); in SvxXMLListLevelStyleAttrContext_Impl() 851 if(SvXMLUnitConverter::convertPercent( nVal, rValue ) ) in SvxXMLListLevelStyleAttrContext_Impl() 852 rListLevel.SetRelSize( (sal_Int16)nVal ); in SvxXMLListLevelStyleAttrContext_Impl() 1075 sal_Int32 nVal; in SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl() local 1094 rListLevel.SetFirstLineIndent( nVal ); in SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl() [all …]
|
H A D | adjushdl.cxx | 86 sal_Int16 nVal = 0; in exportXML() local 88 rValue >>= nVal; in exportXML() 90 sal_Bool bRet = SvXMLUnitConverter::convertEnum( aOut, nVal, pXML_Para_Adjust_Enum, XML_START ); in exportXML() 120 sal_Int16 nVal = 0; in exportXML() local 123 rValue >>= nVal; in exportXML() 125 if( nVal != style::ParagraphAdjust_LEFT ) in exportXML() 126 bRet = SvXMLUnitConverter::convertEnum( aOut, nVal, pXML_Para_Align_Last_Enum, XML_START ); in exportXML()
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 179 PushDouble((double) nVal); in ScGetHour() 217 if (nVal == 6) in ScGetDayOfWeek() 218 nVal = 1; in ScGetDayOfWeek() 220 nVal += 2; in ScGetDayOfWeek() 223 nVal += 1; in ScGetDayOfWeek() 224 PushInt( nVal ); in ScGetDayOfWeek() 438 double nVal = GetDouble(); in ScPlusMinus() local 440 if (nVal < 0.0) in ScPlusMinus() 442 else if (nVal > 0.0) in ScPlusMinus() 631 double nVal = 0.0; in ScNPV() local [all …]
|
H A D | interpr3.cxx | 220 nVal = pPolynom[i] + (nVal * x); in taylor() 222 return nVal; in taylor() 254 double nVal = 0.0; in gauss() local 264 return -nVal; in gauss() 266 return nVal; in gauss() 477 nVal = 0.0; in BinomKoeff() 479 nVal = 1.0; in BinomKoeff() 482 nVal = n/k; in BinomKoeff() 506 return nVal; in BinomKoeff() 1161 if (nVal < 0.0) in ScFact() [all …]
|
/trunk/main/cui/source/inc/ |
H A D | grfpage.hxx | 58 void SetTop( long nVal ) { aTopLeft.X() = nVal; } in SetTop() argument 59 void SetBottom( long nVal ) { aBottomRight.X() = nVal; } in SetBottom() argument 60 void SetLeft( long nVal ) { aTopLeft.Y() = nVal; } in SetLeft() argument 61 void SetRight( long nVal) { aBottomRight.Y() = nVal; } in SetRight() argument
|
/trunk/main/svx/source/items/ |
H A D | zoomslideritem.cxx | 213 sal_Int32 nVal = 0; in PutValue() local 214 if ( rVal >>= nVal ) in PutValue() 216 SetValue( (sal_uInt16)nVal ); in PutValue() 236 sal_Int32 nVal = 0; in PutValue() local 237 if( rVal >>= nVal ) in PutValue() 239 mnMinZoom = (sal_uInt16)nVal; in PutValue() 247 sal_Int32 nVal = 0; in PutValue() local 248 if( rVal >>= nVal ) in PutValue() 250 mnMaxZoom = (sal_uInt16)nVal; in PutValue()
|
/trunk/main/basic/source/sbx/ |
H A D | sbxscan.cxx | 70 SbxError ImpScan( const ::rtl::OUString& rWSrc, double& nVal, SbxDataType& rType, in ImpScan() argument 104 nVal = 0; in ImpScan() 175 if( nVal >= SbxMININT && nVal <= SbxMAXINT ) in ImpScan() 177 else if( nVal >= SbxMINLNG && nVal <= SbxMAXLNG ) in ImpScan() 181 nVal = atof( buf ); in ImpScan() 224 nVal = (double) l; in ImpScan() 238 nVal = -nVal; in ImpScan() 244 SbxError SbxValue::ScanNumIntnl( const String& rSrc, double& nVal, sal_Bool bSingle ) in ScanNumIntnl() argument 248 SbxError nRetError = ImpScan( rSrc, nVal, t, &nLen, in ScanNumIntnl() 256 SbxValues aValues( nVal ); in ScanNumIntnl() [all …]
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | asciiopt.cxx | 224 sal_Int32 nVal = aCode.ToInt32(); in ReadFromString() local 225 if ( nVal ) in ReadFromString() 226 aFieldSeps += (sal_Unicode) nVal; in ReadFromString() 238 sal_Int32 nVal = aToken.ToInt32(); in ReadFromString() local 239 cTextSep = (sal_Unicode) nVal; in ReadFromString() 432 sal_uInt16 nVal = (sal_uInt16) aSemiStr.GetToken(i); 433 if (nVal) 439 if ( pTemp[j] == nVal ) 441 else if ( pTemp[j] < nVal ) 448 pTemp[nPos] = nVal;
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_SeriesToAxis.cxx | 137 long nVal=((const SfxInt32Item*)pPoolItem)->GetValue(); in Reset() local 138 if(nVal==CHART_AXIS_SECONDARY_Y) in Reset() 196 sal_Int32 nVal = aMissingValueTreatments[nN]; in Reset() local 197 if(nVal==::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP) in Reset() 199 else if(nVal==::com::sun::star::chart::MissingValueTreatment::USE_ZERO) in Reset() 201 else if(nVal==::com::sun::star::chart::MissingValueTreatment::CONTINUE) in Reset() 205 long nVal=((const SfxInt32Item*)pPoolItem)->GetValue(); in Reset() local 206 if(nVal==::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP) in Reset() 208 else if(nVal==::com::sun::star::chart::MissingValueTreatment::USE_ZERO) in Reset() 210 else if(nVal==::com::sun::star::chart::MissingValueTreatment::CONTINUE) in Reset()
|
/trunk/main/sc/source/ui/sidebar/ |
H A D | NumberFormatPropertyPanel.cxx | 155 sal_uInt16 nVal = pBox->GetCurItemId(); in IMPL_LINK() local 157 switch(nVal) in IMPL_LINK() 189 sal_uInt16 nVal = pBox->GetSelectEntryPos(); in IMPL_LINK() local 190 if( nVal != mnCategorySelected ) in IMPL_LINK() 192 SfxUInt16Item aItem( SID_NUMBER_TYPE_FORMAT, nVal ); in IMPL_LINK() 194 mnCategorySelected = nVal; in IMPL_LINK() 298 sal_uInt16 nVal = pItem->GetValue(); in NotifyItemUpdate() local 299 mnCategorySelected = nVal; in NotifyItemUpdate() 300 mpLbCategory->SelectEntryPos(nVal); in NotifyItemUpdate() 301 if( nVal < 4 ) in NotifyItemUpdate()
|
/trunk/main/editeng/source/items/ |
H A D | paraitem.cxx | 341 sal_uInt16 nVal; in GetEnumValue() local 347 default: nVal = SVX_LINESPACE_USER; break; in GetEnumValue() 349 return nVal; in GetEnumValue() 356 switch ( nVal ) in SetEnumValue() 504 SetAdjust( (const SvxAdjust)nVal ); in SetEnumValue() 1082 sal_Int32 nVal = 0; in PutValue() local 1630 sal_uInt16 nVal; in Create() local 1631 rStrm >> nVal; in Create() 1687 sal_Int16 nVal = sal_Int16(); in PutValue() local 1688 if((rVal >>= nVal) && nVal >=0 && nVal <= BOTTOM ) in PutValue() [all …]
|
/trunk/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 1646 sal_uLong nVal; in ReadOrder() local 1735 sal_uLong nVal; in ReadOrder() local 1751 else aCol=GetPaletteColor(nVal); in ReadOrder() 1763 sal_uInt16 nVal; in ReadOrder() local 1768 else *pOS2MET >> nVal; in ReadOrder() 1769 if (nVal==0x0000 || nVal==0xff00) { in ReadOrder() 1789 sal_uInt16 nVal; in ReadOrder() local 1791 *pOS2MET >> nVal; in ReadOrder() 1792 if (nVal==0x0000 || nVal==0xff00) { in ReadOrder() 1812 sal_uLong nVal; in ReadOrder() local [all …]
|
/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 37 inline long MinMax( long nVal, long nMin, long nMax ); 45 inline long MinMax( long nVal, long nMin, long nMax ) in MinMax() argument 47 return( nVal >= nMin ? ( nVal <= nMax ? nVal : nMax ) : nMin ); in MinMax() 135 Point& operator *= ( const long nVal ); 136 Point& operator /= ( const long nVal ); 204 inline Point& Point::operator *= ( const long nVal ) in operator *=() argument 206 nA *= nVal; in operator *=() 207 nB *= nVal; in operator *=() 211 inline Point& Point::operator /= ( const long nVal ) in operator /=() argument 213 nA /= nVal; in operator /=() [all …]
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | autofmt.cxx | 618 double nVal; in DrawString() local 636 case 18: nVal = nIndex; in DrawString() 640 case 7: nVal = nIndex; in DrawString() 645 case 13: nVal = nIndex; in DrawString() 649 case 9: nVal = 21; nNum = 7; goto mknum; in DrawString() 650 case 14: nVal = 36; nNum = 11; goto mknum; in DrawString() 651 case 19: nVal = 51; nNum = 7; goto mknum; in DrawString() 652 case 21: nVal = 33; nNum = 13; goto mknum; in DrawString() 653 case 22: nVal = 36; nNum = 14; goto mknum; in DrawString() 654 case 23: nVal = 39; nNum = 13; goto mknum; in DrawString() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | svxruler.cxx | 501 long SvxRuler::ConvertHPosPixel(long nVal) const in ConvertHPosPixel() 506 long SvxRuler::ConvertVPosPixel(long nVal) const in ConvertVPosPixel() 521 long SvxRuler::ConvertPosPixel(long nVal) const in ConvertPosPixel() 523 return bHorz ? ConvertHPosPixel(nVal): ConvertVPosPixel(nVal); in ConvertPosPixel() 526 long SvxRuler::ConvertSizePixel(long nVal) const in ConvertSizePixel() 528 return bHorz? ConvertHSizePixel(nVal): ConvertVSizePixel(nVal); in ConvertSizePixel() 554 return bHorz? ConvertHPosLogic(nVal): ConvertVPosLogic(nVal); in ConvertPosLogic() 559 return bHorz? ConvertHSizeLogic(nVal): ConvertVSizeLogic(nVal); in ConvertSizeLogic() 565 return nVal; in PixelHAdjust() 573 return nVal; in PixelVAdjust() [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmltexti.cxx | 483 sal_Int32 nVal = 0; in createAndInsertOLEObject() local 484 rProp.maValue >>= nVal; in createAndInsertOLEObject() 485 aVisArea.setX( nVal ); in createAndInsertOLEObject() 490 sal_Int32 nVal = 0; in createAndInsertOLEObject() local 491 rProp.maValue >>= nVal; in createAndInsertOLEObject() 492 aVisArea.setY( nVal ); in createAndInsertOLEObject() 497 sal_Int32 nVal = 0; in createAndInsertOLEObject() local 498 rProp.maValue >>= nVal; in createAndInsertOLEObject() 505 sal_Int32 nVal = 0; in createAndInsertOLEObject() local 506 rProp.maValue >>= nVal; in createAndInsertOLEObject() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | xattr.cxx | 90 BigInt aVal( nVal ); in ScaleMetricValue() 1309 if(!(rVal >>= nVal)) in PutValue() 1327 if(!(rVal >>= nVal)) in PutValue() 1347 sal_Int32 nVal = 0; in PutValue() local 1348 if(!(rVal >>= nVal)) in PutValue() 3960 sal_Int32 nVal = 0; in PutValue() local 3961 if(!(rVal >>= nVal )) in PutValue() 3984 if(!(rVal >>= nVal )) in PutValue() 4629 if (!(rVal >>= nVal )) in PutValue() 4639 sal_Int32 nVal = 0; in PutValue() local [all …]
|
/trunk/main/svx/source/sidebar/line/ |
H A D | LinePropertyPanel.cxx | 986 sal_uInt16 nVal = (sal_uInt16)mpMFTransparent->GetValue(); in IMPL_LINK() local 987 XLineTransparenceItem aItem( nVal ); in IMPL_LINK() 1062 long nVal = LogicToLogic(mnWidthCoreValue * 10,(MapUnit)meMapUnit , MAP_POINT); in SetWidthIcon() local 1064 if(nVal <= 6) in SetWidthIcon() 1066 else if(nVal > 6 && nVal <= 9) in SetWidthIcon() 1068 else if(nVal > 9 && nVal <= 12) in SetWidthIcon() 1070 else if(nVal > 12 && nVal <= 19) in SetWidthIcon() 1072 else if(nVal > 19 && nVal <= 26) in SetWidthIcon() 1074 else if(nVal > 26 && nVal <= 37) in SetWidthIcon() 1076 else if(nVal > 37 && nVal <=52) in SetWidthIcon() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | cellsh3.cxx | 569 long nVal = pDlg->GetInputValue(); in Execute() local 570 pTabViewShell->SetMarkedWidthOrHeight( sal_False, SC_SIZE_DIRECT, (sal_uInt16)nVal ); in Execute() 573 rReq.AppendItem( SfxUInt16Item( FID_ROW_HEIGHT, (sal_uInt16)TwipsToEvenHMM(nVal) ) ); in Execute() 621 long nVal = pDlg->GetInputValue(); in Execute() local 623 ScGlobal::nLastRowHeightExtra = nVal; in Execute() 675 long nVal = pDlg->GetInputValue(); in Execute() local 676 pTabViewShell->SetMarkedWidthOrHeight( sal_True, SC_SIZE_DIRECT, (sal_uInt16)nVal ); in Execute() 679 rReq.AppendItem( SfxUInt16Item( FID_COL_WIDTH, (sal_uInt16)TwipsToEvenHMM(nVal)) ); in Execute() 727 long nVal = pDlg->GetInputValue(); in Execute() local 728 pTabViewShell->SetMarkedWidthOrHeight( sal_True, SC_SIZE_OPTIMAL, (sal_uInt16)nVal ); in Execute() [all …]
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 586 sal_uInt16 nVal = sal_uInt16(nTokenValue); in ReadFly() local 639 aUL.SetUpper( nVal ); aUL.SetLower( nVal ); in ReadFly() 640 aLR.SetLeft( nVal ); aLR.SetRight( nVal ); in ReadFly() 649 aLR.SetLeft( nVal ); aLR.SetRight( nVal ); in ReadFly() 656 aUL.SetUpper( nVal ); aUL.SetLower( nVal ); in ReadFly() 775 nVal = sal_uInt16(nTokenValue); in ReadFly() 812 RTFVertOrient aVO( nVal ); in ReadFly() 819 RTFHoriOrient aHO( nVal ); in ReadFly() 1512 sal_uInt16 nVal = sal_uInt16( nTokenValue ); in ReadOLEData() local 1586 case RTF_OBJW: aOleType.nWidth = nVal; break; in ReadOLEData() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdibrow.cxx | 95 sal_Int32 nVal; member in ImpItemListRow 109 nVal(0), in ImpItemListRow() 165 && nVal==rEntry.nVal in operator ==() 994 aEntry.nVal=-4711; in SetAttributes() 1015 …case ITEM_BYTE : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxByteItem &)rItem).GetValue(); aEn… in SetAttributes() 1016 …case ITEM_INT16 : aEntry.bIsNum=sal_True; aEntry.nVal=((SfxInt16Item &)rItem).GetValue(); aEn… in SetAttributes() 1035 aEntry.aValue.Insert(UniString::CreateFromInt32(aEntry.nVal),0); in SetAttributes() 1038 … if (aEntry.eItemType==ITEM_BOOL) aEntry.aValue.AppendAscii(aEntry.nVal!=0 ? "True" : "False"); in SetAttributes() 1039 else if (aEntry.bCanNum) aEntry.aValue = UniString::CreateFromInt32(aEntry.nVal); in SetAttributes() 1220 double nVal = aNewText.ToFloat(); in IMPL_LINK() local [all …]
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | ww8struc.hxx | 496 void SetValue( sal_uInt16 nVal ){ aBits = nVal; } in SetValue() 497 void SetWWValue( SVBT16 nVal ){ aBits = (sal_uInt16)SVBT16ToShort( nVal ); } in SetWWValue() 499 void SetFore( sal_uInt8 nVal ){ aBits = (aBits & 0xffe0) | (nVal & 0x1f); } in SetFore() 500 void SetBack( sal_uInt8 nVal ){ aBits = (aBits & 0xfc1f) | ((nVal & 0x1f)<<5); } in SetBack() 501 void SetStyle( sal_Bool bVer67, sal_uInt8 nVal ){ in SetStyle() 503 | ((nVal & ( bVer67?0x1f:0x2f ))<<10); } in SetStyle()
|
/trunk/main/vbahelper/source/msforms/ |
H A D | vbaspinbutton.cxx | 61 ScVbaSpinButton::setMax( sal_Int32 nVal ) throw (uno::RuntimeException) in setMax() argument 63 m_xProps->setPropertyValue( SPINMAX, uno::makeAny( nVal ) ); in setMax() 69 sal_Int32 nVal = 0; in getMin() local 70 m_xProps->getPropertyValue( SPINMIN ) >>= nVal; in getMin() 71 return nVal; in getMin() 75 ScVbaSpinButton::setMin( sal_Int32 nVal ) throw (uno::RuntimeException) in setMin() argument 77 m_xProps->setPropertyValue( SPINMIN, uno::makeAny( nVal ) ); in setMin()
|