Class AbstractCellMargin

Direct Known Subclasses:
CellMarginBottom, CellMarginLeft, CellMarginRight, CellMarginTop

public abstract class AbstractCellMargin extends AbstractTableProperty
  • Field Details

  • Constructor Details

    • AbstractCellMargin

      protected AbstractCellMargin(TblWidth val, String suffix)
    • AbstractCellMargin

      public AbstractCellMargin(org.w3c.dom.css.CSSValue value, String suffix)
  • Method Details

    • twipFromPercentage

      protected int twipFromPercentage(float fVal)
    • init

      protected void init(String suffix)
    • getCssProperty

      public String getCssProperty()
      Specified by:
      getCssProperty in class Property
    • getCssName

      public String getCssName()
      Specified by:
      getCssName in class Property
    • setXslFO

      public void setXslFO(Element foElement)
      Specified by:
      setXslFO in class Property
    • getTwips

      protected int getTwips()
    • formatTwips

      protected String formatTwips(int twips)
    • ensureMargin

      protected void ensureMargin(TcPrInner tcPr)
    • ensureMargin

      public void ensureMargin(TblPr tblPr)
    • set

      public abstract void set(TcPrInner tcPr)