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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Float
getLastMarginBottom()
java.util.List<java.lang.String>
getRootTags()
void
setLastMarginBottom(java.lang.Float lmb)
Set the last margin bottom.
-
-
-
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
-
-