/trunk/main/sc/source/ui/vba/ |
H A D | vbarange.cxx | 243 return xRange; in lcl_makeXRangeFromSheetCellRanges() 1389 aParam >>= xRange; in getCellRangeAddressForVBARange() 1390 if ( xRange.is() ) in getCellRangeAddressForVBARange() 1449 if ( !xRange.is() ) in ScVbaRange() 2509 xRange->getColumn()-1,xRange->getRow()-1), uno::UNO_QUERY); in Cut() 3859 return xRange; in getArea() 4170 if ( xRange.is() ) in ApplicationRange() 4693 xRange->Autofit(); in Autofit() 5285 return xRange; in Item() 5525 xRange = xRange->SpecialCells( _oType, _oValue); in SpecialCells() [all …]
|
H A D | vbapagebreaks.cxx | 49 return xRange->getColumn() - 1; in getAPIStartofRange() 50 return xRange->getRow() - 1; in getAPIStartofRange() 56 return nUsedStart + xRange->Columns( uno::Any() )->getCount(); in getAPIEndIndexofRange() 57 return nUsedStart + xRange->Rows( uno::Any() )->getCount(); in getAPIEndIndexofRange() 106 sal_Int32 nUsedStart = getAPIStartofRange( xRange ); in getCount() 107 sal_Int32 nUsedEnd = getAPIEndIndexofRange( xRange, nUsedStart ); in getCount() 147 sal_Int32 nUsedStart = getAPIStartofRange( xRange ); in getTablePageBreakData() 169 uno::Reference< excel::XRange > xRange; in Add() local 170 Before >>= xRange; in Add() 171 if( !xRange.is() ) in Add() [all …]
|
H A D | vbanames.cxx | 100 uno::Reference< excel::XRange > xRange; in Add() local 125 RefersTo >>= xRange; in Add() 127 RefersToR1C1 >>= xRange; in Add() 129 RefersToR1C1Local >>= xRange; in Add() 132 if ( xRange.is() ) in Add() 134 ScVbaRange* pRange = dynamic_cast< ScVbaRange* >( xRange.get() ); in Add() 143 String sRangeAdd = xRange->Address( xAny2, xAny2 , xAny2 , xAny2, xAny2 ); in Add() 146 sTmp += UniString(xRange->getWorksheet()->getName()); in Add()
|
H A D | excelvbahelper.cxx | 43 ScDocShell* GetDocShellFromRange( const uno::Reference< uno::XInterface >& xRange ) throw ( uno::Ru… in GetDocShellFromRange() argument 45 ScCellRangesBase* pScCellRangesBase = ScCellRangesBase::getImplementation( xRange ); in GetDocShellFromRange() 53 ScDocument* GetDocumentFromRange( const uno::Reference< uno::XInterface >& xRange ) throw ( uno::Ru… in GetDocumentFromRange() argument 55 ScDocShell* pDocShell = GetDocShellFromRange( xRange ); in GetDocumentFromRange() 261 getUnoSheetModuleObj( const uno::Reference< table::XCellRange >& xRange ) throw ( uno::RuntimeExcep… in getUnoSheetModuleObj() argument 263 uno::Reference< sheet::XSheetCellRange > xSheetRange( xRange, uno::UNO_QUERY_THROW ); in getUnoSheetModuleObj() 273 uno::Reference< table::XCellRange > xRange( xEnum->nextElement(), uno::UNO_QUERY_THROW ); in getUnoSheetModuleObj() local 274 return getUnoSheetModuleObj( xRange ); in getUnoSheetModuleObj()
|
H A D | vbaworksheet.cxx | 380 uno::Reference< table::XCellRange > xRange( xSheetCellCursor, uno::UNO_QUERY); in getUsedRange() local 381 return new ScVbaRange(this, mxContext, xRange); in getUsedRange() 481 if (xRange.is()) in Move() 482 xRange->Select(); in Move() 516 if (xRange.is()) in Copy() 517 xRange->Select(); in Copy() 546 uno::Reference<excel::XRange> xRange( Destination, uno::UNO_QUERY ); in Paste() local 547 if ( xRange.is() ) in Paste() 548 xRange->Select(); in Paste() 647 uno::Reference< table::XCellRange > xRange( getSheet(),uno::UNO_QUERY_THROW ); in getSheetRange() local [all …]
|
H A D | vbaapplication.cxx | 255 …uno::Reference< table::XCellRange > xRange( getCurrentDocument()->getCurrentSelection(), ::uno::UN… in getSelection() local 256 if ( !xRange.is() ) in getSelection() 263 …ce< excel::XRange >(new ScVbaRange( excel::getUnoSheetModuleObj( xRange ), mxContext, xRange ) ) ); in getSelection() 275 uno::Reference< table::XCellRange > xRange( xView->getActiveSheet(), ::uno::UNO_QUERY_THROW); in getActiveCell() local 287 …return new ScVbaRange( excel::getUnoSheetModuleObj( xRange ), mxContext, xRange->getCellRangeByPos… in getActiveCell() 573 uno::Reference< excel::XRange > xRange; in GoTo() local 574 if( Reference >>= xRange ) in GoTo() 794 uno::Reference< excel::XRange > xRange( rArg, uno::UNO_QUERY_THROW ); in lclAddToListOfScRange() local 795 uno::Reference< XCollection > xCol( xRange->Areas( uno::Any() ), uno::UNO_QUERY_THROW ); in lclAddToListOfScRange() 944 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pDocShell, *aCellRanges.First() ) … in lclCreateVbaRange() local [all …]
|
H A D | vbaborders.cxx | 325 …table::XCellRange >& xRange, const uno::Reference< uno::XComponentContext > & xContext, ScVbaPale… in RangeBorders() argument 355 rangeToBorderIndexAccess( const uno::Reference< table::XCellRange >& xRange, const uno::Reference<… in rangeToBorderIndexAccess() argument 357 return new RangeBorders( xRange, xContext, rPalette ); in rangeToBorderIndexAccess() 379 …< table::XCellRange >& xRange, ScVbaPalette& rPalette ): ScVbaBorders_BASE( xParent, xContext, r… in ScVbaBorders() argument 381 uno::Reference< table::XColumnRowRange > xColumnRowRange(xRange, uno::UNO_QUERY_THROW ); in ScVbaBorders() 384 m_xProps.set( xRange, uno::UNO_QUERY_THROW ); in ScVbaBorders()
|
H A D | vbacomment.cxx | 48 … const uno::Reference< table::XCellRange >& xRange ) throw( lang::IllegalArgumentException ) : in ScVbaComment() 51 mxRange( xRange ) in ScVbaComment() 53 if ( !xRange.is() ) in ScVbaComment() 203 uno::Reference< text::XTextRange > xRange( xTextCursor, uno::UNO_QUERY_THROW ); in Text() local 204 xAnnoText->insertString( xRange, sText, bOverwrite ); in Text()
|
H A D | excelvbahelper.hxx | 54 …tUnoSheetModuleObj( const css::uno::Reference< css::table::XCellRange >& xRange ) throw ( css::uno… 58 ScDocShell* GetDocShellFromRange( const css::uno::Reference< css::uno::XInterface >& xRange ) throw… 59 ScDocument* GetDocumentFromRange( const css::uno::Reference< css::uno::XInterface >& xRange ) throw… 60 … > GetModelFromRange( const css::uno::Reference< css::uno::XInterface >& xRange ) throw ( css::uno…
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbarangehelper.cxx | 43 uno::Reference< text::XTextRange > xRange; in getRangeByPosition() local 50 while( !xRange.is() && bCanGo ) in getRangeByPosition() 54 xRange = xCursor->getStart(); in getRangeByPosition() 63 return xRange; in getRangeByPosition() 71 uno::Reference< text::XTextRange > xRange = rTextRange; in insertString() local 75 xRange = xRange->getEnd(); in insertString() 78 … rText->insertString( xRange, rStr.copy( nlastIndex, ( nIndex - 1 - nlastIndex ) ), _bAbsorb ); in insertString() 79 xRange = xRange->getEnd(); in insertString() 82 rText->insertControlCharacter( xRange, text::ControlCharacter::PARAGRAPH_BREAK, _bAbsorb ); in insertString() 88 xRange = xRange->getEnd(); in insertString() [all …]
|
H A D | vbaborders.cxx | 261 … table::XCellRange >& xRange, const uno::Reference< uno::XComponentContext > & xContext, VbaPalet… in RangeBorders() argument 291 rangeToBorderIndexAccess( const uno::Reference< table::XCellRange >& xRange, const uno::Reference<… in rangeToBorderIndexAccess() argument 293 return new RangeBorders( xRange, xContext, rPalette ); in rangeToBorderIndexAccess() 316 …e< table::XCellRange >& xRange, VbaPalette& rPalette ): SwVbaBorders_BASE( xParent, xContext, ra… in SwVbaBorders() argument 318 m_xProps.set( xRange, uno::UNO_QUERY_THROW ); in SwVbaBorders()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | textuno.cxx | 443 pUnoText->insertString( xRange, aString, bAbsorb ); in insertString() 464 if ( xContent.is() && xRange.is() ) in insertTextContent() 469 ScHeaderFooterTextCursor::getImplementation( xRange ); in insertTextContent() 583 const uno::Reference<text::XTextRange>& xRange, in moveTextRange() argument 590 pUnoText->moveTextRange( xRange, nParagraphs ); in moveTextRange() 665 return xRange; in getStart() 682 return xRange; in getEnd() 769 return xRange; in getStart() 786 return xRange; in getEnd() 873 return xRange; in getStart() [all …]
|
H A D | nameuno.cxx | 803 uno::Reference< sheet::XNamedRange2 > xRange(GetObjectByIndex_Impl((sal_uInt16)nIndex)); in getByIndex() local 804 if ( xRange.is() ) in getByIndex() 805 return uno::makeAny(xRange); in getByIndex() 828 uno::Reference< sheet::XNamedRange2 > xRange(GetObjectByName_Impl(aName)); in getByName() local 829 if ( xRange.is() ) in getByName() 830 return uno::makeAny(xRange); in getByName() 842 if ( xRange.is() ) in getByScopeName() 843 return uno::makeAny(xRange); in getByScopeName() 1291 uno::Reference< sheet::XLabelRange > xRange(GetObjectByIndex_Impl((sal_uInt16)nIndex)); in getByIndex() local 1292 if ( xRange.is() ) in getByIndex() [all …]
|
H A D | notesuno.cxx | 156 void SAL_CALL ScAnnotationObj::insertString( const uno::Reference<text::XTextRange>& xRange, in insertString() argument 161 GetUnoText().insertString( xRange, aString, bAbsorb ); in insertString() 164 …d SAL_CALL ScAnnotationObj::insertControlCharacter( const uno::Reference<text::XTextRange>& xRange, in insertControlCharacter() argument 169 GetUnoText().insertControlCharacter( xRange, nControlCharacter, bAbsorb ); in insertControlCharacter()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unosrch.cxx | 156 while( xRange.is() ) in replaceAll() 158 xFound = Search( xRange, pDescr ); in replaceAll() 163 xRange = xFound->getEnd(); in replaceAll() 258 while( xRange.is() ) in findAll() 273 xRange = xFound->getEnd(); in findAll() 324 if( xRange.is() ) in findFirst() 325 return findNext( xRange, xDesc ); in findFirst() 363 if(pDescr && xRange.is() ) in findNext() 370 while(!xFound.is() && xRange.is()) in findNext() 376 xRange = NULL; in findNext() [all …]
|
/trunk/main/sc/workben/ |
H A D | test.cxx | 629 if (xRange) in lcl_Cells() 680 if (!xRange) return; in lcl_Sheet() 751 if (!xRange) return; in lcl_Names() 815 XCellRangeRef xRange; in lcl_TabOp() local 842 if (!xRange) return; in lcl_TabOp() 866 if (!xRange) return; in lcl_TabOp() 890 if (!xRange) return; in lcl_TabOp() 1033 if (!xRange) return; in lcl_Filter() 1104 if (!xRange) return; in lcl_Outline() 1554 if (!xRange) return; in lcl_Pivot() [all …]
|
/trunk/main/oox/source/xls/ |
H A D | richstring.cxx | 94 Reference< XTextRange > xRange; in convert() local 96 xRange.set( rxText, UNO_QUERY ); in convert() 98 xRange = rxText->getEnd(); in convert() 99 OSL_ENSURE( xRange.is(), "RichStringPortion::convert - cannot get text range interface" ); in convert() 101 if( xRange.is() ) in convert() 103 xRange->setString( maText ); in convert() 106 PropertySet aPropSet( xRange ); in convert() 114 PropertySet aPropSet( xRange ); in convert()
|
H A D | worksheethelper.cxx | 491 Reference< XCellRange > xRange; in getCellRange() local 494 …xRange = mxSheet->getCellRangeByPosition( rRange.StartColumn, rRange.StartRow, rRange.EndColumn, r… in getCellRange() 499 return xRange; in getCellRange() 553 …Reference< XColumnRowRange > xRange( getCellRange( CellRangeAddress( getSheetIndex(), rColRange.mn… in getColumns() local 554 if( xRange.is() ) in getColumns() 555 xColumns = xRange->getColumns(); in getColumns() 566 …Reference< XColumnRowRange > xRange( getCellRange( CellRangeAddress( getSheetIndex(), 0, rRowRange… in getRows() local 567 if( xRange.is() ) in getRows() 568 xRows = xRange->getRows(); in getRows() 1035 … Reference< XTextRange > xRange( xText->createTextCursor(), UNO_QUERY_THROW ); in insertHyperlink() local [all …]
|
/trunk/main/offapi/com/sun/star/text/ |
H A D | XSimpleText.idl | 99 @param xRange 112 specifies whether the text spanned by <var>xRange</var> will be 113 replaced. If <TRUE/> then the content of <var>xRange</var> will 115 will be inserted at the beginning of <var>xRange</var>. 127 [oneway] void insertString( [in] com::sun::star::text::XTextRange xRange, 136 void insertControlCharacter( [in] com::sun::star::text::XTextRange xRange,
|
H A D | XText.idl | 69 @param xRange 76 specifies whether the text spanned by <var>xRange</var> will be 77 replaced. If <TRUE/> then the content of <var>xRange</var> will 79 will be inserted at the end of <var>xRange</var>. 81 void insertTextContent( [in] com::sun::star::text::XTextRange xRange,
|
/trunk/main/sw/source/filter/xml/ |
H A D | XMLRedlineImportHelper.cxx | 100 Reference<XTextRange> xRange; member in XTextRangeOrNodeIndexPosition 118 xRange(NULL), in XTextRangeOrNodeIndexPosition() 130 xRange = rRange->getStart(); // set bookmark in Set() 145 xRange = NULL; in Set() 184 ::sw::XTextRangeToSwPaM(aUnoPaM, xRange); in CopyPositionInto() 201 return (NULL != pIndex) ? pIndex->GetNodes().GetDoc() : lcl_GetDocViaTunnel(xRange); in GetDoc() 206 return ( xRange.is() || (pIndex != NULL) ); in IsValid()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/table/ |
H A D | _XTableColumns.java | 330 private void fillRange(XCellRange xRange) in fillRange() argument 334 setCellText(xRange.getCellByPosition(i, 0), "" + i + "a"); in fillRange() 335 setCellText(xRange.getCellByPosition(i, 1), "" + i + "b"); in fillRange() 339 setCellText(xRange.getCellByPosition(i, 0), ""); in fillRange() 340 setCellText(xRange.getCellByPosition(i, 1), ""); in fillRange()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unoflatpara.cxx | 123 …Int32 nType, const ::rtl::OUString & aIdentifier, const uno::Reference< text::XTextRange> & xRange, in commitTextRangeMarkup() argument 127 SwXTextMarkup::commitTextRangeMarkup( nType, aIdentifier, xRange, xMarkupInfoContainer ); in commitTextRangeMarkup() 226 const uno::Reference< text::XTextRange > xRange = in changeText() local 229 uno::Reference< beans::XPropertySet > xPropSet( xRange, uno::UNO_QUERY ); in changeText() 256 const uno::Reference< text::XTextRange > xRange = in changeAttributes() local 259 uno::Reference< beans::XPropertySet > xPropSet( xRange, uno::UNO_QUERY ); in changeAttributes()
|
/trunk/main/connectivity/source/drivers/calc/ |
H A D | CDatabaseMetaData.cxx | 339 Reference<XCellRangeAddressable> xRange( xCursor, UNO_QUERY ); in lcl_IsEmptyOrHidden() local 340 if ( xRange.is() ) in lcl_IsEmptyOrHidden() 345 CellRangeAddress aRangeAddr = xRange->getRangeAddress(); in lcl_IsEmptyOrHidden() 365 Reference<XDatabaseRange> xRange; in lcl_IsUnnamed() local 366 if ( aAny >>= xRange ) in lcl_IsUnnamed() 368 Reference<XPropertySet> xRangeProp( xRange, UNO_QUERY ); in lcl_IsUnnamed()
|
/trunk/main/editeng/source/uno/ |
H A D | unotext2.cxx | 455 uno::Reference< text::XTextRange > xRange; in nextElement() local 475 xRange = pRange; in nextElement() 479 return uno::makeAny( xRange ); in nextElement() 636 void SAL_CALL SvxUnoTextCursor::gotoRange( const uno::Reference< text::XTextRange >& xRange, sal_Bo… in gotoRange() argument 639 if( !xRange.is() ) in gotoRange() 642 SvxUnoTextRangeBase* pRange = SvxUnoTextRangeBase::getImplementation( xRange ); in gotoRange()
|