Home
last modified time | relevance | path

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

12

/aoo42x/main/jurt/test/com/sun/star/uno/
H A DAnyConverter_Test.java322 int val= AnyConverter.toInt(aByte); in test_toInt()
324 val= AnyConverter.toInt(aShort); in test_toInt()
326 val= AnyConverter.toInt(aInt); in test_toInt()
328 val= AnyConverter.toInt(anyByte); in test_toInt()
330 val= AnyConverter.toInt(anyShort); in test_toInt()
332 val= AnyConverter.toInt(anyInt); in test_toInt()
335 assure("", 5 == AnyConverter.toInt(a)); in test_toInt()
343 try { AnyConverter.toInt(a); failed(""); in test_toInt()
347 try { AnyConverter.toInt(aChar); failed(""); in test_toInt()
367 try { AnyConverter.toInt(aObj); failed(""); in test_toInt()
[all …]
/aoo42x/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()
/aoo42x/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 …]
/aoo42x/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/
H A DAccessibleTextImpl.java265 adjust = ParagraphAdjust.fromInt(AnyConverter.toInt( in setAttribute()
293 new java.awt.Color(AnyConverter.toInt(property.Value))); in setAttribute()
305 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
321 new java.awt.Color(AnyConverter.toInt(property.Value))); in setAttribute()
342 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
347 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
369 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
374 (float) (toPointFactor * AnyConverter.toInt(property.Value))); in setAttribute()
/aoo42x/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()
/aoo42x/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()
/aoo42x/main/chart2/qa/
H A DTestCaseOldAPI.java227 int nNewColor = AnyConverter.toInt( xTitleProp.getPropertyValue( "CharColor" ) ); in testSubTitle()
264 int nNewColor = AnyConverter.toInt( xProp.getPropertyValue( "FillColor" ) ); in testDiagram()
419 AnyConverter.toInt( xProp.getPropertyValue( "LineColor" )) == nNewColor ); in testAxis()
428 … AnyConverter.toInt( xProp.getPropertyValue( "TextRotation" )) == nNewTextRotation ); in testAxis()
527 int nNewColor = AnyConverter.toInt( xArea.getPropertyValue( "FillColor" ) ); in testArea()
633 int nNewColor = AnyConverter.toInt( xProp.getPropertyValue( "FillColor" ) ); in testDataSeriesAndPoints()
830 int nNewColor = AnyConverter.toInt( xMinMaxProp.getPropertyValue( "LineColor" ) ); in testStockProperties()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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 219 milliseconds

12