summaryrefslogtreecommitdiff
path: root/smoketestdoc
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-24 12:31:22 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-24 12:31:22 +0100
commit9d71aa84b44924c592085909bf0f2c38de0a2df4 (patch)
tree768ce25d1de99e4b9c7b75c0db179400197b000c /smoketestdoc
parent5c23ba1988a3898721ef4e46c47210c2ab09f151 (diff)
debuglevels: reintroduced lost row headers in first status table
Diffstat (limited to 'smoketestdoc')
-rwxr-xr-xsmoketestdoc/data/Global.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/smoketestdoc/data/Global.xml b/smoketestdoc/data/Global.xml
index 05e9eb50bfcd..99c7bf1fe9af 100755
--- a/smoketestdoc/data/Global.xml
+++ b/smoketestdoc/data/Global.xml
@@ -250,19 +250,20 @@ Sub CreateStatusTable
xCursor.GoRight (1, False)
table = aDoc.createInstance(&quot;com.sun.star.text.TextTable&quot;)
- table.initialize(6,9)
+ table.initialize(5,9)
table.Name = &quot;StTab1&quot;
table.BackColor = cCoGrey
xText.insertTextContent(xCursor, table, FALSE)
- tableCursor = table.createCursorByCellName(table.CellNames(0))
- tableCursor.gotoStart(FALSE)
- tableCursor.goRight(1,FALSE)
-
for i% = 0 to 7
tableCell = table.getCellByPosition( i% + 1, 0 )
tableCell.String = tableHeaders( i% )
next i%
+
+ for i% = LBound( tableRows ) to UBound( tableRows )
+ tableCell = table.getCellByPosition( 0, i% + 1 )
+ tableCell.String=tableRows(i%)
+ next i%
end Sub
Sub CreateStatusTable2
@@ -335,7 +336,7 @@ Sub CreateDocState
table = aDoc.TextTables.GetByIndex (1)
for j% = 0 to 7
- for i% = 0 to 4
+ for i% = 0 to 3
sRangeName = GetRangeName(j%, i%+1)
tableCursor = table.createCursorByCellName(sRangeName)