ru.novosoft.dc.rtf.dom.objects
Class CellSpacing

java.lang.Object
  |
  +--ru.novosoft.dc.core.util.Values
        |
        +--ru.novosoft.dc.rtf.dom.objects.CellSpacing

public final class CellSpacing
extends Values
implements Margins

The cell spacing specification class contains 4 spacing parameters in twips. The total horizontal spacing between adjacent cells is equal to the sum of the LEFT and RIGHT spacings. The total vertical spacing between adjacent cells is equal to the sum of the TOP spacing from the bottom row and the BOTTOM spacing from the top row. All spacing parameters for all table rows have the same value when written by Word.


Fields inherited from interface ru.novosoft.dc.rtf.dom.objects.Margins
BOTTOM, LEFT, RIGHT, TOP
 
Constructor Summary
CellSpacing()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare this object with another array of spacing parameters and return true if they coinside.
 void exportTo(org.w3c.dom.Element elem)
          Export the contents of this object to the specified DOM element.
 
Methods inherited from class ru.novosoft.dc.core.util.Values
add, clone, get, mul, set, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellSpacing

public CellSpacing()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compare this object with another array of spacing parameters and return true if they coinside.
Overrides:
equals in class Values

exportTo

public void exportTo(org.w3c.dom.Element elem)
Export the contents of this object to the specified DOM element.