Hi,

is there a function to change row styles, e.g., set the row-height?

I'm currently using the following patch on top of jOpenDocument-1.4rc2
in order to work on RowStyle rowStyle = 
sheet.getRow(index).getPrivateStyle()
or call sheet.getRow(index).setStyleName(rowStyleName).

diff --git a/src/org/jopendocument/dom/spreadsheet/Table.java 
b/src/org/jopendocument/dom/spreadsheet/Table.java
--- a/src/org/jopendocument/dom/spreadsheet/Table.java
+++ b/src/org/jopendocument/dom/spreadsheet/Table.java
@@ -635,7 +635,7 @@ public class Table<D extends ODDocument> extends 
TableCalcNode<TableStyle, D> {
 
     // *** get count
 
-    final Row<D> getRow(int index) {
+    public final Row<D> getRow(int index) {
         return this.rows.get(index);
     }

I don't see why org.jopendocument.dom.spreadsheet.Table.getRow(int)
should not be part of the public API just as 
org.jopendocument.dom.spreadsheet.Table.getColumn(int) is.

Cheers,

Manfred

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to