Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
setLastMarginBottom
void setLastMarginBottom(Float lmb)
Set the last margin bottom.- Parameters:
lmb
- set the float for lmb
-
-