Package org.docx4j.convert.in.xhtml
Enum FormattingOption
java.lang.Object
java.lang.Enum<FormattingOption>
org.docx4j.convert.in.xhtml.FormattingOption
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FormattingOption>,java.lang.constant.Constable
public enum FormattingOption extends java.lang.Enum<FormattingOption>
CLASS_TO_STYLE_ONLY: a Word style matching a class attribute will
be used, and nothing else
CLASS_PLUS_OTHER: a Word style matching a class attribute will
be used; other css will be translated to direct formatting
IGNORE_CLASS: css will be translated to direct formatting
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_PLUS_OTHERCLASS_TO_STYLE_ONLYIGNORE_CLASS -
Method Summary
Modifier and Type Method Description static FormattingOptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FormattingOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-