Home
last modified time | relevance | path

Searched refs:toInt (Results 1 – 25 of 45) sorted by relevance

12

/trunk/main/jurt/test/com/sun/star/uno/
H A DAnyConverter_Test.java314 int val= AnyConverter.toInt(aByte); in test_toInt()
316 val= AnyConverter.toInt(aShort); in test_toInt()
318 val= AnyConverter.toInt(aInt); in test_toInt()
320 val= AnyConverter.toInt(anyByte); in test_toInt()
322 val= AnyConverter.toInt(anyShort); in test_toInt()
324 val= AnyConverter.toInt(anyInt); in test_toInt()
335 try { AnyConverter.toInt(a); fail(""); in test_toInt()
339 try { AnyConverter.toInt(aChar); fail(""); in test_toInt()
343 try { AnyConverter.toInt(aBool); fail(""); in test_toInt()
359 try { AnyConverter.toInt(aObj); fail(""); in test_toInt()
[all …]
/trunk/main/wizards/com/sun/star/wizards/db/
H A DFieldColumn.java155 m_nFieldType = AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Type")); in initializeFormatKeys()
304 … FieldWidth = 10 + AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Scale")) + 1; in getTyperelatedFieldData()
310 … FieldWidth = 10 + AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Scale")) + 1; in getTyperelatedFieldData()
316 … FieldWidth = 10 + AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Scale")) + 1; in getTyperelatedFieldData()
322 … FieldWidth = 10 + AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Scale")) + 1; in getTyperelatedFieldData()
352 m_nDBFormatKey = AnyConverter.toInt(oKey); in getTyperelatedFieldData()
366 FieldWidth = AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Precision")); in getTextFieldWidth()
H A DTypeInspector.java121 int nScale = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Scale")); in getScale()
169 int nNullable = AnyConverter.toInt(_xColPropertySet.getPropertyValue("IsNullable")); in getNullability()
215 int nDataType = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Type")); in getDataTypeIndex()
219 nPrecision = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Precision")); in getDataTypeIndex()
220 nScale = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Scale")); in getDataTypeIndex()
H A DCommandMetaData.java298 int iType = AnyConverter.toInt(Helper.getUnoPropertyValue(oField, "Type")); in getFieldNamesOfCommand()
383 int iType = AnyConverter.toInt(Helper.getUnoPropertyValue(oField, "Type")); in isnumeric()
612 int curtype = AnyConverter.toInt(xPropertySet.getPropertyValue("Type")); in getReferencedTables()
650 int curtype = AnyConverter.toInt(xPropertySet.getPropertyValue("Type")); in getKeyColumns()
/trunk/main/cui/source/dialogs/
H A Dcolorpicker.cxx1273 static int toInt( double dValue, double bRange ) in toInt() function
1280 return Color( toInt(mdRed,255.0), toInt(mdGreen,255.0), toInt(mdBlue,255.0) ).GetColor(); in GetColor()
1285 sal_uInt8 nRed = toInt(mdRed,255.0); in update_color()
1286 sal_uInt8 nGreen = toInt(mdGreen,255.0); in update_color()
1287 sal_uInt8 nBlue = toInt(mdBlue,255.0); in update_color()
1300 maMFCyan.SetValue( toInt( mdCyan, 100.0 ) ); in update_color()
1302 maMFYellow.SetValue( toInt( mdYellow, 100.0 ) ); in update_color()
1303 maMFKey.SetValue( toInt( mdKey, 100.0 ) ); in update_color()
1308 maMFHue.SetValue( toInt( mdHue, 1.0 ) ); in update_color()
1309 maMFSaturation.SetValue( toInt( mdSat, 100.0 ) ); in update_color()
[all …]
/trunk/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/
H A DAccessibleTextImpl.java266 adjust = ParagraphAdjust.fromInt(AnyConverter.toInt( in setAttribute()
294 new java.awt.Color(AnyConverter.toInt(property.Value))); in setAttribute()
306 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
322 new java.awt.Color(AnyConverter.toInt(property.Value))); in setAttribute()
343 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
348 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
370 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
375 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
/trunk/main/odk/examples/DevelopersGuide/Drawing/
H A DOrganigram.java108 int pageWidth = AnyConverter.toInt(xPageProps.getPropertyValue("Width")); in drawOrganigram()
109 int pageHeight = AnyConverter.toInt(xPageProps.getPropertyValue("Height")); in drawOrganigram()
110 int pageBorderTop = AnyConverter.toInt(xPageProps.getPropertyValue("BorderTop")); in drawOrganigram()
111 int pageBorderLeft = AnyConverter.toInt(xPageProps.getPropertyValue("BorderLeft")); in drawOrganigram()
112 int pageBorderRight = AnyConverter.toInt(xPageProps.getPropertyValue("BorderRight")); in drawOrganigram()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DCustomResultSet.java361 bookmark1 = AnyConverter.toInt(arg0); in compareBookmarks()
362 bookmark2 = AnyConverter.toInt(arg1); in compareBookmarks()
390 bookmark = AnyConverter.toInt(arg0); in hashBookmark()
402 bookmark = AnyConverter.toInt(arg0); in moveRelativeToBookmark()
420 bookmark = AnyConverter.toInt(arg0); in moveToBookmark()
H A DDbTools.java477 int datatype = AnyConverter.toInt(columnProperties.getPropertyValue("Type")); in createStandardColumnPart()
478 int precision = AnyConverter.toInt(columnProperties.getPropertyValue("Precision")); in createStandardColumnPart()
479 int scale = AnyConverter.toInt(columnProperties.getPropertyValue("Scale")); in createStandardColumnPart()
560 … if (AnyConverter.toInt(columnProperties.getPropertyValue("IsNullable")) == ColumnValue.NO_NULLS) { in createStandardColumnPart()
597 int keyType = AnyConverter.toInt(columnProperties.getPropertyValue("Type")); in createStandardKeyStatement()
616 … int deleteRule = AnyConverter.toInt(columnProperties.getPropertyValue("DeleteRule")); in createStandardKeyStatement()
734 … keyType = AnyConverter.toInt(propertySet.getPropertyValue(PropertyIds.TYPE.name)); in getPrimaryKeyColumns()
798 updatedObject.updateInt(columnIndex, AnyConverter.toInt(value)); in updateObject()
886 parameters.setInt(index, AnyConverter.toInt(any)); in setObject()
H A DDatabaseMetaDataResultSet.java406 bookmark1 = AnyConverter.toInt(arg0); in compareBookmarks()
407 bookmark2 = AnyConverter.toInt(arg1); in compareBookmarks()
435 bookmark = AnyConverter.toInt(arg0); in hashBookmark()
447 bookmark = AnyConverter.toInt(arg0); in moveRelativeToBookmark()
465 bookmark = AnyConverter.toInt(arg0); in moveToBookmark()
H A DORowSetValue.java380 value = AnyConverter.toInt(any); in fill()
923 nRet = AnyConverter.toInt(value); in getInt32()
979 nRet = AnyConverter.toInt(value); in getLong()
/trunk/main/chart2/qa/complex/chart2/
H A DTestCaseOldAPI.java203 int nNewColor = AnyConverter.toInt( xTitleProp.getPropertyValue( "CharColor" ) ); in testSubTitle()
240 int nNewColor = AnyConverter.toInt( xProp.getPropertyValue( "FillColor" ) ); in testDiagram()
395 AnyConverter.toInt( xProp.getPropertyValue( "LineColor" )) == nNewColor ); in testAxis()
404 … AnyConverter.toInt( xProp.getPropertyValue( "TextRotation" )) == nNewTextRotation ); in testAxis()
503 int nNewColor = AnyConverter.toInt( xArea.getPropertyValue( "FillColor" ) ); in testArea()
609 int nNewColor = AnyConverter.toInt( xProp.getPropertyValue( "FillColor" ) ); in testDataSeriesAndPoints()
806 int nNewColor = AnyConverter.toInt( xMinMaxProp.getPropertyValue( "LineColor" ) ); in testStockProperties()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/sdbcx/
H A DOKeyContainer.java114 int keyType = AnyConverter.toInt(descriptor.getPropertyValue(PropertyIds.TYPE.name)); in appendObject()
120 … updateRule = AnyConverter.toInt(descriptor.getPropertyValue(PropertyIds.UPDATERULE.name)); in appendObject()
121 … deleteRule = AnyConverter.toInt(descriptor.getPropertyValue(PropertyIds.DELETERULE.name)); in appendObject()
244 keyType = AnyConverter.toInt(key.getPropertyValue(PropertyIds.TYPE.name)); in dropObject()
/trunk/main/wizards/com/sun/star/wizards/common/
H A DNumericalHelper.java501 public static int toInt(Object aValue) in toInt() method in NumericalHelper
846 retValue[i] = toInt(obj[i]); in toIntArray()
853 toInt(anArrayValue) in toIntArray()
968 public static int toInt(Object _aValue, int _ndefaultValue) throws Exception in toInt() method in NumericalHelper
977 nreturn = toInt(_aValue); in toInt()
1198 aTypeObject.aValue = new Integer(AnyConverter.toInt(aValue)); in getTypeObject()
/trunk/main/odk/examples/java/Storage/
H A DTestHelper.java100 int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in WriteBytesToStream()
298 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in setStorageTypeAndCheckProps()
340 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in checkStorageProperties()
437 int nPropSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in InternalCheckStream()
/trunk/main/wizards/com/sun/star/wizards/ui/
H A DWizardDialog.java163 …nOldStep = AnyConverter.toInt(Helper.getUnoPropertyValue(xDialogModel, PropertyNames.PROPERTY_STEP… in itemStateChanged()
214 return AnyConverter.toInt(Helper.getUnoPropertyValue(oRoadmap, "CurrentItemID")); in getCurrentRoadmapItemID()
335 CurID = AnyConverter.toInt(Helper.getUnoPropertyValue(CurRoadmapItem, "ID")); in getRoadmapItemByID()
712 …return AnyConverter.toInt(Helper.getUnoPropertyValue(this.MSFDialogModel, PropertyNames.PROPERTY_S… in getCurrentStep()
H A DUnoDialog.java560 … int iCurStep = AnyConverter.toInt(getControlProperty(controlname, PropertyNames.PROPERTY_STEP)); in setControlVisible()
583 …int iCurControlStep = AnyConverter.toInt(getControlProperty(controlname, PropertyNames.PROPERTY_ST… in setControlVisible()
584 …int iCurDialogStep = AnyConverter.toInt(Helper.getUnoPropertyValue(this.xDialogModel, PropertyName… in setControlVisible()
609 …int ncurstep = AnyConverter.toInt(Helper.getUnoPropertyValue(this.xDialogModel, PropertyNames.PROP… in repaintDialogStep()
1052 … nUIColor = AnyConverter.toInt(this.xVclWindowPeer.getProperty("DisplayBackgroundColor")); in isHighContrastModeActivated()
/trunk/main/toolkit/test/accessibility/
H A DContextEventHandler.java47 int nOldValue = AnyConverter.toInt (maEvent.OldValue); in PrintOldAndNew()
55 int nNewValue = AnyConverter.toInt (maEvent.NewValue); in PrintOldAndNew()
/trunk/main/package/qa/ofopxmlstorages/
H A DTestHelper.java105 int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in WriteBytesToStream()
187 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in setStorageTypeAndCheckProps()
353 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in checkStorageProperties()
472 int nPropSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in InternalCheckStream()
/trunk/main/package/qa/storages/
H A DTestHelper.java104 int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in WriteBytesToStream()
194 int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in WriteBytesToSubstreamDefaultCompressed()
688 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in setStorageTypeAndCheckProps()
731 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in checkStorageProperties()
831 int nPropSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in InternalCheckStream()
/trunk/main/wizards/com/sun/star/wizards/ui/event/
H A DDataAwareFields.java142 return toShortArray(toInt(b)); in get()
471 private static int toInt(boolean b) in toInt() method in DataAwareFields
/trunk/main/wizards/com/sun/star/wizards/query/
H A DQueryWizard.java152 …int CurStep = AnyConverter.toInt(Helper.getUnoPropertyValue(xDialogModel, PropertyNames.PROPERTY_S… in enableRoadmapItems()
158 CurItemID = AnyConverter.toInt(Helper.getUnoPropertyValue(oRoadmapItem, "ID")); in enableRoadmapItems()
/trunk/main/wizards/com/sun/star/wizards/report/
H A DDBColumn.java319 dblValue = (double) AnyConverter.toInt(CurGroupValue); in modifyCellContent()
335 dblValue = (double) AnyConverter.toInt(CurGroupValue); in modifyCellContent()
/trunk/main/svx/workben/msview/
H A Dxmlconfig.cxx210 sal_Int32 toInt( const OUString& rText ) in toInt() function
250 gAtomConfigMap[ (UINT16)toInt(getAttribute(xAttribs,"id"))] = aPtr; in importAtomConfig()
/trunk/main/swext/mediawiki/src/com/sun/star/wiki/
H A DHelper.java562 …bAcceptable = ( ( AnyConverter.toInt( pFilterProps[nInd].Value ) & 2 ) == 2 ); // must allow export in GetFilterName()
656 int nProxyType = AnyConverter.toInt( xNameAccess.getByName( "ooInetProxyType" ) ); in SetConfigurationProxy()
683 nProxyPort = AnyConverter.toInt( aPortNo ); in SetConfigurationProxy()

Completed in 166 milliseconds

12