com.itextpdf.tool.xml.css.apply
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.

Author:
redlab_b

Method Summary
 Float getLastMarginBottom()
           
 List<String> getRootTags()
           
 void setLastMarginBottom(Float lmb)
          Set the last margin bottom.
 

Method Detail

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


Copyright © 2015. All Rights Reserved.