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 Details

    • getLastMarginBottom

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

      List<String> getRootTags()
      Returns:
      a list of roottags
    • setLastMarginBottom

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