Package ro.sync.ecss.dom.builder
Interface AuthorFormatCompatibilityModeConstants
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorFormatCompatibilityModeConstants
The way formatting when passing from author in text or on save.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Compatibility mode.static final int
Compatibility mode.static final int
Compatibility mode.
-
Field Details
-
FORMAT_COMPATIBILITY_NONE
static final int FORMAT_COMPATIBILITY_NONECompatibility mode. Nothing special is done for compatibility purpose. The formatting is the default one.- See Also:
-
FORMAT_COMPATIBILITY_DO_NOT_BREAK_LINES_DO_NO_INDENT
static final int FORMAT_COMPATIBILITY_DO_NOT_BREAK_LINES_DO_NO_INDENTCompatibility mode. "Do not break lines, do not indent", avoids emitting newlines after elements start or end tags and no indent is used. The newlines added by the user in elements with xml:space preserve, like pre elements in HTML or codeblock in DITA are still emitted.- See Also:
-
FORMAT_COMPATIBILITY_BREAKS_LINES_ONLY_BLOCKS_DO_NO_INDENT
static final int FORMAT_COMPATIBILITY_BREAKS_LINES_ONLY_BLOCKS_DO_NO_INDENTCompatibility mode. "Break lines only after elements displayed as blocks, do not indent" makes the editor emit newlines only after elements which have a CSS display property of blocks, tables, list items, etc (not inlines). In this case the CSS is dictating the formatting. The newlines added by the user in elements with xml:space preserve, like pre elements in HTML or codeblock in DITA are still emitted.- See Also:
-