org.artofsolving.jodconverter.office
Class OfficeUtils
java.lang.Object
org.artofsolving.jodconverter.office.OfficeUtils
public class OfficeUtils
- extends java.lang.Object
Method Summary |
static
|
cast(java.lang.Class<T> type,
java.lang.Object object)
|
static java.io.File |
getDefaultOfficeHome()
|
static java.io.File |
getDefaultProfileDir()
|
static java.io.File |
getOfficeExecutable(java.io.File officeHome)
|
static com.sun.star.beans.PropertyValue |
property(java.lang.String name,
java.lang.Object value)
|
static com.sun.star.beans.PropertyValue[] |
toUnoProperties(java.util.Map<java.lang.String,?> properties)
|
static java.lang.String |
toUrl(java.io.File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_DESKTOP
public static final java.lang.String SERVICE_DESKTOP
- See Also:
- Constant Field Values
cast
public static <T> T cast(java.lang.Class<T> type,
java.lang.Object object)
property
public static com.sun.star.beans.PropertyValue property(java.lang.String name,
java.lang.Object value)
toUnoProperties
public static com.sun.star.beans.PropertyValue[] toUnoProperties(java.util.Map<java.lang.String,?> properties)
toUrl
public static java.lang.String toUrl(java.io.File file)
getDefaultOfficeHome
public static java.io.File getDefaultOfficeHome()
getDefaultProfileDir
public static java.io.File getDefaultProfileDir()
getOfficeExecutable
public static java.io.File getOfficeExecutable(java.io.File officeHome)
Copyright © 2003-2009. All Rights Reserved.