/trunk/main/svx/source/table/ |
H A D | cellcursor.cxx | 187 if( xCell.is() && xCell->isMerged() ) in GetMergedSelection() 192 if( xCell.is() ) in GetMergedSelection() 203 if( xCell.is() ) in GetMergedSelection() 216 if( !xCell.is() ) in GetMergedSelection() 300 if( xCell.is() && !xCell->isMerged() ) in split_column() 330 if( !xCell.is() || xCell->isMerged() ) in split_column() 336 if( !xCell.is() || !xCell->isMerged() ) in split_column() 416 if( xCell.is() && !xCell->isMerged() ) in split_row() 446 if( !xCell.is() || xCell->isMerged() ) in split_row() 452 if( !xCell.is() || !xCell->isMerged() ) in split_row() [all …]
|
H A D | tablemodel.cxx | 447 if( xCell.is() ) in getCellByPosition() 721 CellRef xCell; in createCell() local 724 return xCell; in createCell() 781 sal_Int32 nColSpan = (xCell.is() && !xCell->isMerged()) ? xCell->getColumnSpan() : 1; in insertColumns() 864 sal_Int32 nColSpan = (xCell.is() && !xCell->isMerged()) ? xCell->getColumnSpan() : 1; in removeColumns() 892 xCell->merge( nColSpan - nRemove, xCell->getRowSpan() ); in removeColumns() 955 sal_Int32 nRowSpan = (xCell.is() && !xCell->isMerged()) ? xCell->getRowSpan() : 1; in insertRows() 1025 sal_Int32 nRowSpan = (xCell.is() && !xCell->isMerged()) ? xCell->getRowSpan() : 1; in removeRows() 1115 if( xCell.is() && !xCell->isMerged() ) in optimize() 1152 if( xCell.is() && !xCell->isMerged() ) in optimize() [all …]
|
H A D | tablelayouter.cxx | 90 if( xCell.is() && !xCell->isMerged() ) in getCellSize() 132 if( xCell.is() && !xCell->isMerged() && isValid(rPos) ) in getCellArea() 330 if( xCell.is() && !xCell->isMerged() ) in checkMergeOrigin() 354 if( !xCell.is() || !xCell->isMerged() ) in findMergeOrigin() 569 if( xCell.is() && !xCell->isMerged() ) in LayoutTableWidth() 646 CellRef xCell( (*iter++) ); in LayoutTableWidth() 719 if( xCell.is() && !xCell->isMerged() ) in LayoutTableHeight() 884 if( xCell.is() ) in updateCells() 905 CellRef xCell; in getCell() local 914 return xCell; in getCell() [all …]
|
H A D | svdotable.cxx | 449 if( xCell.is() && ( xCell->GetStyleSheet() != pStyle ) ) in ApplyCellStyles() 621 CellRef xCell; in getCell() local 630 return xCell; in getCell() 700 if( xCell.is() ) in GetCellItem() 878 if( xCell.is() && xCell->isMerged() ) in getPreviousCell() 1003 if( xCell.is() && !xCell->isMerged() ) in getNextRow() 1139 if( xCell.is() && xCell->isMerged() ) in CheckTableHit() 1142 if( xCell.is() ) in CheckTableHit() 1578 return xCell; in getActiveCell() 1755 if( xCell.is() ) in GetOutlinerViewAnchorMode() [all …]
|
H A D | tablecontroller.cxx | 876 if( xCell.is() ) in SetTableStyle() 997 if( xCell.is() ) in SetVertical() 1134 if( xCell.is() ) in DeleteMarked() 1166 if( xCell.is() ) in GetStyleSheet() 1202 if( xCell.is() ) in SetStyleSheet() 1651 if( xCell.is() && xCell->isMerged() ) in findMergeOrigin() 1803 if( !xCell.is() ) in getSelectedCells() 1840 if( xCell.is() ) in getSelectedCells() 2011 if( xCell.is() && !xCell->isMerged() ) in MergeAttrFromSelectedCells() 2342 if( xCell.is() ) in SetAttrToSelectedCells() [all …]
|
H A D | accessibletableshape.cxx | 69 return std::size_t( xCell.get() ); in operator ()() 183 CellRef xCellRef( dynamic_cast< Cell* >( xCell.get() ) ); in getAccessibleChild() 188 maChildMap[xCell] = xAccessibleCell; in getAccessibleChild() 282 maChildMap[xCell] = xAccessibleCell; in modified() 293 maChildMap[xCell] = xAccessibleCell; in modified() 508 if( xCell.is() ) in getAccessibleRowExtentAt() 509 return xCell->getRowSpan(); in getAccessibleRowExtentAt() 523 if( xCell.is() ) in getAccessibleColumnExtentAt() 524 return xCell->getColumnSpan(); in getAccessibleColumnExtentAt() 981 Reference< XCell > xCell(rEvent.Source, UNO_QUERY); in selectionChanged() local [all …]
|
H A D | tablertfexporter.cxx | 151 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in WriteRow() local 153 if( !xCell.is() ) in WriteRow() 200 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in WriteCell() local 202 if( !xCell.is() || xCell->isMerged() ) in WriteCell() 210 OutlinerParaObject* pParaObj = xCell->GetEditOutlinerParaObject(); in WriteCell() 214 pParaObj = xCell->GetOutlinerParaObject(); in WriteCell() 233 SdrTextHorzAdjust eHAdj = xCell->GetTextHorizontalAdjust(); in WriteCell() 235 const SfxItemSet& rCellSet = xCell->GetItemSet(); in WriteCell()
|
H A D | cell.cxx | 295 if( xCell->mxTable.is() ) in create() 300 return xCell; in create() 432 if( xCell.is() ) in cloneFrom() 438 msFormula = xCell->msFormula; in cloneFrom() 439 mfValue = xCell->mfValue; in cloneFrom() 440 mnError = xCell->mnError; in cloneFrom() 442 mbMerged = xCell->mbMerged; in cloneFrom() 443 mnRowSpan = xCell->mnRowSpan; in cloneFrom() 444 mnColSpan = xCell->mnColSpan; in cloneFrom() 741 CellRef xCell( this ); in AddUndo() local [all …]
|
H A D | celleditsource.cxx | 131 CellEditSourceImpl( const CellRef& xCell ); 132 CellEditSourceImpl( const CellRef& xCell, SdrView& rView, const Window& rWindow ); 165 CellEditSourceImpl::CellEditSourceImpl( const CellRef& xCell ) in CellEditSourceImpl() argument 181 mxCell( xCell ) in CellEditSourceImpl() 187 CellEditSourceImpl::CellEditSourceImpl( const CellRef& xCell, SdrView& rView, const Window& rWindow… in CellEditSourceImpl() argument 203 mxCell( xCell ) in CellEditSourceImpl() 913 CellEditSource::CellEditSource( const CellRef& xCell ) in CellEditSource() argument 915 mpImpl = new CellEditSourceImpl( xCell ); in CellEditSource() 920 CellEditSource::CellEditSource( const CellRef& xCell, SdrView& rView, const Window& rWindow ) in CellEditSource() argument 922 mpImpl = new CellEditSourceImpl( xCell, rView, rWindow ); in CellEditSource()
|
/trunk/test/testuno/source/testlib/uno/ |
H A D | SCUtil.java | 205 xCell.setValue(value); in setValueToCell() 243 xCell.setFormula(formula); in setFormulaToCell() 256 double cellValue = xCell.getValue(); in getValueFromCell() 305 XCell xCell = null; in setValueToCellRange() local 309 xCell.setValue(values[i][j]); in setValueToCellRange() 316 XCell xCell = null; in setValueToCellRange() local 320 xCell.setValue(values[i][j]); in setValueToCellRange() 338 XCell xCell = null; in setTextToCellRange() local 351 XCell xCell = null; in setTextToCellRange() local 374 XCell xCell = null; in getValueFromCellRange() local [all …]
|
/trunk/main/sc/workben/ |
H A D | test.cxx | 316 if (!xCell) return; in lcl_OutputNames() 324 if (!xCell) return; in lcl_OutputNames() 387 if ( xCell ) in lcl_DoCount() 427 if ( xCell ) in lcl_Annotations() 497 if ( xCell ) in lcl_Cursor() 682 if (!xCell) return; in lcl_Sheet() 1291 if (!xCell) return; in lcl_Formula() 1708 if ( xCell ) in IMPL_LINK() 1750 if ( xCell ) in IMPL_LINK() 1920 if (xCell) in lcl_FillCells() [all …]
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbafont.cxx | 80 uno::Reference< table::XCell> xCell( mxFont, uno::UNO_QUERY ); in setSuperscript() local 82 if ( !xCell.is() ) in setSuperscript() 99 xCell.set( xCellRange->getCellByPosition( 0,0 ) ); in setSuperscript() 119 uno::Reference< table::XCell> xCell( mxFont, uno::UNO_QUERY ); in getSuperscript() local 121 if ( !xCell.is() ) in getSuperscript() 142 xCell.set( xCellRange->getCellByPosition( 0,0 ) ); in getSuperscript() 152 uno::Reference< table::XCell> xCell( mxFont, uno::UNO_QUERY ); in setSubscript() local 154 if ( !xCell.is() ) in setSubscript() 171 xCell.set( xCellRange->getCellByPosition( 0,0 ) ); in setSubscript() 195 if ( !xCell.is() ) in getSubscript() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/FirstSteps/ |
H A D | FirstLoadComponent.java | 84 XCell xCell = xSpreadsheet.getCellByPosition(0, 0); in main() local 85 xCell.setValue(21); in main() 86 xCell = xSpreadsheet.getCellByPosition(0, 1); in main() 87 xCell.setValue(21); in main() 88 xCell = xSpreadsheet.getCellByPosition(0, 2); in main() 89 xCell.setFormula("=sum(A1:A2)"); in main() 92 XPropertySet.class, xCell); in main() 139 xCell = (XCell)UnoRuntime.queryInterface(XCell.class, formulaCell); in main() 141 UnoRuntime.queryInterface(XCellAddressable.class, xCell); in main() 145 + " contains " + xCell.getFormula()); in main()
|
H A D | HelloTextTableShape.java | 128 XCell xCell = xCellRange.getCellByPosition(0, 1); in useWriter() local 129 XText xCellText = (XText)UnoRuntime.queryInterface(XText.class, xCell); in useWriter() 228 XCell xCell = xSpreadsheetCells.getCellByPosition(0,1); in useCalc() local 230 XPropertySet.class, xCell); in useCalc() 233 XText xCellText = (XText)UnoRuntime.queryInterface(XText.class, xCell); in useCalc() 355 XCell xCell = xCellRange.getCellByPosition(0,0); in manipulateTable() local 356 XText xCellText = (XText)UnoRuntime.queryInterface(XText.class, xCell); in manipulateTable() 358 xCell = xCellRange.getCellByPosition(1,0); in manipulateTable() 359 xCellText = (XText)UnoRuntime.queryInterface(XText.class, xCell); in manipulateTable() 361 xCell = xCellRange.getCellByPosition(1,1); in manipulateTable() [all …]
|
/trunk/main/odk/examples/CLI/CSharp/Spreadsheet/ |
H A D | GeneralTableSample.cs | 64 unoidl.com.sun.star.table.XCell xCell = null; in doSampleFunction() 70 xCell = xSheet.getCellByPosition( 0, 0 ); in doSampleFunction() 72 xCell.setValue( 1234 ); in doSampleFunction() 75 double nDblValue = xCell.getValue() * 2; in doSampleFunction() 79 xCell = xSheet.getCellByPosition( 0, 2 ); in doSampleFunction() 81 xCell.setFormula( "=1/0" ); in doSampleFunction() 84 bool bValid = (xCell.getError() == 0); in doSampleFunction() 86 String aText = "The formula " + xCell.getFormula() + " is "; in doSampleFunction() 90 xCell = xSheet.getCellByPosition( 0, 3 ); in doSampleFunction() 92 (unoidl.com.sun.star.text.XText) xCell; in doSampleFunction() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/Spreadsheet/ |
H A D | GeneralTableSample.java | 64 com.sun.star.table.XCell xCell = null; in doSampleFunction() local 70 xCell = xSheet.getCellByPosition( 0, 0 ); in doSampleFunction() 72 xCell.setValue( 1234 ); in doSampleFunction() 75 double nDblValue = xCell.getValue() * 2; in doSampleFunction() 79 xCell = xSheet.getCellByPosition( 0, 2 ); in doSampleFunction() 81 xCell.setFormula( "=1/0" ); in doSampleFunction() 84 boolean bValid = (xCell.getError() == 0); in doSampleFunction() 86 String aText = "The formula " + xCell.getFormula() + " is "; in doSampleFunction() 90 xCell = xSheet.getCellByPosition( 0, 3 ); in doSampleFunction() 92 UnoRuntime.queryInterface( com.sun.star.text.XText.class, xCell ); in doSampleFunction() [all …]
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessibleCellBase.cxx | 129 if (xCell.is()) in getForeground() 131 uno::Reference<beans::XPropertySet> xCellProps(xCell, uno::UNO_QUERY); in getForeground() 170 if (xCell.is()) in getBackground() 172 uno::Reference<beans::XPropertySet> xCellProps(xCell, uno::UNO_QUERY); in getBackground() 370 if (xCell.is()) in GetNote() 372 uno::Reference <sheet::XSheetAnnotationAnchor> xAnnotationAnchor ( xCell, uno::UNO_QUERY); in GetNote() 418 …uno::Reference<table::XCell> xCell = xTable->getCellByPosition(maCellAddress.Col(), maCellAddress.… in getShadowAttrs() local 419 if (xCell.is()) in getShadowAttrs() 421 uno::Reference<beans::XPropertySet> xCellProps(xCell, uno::UNO_QUERY); in getShadowAttrs() 505 if (xCell.is()) in getBorderAttrs() [all …]
|
/trunk/main/connectivity/source/drivers/calc/ |
H A D | CTable.cxx | 157 CellContentType eCellType = xCell->getType(); in lcl_GetContentOrResultType() 161 Reference<XPropertySet> xProp( xCell, UNO_QUERY ); in lcl_GetContentOrResultType() 178 if ( xCell.is() && xCell->getType() == CellContentType_EMPTY ) in lcl_GetUsedCell() 201 xCell.set(xEnum->nextElement(),UNO_QUERY); in lcl_GetUsedCell() 209 return xCell; in lcl_GetUsedCell() 340 if ( xCell.is() ) in lcl_SetValue() 342 CellContentType eCellType = lcl_GetContentOrResultType( xCell ); in lcl_SetValue() 358 rValue = xCell->getValue(); // double in lcl_SetValue() 364 rValue = (sal_Bool)( xCell->getValue() != 0.0 ); in lcl_SetValue() 382 double fCellVal = xCell->getValue(); in lcl_SetValue() [all …]
|
/trunk/main/wizards/com/sun/star/wizards/report/ |
H A D | DBColumn.java | 124 XCell xCell = CurRecordTable.xCellRange.getCellByPosition(_nColumn, 0); in assignCells() local 125 XTextRange xTextCell = UnoRuntime.queryInterface(XTextRange.class, xCell); in assignCells() 127 XTextCursor xLocCellCursor = TextDocument.createTextCursor(xCell); in assignCells() 130 xNameCell = xCell; in assignCells() 170 XCell xCell; in DBColumn() local 188 xCell = xCellRange.getCellByPosition(n, m); in DBColumn() 189 xTextCell = UnoRuntime.queryInterface(XTextRange.class, xCell); in DBColumn() 191 XTextCursor xLocCellCursor = TextDocument.createTextCursor(xCell); in DBColumn() 194 xNameCell = xCell; in DBColumn() 199 xValCell = xCell; in DBColumn() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | xetable.cxx | 1874 xCell->ConvertXFIndexes( GetRoot() ); in Finalize() 1875 xCell->GetBlankXFIndexes( aXFIndexes ); in Finalize() 1988 if( xCell->IsEmpty() ) in Finalize() 2047 xCell = xPrevCell; in InsertCell() 2049 maCellList.InsertRecord( xCell, nPos++ ); in InsertCell() 2108 GetOrCreateRow( xCell->GetXclRow(), false ).AppendCell( xCell, bIsMergedBase ); in AppendCell() 2389 XclExpCellRef xCell; in XclExpCellTable() local 2434 if( !xCell ) in XclExpCellTable() 2443 xCell.reset( new XclExpLabelCell( in XclExpCellTable() 2486 if( xCell.is() ) in XclExpCellTable() [all …]
|
/trunk/test/testuno/source/fvt/uno/sc/formula/ |
H A D | TestFormulaDocs.java | 130 XCell xCell = xSheet.getCellByPosition( x, y); in testOneDoc() local 131 XText xText = (XText)UnoRuntime.queryInterface( XText.class, xCell); in testOneDoc() 153 XCell xCell = xSheet.getCellByPosition( nTestIdCol, y); in testOneDoc() local 154 XText xText = (XText)UnoRuntime.queryInterface( XText.class, xCell); in testOneDoc() 162 xCell = xSheet.getCellByPosition( nTestOkCol, y); in testOneDoc() 163 String testOk = ((XText)UnoRuntime.queryInterface( XText.class, xCell)).getString(); in testOneDoc() 167 SCUtil.setProperties( xCell, "CellBackColor", (Integer)(bOK ? 0x00FF00 : 0xFF0000)); in testOneDoc()
|
/trunk/main/sc/qa/complex/calcPreview/ |
H A D | ViewForwarder.java | 124 XCell xCell = null; in checkPositiveViewForwarder() local 132 xCell = oSheet.getCellByPosition(0, 0) ; in checkPositiveViewForwarder() 135 xCell = oSheet.getCellByPosition(0, 1) ; in checkPositiveViewForwarder() 136 xCell.setFormula("Cell 1"); in checkPositiveViewForwarder() 137 xCell = oSheet.getCellByPosition(0, 2) ; in checkPositiveViewForwarder() 138 xCell.setFormula("Cell 2"); in checkPositiveViewForwarder() 535 XCell xCell = null; in checkNegativeViewForwarder() local 547 xCell.setFormula("Cell 1"); in checkNegativeViewForwarder() 549 xCell.setFormula("Cell 2"); in checkNegativeViewForwarder() 804 XCell xCell = null; in checkPreviewHeaderCells() local [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ |
H A D | ScAccessibleDocumentPagePreview.java | 97 XCell xCell = null; in createTestEnvironment() local 109 xCell = oSheet.getCellByPosition(0, 0) ; in createTestEnvironment() 110 xCell.setFormula("ScAccessibleDocumentPagePreview - Page 2"); in createTestEnvironment() 117 xCell = oSheet.getCellByPosition(0, 0) ; in createTestEnvironment() 118 xCell.setFormula("ScAccessibleDocumentPagePreview - Page 3"); in createTestEnvironment() 126 xCell = oSheet.getCellByPosition(0, 0) ; in createTestEnvironment() 127 xCell.setFormula("ScAccessibleDocumentPagePreview"); in createTestEnvironment()
|
/trunk/main/xmloff/source/table/ |
H A D | XMLTableExport.cxx | 373 Reference< XCell > xCell( xCellRange->getCellByPosition(columnIndex, 0), UNO_QUERY_THROW ); in exportTable() local 376 Reference< XMergeableCell > xMergeableCell( xCell, UNO_QUERY_THROW ); in exportTable() 379 ExportCell( xCell, pTableInfo, sDefaultCellStyle ); in exportTable() 422 …void XMLTableExport::ExportCell( const Reference < XCell >& xCell, const boost::shared_ptr< XMLTab… in ExportCell() argument 433 Reference< XInterface > xKey( xCell, UNO_QUERY ); in ExportCell() 439 Reference< XMergeableCell > xMerge( xCell, UNO_QUERY ); in ExportCell() 468 ImpExportText( xCell ); in ExportCell() 477 void XMLTableExport::ImpExportText( const Reference< XCell >& xCell ) in ImpExportText() argument 479 Reference< XText > xText( xCell, UNO_QUERY ); in ImpExportText()
|
/trunk/test/testuno/source/fvt/uno/sc/rowcolumn/ |
H A D | CreateShowHideEditDeleteComments.java | 112 XCell xCell = xSheet.getCellByPosition(0, nRow); in testCreateEditDeleteComments() local 113 xCell.setValue(nRow); in testCreateEditDeleteComments() 117 UnoRuntime.queryInterface(XCellAddressable.class, xCell); in testCreateEditDeleteComments() 176 XCell xCell = xSheet.getCellByPosition(nColumn, nRow); in testShowHideComments() local 178 UnoRuntime.queryInterface(XCellAddressable.class, xCell); in testShowHideComments() 189 … (XSheetAnnotationAnchor) UnoRuntime.queryInterface(XSheetAnnotationAnchor.class, xCell); in testShowHideComments()
|