Class XPropertySetHelper
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.XPropertySetHelper
Helper class providing staic convenience methods for accesing an XPropertySet
The helpers will fail silently if names or data is provided, but the user is expected to
apply them with correct data only...
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectgetPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName) static booleangetPropertyValueAsBoolean(com.sun.star.beans.XPropertySet xProps, String sName) static intgetPropertyValueAsInteger(com.sun.star.beans.XPropertySet xProps, String sName) static shortgetPropertyValueAsShort(com.sun.star.beans.XPropertySet xProps, String sName) static StringgetPropertyValueAsString(com.sun.star.beans.XPropertySet xProps, String sName) static voidsetPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, boolean bValue) static voidsetPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, int nValue) static voidsetPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, short nValue) static voidsetPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, Object value)
-
Constructor Details
-
XPropertySetHelper
public XPropertySetHelper()
-
-
Method Details
-
getPropertyValue
-
setPropertyValue
-
getPropertyValueAsString
-
getPropertyValueAsInteger
-
setPropertyValue
public static void setPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, int nValue) -
getPropertyValueAsShort
-
setPropertyValue
public static void setPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, short nValue) -
getPropertyValueAsBoolean
public static boolean getPropertyValueAsBoolean(com.sun.star.beans.XPropertySet xProps, String sName) -
setPropertyValue
public static void setPropertyValue(com.sun.star.beans.XPropertySet xProps, String sName, boolean bValue)
-