Lines Matching refs:xCell
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()
351 const Reference<XText> xText( xCell, UNO_QUERY ); in lcl_SetValue()
358 rValue = xCell->getValue(); // double in lcl_SetValue()
364 rValue = (sal_Bool)( xCell->getValue() != 0.0 ); in lcl_SetValue()
372 aDate += (long)::rtl::math::approxFloor( xCell->getValue() ); in lcl_SetValue()
382 double fCellVal = xCell->getValue(); in lcl_SetValue()
404 double fCellVal = xCell->getValue(); in lcl_SetValue()