Class ColWrapper

java.lang.Object
com.itextpdf.html2pdf.attach.wrapelement.ColWrapper
All Implemented Interfaces:
IWrapElement

public class ColWrapper extends Object implements IWrapElement
Wrapper for the col element.
  • Constructor Details

    • ColWrapper

      public ColWrapper (int span)
      Creates a new ColWrapper instance.
      Parameters:
      span - the span
  • Method Details

    • getSpan

      public int getSpan()
      Gets the span.
      Returns:
      the span
    • getWidth

      public com.itextpdf.layout.properties.UnitValue getWidth()
      Gets the width.
      Returns:
      the width
    • setWidth

      public ColWrapper setWidth (com.itextpdf.layout.properties.UnitValue width)
      Sets the width.
      Parameters:
      width - the width
      Returns:
      this ColWrapper instance
    • getCellCssProps

      public Map<String,String> getCellCssProps()
      Gets the cell CSS properties.
      Returns:
      the cell CSS properties
    • setCellCssProps

      public ColWrapper setCellCssProps (Map<String,String> cellCssProps)
      Sets the cell CSS properties.
      Parameters:
      cellCssProps - the cell CSS properties
      Returns:
      this ColWrapper instance
    • getOwnCssProps

      public Map<String,String> getOwnCssProps()
      Gets the own CSS properties.
      Returns:
      the own CSS properties
    • setOwnCssProps

      public ColWrapper setOwnCssProps (Map<String,String> ownCssProps)
      Sets the own CSS properties.
      Parameters:
      ownCssProps - the own CSS properties
      Returns:
      this ColWrapper instance
    • setLang

      public void setLang (String lang)
      Sets the language attribute.
      Parameters:
      lang - the lang attribute
    • getLang

      public String getLang()
      Gets the language attribute.
      Returns:
      the lang attribute