Class CommonMarginBlock


  • public class CommonMarginBlock
    extends java.lang.Object
    Store all common margin properties for blocks. See Sec. 7.10 of the XSL-FO Standard. Public "structure" allows direct member access.
    • Field Detail

      • marginTop

        public Length marginTop
        The "margin-top" property.
      • marginBottom

        public Length marginBottom
        The "margin-bottom" property.
      • marginLeft

        public Length marginLeft
        The "margin-left" property.
      • marginRight

        public Length marginRight
        The "margin-right" property.
      • spaceBefore

        public SpaceProperty spaceBefore
        The "space-before" property.
      • spaceAfter

        public SpaceProperty spaceAfter
        The "space-after" property.
      • startIndent

        public Length startIndent
        The "start-indent" property.
      • endIndent

        public Length endIndent
        The "end-indent" property.
    • Constructor Detail

      • CommonMarginBlock

        public CommonMarginBlock​(PropertyList pList)
                          throws PropertyException
        Create a CommonMarginBlock object.
        Parameters:
        pList - The PropertyList with propery values.
        Throws:
        PropertyException - if a property exception occurs
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object