/aoo4110/main/jurt/test/com/sun/star/uno/ |
H A D | AnyConverter_Test.java | 150 b= AnyConverter.toChar(anyChar); in test_toChar() 324 val= AnyConverter.toInt(aShort); in test_toInt() 326 val= AnyConverter.toInt(aInt); in test_toInt() 332 val= AnyConverter.toInt(anyInt); in test_toInt() 393 val= AnyConverter.toLong(aInt); in test_toLong() 577 val= AnyConverter.toObject( in test_toObject() 588 AnyConverter.toObject( in test_toObject() 592 AnyConverter.toObject( in test_toObject() 596 AnyConverter.toObject( in test_toObject() 603 AnyConverter.toObject( in test_toObject() [all …]
|
/aoo4110/main/chart2/qa/ |
H A D | TestCaseOldAPI.java | 45 import com.sun.star.uno.AnyConverter; 373 fMax1 = AnyConverter.toDouble( oMax ); in testAxis() 380 fMax2 = AnyConverter.toDouble( oMax ); in testAxis() 470 AnyConverter.toObject( in testLegend() 574 AnyConverter.toBoolean( in testChartType() 579 ! AnyConverter.toBoolean( in testChartType() 584 AnyConverter.toBoolean( in testChartType() 700 Hatch aNewHatch = (Hatch) AnyConverter.toObject( in testDataSeriesAndPoints() 750 AnyConverter.toObject( in setStockData_Type4() 887 AnyConverter.toObject( in testData() [all …]
|
/aoo4110/main/odk/examples/java/Inspector/ |
H A D | UnoNode.java | 37 import com.sun.star.uno.AnyConverter; 285 if (AnyConverter.isString(_objectElement)){ in getDisplayValueOfPrimitiveType() 288 else if (AnyConverter.isBoolean(_objectElement)){ in getDisplayValueOfPrimitiveType() 291 else if (AnyConverter.isByte(_objectElement)){ in getDisplayValueOfPrimitiveType() 294 else if (AnyConverter.isChar(_objectElement)){ in getDisplayValueOfPrimitiveType() 297 else if (AnyConverter.isDouble(_objectElement)){ in getDisplayValueOfPrimitiveType() 300 else if (AnyConverter.isFloat(_objectElement)){ in getDisplayValueOfPrimitiveType() 303 else if (AnyConverter.isInt(_objectElement)){ in getDisplayValueOfPrimitiveType() 306 else if (AnyConverter.isLong(_objectElement)){ in getDisplayValueOfPrimitiveType() 309 else if (AnyConverter.isShort(_objectElement)){ in getDisplayValueOfPrimitiveType() [all …]
|
/aoo4110/main/accessibility/bridge/org/openoffice/java/accessibility/ |
H A D | AccessibleValueImpl.java | 27 import com.sun.star.uno.AnyConverter; 42 if(AnyConverter.isByte(any)) { in toNumber() 43 return new Byte(AnyConverter.toByte(any)); in toNumber() 44 } else if (AnyConverter.isShort(any)) { in toNumber() 45 return new Short(AnyConverter.toShort(any)); in toNumber() 46 } else if (AnyConverter.isInt(any)) { in toNumber() 47 return new Integer(AnyConverter.toInt(any)); in toNumber() 48 } else if (AnyConverter.isLong(any)) { in toNumber() 49 return new Long(AnyConverter.toLong(any)); in toNumber() 50 } else if (AnyConverter.isFloat(any)) { in toNumber() [all …]
|
H A D | AccessibleTextImpl.java | 94 if (AnyConverter.isObject(any)) { in convertTextSegment() 96 AnyConverter.toObject(TextSegmentType, any); in convertTextSegment() 265 adjust = ParagraphAdjust.fromInt(AnyConverter.toInt( in setAttribute() 293 new java.awt.Color(AnyConverter.toInt(property.Value))); in setAttribute() 298 boolean isBold = AnyConverter.toFloat(property.Value) > 125; in setAttribute() 309 if (AnyConverter.toShort(property.Value) == 2) { in setAttribute() 316 (int) AnyConverter.toFloat(property.Value)); in setAttribute() 321 new java.awt.Color(AnyConverter.toInt(property.Value))); in setAttribute() 331 fs = (FontSlant) AnyConverter.toObject(new Type( in setAttribute() 356 ls = (LineSpacing) AnyConverter.toObject(new Type( in setAttribute() [all …]
|
H A D | Component.java | 284 if (AnyConverter.isShort(any1)) { in handleStateChangedEvent() 288 if (AnyConverter.isShort(any2)) { in handleStateChangedEvent() 713 if (AnyConverter.isByte(any)) { in toNumber() 714 return new Byte(AnyConverter.toByte(any)); in toNumber() 715 } else if (AnyConverter.isShort(any)) { in toNumber() 716 return new Short(AnyConverter.toShort(any)); in toNumber() 717 } else if (AnyConverter.isInt(any)) { in toNumber() 719 } else if (AnyConverter.isLong(any)) { in toNumber() 720 return new Long(AnyConverter.toLong(any)); in toNumber() 721 } else if (AnyConverter.isFloat(any)) { in toNumber() [all …]
|
H A D | Window.java | 204 ac.setAccessibleName(AnyConverter.toString(any)); in handleNameChangedEvent() 217 accessibleContext.setAccessibleDescription(AnyConverter.toString(any)); in handleDescriptionChangedEvent() 226 if (AnyConverter.isShort(any1)) { in handleStateChangedEvent() 227 setComponentState(AnyConverter.toShort(any1), false); in handleStateChangedEvent() 230 if (AnyConverter.isShort(any2)) { in handleStateChangedEvent() 231 setComponentState(AnyConverter.toShort(any2), true); in handleStateChangedEvent() 263 if (AnyConverter.isObject(event.OldValue)) { in notifyEvent() 265 } else if (AnyConverter.isObject(event.NewValue)) { in notifyEvent()
|
/aoo4110/main/framework/qa/complex/framework/autosave/ |
H A D | Protocol.java | 840 if (com.sun.star.uno.AnyConverter.isVoid(aAny)) in impl_logAny() 845 if (com.sun.star.uno.AnyConverter.isChar(aAny)) in impl_logAny() 862 if (com.sun.star.uno.AnyConverter.isByte(aAny)) in impl_logAny() 869 if (com.sun.star.uno.AnyConverter.isShort(aAny)) in impl_logAny() 876 if (com.sun.star.uno.AnyConverter.isInt(aAny)) in impl_logAny() 883 if (com.sun.star.uno.AnyConverter.isLong(aAny)) in impl_logAny() 890 if (com.sun.star.uno.AnyConverter.isFloat(aAny)) in impl_logAny() 897 if (com.sun.star.uno.AnyConverter.isDouble(aAny)) in impl_logAny() 911 if (com.sun.star.uno.AnyConverter.isEnum(aAny)) in impl_logAny() 917 if (com.sun.star.uno.AnyConverter.isType(aAny)) in impl_logAny() [all …]
|
/aoo4110/main/wizards/com/sun/star/wizards/report/ |
H A D | DBColumn.java | 40 import com.sun.star.uno.AnyConverter; 310 if (AnyConverter.isString(CurGroupValue)) in modifyCellContent() 317 if (AnyConverter.isBoolean(CurGroupValue)) in modifyCellContent() 321 if (AnyConverter.isByte(CurGroupValue)) in modifyCellContent() 325 else if (AnyConverter.isDouble(CurGroupValue)) in modifyCellContent() 327 dblValue = AnyConverter.toDouble(CurGroupValue); in modifyCellContent() 329 else if (AnyConverter.isFloat(CurGroupValue)) in modifyCellContent() 333 else if (AnyConverter.isInt(CurGroupValue)) in modifyCellContent() 337 else if (AnyConverter.isLong(CurGroupValue)) in modifyCellContent() 341 else if (AnyConverter.isShort(CurGroupValue)) in modifyCellContent() [all …]
|
/aoo4110/main/javaunohelper/com/sun/star/lib/uno/helper/ |
H A D | PropertySet.java | 29 import com.sun.star.uno.AnyConverter; 739 retVal= new Byte(AnyConverter.toByte(obj)); in convert() 741 retVal= new Short(AnyConverter.toShort(obj)); in convert() 743 retVal= new Integer(AnyConverter.toInt(obj)); in convert() 745 retVal= new Long(AnyConverter.toLong(obj)); in convert() 747 retVal= new Float(AnyConverter.toFloat(obj)); in convert() 751 retVal= AnyConverter.toString(obj); in convert() 753 retVal= AnyConverter.toArray(obj); in convert() 755 retVal= AnyConverter.toType(obj); in convert() 761 retVal= new Byte(AnyConverter.toByte(obj)); in convert() [all …]
|
/aoo4110/main/framework/qa/complex/path_settings/ |
H A D | PathSettingsTest.java | 37 import com.sun.star.uno.AnyConverter; 169 if (AnyConverter.isString(o)) in convertToString() 171 sValue = AnyConverter.toString(o); in convertToString() 173 else if (AnyConverter.isArray(o)) in convertToString() 321 if (AnyConverter.isArray(_o)) in checkPaths() 332 else if (AnyConverter.isString(_o)) in checkPaths() 336 sLeftPath = AnyConverter.toString(_o); in checkPaths() 343 if (AnyConverter.isArray(_o2)) in checkPaths() 354 else if (AnyConverter.isString(_o2)) in checkPaths() 486 if (!AnyConverter.isArray(oValue)) in checkStringListProperty() [all …]
|
/aoo4110/main/wizards/com/sun/star/wizards/common/ |
H A D | Configuration.java | 30 import com.sun.star.uno.AnyConverter; 54 if (AnyConverter.isVoid(o)) in getInt() 58 return AnyConverter.toInt(o); in getInt() 64 if (AnyConverter.isVoid(o)) in getShort() 68 return AnyConverter.toShort(o); in getShort() 74 if (AnyConverter.isVoid(o)) in getFloat() 78 return AnyConverter.toFloat(o); in getFloat() 84 if (AnyConverter.isVoid(o)) in getDouble() 88 return AnyConverter.toDouble(o); in getDouble() 94 if (AnyConverter.isVoid(o)) in getString() [all …]
|
H A D | NumericalHelper.java | 26 import com.sun.star.uno.AnyConverter; 272 if (!AnyConverter.isVoid(aValue)) in isValidAndNumerical() 284 if (!AnyConverter.isVoid(aValue)) in isValidAndBoolean() 297 if (!AnyConverter.isVoid(aValue)) in isValid() 973 if ((_aValue != null) && (!(AnyConverter.isVoid(_aValue)))) in toInt() 1177 if (aValue == null || AnyConverter.isVoid(aValue)) in getTypeObject() 1181 int type = AnyConverter.getType(aValue).getTypeClass().getValue(); in getTypeObject() 1190 aTypeObject.aValue = new Byte(AnyConverter.toByte(aValue)); in getTypeObject() 1202 aTypeObject.aValue = new Long(AnyConverter.toLong(aValue)); in getTypeObject() 1214 aTypeObject.aValue = AnyConverter.toString(aValue); in getTypeObject() [all …]
|
/aoo4110/main/odk/examples/DevelopersGuide/Accessibility/ |
H A D | EventHandler.java | 26 import com.sun.star.uno.AnyConverter; 333 if (AnyConverter.isShort (aEvent.NewValue)) in notifyEvent() 334 nNewState = AnyConverter.toShort (aEvent.NewValue); in notifyEvent() 335 if (AnyConverter.isShort (aEvent.OldValue)) in notifyEvent() 336 nOldState = AnyConverter.toShort (aEvent.OldValue); in notifyEvent() 357 AnyConverter.toLong(aEvent.OldValue), in notifyEvent() 358 AnyConverter.toLong(aEvent.NewValue)); in notifyEvent() 390 xAccessible = (XAccessible)AnyConverter.toObject( in objectToContext() 400 xContext = (XAccessibleContext)AnyConverter.toObject( in objectToContext()
|
/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/ |
H A D | FilterOptions.java | 26 import com.sun.star.uno.AnyConverter; 131 m_sURL = AnyConverter.toString(lDescriptor[i].Value); in analyze() 134 …m_xInput = (com.sun.star.io.XInputStream)AnyConverter.toObject(new com.sun.star.uno.Type(com.sun.s… in analyze() 137 …m_xOutput = (com.sun.star.io.XOutputStream)AnyConverter.toObject(new com.sun.star.uno.Type(com.sun… in analyze() 141 …ns.PropertyValue[] lFilterProps = (com.sun.star.beans.PropertyValue[])AnyConverter.toArray(lDescri… in analyze() 146 m_sOld = AnyConverter.toString(lFilterProps[p].Value); in analyze() 149 m_sNew = AnyConverter.toString(lFilterProps[p].Value); in analyze() 153 m_bLower = AnyConverter.toBoolean(lFilterProps[p].Value); in analyze()
|
/aoo4110/main/wizards/com/sun/star/wizards/db/ |
H A D | FieldColumn.java | 29 import com.sun.star.uno.AnyConverter; 155 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() 346 if (AnyConverter.isVoid(oKey)) in getTyperelatedFieldData() 352 m_nDBFormatKey = AnyConverter.toInt(oKey); in getTyperelatedFieldData() 366 FieldWidth = AnyConverter.toInt(m_xColPropertySet.getPropertyValue("Precision")); in getTextFieldWidth()
|
H A D | TypeInspector.java | 34 import com.sun.star.uno.AnyConverter; 121 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() 216 String sTypeName = AnyConverter.toString(_xColPropertySet.getPropertyValue("TypeName")); in getDataTypeIndex() 219 nPrecision = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Precision")); in getDataTypeIndex() 220 nScale = AnyConverter.toInt(_xColPropertySet.getPropertyValue("Scale")); in getDataTypeIndex()
|
/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
H A D | SampleHyphenator.java | 54 import com.sun.star.uno.AnyConverter; 111 if (AnyConverter.isBoolean( aObj )) in GetValueToUse() 113 bRes = AnyConverter.toBoolean( aObj ); in GetValueToUse() 124 if (AnyConverter.isBoolean( aObj )) in GetValueToUse() 125 bRes = AnyConverter.toBoolean( aObj ); in GetValueToUse() 150 if (AnyConverter.isShort( aObj )) in GetValueToUse() 152 nRes = AnyConverter.toShort( aObj ); in GetValueToUse() 163 if (AnyConverter.isShort( aObj )) in GetValueToUse() 164 nRes = AnyConverter.toShort( aObj ); in GetValueToUse()
|
/aoo4110/main/wizards/com/sun/star/wizards/ui/ |
H A D | FilterComponent.java | 41 import com.sun.star.uno.AnyConverter; 223 return AnyConverter.toString(xPSet.getPropertyValue(PropertyNames.PROPERTY_NAME)); in getControlName() 283 || AnyConverter.isVoid(value)) in getFilterConditions() 341 && !AnyConverter.isVoid(_filtercondition.Value)) in getDisplayCondition() 343 sDisplayValue = AnyConverter.toString(_filtercondition.Value); in getDisplayCondition() 755 if (!AnyConverter.isVoid(oValue)) in isConditionComplete() 780 if (AnyConverter.isString(_filtercondition.Value)) in setCondition() 782 String sValue = AnyConverter.toString(_filtercondition.Value); in setCondition() 810 else if (AnyConverter.isBoolean(_filtercondition.Value)) in setCondition() 812 boolean b = AnyConverter.toBoolean(_filtercondition.Value); in setCondition() [all …]
|
/aoo4110/main/odk/examples/java/Storage/ |
H A D | TestHelper.java | 26 import com.sun.star.uno.AnyConverter; 100 int nSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in WriteBytesToStream() 297 boolean bPropIsRoot = AnyConverter.toBoolean( xPropSet.getPropertyValue( "IsRoot" ) ); in setStorageTypeAndCheckProps() 298 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in setStorageTypeAndCheckProps() 338 String sPropMediaType = AnyConverter.toString( xPropSet.getPropertyValue( "MediaType" ) ); in checkStorageProperties() 339 boolean bPropIsRoot = AnyConverter.toBoolean( xPropSet.getPropertyValue( "IsRoot" ) ); in checkStorageProperties() 340 int nPropMode = AnyConverter.toInt( xPropSet.getPropertyValue( "OpenMode" ) ); in checkStorageProperties() 436 String sPropMediaType = AnyConverter.toString( xPropSet.getPropertyValue( "MediaType" ) ); in InternalCheckStream() 437 int nPropSize = AnyConverter.toInt( xPropSet.getPropertyValue( "Size" ) ); in InternalCheckStream() 721 sResult = AnyConverter.toString( xTempFileProps.getPropertyValue( "Uri" ) ); in CreateTempFile()
|
/aoo4110/main/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/ |
H A D | XSLTransformer.java | 71 import com.sun.star.uno.AnyConverter; 150 nv = (NamedValue) AnyConverter.toObject(new Type(NamedValue.class), values[i]); in initialize() 157 stylesheeturl = (String) AnyConverter.toObject( in initialize() 160 sourceurl = (String) AnyConverter.toObject( in initialize() 163 targeturl = (String) AnyConverter.toObject( in initialize() 166 sourcebaseurl = (String) AnyConverter.toObject( in initialize() 169 targetbaseurl = (String) AnyConverter.toObject( in initialize() 172 systype = (String) AnyConverter.toObject( in initialize() 175 pubtype = (String) AnyConverter.toObject( in initialize()
|
/aoo4110/main/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/ |
H A D | AsyncJob.java | 109 …lGenericConfig = (com.sun.star.beans.NamedValue[])com.sun.star.uno.AnyConverter.toArray(lArgs[i].V… in executeAsync() 112 …lJobConfig = (com.sun.star.beans.NamedValue[])com.sun.star.uno.AnyConverter.toArray(lArgs[i].Value… in executeAsync() 115 …lEnvironment = (com.sun.star.beans.NamedValue[])com.sun.star.uno.AnyConverter.toArray(lArgs[i].Val… in executeAsync() 118 …lDynamicData = (com.sun.star.beans.NamedValue[])com.sun.star.uno.AnyConverter.toArray(lArgs[i].Val… in executeAsync() 132 sEnvType = com.sun.star.uno.AnyConverter.toString(lEnvironment[i].Value); in executeAsync() 135 sEventName = com.sun.star.uno.AnyConverter.toString(lEnvironment[i].Value); in executeAsync() 138 xFrame = (com.sun.star.frame.XFrame)com.sun.star.uno.AnyConverter.toObject( in executeAsync() 164 sAlias = com.sun.star.uno.AnyConverter.toString(lGenericConfig[i].Value); in executeAsync()
|
/aoo4110/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | Helper.java | 57 import com.sun.star.uno.AnyConverter; 181 … pStrings[nInd] = AnyConverter.toString( xNameAccess.getByName( m_pEntryNames[nInd] ) ); in GetLocalizedString() 234 …m_bShowInBrowser = new Boolean( AnyConverter.toBoolean( xAccess.getByName( "PreselectShowBrowser" … in GetShowInBrowserByDefault() 560 … aTmpFilter = AnyConverter.toString( pFilterProps[nInd].Value ); in GetFilterName() 656 int nProxyType = AnyConverter.toInt( xNameAccess.getByName( "ooInetProxyType" ) ); in SetConfigurationProxy() 676 … String aNoProxyList = AnyConverter.toString( xNameAccess.getByName( "ooInetNoProxy" ) ); in SetConfigurationProxy() 677 … String aProxyName = AnyConverter.toString( xNameAccess.getByName( aProxyNameProp ) ); in SetConfigurationProxy() 682 if ( !AnyConverter.isVoid( aPortNo ) ) in SetConfigurationProxy() 683 nProxyPort = AnyConverter.toInt( aPortNo ); in SetConfigurationProxy() 1056 return AnyConverter.toBoolean( xEntry.getByName( "AllowUnknownCertificate" ) ); in AllowUnknownCert() [all …]
|
/aoo4110/main/qadevOOo/tests/java/ifc/sheet/ |
H A D | _XDataPilotTable2.java | 39 import com.sun.star.uno.AnyConverter; 120 if (AnyConverter.isDouble(o)) in _getDrillDownData() 507 if (AnyConverter.isString(cell1) && AnyConverter.isString(cell2)) in checkDrillDownSheetContent() 516 else if (AnyConverter.isDouble(cell1) && AnyConverter.isDouble(cell2)) in checkDrillDownSheetContent() 521 f1 = AnyConverter.toDouble(cell1); in checkDrillDownSheetContent() 522 f2 = AnyConverter.toDouble(cell2); in checkDrillDownSheetContent()
|
/aoo4110/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | Organigram.java | 35 import com.sun.star.uno.AnyConverter; 108 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()
|