Class Property

java.lang.Object
org.docx4j.model.properties.Property
Direct Known Subclasses:
AbstractParagraphProperty, AbstractRunProperty, AbstractTableProperty, AbstractTableStyleProperty, AbstractTcProperty, AbstractTrProperty, AdHocProperty

public abstract class Property extends Object
A representation of a run or paragraph property, designed for ease of conversion to or from CSS or to XSL FO. Currently this class assumes a one to one correspondence between properties. This might well have to change. Examples of issues: - w:ind maps to multiple css properties (left, right)
Author:
jason
  • Field Details

  • Constructor Details

    • Property

      public Property()
  • Method Details

    • getObject

      public Object getObject()
      Returns:
      the object
    • setObject

      public void setObject(Object object)
      Parameters:
      object - the object to set
    • getCssProperty

      public abstract String getCssProperty()
    • getCssName

      public abstract String getCssName()
      Since:
      2.7.2
    • composeCss

      public static final String composeCss(String name, String value)
    • setXslFO

      public abstract void setXslFO(Element foElement)
    • debug

      public void debug(String propertyName, org.w3c.dom.css.CSSValue value)