Package com.openhtmltopdf.newtable
Class TableBox.MarginTableLayout
- java.lang.Object
-
- com.openhtmltopdf.newtable.TableBox.AutoTableLayout
-
- com.openhtmltopdf.newtable.TableBox.MarginTableLayout
-
- All Implemented Interfaces:
TableBox.TableLayout
- Enclosing class:
- TableBox
private static class TableBox.MarginTableLayout extends TableBox.AutoTableLayout
A specialization ofAutoTableLayout
used for laying out the tables used to approximate the margin box layout algorithm from CSS3 GCPM.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openhtmltopdf.newtable.TableBox.AutoTableLayout
TableBox.AutoTableLayout.Layout
-
-
Constructor Summary
Constructors Constructor Description MarginTableLayout(TableBox table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calcMinMaxWidth(LayoutContext c)
protected int
getMinColWidth()
-
Methods inherited from class com.openhtmltopdf.newtable.TableBox.AutoTableLayout
getLayoutStruct, layout, reset
-
-
-
-
Constructor Detail
-
MarginTableLayout
public MarginTableLayout(TableBox table)
-
-
Method Detail
-
getMinColWidth
protected int getMinColWidth()
- Overrides:
getMinColWidth
in classTableBox.AutoTableLayout
-
calcMinMaxWidth
public void calcMinMaxWidth(LayoutContext c)
- Specified by:
calcMinMaxWidth
in interfaceTableBox.TableLayout
- Overrides:
calcMinMaxWidth
in classTableBox.AutoTableLayout
-
-