diff options
author | Nigel Hawkins <n.hawkins@gmx.com> | 2010-10-28 10:11:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-29 11:54:34 +0100 |
commit | 89342bccf8e059843d6a9b461f4d6df1d60a0b61 (patch) | |
tree | b4870749f844a7da78eb506a52951ff3f837528f /xmerge/source | |
parent | 11de9d98792473ba7267cf38ac4620c7b69e7ed2 (diff) |
Fix javadoc comments in RowStyle.java
Diffstat (limited to 'xmerge/source')
-rw-r--r-- | xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/RowStyle.java | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/RowStyle.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/RowStyle.java index 2b4ce04a13f0..64eb20b962e7 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/RowStyle.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/RowStyle.java @@ -48,7 +48,7 @@ public class RowStyle extends Style implements Cloneable { /** * Constructor for use when going from DOM to client device format. * - * @param Node The <i>style:style</i> <code>Node</code> containing + * @param node The <i>style:style</i> <code>Node</code> containing * the <code>Style</code>. (This <code>Node</code> is * assumed have a <i>family</i> attribute of <i>text</i>). * @param sc The <code>StyleCatalog</code>, which is used for @@ -92,16 +92,15 @@ public class RowStyle extends Style implements Cloneable { } } - /** * Constructor for use when going from client device format to DOM * - * @param name Name of text <code>Style</code>. Can be null. - * @param family Family of text <code>Style</code> (usually + * @param name Name of text <code>Style</code>. Can be null. + * @param family Family of text <code>Style</code> (usually * <i>text</i>). Can be null. - * @param parent Name of parent text <code>Style</code>, or null + * @param parent Name of parent text <code>Style</code>, or null * for none. - * @param mask The height of this row + * @param rowHeight The height of this row * @param sc The <code>StyleCatalog</code>, which is used for * looking up ancestor <code>Style</code> objects. */ @@ -113,7 +112,7 @@ public class RowStyle extends Style implements Cloneable { /** * Returns the height of this row * - * @return the <code>Format</code> object + * @return The height of this row. */ public int getRowHeight() { return rowHeight; @@ -122,14 +121,14 @@ public class RowStyle extends Style implements Cloneable { /** * Sets the height of this row * - * @return the <code>Format</code> object + * @param RowHeight The height of this row. */ public void setRowHeight(int RowHeight) { this.rowHeight = rowHeight; } /** - * Parse a colheight in the form "1.234cm" to twips + * Parse a rowheight in the form "1.234cm" to twips * * @param value <code>String</code> specification to parse. * @@ -151,7 +150,6 @@ public class RowStyle extends Style implements Cloneable { } - /** * Set an attribute. * @@ -168,7 +166,6 @@ public class RowStyle extends Style implements Cloneable { } } - /** * Return a <code>Style</code> object corresponding to this one, * but with all of the inherited information from parent @@ -218,7 +215,6 @@ public class RowStyle extends Style implements Cloneable { return resolved; } - /** * Create a new <code>Node</code> in the <code>Document</code>, and * write this <code>Style</code> to it. @@ -236,7 +232,6 @@ public class RowStyle extends Style implements Cloneable { return node; } - /** * Return true if <code>style</code> specifies as much or less * than this <code>Style</code>, and nothing it specifies @@ -258,7 +253,6 @@ public class RowStyle extends Style implements Cloneable { return true; } - /** * Write this <code>Style</code> object's attributes to a * <code>Node</code> in the <code>Document</code>. @@ -274,12 +268,10 @@ public class RowStyle extends Style implements Cloneable { } } - private static String[] ignored = { "fo:break-before", "fo:keep-with-next" }; - /* * This code checks whether an attribute is one that we * intentionally ignore. @@ -297,4 +289,3 @@ public class RowStyle extends Style implements Cloneable { return false; } } - |