Class StyleConfiguration
- java.lang.Object
-
- com.levigo.jadice.server.msoffice.config.StyleConfiguration
-
public class StyleConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description StyleConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Font>
getFonts()
List<PageSetup>
getPageSetups()
static StyleConfiguration
load()
Load it from its default locationstatic StyleConfiguration
load(InputStream is)
static StyleConfiguration
load(String resourceName)
void
setFonts(List<Font> fonts)
void
setPageSetups(List<PageSetup> pageSetups)
-
-
-
Method Detail
-
load
public static StyleConfiguration load() throws JAXBException, IOException
Load it from its default location- Returns:
- a default style configuration
- Throws:
JAXBException
IOException
-
load
public static StyleConfiguration load(InputStream is) throws JAXBException
- Throws:
JAXBException
-
load
public static StyleConfiguration load(String resourceName) throws JAXBException, IOException
- Throws:
JAXBException
IOException
-
-