Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 158) sorted by relevance

1234567

/AOO41X/main/qadevOOo/tests/java/ifc/sdbc/
H A D_XRow.java145 int col = findColumnOfType(String.class) ; in _getString() local
146 if (col < 0) log.println("Type not found in relation: not tested"); in _getString()
149 String getStr = oObj.getString(col) ; in _getString()
167 int col = findColumnOfType(Boolean.class) ; in _getBoolean() local
168 if (col < 0) log.println("Type not found in relation: not tested"); in _getBoolean()
171 boolean getVal = oObj.getBoolean(col) ; in _getBoolean()
189 int col = findColumnOfType(Byte.class) ; in _getByte() local
190 if (col < 0) log.println("Type not found in relation: not tested"); in _getByte()
193 byte getVal = oObj.getByte(col) ; in _getByte()
211 int col = findColumnOfType(Short.class) ; in _getShort() local
[all …]
/AOO41X/main/forms/qa/integration/forms/
H A DCellBinding.java117 final short col = 0; in checkTextFieldBinding() local
127 bindToCell( controlModel, col, row ); in checkTextFieldBinding()
134 …verifyStringCellContent( col, row, text, "A text field does not forward its user input to the cell… in checkTextFieldBinding()
138 …verifyStringCellContent( col, row, otherText, "A text field does not forward programmatic changes … in checkTextFieldBinding()
141 setCellText( col, row, yetAnotherText ); in checkTextFieldBinding()
154 short col = (short)0; in checkBooleanRadioBinding() local
157 bindToCell( primaryRadio, col, row1 ); in checkBooleanRadioBinding()
158 bindToCell( secondaryRadio, col, row2 ); in checkBooleanRadioBinding()
163 …verifyNumericCellContent( col, row1, 1, "Radio buttons do not forward their (boolean) values to ce… in checkBooleanRadioBinding()
164 …verifyNumericCellContent( col, row2, 0, "Radio buttons do not forward their (boolean) values to ce… in checkBooleanRadioBinding()
[all …]
/AOO41X/main/sc/source/core/tool/
H A Dinterpr5.cxx1853 for (SCSIZE col = 0; col < l; col++) in lcl_MFastMult() local
1857 sum += pA->GetDouble(k,row) * pB->GetDouble(col,k); in lcl_MFastMult()
1858 pR->PutDouble(sum, col, row); in lcl_MFastMult()
1888 for (SCSIZE col=nC; col<nN; col++) in lcl_TGetColumnEuclideanNorm() local
1889 fNorm += (pMatA->GetDouble(col,nR)) * (pMatA->GetDouble(col,nR)); in lcl_TGetColumnEuclideanNorm()
1910 for (SCSIZE col=nC; col<nN; col++) in lcl_TGetColumnMaximumNorm() local
1911 if (fNorm < fabs(pMatA->GetDouble(col,nR))) in lcl_TGetColumnMaximumNorm()
1912 fNorm = fabs(pMatA->GetDouble(col,nR)); in lcl_TGetColumnMaximumNorm()
1934 for (SCSIZE col=nC; col<nN; col++) in lcl_TGetColumnSumProduct() local
1935 fResult += pMatA->GetDouble(col,nRa) * pMatB->GetDouble(col,nRb); in lcl_TGetColumnSumProduct()
[all …]
/AOO41X/main/qadevOOo/tests/java/ifc/i18n/
H A D_XCollator.java164 Collator col = null ; in _compareSubstring() local
168 col = Collator.getInstance(new java.util.Locale("en", "EN")) ; in _compareSubstring()
171 result &= testCompareSubstring(chars, col) ; in _compareSubstring()
177 col = Collator.getInstance(new java.util.Locale("ru", "RU")) ; in _compareSubstring()
180 result &= testCompareSubstring(chars, col) ; in _compareSubstring()
186 col = Collator.getInstance(new java.util.Locale("ja", "JP")) ; in _compareSubstring()
189 result &= testCompareSubstring(chars, col) ; in _compareSubstring()
194 col = Collator.getInstance(new java.util.Locale("zh", "CN")) ; in _compareSubstring()
197 result &= testCompareSubstring(chars, col) ; in _compareSubstring()
202 col = Collator.getInstance(new java.util.Locale("ko", "KR")) ; in _compareSubstring()
[all …]
/AOO41X/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()
101 public String getSelText(int col) { in getSelText() argument
102 return (String) invoke(Constant.M_GetSelText, new Object[]{col + 1}); in getSelText()
111 public String getSelText(int index, int col) { in getSelText() argument
112 return invoke(Constant.M_GetSelText, new Object[]{(index + 1), (col + 1)}).toString(); in getSelText()
240 public boolean isChecked(int row, int col) { in isChecked() argument
241 …)invoke(Constant.M_IsChecked, new Object[]{new Integer(row+1), new Integer(col+1)})).booleanValue(… in isChecked()
268 public boolean isTristate(int row, int col) { in isTristate() argument
269 …invoke(Constant.M_IsTristate, new Object[]{new Integer(row+1), new Integer(col+1)})).booleanValue(… in isTristate()
[all …]
/AOO41X/main/basebmp/inc/basebmp/
H A Dcolor.hxx66 Color operator^( Color col ) const { return Color(col.getRed()^getRed(), in operator ^()
67 col.getGreen()^getGreen(), in operator ^()
68 col.getBlue()^getBlue()); } in operator ^()
69 Color operator-( Color col ) const { return Color((sal_uInt8)abs((int)getRed()-col.getRed()), in operator -()
70 … (sal_uInt8)abs((int)getGreen()-col.getGreen()), in operator -()
71 … (sal_uInt8)abs((int)getBlue()-col.getBlue())); } in operator -()
72 Color operator+( Color col ) const { return Color(getRed()+col.getRed(), in operator +()
73 getGreen()+col.getGreen(), in operator +()
74 getBlue()+col.getBlue()); } in operator +()
75 …Color operator*( Color col ) const { return Color((sal_uInt8)((sal_uInt32)col.getRed()*getRed()/SA… in operator *()
[all …]
H A Dcolorblendaccessoradapter.hxx74 color_type col ) : in ConstantColorBlendSetterAccessorAdapter() argument
77 maBlendColor(col), in ConstantColorBlendSetterAccessorAdapter()
82 color_type col, in ConstantColorBlendSetterAccessorAdapter() argument
86 maBlendColor(col), in ConstantColorBlendSetterAccessorAdapter()
92 void setColor( color_type col ) { maBlendColor=col; } in setColor() argument
/AOO41X/main/toolkit/qa/complex/toolkit/awtgrid/
H A DTMutableGridDataModel.java87 for ( int col=0; col<m_rowValues[row].length; ++col ) in testAddRows()
90 m_rowValues[row][col], m_dataModel.getCellData( col, row ) ); in testAddRows()
254 for ( int col=0; col<m_rowValues[row].length; ++col ) in testRemoveRow()
256 … assertEquals( "unexpected row values after removing a row (col: " + col + ", row: " + row + ")", in testRemoveRow()
257 m_rowValues[row+1][col], m_dataModel.getCellData( col, row ) ); in testRemoveRow()
303 final int col = ((Integer)modifyValues[i][1]).intValue(); in testUpdateCellData() local
305 m_dataModel.updateCellData( col, row, value ); in testUpdateCellData()
310 … assertEquals( "data change notification: FirstColumn is invalid", col, event.FirstColumn ); in testUpdateCellData()
311 … assertEquals( "data change notification: LastColumn is invalid", col, event.LastColumn ); in testUpdateCellData()
314 …assertEquals( "data change at (" + col + ", " + row + ") not successful", value, m_dataModel.getCe… in testUpdateCellData()
[all …]
/AOO41X/main/scripting/workben/installer/
H A DIdeVersion.java125 int col = columnAtPoint( event.getPoint() ); in initComponents()
126 if (col != 2) in initComponents()
130 Object o = getValueAt(row, col); in initComponents()
143 int col = columnAtPoint( event.getPoint() ); in initComponents()
144 if (col != 2) in initComponents()
148 Object o = getValueAt(row,col); in initComponents()
156 Point pt = getCellRect(row, col, true).getLocation(); in initComponents()
323 public String getColumnName(int col) { in getColumnName() argument
324 return colNames[col]; in getColumnName()
327 public Object getValueAt(int row, int col) { in getValueAt() argument
[all …]
H A DVersion.java98 int col = columnAtPoint( event.getPoint() ); in initComponents()
99 if (col != 2) in initComponents()
103 Object o = getValueAt(row, col); in initComponents()
116 int col = columnAtPoint( event.getPoint() ); in initComponents()
117 if (col != 2) in initComponents()
121 Object o = getValueAt(row,col); in initComponents()
129 Point pt = getCellRect(row, col, true).getLocation(); in initComponents()
314 public String getColumnName(int col) { in getColumnName() argument
315 return colNames[col]; in getColumnName()
318 public Object getValueAt(int row, int col) { in getValueAt() argument
[all …]
/AOO41X/main/toolkit/qa/complex/toolkit/
H A DGridControl.java348 for ( int col = 0; col < data[row].length; ++col ) in testDataModel()
350 … assertEquals( "getCellData delivers wrong data at position (" + col + ", " + row + ")", in testDataModel()
351 data[row][col], m_dataModel.getCellData( col, row ) ); in testDataModel()
529 for ( int col = 0; col < m_columnModel.getColumnCount(); ++col ) in impl_assertColumnModelConsistency()
531 final XGridColumn column = m_columnModel.getColumn( col ); in impl_assertColumnModelConsistency()
533 …assertEquals( "column/model inconsistency: column " + col + " has a wrong index!", col, column.get… in impl_assertColumnModelConsistency()
539 for ( int col = 0; col < m_columnModel.getColumnCount(); ++col ) in impl_assertColumnModelConsistency()
541 …etColumns inconsistency", impl_areSameInterface( allColumns[col], m_columnModel.getColumn(col) ) ); in impl_assertColumnModelConsistency()
558 for ( int col = 0; col < i_reference.getRowCount(); ++col ) in impl_assertEquality()
560 … assertEquals( "data model comparison: wrong cell content in cell (" + col + ", " + row + ")", in impl_assertEquality()
[all …]
/AOO41X/main/sc/source/ui/vba/
H A Dvbafont.cxx87 for ( sal_Int32 col = 0; col < nCols; ++col ) in setSuperscript() local
91 …uno::Reference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ) , uno::UNO… in setSuperscript()
127 for ( sal_Int32 col = 0; col < nCols; ++col ) in getSuperscript() local
131 …uno::Reference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ), uno::UNO_… in getSuperscript()
133 if ( !col && !row ) in getSuperscript()
159 for ( sal_Int32 col = 0; col < nCols; ++col ) in setSubscript() local
163 …uno::Reference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ) , uno::UNO… in setSubscript()
201 for ( sal_Int32 col = 0; col < nCols; ++col ) in getSubscript() local
205 …uno::Reference< beans::XPropertySet > xProps( xCellRange->getCellByPosition( col, row ), uno::UNO_… in getSubscript()
207 if ( !col && !row ) in getSubscript()
/AOO41X/test/testuno/source/testlib/uno/
H A DCellInfo.java29 private int col; field in CellInfo
33 this.col = 0; in CellInfo()
36 public CellInfo(int col, int row) { in CellInfo() argument
37 this.col = col; in CellInfo()
42 return col; in getCol()
44 public void setCol(int col) { in setCol() argument
45 this.col = col; in setCol()
/AOO41X/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/
H A DCellValue.java36 protected byte col; field in CellValue
80 return col + 1; // The cols start at 1 in getCol()
88 public void setCol(int col) { in setCol() argument
89 this.col = (byte) (col - 1); // The cols start at 1 in setCol()
100 output.write(col); in write()
112 col += input.read(); in read()
117 " Column : " + col + in read()
/AOO41X/main/scripting/java/org/openoffice/idesupport/ui/
H A DScriptPanel.java149 public String getColumnName(int col) { in getColumnName() argument
150 return columnNames[col]; in getColumnName()
175 public Object getValueAt(int row, int col) { in getValueAt() argument
181 if (col == 0) in getValueAt()
183 else if (col == 1) in getValueAt()
189 public boolean isCellEditable(int row, int col) { in isCellEditable() argument
190 if (col == 0) in isCellEditable()
196 public void setValueAt(Object value, int row, int col) { in setValueAt() argument
199 fireTableCellUpdated(row, col); in setValueAt()
/AOO41X/main/qadevOOo/tests/java/ifc/table/
H A D_XTableColumns.java354 private boolean checkColumn(int col, int idx) in checkColumn() argument
357 if (col >= oObj.getCount()) return true; in checkColumn()
359 String c1 = getCellText(xCellRange.getCellByPosition(col, 0)); in checkColumn()
360 String c2 = getCellText(xCellRange.getCellByPosition(col, 1)); in checkColumn()
364 log.println("FAILED for column " + col + " and index " + idx + "(" in checkColumn()
379 private boolean checkColumnEmpty(int col) in checkColumnEmpty() argument
382 if (col >= oObj.getCount()) return true; in checkColumnEmpty()
384 String c1 = getCellText(xCellRange.getCellByPosition(col, 0)); in checkColumnEmpty()
385 String c2 = getCellText(xCellRange.getCellByPosition(col, 1)); in checkColumnEmpty()
387 log.println("FAILED for column " + col + " is not empty (" in checkColumnEmpty()
/AOO41X/main/xmlsecurity/tools/uno/
H A DUnsolvedReferenceTableModel.java45 public String getColumnName(int col) in getColumnName() argument
47 return m_columnNames[col].toString(); in getColumnName()
60 public Object getValueAt(int row, int col) in getValueAt() argument
62 if (col == 0) in getValueAt()
66 else if (col == 1) in getValueAt()
70 else if (col == 2) in getValueAt()
80 public boolean isCellEditable(int row, int col) in isCellEditable() argument
/AOO41X/main/l10ntools/java/receditor/java/transex3/view/
H A DSdfTable.java32 public boolean isCellEditable(int row, int col) { in isCellEditable() argument
33 …if( row == 0 && col == 0 || row == 0 && col == 1 || row == 0 && col == 2 || row == 0 && col == 3 |… in isCellEditable()
/AOO41X/main/toolkit/source/controls/grid/
H A Ddefaultgriddatamodel.cxx341 for ( sal_Int32 col = 0; col < columnCount; ++col ) in updateRowData() local
343 if ( ( i_columnIndexes[col] < 0 ) || ( i_columnIndexes[col] > m_nColumnCount ) ) in updateRowData()
348 for ( sal_Int32 col = 0; col < columnCount; ++col ) in updateRowData() local
350 sal_Int32 const columnIndex = i_columnIndexes[ col ]; in updateRowData()
354 rDataRow[ columnIndex ].first = i_values[ col ]; in updateRowData()
/AOO41X/main/toolkit/source/layout/core/
H A Dtable.cxx120 int col = 0; in getMinimumSize() local
129 while ( col + SAL_MIN( child->mnColSpan, mnColsLen ) > mnColsLen ) in getMinimumSize()
131 col = 0; in getMinimumSize()
134 unsigned int i = col +( row*mnColsLen ); in getMinimumSize()
138 col = i % mnColsLen; in getMinimumSize()
142 child->mnLeftCol = col; in getMinimumSize()
143 child->mnRightCol = SAL_MIN( col + child->mnColSpan, mnColsLen ); in getMinimumSize()
147 col += child->mnColSpan; in getMinimumSize()
/AOO41X/main/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/
H A DSxcDocumentDeserializer.java449 int col = 1; in processCells() local
468 if (col <= lastColumn && rowElement != null) { in processCells()
469 int numSkippedCells = lastColumn - col + 1; in processCells()
488 col = 1; in processCells()
532 if (newCol != col) { in processCells()
535 int numColsSkipped = newCol - col; in processCells()
541 col = newCol; in processCells()
604 col++; in processCells()
608 if (col <= lastColumn && rowElement != null) { in processCells()
609 int numSkippedCells = lastColumn - col + 1; in processCells()
/AOO41X/main/dbaccess/qa/complex/dbaccess/
H A DQuery.java102 for ( int col = 0; col < columns.getCount(); ++col ) in testQueryColumns()
105 XNamed.class, columns.getByIndex(col) ); in testQueryColumns()
106 … assertTrue( "column no. " + col + " of query \"" + queryNames[i] + "\" not matching", in testQueryColumns()
107 columnName.getName().equals( expectedColumnNames[i][col] ) ); in testQueryColumns()
/AOO41X/main/sc/source/ui/optdlg/
H A Dtpusrlst.cxx463 for ( SCCOL col=nStartCol; col<=nEndCol; col++ ) in CopyListFromArea() local
467 if ( pDoc->HasStringData( col, row, nTab ) ) in CopyListFromArea()
469 pDoc->GetString( col, row, nTab, aStrField ); in CopyListFromArea()
489 for ( SCCOL col=nStartCol; col<=nEndCol; col++ ) in CopyListFromArea() local
491 if ( pDoc->HasStringData( col, row, nTab ) ) in CopyListFromArea()
493 pDoc->GetString( col, row, nTab, aStrField ); in CopyListFromArea()
/AOO41X/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DTokenEncoder.java239 int col = 0; in column() local
248 col = char2int(columnStr.charAt(0)); in column()
250 col = char2int(columnStr.charAt(0)) + 1; in column()
251 col = (col*26) + char2int(columnStr.charAt(1)); in column()
257 return col; in column()
291 int col = 0, row = 0; in encodeCellCoordinates() local
301 col = column(); in encodeCellCoordinates()
311 tokenBytes[2] = (byte)col; in encodeCellCoordinates()
/AOO41X/main/svtools/source/uno/
H A Dunocontroltablemodel.cxx246 bool UnoControlTableModel::isCellEditable( ColPos col, RowPos row ) const in isCellEditable() argument
249 (void)col; in isCellEditable()
328 for ( ColumnModels::const_iterator col = m_pImpl->aColumns.begin(); in removeAllColumns() local
329 col != m_pImpl->aColumns.end(); in removeAllColumns()
330 ++col in removeAllColumns()
333 UnoGridColumnFacade* pColumn = dynamic_cast< UnoGridColumnFacade* >( col->get() ); in removeAllColumns()
797 for ( ColumnModels::const_iterator col = m_pImpl->aColumns.begin(); in getColumnPos() local
798 col != m_pImpl->aColumns.end(); in getColumnPos()
799 ++col in getColumnPos()
802 if ( &i_column == col->get() ) in getColumnPos()
[all …]

1234567