com.adobe.livecycle.formsservice.client
Class StyleGenerationLevel

java.lang.Object
  extended by java.lang.Enum
      extended by com.adobe.livecycle.formsservice.client.StyleGenerationLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class StyleGenerationLevel
extends java.lang.Enum

Defines styles used by the PDF forms service when rendering HTML forms. This enumeration value is used by the HTMLRenderSpec object's setStyleGenerationLevel method. To see this enumeration value used in a code example, see the Rendering an HTML form using the Java API quick start in Programming with Adobe Experience Manager forms.

See Also:
Serialized Form

Field Summary
static StyleGenerationLevel InlineAndInternalStyles
          This is the default value that renders the styles in the way they are rendered currently (for example, all the position styles are rendered inline and the others are present as internal styles (inside the head tag present on the HTML page).
static StyleGenerationLevel NoStyles
          Remove all inline and internal styles and the HTML form is rendered without any style information.
static StyleGenerationLevel OnlyInlineStyles
          Removes all internal styles (inside the head tag on the HTML page).
 
Method Summary
static StyleGenerationLevel valueOf(java.lang.String name)
           
static StyleGenerationLevel[] values()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

InlineAndInternalStyles

public static final StyleGenerationLevel InlineAndInternalStyles
This is the default value that renders the styles in the way they are rendered currently (for example, all the position styles are rendered inline and the others are present as internal styles (inside the head tag present on the HTML page).


OnlyInlineStyles

public static final StyleGenerationLevel OnlyInlineStyles
Removes all internal styles (inside the head tag on the HTML page). A HTML rendered form contains only inline styles.


NoStyles

public static final StyleGenerationLevel NoStyles
Remove all inline and internal styles and the HTML form is rendered without any style information. Only the styles referenced through an external CSS file are applied. For information about using an external CSS file, see the Rendering HTML Forms Using Custom CSS Files topic in Programming with Adobe Experience Manager forms.

Method Detail

values

public static StyleGenerationLevel[] values()

valueOf

public static StyleGenerationLevel valueOf(java.lang.String name)