Interface MarginMemory

  • All Known Implementing Classes:
    HtmlPipelineContext

    public interface MarginMemory
    The marginmemory helps remembering the last margin bottom and roottags. These are needed to calculate the right margins for some elements when applying CSS.
    • Method Detail

      • getLastMarginBottom

        java.lang.Float getLastMarginBottom()
                                     throws NoDataException
        Returns:
        a Float
        Throws:
        NoDataException - if there is no LastMarginBottom set
      • getRootTags

        java.util.List<java.lang.String> getRootTags()
        Returns:
        a list of roottags
      • setLastMarginBottom

        void setLastMarginBottom​(java.lang.Float lmb)
        Set the last margin bottom.
        Parameters:
        lmb - set the float for lmb