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 ofAutoTableLayoutused 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 voidcalcMinMaxWidth(LayoutContext c)protected intgetMinColWidth()-
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:
getMinColWidthin classTableBox.AutoTableLayout
-
calcMinMaxWidth
public void calcMinMaxWidth(LayoutContext c)
- Specified by:
calcMinMaxWidthin interfaceTableBox.TableLayout- Overrides:
calcMinMaxWidthin classTableBox.AutoTableLayout
-
-