Class DisplayRole
- java.lang.Object
- 
- org.pentaho.reporting.libraries.css.keys.box.DisplayRole
 
- 
 public class DisplayRole extends Object The Display-Role property describes the role an element plays in the parent algorithm. Seeing that property as general 'LayoutManagerConstraint' might be apropriate. The RUBY_* properties are required for Japanese and other Asian font support and not yet used.
- 
- 
Field SummaryFields Modifier and Type Field Description static CSSConstantBLOCKThe element is rendered as a rectangular block.static CSSConstantCANVASA Pentaho-reporting compatibility setting.static CSSConstantCOMPACTThe effect depends on the intrinsic size of this element and on what comes after it.static CSSConstantINLINEThe element is rendered inside a line box.static CSSConstantLIST_ITEMThe element is rendered the same as if it had display-role 'block', but in addition a marker is generated (see 'list-style').static CSSConstantNONEThe element is not rendered.static CSSConstantRUBY_BASEstatic CSSConstantRUBY_BASE_GROUPstatic CSSConstantRUBY_TEXTRuby is not yet used.static CSSConstantRUBY_TEXT_GROUPstatic CSSConstantRUN_INThe effect depends on what comes after the element.static CSSConstantTABLE_CAPTIONstatic CSSConstantTABLE_CELLstatic CSSConstantTABLE_COLUMNstatic CSSConstantTABLE_COLUMN_GROUPstatic CSSConstantTABLE_FOOTER_GROUPstatic CSSConstantTABLE_HEADER_GROUPstatic CSSConstantTABLE_ROWSee the Tables module [CSS3TBL].static CSSConstantTABLE_ROW_GROUP
 
- 
- 
- 
Field Detail- 
NONEpublic static final CSSConstant NONE The element is not rendered. The rendering is the same as if the element had been removed from the document tree, except for possible effects on counters (see [generated] or [paged]). Note that :before and :after pseudo elements of this element are also not rendered, see [generated].)
 - 
BLOCKpublic static final CSSConstant BLOCK The element is rendered as a rectangular block. See Collapsing margins for its position relative to earlier boxes in the same flow. In paged media [ref] or inside another element that has two or more columns, the box may be split into several smaller boxes.
 - 
INLINEpublic static final CSSConstant INLINE The element is rendered inside a line box. It may be split into several boxes because of line breaking and bidi processing (see the Text module).
 - 
LIST_ITEMpublic static final CSSConstant LIST_ITEM The element is rendered the same as if it had display-role 'block', but in addition a marker is generated (see 'list-style').
 - 
RUN_INpublic static final CSSConstant RUN_IN The effect depends on what comes after the element. If the next element (in the depth-first, left to right tree traversal, so not necessarily a sibling) has a 'display-model' of 'block-inside', the current element will be rendered as if it had display-role 'inline' and was the first child of that block element. Otherwise this element will be rendered as if it had display-role 'block'. [Does this explain Ian's tests?]
 - 
COMPACTpublic static final CSSConstant COMPACT The effect depends on the intrinsic size of this element and on what comes after it. If the next element has a 'display-role' of 'block', and the intrinsic width of the compact element is less than or equal to the left margin of that block (resp. the right margin, if the block's 'direction' is 'rtl'), then the compact element is rendered in the left (right) margin of the block at its intrinsic size and baseline aligned with the first line box of the block. [Do we need a different alignment depending on script?] In all other cases the compact element is rendered as if its display-role was 'block'.
 - 
TABLE_ROWpublic static final CSSConstant TABLE_ROW See the Tables module [CSS3TBL].
 - 
TABLE_CELLpublic static final CSSConstant TABLE_CELL 
 - 
TABLE_ROW_GROUPpublic static final CSSConstant TABLE_ROW_GROUP 
 - 
TABLE_HEADER_GROUPpublic static final CSSConstant TABLE_HEADER_GROUP 
 - 
TABLE_FOOTER_GROUPpublic static final CSSConstant TABLE_FOOTER_GROUP 
 - 
TABLE_COLUMNpublic static final CSSConstant TABLE_COLUMN 
 - 
TABLE_COLUMN_GROUPpublic static final CSSConstant TABLE_COLUMN_GROUP 
 - 
TABLE_CAPTIONpublic static final CSSConstant TABLE_CAPTION 
 - 
RUBY_TEXTpublic static final CSSConstant RUBY_TEXT Ruby is not yet used.
 - 
RUBY_BASEpublic static final CSSConstant RUBY_BASE 
 - 
RUBY_BASE_GROUPpublic static final CSSConstant RUBY_BASE_GROUP 
 - 
RUBY_TEXT_GROUPpublic static final CSSConstant RUBY_TEXT_GROUP 
 - 
CANVASpublic static final CSSConstant CANVAS A Pentaho-reporting compatibility setting. Enables the absolute positioning mode.
 
- 
 
-