org.artofsolving.jodconverter.office
Class OfficeUtils

java.lang.Object
  extended by org.artofsolving.jodconverter.office.OfficeUtils

public class OfficeUtils
extends Object


Field Summary
static String SERVICE_DESKTOP
           
 
Method Summary
static
<T> T
cast(Class<T> type, Object object)
           
static File getDefaultOfficeHome()
           
static File getOfficeExecutable(File officeHome)
           
static com.sun.star.beans.PropertyValue property(String name, Object value)
           
static com.sun.star.beans.PropertyValue[] toUnoProperties(Map<String,?> properties)
           
static String toUrl(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_DESKTOP

public static final String SERVICE_DESKTOP
See Also:
Constant Field Values
Method Detail

cast

public static <T> T cast(Class<T> type,
                         Object object)

property

public static com.sun.star.beans.PropertyValue property(String name,
                                                        Object value)

toUnoProperties

public static com.sun.star.beans.PropertyValue[] toUnoProperties(Map<String,?> properties)

toUrl

public static String toUrl(File file)

getDefaultOfficeHome

public static File getDefaultOfficeHome()

getOfficeExecutable

public static File getOfficeExecutable(File officeHome)


Copyright © 2003-2011. All Rights Reserved.