| /trunk/main/svx/source/table/ |
| H A D | cellcursor.cxx | 184 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( mnLeft, mnTop ).get() ) ); in GetMergedSelection() local 187 if( xCell.is() && xCell->isMerged() ) in GetMergedSelection() 191 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( mnRight, mnBottom ).get() ) ); in GetMergedSelection() 192 if( xCell.is() ) in GetMergedSelection() 194 if( xCell->isMerged() ) in GetMergedSelection() 200 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rEnd.mnCol, rEnd.mnRow ).get() ) ); in GetMergedSelection() 203 if( xCell.is() ) in GetMergedSelection() 205 rEnd.mnCol += xCell->getColumnSpan()-1; in GetMergedSelection() 206 rEnd.mnRow += xCell->getRowSpan()-1; in GetMergedSelection() 215 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in GetMergedSelection() [all …]
|
| H A D | tablemodel.cxx | 446 CellRef xCell( getCell( nColumn, nRow ) ); in getCellByPosition() local 447 if( xCell.is() ) in getCellByPosition() 448 return xCell.get(); in getCellByPosition() 657 CellRef xCell( getCell( nCol, nRow ) ); in notifyModification() local 658 fprintf( file, "<cell this=\"%lx\"", xCell.get() ); in notifyModification() 660 sal_Int32 nRowSpan = xCell->getRowSpan(); in notifyModification() 661 sal_Int32 nColSpan = xCell->getColumnSpan(); in notifyModification() 662 sal_Bool bMerged = xCell->isMerged(); in notifyModification() 721 CellRef xCell; in createCell() local 723 mpTableObj->createCell( xCell ); in createCell() [all …]
|
| H A D | tablelayouter.cxx | 89 CellRef xCell( getCell( rPos ) ); in getCellSize() local 90 if( xCell.is() && !xCell->isMerged() ) in getCellSize() 95 sal_Int32 nRowSpan = std::max( xCell->getRowSpan(), (sal_Int32)1 ); in getCellSize() 106 sal_Int32 nColSpan = std::max( xCell->getColumnSpan(), (sal_Int32)1 ); in getCellSize() 131 CellRef xCell( getCell( rPos ) ); in getCellArea() local 132 if( xCell.is() && !xCell->isMerged() && isValid(rPos) ) in getCellArea() 329 Reference< XMergeableCell > xCell( xTable->getCellByPosition( nCellX, nCellY ), UNO_QUERY ); in checkMergeOrigin() local 330 if( xCell.is() && !xCell->isMerged() ) in checkMergeOrigin() 332 const sal_Int32 nRight = xCell->getColumnSpan() + nCellX; in checkMergeOrigin() 333 const sal_Int32 nBottom = xCell->getRowSpan() + nCellY; in checkMergeOrigin() [all …]
|
| H A D | svdotable.cxx | 448 CellRef xCell( getCell( aPos ) ); in ApplyCellStyles() local 449 if( xCell.is() && ( xCell->GetStyleSheet() != pStyle ) ) in ApplyCellStyles() 452 xCell->SetStyleSheet( pStyle, sal_True ); in ApplyCellStyles() 621 CellRef xCell; in getCell() local 624 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ).get() ) ); in getCell() 630 return xCell; in getCell() 699 CellRef xCell( getCell( rPos ) ); in GetCellItem() local 700 if( xCell.is() ) in GetCellItem() 701 return xCell->GetItemSet().GetItem( nWhich ); in GetCellItem() 877 CellRef xCell( mpImpl->getCell( aPos ) ); in getPreviousCell() local [all …]
|
| H A D | tablecontroller.cxx | 875 … CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in SetTableStyle() local 876 if( xCell.is() ) in SetTableStyle() 878 SfxItemSet aSet( xCell->GetItemSet() ); in SetTableStyle() 880 const SfxItemSet& rStyleAttribs = xCell->GetStyleSheet()->GetItemSet(); in SetTableStyle() 894 xCell->AddUndo(); in SetTableStyle() 896 xCell->SetMergedItemSetAndBroadcast( aSet, sal_True ); in SetTableStyle() 996 … CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in SetVertical() local 997 if( xCell.is() ) in SetVertical() 998 xCell->SetMergedItem(aItem); in SetVertical() 1133 … CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in DeleteMarked() local [all …]
|
| H A D | accessibletableshape.cxx | 67 std::size_t operator()( const Reference< XCell >& xCell ) const in operator ()() 69 return std::size_t( xCell.get() ); in operator ()() 102 Reference< AccessibleCell > getAccessibleCell (Reference< XCell > xCell); 155 Reference< AccessibleCell > AccessibleTableShapeImpl::getAccessibleCell (Reference< XCell > xCell) in getAccessibleCell() argument 157 AccessibleCellMap::iterator iter( maChildMap.find( xCell ) ); in getAccessibleCell() 173 Reference< XCell > xCell( mxTable->getCellByPosition( nColumn, nRow ) ); in getAccessibleChild() local 174 AccessibleCellMap::iterator iter( maChildMap.find( xCell ) ); in getAccessibleChild() 183 CellRef xCellRef( dynamic_cast< Cell* >( xCell.get() ) ); in getAccessibleChild() 188 maChildMap[xCell] = xAccessibleCell; in getAccessibleChild() 247 Reference< XCell > xCell( mxTable->getCellByPosition( nCol, nRow ) ); in modified() 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 | 294 rtl::Reference< Cell > xCell( new Cell( rTableObj, pOutlinerParaObject ) ); in create() local 295 if( xCell->mxTable.is() ) in create() 297 Reference< XEventListener > xListener( xCell.get() ); in create() 298 xCell->mxTable->addEventListener( xListener ); in create() 300 return xCell; in create() 430 void Cell::cloneFrom( const CellRef& xCell ) in cloneFrom() argument 432 if( xCell.is() ) in cloneFrom() 434 replaceContentAndFormatting( xCell ); in cloneFrom() 436 mnCellContentType = xCell->mnCellContentType; in cloneFrom() 438 msFormula = xCell->msFormula; in cloneFrom() [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 | 204 XCell xCell = xSpreadsheet.getCellByPosition(column, row); in setValueToCell() local 205 xCell.setValue(value); in setValueToCell() 217 XCell xCell = xSpreadsheet.getCellByPosition(column, row); in setTextToCell() local 218 XText xText = (XText) UnoRuntime.queryInterface(XText.class, xCell); in setTextToCell() 228 public static void setTextToCell(XCell xCell, String text) throws Exception { in setTextToCell() argument 229 XText xText = (XText) UnoRuntime.queryInterface(XText.class, xCell); in setTextToCell() 242 XCell xCell = xSpreadsheet.getCellByPosition(column, row); in setFormulaToCell() local 243 xCell.setFormula(formula); in setFormulaToCell() 255 XCell xCell = xSpreadsheet.getCellByPosition(column, row); in getValueFromCell() local 256 double cellValue = xCell.getValue(); in getValueFromCell() [all …]
|
| /trunk/main/sc/workben/ |
| H A D | test.cxx | 315 XCellRef xCell = xDoc->getCell(aAdr); in lcl_OutputNames() local 316 if (!xCell) return; in lcl_OutputNames() 317 xCell->setValue( nLen ); in lcl_OutputNames() 323 xCell = xDoc->getCell(aAdr); in lcl_OutputNames() 324 if (!xCell) return; in lcl_OutputNames() 325 XTextRef xText = (XText*)xCell->queryInterface(XText::getSmartUik()); in lcl_OutputNames() 386 XCellRef xCell = xDoc->getCell(aPos); in lcl_DoCount() local 387 if ( xCell ) in lcl_DoCount() 391 double fVal = xCell->getValue(); in lcl_DoCount() 393 xCell->setValue( fVal ); in lcl_DoCount() [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() 101 uno::Reference< beans::XPropertySet > xProps = lcl_TextProperties( xCell ); 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() 143 uno::Reference< beans::XPropertySet > xProps = lcl_TextProperties( xCell ); in getSuperscript() 152 uno::Reference< table::XCell> xCell( mxFont, uno::UNO_QUERY ); in setSubscript() local 154 if ( !xCell.is() ) in setSubscript() [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 | 128 …uno::Reference<table::XCell> xCell = xTable->getCellByPosition(maCellAddress.Col(), maCellAddress.… in getForeground() local 129 if (xCell.is()) in getForeground() 131 uno::Reference<beans::XPropertySet> xCellProps(xCell, uno::UNO_QUERY); in getForeground() 169 …uno::Reference<table::XCell> xCell = xTable->getCellByPosition(maCellAddress.Col(), maCellAddress.… in getBackground() local 170 if (xCell.is()) in getBackground() 172 uno::Reference<beans::XPropertySet> xCellProps(xCell, uno::UNO_QUERY); in getBackground() 369 …uno::Reference<table::XCell> xCell = xTable->getCellByPosition(maCellAddress.Col(), maCellAddress.… in GetNote() local 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 [all …]
|
| /trunk/main/connectivity/source/drivers/calc/ |
| H A D | CTable.cxx | 154 CellContentType lcl_GetContentOrResultType( const Reference<XCell>& xCell ) in lcl_GetContentOrResultType() argument 157 CellContentType eCellType = xCell->getType(); in lcl_GetContentOrResultType() 161 Reference<XPropertySet> xProp( xCell, UNO_QUERY ); in lcl_GetContentOrResultType() 177 Reference<XCell> xCell = xSheet->getCellByPosition( nDocColumn, nDocRow ); in lcl_GetUsedCell() local 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() 339 const Reference<XCell> xCell = xSheet->getCellByPosition( nDocColumn, nDocRow ); in lcl_SetValue() local 340 if ( xCell.is() ) in lcl_SetValue() 342 CellContentType eCellType = lcl_GetContentOrResultType( xCell ); 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 | 1853 void XclExpRow::AppendCell( XclExpCellRef xCell, bool bIsMergedBase ) in AppendCell() argument 1857 InsertCell( xCell, maCellList.GetSize(), bIsMergedBase ); in AppendCell() 1873 XclExpCellRef xCell = maCellList.GetRecord( nPos ); in Finalize() local 1874 xCell->ConvertXFIndexes( GetRoot() ); in Finalize() 1875 xCell->GetBlankXFIndexes( aXFIndexes ); in Finalize() 1986 XclExpCellRef xCell = maCellList.GetRecord( nPos ); in Finalize() local 1987 xCell->RemoveUnusedBlankCells( aXFIndexes ); in Finalize() 1988 if( xCell->IsEmpty() ) in Finalize() 2034 void XclExpRow::InsertCell( XclExpCellRef xCell, size_t nPos, bool bIsMergedBase ) in InsertCell() argument 2036 DBG_ASSERT( xCell.is(), "XclExpRow::InsertCell - missing cell" ); in InsertCell() [all …]
|
| /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() 133 xCell.setFormula("ScAccessiblePageHeader"); 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 543 xCell = oSheet.getCellByPosition(0, 0) ; in checkNegativeViewForwarder() 544 xCell.setFormula("ScAccessiblePageHeader"); in checkNegativeViewForwarder() [all …]
|
| /trunk/test/testuno/source/fvt/uno/sc/formula/ |
| H A D | TestFormulaDocs.java | 115 XCell xCell = xSheet.getCellByPosition( x, y); in testOneDoc() local 116 XText xText = (XText)UnoRuntime.queryInterface( XText.class, xCell); in testOneDoc() 138 XCell xCell = xSheet.getCellByPosition( nTestIdCol, y); in testOneDoc() local 139 XText xText = (XText)UnoRuntime.queryInterface( XText.class, xCell); in testOneDoc() 147 xCell = xSheet.getCellByPosition( nTestOkCol, y); in testOneDoc() 148 String testOk = ((XText)UnoRuntime.queryInterface( XText.class, xCell)).getString(); in testOneDoc() 152 SCUtil.setProperties( xCell, "CellBackColor", (Integer)(bOK ? 0x00FF00 : 0xFF0000)); in testOneDoc()
|
| /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/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/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()
|