Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/trunk/main/toolkit/qa/complex/toolkit/awtgrid/
H A DTMutableGridDataModel.java85 for ( int row=0; row<m_rowValues.length; ++row ) in testAddRows()
87 for ( int col=0; col<m_rowValues[row].length; ++col ) in testAddRows()
90 m_rowValues[row][col], m_dataModel.getCellData( col, row ) ); in testAddRows()
120 for ( int row=0; row<expectedRowCount; ++row ) in testInsertRow()
122 final Object[] actualRowData = m_dataModel.getRowData( row ); in testInsertRow()
124 ( row < insertionPos ) in testInsertRow()
125 ? m_rowValues[ row ] in testInsertRow()
126 : ( row == insertionPos ) in testInsertRow()
128 : m_rowValues[ row - 1 ]; in testInsertRow()
129 … assertArrayEquals( "row number " + row + " has wrong content content after inserting a row", in testInsertRow()
[all …]
/trunk/main/connectivity/qa/complex/connectivity/dbase/
H A DDBaseNumericFunctions.java90 final XRow row = execute(xRowRes, "ABS(2),ABS(-32) "); in abs() local
91 assertTrue("ABS(2) failed!", row.getInt(1) == 2); in abs()
92 assertTrue("ABS(-32) failed!", row.getInt(2) == 32); in abs()
97 final XRow row = execute(xRowRes, "SIGN(-32),SIGN(0),SIGN(234) "); in sign() local
98 assertTrue("SIGN(-32)failed!", row.getInt(1) == -1); in sign()
99 assertTrue("SIGN(0) failed!", row.getInt(2) == 0); in sign()
100 assertTrue("SIGN(234) failed!", row.getInt(3) == 1); in sign()
105 final XRow row = execute(xRowRes, "MOD(234, 10) "); in mod() local
106 assertTrue("MOD(234, 10) failed!", row.getInt(1) == 4); in mod()
111 final XRow row = execute(xRowRes, "FLOOR(1.23),FLOOR(-1.23) "); in floor() local
[all …]
H A DDBaseStringFunctions.java85 final XRow row = execute(xRowRes, "upper('test'),UCASE('test') "); in upper() local
86 assertTrue("upper('test') failed!", row.getString(1).equals("TEST")); in upper()
87 assertTrue("ucase('test') failed!", row.getString(2).equals("TEST")); in upper()
92 final XRow row = execute(xRowRes, "lower('TEST'),LCASE('TEST') "); in lower() local
93 assertTrue("lower('TEST') failed!", row.getString(1).equals("test")); in lower()
94 assertTrue("lcase('TEST') failed!", row.getString(2).equals("test")); in lower()
103 final XRow row = execute(xRowRes, "ASCII('2') "); in ascii() local
104 assertTrue("ascii('2') failed!", row.getInt(1) == 50); in ascii()
109 …final XRow row = execute(xRowRes, "char_length('test'),character_length('test'),OCTET_LENGTH('test… in char_length() local
110 assertTrue("char_length('test') failed!", row.getInt(1) == 4); in char_length()
[all …]
H A DDBaseDateFunctions.java85 final XRow row = execute(xRowRes, "DAYOFWEEK('1998-02-03') "); in dayofweek() local
86 assertTrue("DAYOFWEEK('1998-02-03') failed!", row.getInt(1) == 3); in dayofweek()
91 final XRow row = execute(xRowRes, "DAYOFMONTH('1998-02-03') "); in dayofmonth() local
92 assertTrue("DAYOFMONTH('1998-02-03') failed!", row.getInt(1) == 3); in dayofmonth()
97 final XRow row = execute(xRowRes, "DAYOFYEAR('1998-02-03') "); in dayofyear() local
98 assertTrue("DAYOFYEAR('1998-02-03') failed!", row.getInt(1) == 34); in dayofyear()
103 final XRow row = execute(xRowRes, "month('1998-02-03') "); in month() local
104 assertTrue("month('1998-02-03') failed!", row.getInt(1) == 2); in month()
109 final XRow row = execute(xRowRes, "DAYNAME('1998-02-05') "); in dayname() local
110 assertTrue("DAYNAME('1998-02-05') failed!", row.getString(1).equals("Thursday")); in dayname()
[all …]
/trunk/main/sal/textenc/generate/
H A Dbig5hkscs2001.tab29 /* row 0: --- */
30 /* row 1: --- */
31 /* row 2: --- */
32 /* row 3: --- */
33 /* row 4: --- */
34 /* row 5: --- */
35 /* row 6: --- */
36 /* row 7: --- */
37 /* row 8: --- */
38 /* row 9: --- */
[all …]
H A Dcns116431992.tab29 /* plane 1, row 1 */
41 /* plane 1, row 2 */
53 /* plane 1, row 3 */
60 /* plane 1, row 4 */
72 /* plane 1, row 5 */
83 /* plane 1, row 6 */
89 /* plane 1, row 7 */
94 /* plane 1, row 8: --- */
95 /* plane 1, row 9: --- */
96 /* plane 1, row 10: --- */
[all …]
/trunk/main/forms/qa/integration/forms/
H A DCellBinding.java124 final short row = 2; in checkTextFieldBinding() local
133 bindToCell( controlModel, col, row ); in checkTextFieldBinding()
140 …verifyStringCellContent( col, row, text, "A text field does not forward its user input to the cell… in checkTextFieldBinding()
144 …verifyStringCellContent( col, row, otherText, "A text field does not forward programmatic changes … in checkTextFieldBinding()
147 setCellText( col, row, yetAnotherText ); in checkTextFieldBinding()
206 short row = (short)10; in checkStringRadioBinding() local
207 bindToCell( primaryRadio, col, row ); in checkStringRadioBinding()
208 bindToCell( secondaryRadio, col, row ); in checkStringRadioBinding()
212 …verifyStringCellContent( col, row, refValueA, "A bound radio button with a reference value does no… in checkStringRadioBinding()
214 …verifyStringCellContent( col, row, refValueB, "A bound radio button with a reference value does no… in checkStringRadioBinding()
[all …]
H A DListBox.java106 for ( int row=0; row<2; ++row ) in checkForeignKeys()
115 if ( !listBoxControl.getSelectedItem().equals( displayValues[row] ) ) in checkForeignKeys()
234 for ( int row=0; row<displayValues.length; ++row ) in impl_createDatabase()
236 statementParameters.setString( 1, keyValues[row] ); in impl_createDatabase()
237 statementParameters.setString( 2, displayValues[row] ); in impl_createDatabase()
256 for ( int row=0; row<2; ++row ) in impl_createDatabase()
258 statementParameters.setInt( 1, row ); in impl_createDatabase()
261 statementParameters.setString( i+2, foreignKeyValues.get(i)[row] ); in impl_createDatabase()
/trunk/main/offapi/com/sun/star/sdbc/
H A DXResultSet.idl47 A ResultSet maintains a cursor pointing to its current row of
48 data. Initially the cursor is positioned before the first row.
49 The 'next' method moves the cursor to the next row.
56 /** moves the cursor down one row from its current position.
60 A ResultSet cursor is initially positioned before the first row; the
61 first call to next makes the first row the current row; the
62 second call makes the second row the current row, and so on.
64 <p>If an input stream is open for the current row, a call
68 The ResultSet's warning chain is cleared when a new row is read.
78 /** indicates whether the cursor is before the first row in the result
[all …]
H A DXResultSetUpdate.idl44 /** inserts the contents of the insert row into the result set and
45 the database. Must be on the insert row when this method is called.
53 current row. Cannot be called when on the insert row.
60 /** deletes the current row from the result set and the underlying
61 database. Cannot be called when on the insert row.
68 /** cancels the updates made to a row.
76 to rollback the updates made to a row. If no updates have been made or
87 /** moves the cursor to the insert row. The current cursor position is
88 remembered while the cursor is positioned on the insert row.
92 The insert row is a special row associated with an updatable
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/sdbc/
H A D_XRowUpdate.java102 private XRow row = null ; field in _XRowUpdate
112 row = (XRow) tEnv.getObjRelation("XRowUpdate.XRow") ; in before()
132 if (rowData.get(i) instanceof String) row.getString(i + 1) ; in _updateNull()
133 if (rowData.get(i) instanceof Boolean) row.getBoolean(i + 1) ; in _updateNull()
134 if (rowData.get(i) instanceof Byte) row.getByte(i + 1) ; in _updateNull()
135 if (rowData.get(i) instanceof Short) row.getShort(i + 1) ; in _updateNull()
136 if (rowData.get(i) instanceof Integer) row.getInt(i + 1) ; in _updateNull()
137 if (rowData.get(i) instanceof Long) row.getLong(i + 1) ; in _updateNull()
138 if (rowData.get(i) instanceof Float) row.getFloat(i + 1) ; in _updateNull()
139 if (rowData.get(i) instanceof Double) row.getDouble(i + 1) ; in _updateNull()
[all …]
/trunk/main/sc/source/core/tool/
H A Dinterpr5.cxx1850 for (SCSIZE row = 0; row < n; row++) in lcl_MFastMult() local
1856 sum += pA->GetDouble(k,row) * pB->GetDouble(col,k); in lcl_MFastMult()
1857 pR->PutDouble(sum, col, row); in lcl_MFastMult()
1877 for (SCSIZE row=nR; row<nN; row++) in lcl_GetColumnEuclideanNorm() local
1878 fNorm += (pMatA->GetDouble(nC,row)) * (pMatA->GetDouble(nC,row)); in lcl_GetColumnEuclideanNorm()
1898 for (SCSIZE row=nR; row<nN; row++) in lcl_GetColumnMaximumNorm() local
1899 if (fNorm < fabs(pMatA->GetDouble(nC,row))) in lcl_GetColumnMaximumNorm()
1900 fNorm = fabs(pMatA->GetDouble(nC,row)); in lcl_GetColumnMaximumNorm()
1922 for (SCSIZE row=nR; row<nN; row++) in lcl_GetColumnSumProduct() local
1923 fResult += pMatA->GetDouble(nCa,row) * pMatB->GetDouble(nCb,row); in lcl_GetColumnSumProduct()
[all …]
/trunk/test/testcommon/source/org/openoffice/test/vcl/widgets/
H A DVclTreeListBox.java51 public String getItemText(int row, int col) { in getItemText() argument
52 return (String) invoke(Constant.M_GetItemText, new Object[]{row + 1, col + 1}); in getItemText()
236 public boolean isChecked(int row) { in isChecked() argument
237 … return ((Boolean)invoke(Constant.M_IsChecked, new Object[]{new Integer(row+1)})).booleanValue(); in isChecked()
240 public boolean isChecked(int row, int col) { in isChecked() argument
241 …return ((Boolean)invoke(Constant.M_IsChecked, new Object[]{new Integer(row+1), new Integer(col+1)}… in isChecked()
264 public boolean isTristate(int row) { in isTristate() argument
265 … return ((Boolean)invoke(Constant.M_IsTristate, new Object[]{new Integer(row+1)})).booleanValue(); in isTristate()
268 public boolean isTristate(int row, int col) { in isTristate() argument
269 …return ((Boolean)invoke(Constant.M_IsTristate, new Object[]{new Integer(row+1), new Integer(col+1)… in isTristate()
[all …]
/trunk/main/vcl/unx/gtk/a11y/
H A Datktable.cxx91 gint row, in table_wrapper_ref_at() argument
99 fprintf(stderr, "getAccessibleCellAt( %u, %u ) returns", row, column ); in table_wrapper_ref_at()
102 fprintf(stderr, "getAccessibleCellAt( %u, %u ) returns", row, column ); in table_wrapper_ref_at()
107 return atk_object_wrapper_conditional_ref( pTable->getAccessibleCellAt( row, column ) ); in table_wrapper_ref_at()
121 gint row, in table_wrapper_get_index_at() argument
130 row, column, pTable->getAccessibleIndex( row, column ) ); in table_wrapper_get_index_at()
134 return pTable->getAccessibleIndex( row, column ); in table_wrapper_get_index_at()
245 gint row, in table_wrapper_get_column_extent_at() argument
254 row, column, pTable->getAccessibleColumnExtentAt( row, column ) ); in table_wrapper_get_column_extent_at()
258 return pTable->getAccessibleColumnExtentAt( row, column ); in table_wrapper_get_column_extent_at()
[all …]
/trunk/main/connectivity/java/sdbc_postgresql/src/main/java/com/sun/star/sdbcx/comp/postgresql/
H A DPostgresqlDatabaseMetadata.java94 XRow row = UnoRuntime.queryInterface(XRow.class, results); in getColumns() local
97 String tableCat = row.getString(1); in getColumns()
98 String tableSchem = row.getString(2); in getColumns()
99 String tableName = row.getString(3); in getColumns()
100 String columnName = row.getString(4); in getColumns()
101 short dataType = row.getShort(5); in getColumns()
102 String typeName = row.getString(6); in getColumns()
103 int columnSize = row.getInt(7); in getColumns()
104 int bufferLength = row.getInt(8); // FIXME: is it int? in getColumns()
105 int decimalDigits = row.getInt(9); in getColumns()
[all …]
/trunk/main/connectivity/java/dbtools/src/main/java/org/apache/openoffice/comp/sdbc/dbtools/sdbcx/
H A DSqlTableHelper.java93 XRow row = UnoRuntime.queryInterface(XRow.class, results); in collectColumnDescriptions() local
96 columnDescription.columnName = row.getString(4); in collectColumnDescriptions()
97 columnDescription.type = row.getInt(5); in collectColumnDescriptions()
98 columnDescription.typeName = row.getString(6); in collectColumnDescriptions()
99 columnDescription.columnSize = row.getInt(7); in collectColumnDescriptions()
100 columnDescription.decimalDigits = row.getInt(9); in collectColumnDescriptions()
101 columnDescription.nullable = row.getInt(11); in collectColumnDescriptions()
102 columnDescription.remarks = row.getString(12); in collectColumnDescriptions()
103 columnDescription.defaultValue = row.getString(13); in collectColumnDescriptions()
104 columnDescription.ordinalPosition = row.getInt(17); in collectColumnDescriptions()
[all …]
H A DOKeyColumnContainer.java65 XRow row = UnoRuntime.queryInterface(XRow.class, results); in createObject() local
67 if (row.getString(8).equals(name) && key.getName().equals(row.getString(12))) { in createObject()
68 refColumnName = row.getString(4); in createObject()
78 XRow row = UnoRuntime.queryInterface(XRow.class, results); in createObject() local
80 if (row.getString(4).equals(name)) { in createObject()
81 int dataType = row.getInt(5); in createObject()
82 String typeName = row.getString(6); in createObject()
83 int size = row.getInt(7); in createObject()
84 int dec = row.getInt(9); in createObject()
85 int nul = row.getInt(11); in createObject()
[all …]
/trunk/main/scripting/workben/installer/
H A DIdeVersion.java129 int row = rowAtPoint( event.getPoint() ); in initComponents()
130 Object o = getValueAt(row, col); in initComponents()
147 int row = rowAtPoint( event.getPoint() ); in initComponents()
148 Object o = getValueAt(row,col); in initComponents()
156 Point pt = getCellRect(row, col, true).getLocation(); in initComponents()
297 ArrayList row = new ArrayList(); in MyTableModelIDE() local
298 row.add(0, new Boolean(false)); in MyTableModelIDE()
300 row.add(1, key); in MyTableModelIDE()
305 row.add(2, path); in MyTableModelIDE()
310 data.add(row); in MyTableModelIDE()
[all …]
H A DVersion.java102 int row = rowAtPoint( event.getPoint() ); in initComponents()
103 Object o = getValueAt(row, col); in initComponents()
120 int row = rowAtPoint( event.getPoint() ); in initComponents()
121 Object o = getValueAt(row,col); in initComponents()
129 Point pt = getCellRect(row, col, true).getLocation(); in initComponents()
287 ArrayList row = new ArrayList(); in MyTableModel() local
288 row.add(0, new Boolean(false)); in MyTableModel()
290 row.add(1, key); in MyTableModel()
295 row.add(2, path); in MyTableModel()
300 data.add(row); in MyTableModel()
[all …]
/trunk/main/offapi/com/sun/star/accessibility/
H A DXAccessibleTable.idl46 table. This is necessary to be able to convert row and column indices
54 from the first row or column with the index 0 up to the last (but not
55 including) used row or column as returned by
87 /** Returns the description text of the specified row in the
91 The index of the row for which to retrieve the description.
94 Returns the description text of the specified row in the table
98 if the specified row index is not valid, i.e. lies not inside
113 Returns the description text of the specified row in the table
125 specified row and column in the table.
139 Returns the row extent of the specified cell.
[all …]
/trunk/main/offapi/com/sun/star/awt/grid/
H A DXMutableGridDataModel.idl41 /** appends a row to the model.
44 denotes the heading of the row.
46 specifies the content of the row.
61 /** inserts a row into the set of data rows
64 denotes the position at which the row is to be inserted
66 denotes the heading of the row.
68 specifies the content of the row.
93 /** removes a row of data from the model
96 the index of the row that should be removed.
111 the row index of the to-be-updated cell
[all …]
/trunk/main/offapi/com/sun/star/sdb/
H A DXColumn.idl64 /** is used to access data which is collected in a row.
83 /** gets the value of a column in the current row as a String.
92 /** gets the value of a column in the current row as boolean.
101 /** gets the value of a column in the current row as a byte.
110 /** gets the value of a column in the current row as a short.
119 /** gets the value of a column in the current row as a long.
128 /** gets the value of a column in the current row as a hyper.
137 /** gets the value of a column in the current row as a float.
146 /** gets the value of a column in the current row as a double.
155 /** gets the value of a column in the current row as a byte array.
[all …]
H A DRowSet.idl73 …<p>A row set is able to be operated in various ways, and additionally it notifies various changes …
77 working with a row set:
88 …"top">If the operation includes changes in the values of the columns of the row set, then these are
101 <tr><td valign="top"><em>row state</em></td>
106 <tr><td valign="top"><em>row count</em></td>
162 …pe="com::sun::star::sdbc">XResultSetUpdate::deleteRow</member>, you can delete the current row of a
163 …<type>RowSet</type>. This deleted row then doesn't vanish immediately, but is still present, and s…
164 …n::star::sdbc">XResultSet::rowDeleted</member> will return <TRUE/>. The deleted row "vanishes" from
173 …<dd>will let the deleted row vanish from the result set. As a consequence, the <member>RowCount</m…
174 will decrease when you do such a move operation after deleting a row.<br/>
[all …]
/trunk/main/sc/source/ui/vba/
H A Dvbafont.cxx89 for ( sal_Int32 row = 0; row < nRows; ++row ) in setSuperscript() local
91 …ference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ) , uno::UNO_QUERY_… in setSuperscript()
129 for ( sal_Int32 row = 0; row < nRows; ++row ) in getSuperscript() local
131 …ference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ), uno::UNO_QUERY_T… in getSuperscript()
133 if ( !col && !row ) in getSuperscript()
161 for ( sal_Int32 row = 0; row < nRows; ++row ) in setSubscript() local
163 …ference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ) , uno::UNO_QUERY_… in setSubscript()
203 for ( sal_Int32 row = 0; row < nRows; ++row ) in getSubscript() local
205 …ference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ), uno::UNO_QUERY_T… in getSubscript()
207 if ( !col && !row ) in getSubscript()
/trunk/main/winaccessibility/source/UAccCOM/
H A DAccTable.cpp47 STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * accessible) in get_accessibleAt() argument
61 Reference<XAccessible> pRAcc = GetXInterface()->getAccessibleCellAt(row,column); in get_accessibleAt()
153 STDMETHODIMP CAccTable::get_columnExtentAt(long row, long column, long * nColumnsSpanned) in get_columnExtentAt() argument
169 long lExt = pXAccTable->getAccessibleColumnExtentAt(row,column); in get_columnExtentAt()
349 STDMETHODIMP CAccTable::get_rowDescription(long row, BSTR * description) in get_rowDescription() argument
364 const ::rtl::OUString& ouStr = GetXInterface()->getAccessibleRowDescription(row); in get_rowDescription()
384 STDMETHODIMP CAccTable::get_rowExtentAt(long row, long column, long * nRowsSpanned) in get_rowExtentAt() argument
400 long lExt = GetXInterface()->getAccessibleRowExtentAt(row,column); in get_rowExtentAt()
620 STDMETHODIMP CAccTable::get_isRowSelected(long row, unsigned char * isSelected) in get_isRowSelected() argument
636 *isSelected = GetXInterface()->isAccessibleRowSelected(row); in get_isRowSelected()
[all …]

12345678910>>...21