fr.opensagres.xdocreport.document.odt.template
Class ODTContextHelper

java.lang.Object
  extended by fr.opensagres.xdocreport.document.odt.template.ODTContextHelper

public class ODTContextHelper
extends Object


Field Summary
static String DEFAULT_STYLE_KEY
           
static String STYLES_GENERATOR_KEY
           
 
Constructor Summary
ODTContextHelper()
           
 
Method Summary
static ODTDefaultStyle getDefaultStyle(IContext context)
           
static ODTDefaultStyle getDefaultStyle(Map<String,Object> sharedContext)
           
static IODTStylesGenerator getStylesGenerator(IContext context)
           
static void putDefaultStyle(IContext context, ODTDefaultStyle defaultStyle)
           
static void putStylesGenerator(IContext context, IODTStylesGenerator stylesGenerator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_STYLE_KEY

public static final String DEFAULT_STYLE_KEY
See Also:
Constant Field Values

STYLES_GENERATOR_KEY

public static final String STYLES_GENERATOR_KEY
See Also:
Constant Field Values
Constructor Detail

ODTContextHelper

public ODTContextHelper()
Method Detail

putStylesGenerator

public static void putStylesGenerator(IContext context,
                                      IODTStylesGenerator stylesGenerator)

getStylesGenerator

public static IODTStylesGenerator getStylesGenerator(IContext context)

putDefaultStyle

public static void putDefaultStyle(IContext context,
                                   ODTDefaultStyle defaultStyle)

getDefaultStyle

public static ODTDefaultStyle getDefaultStyle(IContext context)

getDefaultStyle

public static ODTDefaultStyle getDefaultStyle(Map<String,Object> sharedContext)


Copyright © 2013. All rights reserved.