/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/text/ |
H A D | _XTextRangeMover.java | 53 XTextRange xTextRange = null; field in _XTextRangeMover 64 xTextRange = (XTextRange) tEnv.getObjRelation("XTextRange"); in _moveTextRange() 71 if (xTextRange == null) { in _moveTextRange() 77 log.println(xTextRange.getString()); in _moveTextRange() 80 int indexBefore = xTextRange.getString().indexOf(oMoveRange.getString()); in _moveTextRange() 83 log.println(xTextRange.getString()); in _moveTextRange() 84 int indexAfter = xTextRange.getString().indexOf(oMoveRange.getString()); in _moveTextRange()
|
/trunk/main/scripting/examples/python/ |
H A D | Capitalise.py | 55 xTextRange = xIndexAccess.getByIndex(i); 57 theString = xTextRange.getString(); 61 xText = xTextRange.getText(); 62 xWordCursor = xText.createTextCursorByRange(xTextRange); 75 xTextRange.setString(newString); 76 xSelectionSupplier.select(xTextRange);
|
/trunk/test/testuno/source/testlib/uno/ |
H A D | ShapeUtil.java | 97 XTextRange xTextRange = (XTextRange) UnoRuntime.queryInterface( in addPortion() local 99 xTextRange.setString(sText); in addPortion() 102 XPropertySet.class, xTextRange); in addPortion() 120 XTextRange xTextRange = (XTextRange)UnoRuntime.queryInterface(XTextRange.class, aPortionObj); in getPortion() local 123 XPropertySet.class, xTextRange); in getPortion() 142 XTextRange xTextRange = (XTextRange) UnoRuntime.queryInterface( in getPortion() local 144 text = xTextRange.getString(); in getPortion()
|
/trunk/main/scripting/examples/beanshell/Capitalise/ |
H A D | capitalise.bsh | 57 xTextRange = (XTextRange) 59 System.out.println("string: "+xTextRange.getString()); 61 theString = xTextRange.getString(); 66 UnoRuntime.queryInterface(XText.class, xTextRange.getText()); 68 … UnoRuntime.queryInterface(XWordCursor.class, xText.createTextCursorByRange(xTextRange)); 91 xTextRange.setString(newString); 93 xSelectionSupplier.select(xTextRange);
|
/trunk/main/sw/source/core/unocore/ |
H A D | unobkm.cxx | 204 const uno::Reference< text::XTextRange > & xTextRange, in attachToRangeEx() 214 xTextRange, uno::UNO_QUERY); in attachToRangeEx() 233 ::sw::XTextRangeToSwPaM(aPam, xTextRange); in attachToRangeEx() 263 void SwXBookmark::attachToRange( const uno::Reference< text::XTextRange > & xTextRange ) in attachToRange() argument 266 attachToRangeEx(xTextRange, IDocumentMarkAccess::BOOKMARK); in attachToRange() 269 void SAL_CALL SwXBookmark::attach( const uno::Reference< text::XTextRange > & xTextRange ) in attach() argument 273 attachToRange( xTextRange ); in attach() 649 void SwXFieldmark::attachToRange( const uno::Reference < text::XTextRange >& xTextRange ) in attachToRange() argument 652 attachToRangeEx( xTextRange, in attachToRange()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbaview.cxx | 375 uno::Reference< text::XTextRange > xTextRange = getFirstObjectPosition( xText ); in getHFTextRange() local 376 return xTextRange; in getHFTextRange() 382 uno::Reference< text::XTextRange > xTextRange; in getFirstObjectPosition() local 392 xTextRange = xFirstCellText->getStart(); in getFirstObjectPosition() 395 if( !xTextRange.is() ) in getFirstObjectPosition() 396 xTextRange = xText->getStart(); in getFirstObjectPosition() 397 return xTextRange; in getFirstObjectPosition()
|
H A D | vbarange.cxx | 80 uno::Reference< text::XTextRange > xTextRange( mxTextCursor, uno::UNO_QUERY_THROW ); in getXTextRange() local 81 return xTextRange; in getXTextRange() 203 uno::Reference< text::XTextRange > xTextRange = mxTextCursor->getStart(); in InsertParagraphBefore() local 204 mxText->insertControlCharacter( xTextRange, text::ControlCharacter::PARAGRAPH_BREAK, sal_True ); in InsertParagraphBefore() 205 mxTextCursor->gotoRange( xTextRange, sal_True ); in InsertParagraphBefore() 211 uno::Reference< text::XTextRange > xTextRange = mxTextCursor->getEnd(); in InsertParagraphAfter() local 212 mxText->insertControlCharacter( xTextRange, text::ControlCharacter::PARAGRAPH_BREAK, sal_True ); in InsertParagraphAfter()
|
H A D | vbaselection.cxx | 70 uno::Reference< text::XTextRange > xTextRange; in GetSelectedRange() local 78 … xTextRange.set( xTextRanges->getByIndex( xTextRanges->getCount()-1 ), uno::UNO_QUERY_THROW ); in GetSelectedRange() 85 return xTextRange; in GetSelectedRange() 91 uno::Reference< text::XTextRange > xTextRange = GetSelectedRange(); in getRange() local 93 …ord::XRange >( new SwVbaRange( this, mxContext, xDocument, xTextRange->getStart(), xTextRange->get… in getRange() 417 uno::Reference< text::XTextRange > xTextRange = GetSelectedRange(); in getFind() local 418 return uno::Reference< word::XFind >( new SwVbaFind( this, mxContext, mxModel, xTextRange ) ); in getFind()
|
H A D | vbabookmark.cxx | 83 … uno::Reference< text::XTextRange > xTextRange( xTextContent->getAnchor(), uno::UNO_QUERY_THROW ); in Range() local 84 …new SwVbaRange( this, mxContext, xTextDocument, xTextRange->getStart(), xTextRange->getEnd(), xTex… in Range()
|
H A D | vbaautotextentry.cxx | 45 uno::Reference< text::XTextRange > xTextRange = pWhere->getXTextRange(); in Insert() local 46 xTextRange->setString( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("x") ) ); // set marker in Insert() 47 uno::Reference< text::XTextRange > xEndMarker = xTextRange->getEnd(); in Insert() 51 …uno::Reference< text::XTextCursor > xTC = xText->createTextCursorByRange( xTextRange->getStart() ); in Insert()
|
H A D | vbaparagraph.cxx | 32 …:XTextDocument >& xDocument, const uno::Reference< text::XTextRange >& xTextRange ) throw ( uno::R… in SwVbaParagraph() argument 33 SwVbaParagraph_BASE( rParent, rContext ), mxTextDocument( xDocument ), mxTextRange( xTextRange ) in SwVbaParagraph() 149 uno::Reference< text::XTextRange > xTextRange( aSource, uno::UNO_QUERY_THROW ); in createCollectionObject() local 150 …ference< word::XParagraph >( new SwVbaParagraph( this, mxContext, mxTextDocument, xTextRange ) ) ); in createCollectionObject()
|
H A D | vbafind.cxx | 35 …ce< frame::XModel >& xModel, const uno::Reference< text::XTextRange >& xTextRange ) throw ( uno::R… in SwVbaFind() argument 36 …SwVbaFind_BASE( rParent, rContext ), mxModel( xModel ), mxTextRange( xTextRange ), mbReplace( sal_… in SwVbaFind() 163 …uno::Reference< text::XTextRange > xTextRange( xIndexAccess->getByIndex( i ), uno::UNO_QUERY_THROW… in SearchReplace() local 164 …ord::WdFindWrap::wdFindContinue || mnWrap == word::WdFindWrap::wdFindAsk || InRange( xTextRange ) ) in SearchReplace() 166 xTextRange->setString( GetReplaceWith() ); in SearchReplace()
|
H A D | vbabookmarks.cxx | 159 uno::Reference< text::XTextRange > xTextRange; in Add() local 165 xTextRange = pRange->getXTextRange(); in Add() 170 xTextRange.set( word::getXTextViewCursor( mxModel ), uno::UNO_QUERY_THROW ); in Add() 179 addBookmarkByName( aName, xTextRange ); in Add()
|
H A D | vbatables.cxx | 95 uno::Reference< text::XTextRange > xTextRange = pVbaRange->getXTextRange(); in Add() local 105 uno::Reference< text::XText > xText = xTextRange->getText(); in Add() 108 xText->insertTextContent( xTextRange, xContext, true ); in Add()
|
/trunk/main/odk/examples/java/Text/ |
H A D | HardFormatting.java | 70 com.sun.star.text.XTextRange xTextRange = null; in main() local 75 xTextRange = xText.getEnd(); in main() 78 com.sun.star.beans.XPropertySet.class, xTextRange); in main() 84 com.sun.star.text.XParagraphCursor.class, xTextRange); in main() 88 xTextRange = xParagraphCursor.getText().getStart(); in main() 93 com.sun.star.text.XWordCursor.class, xTextRange); in main()
|
H A D | StyleInitialization.java | 88 com.sun.star.text.XTextRange xTextRange = null; in main() local 92 xTextRange = xText.getEnd(); in main() 95 com.sun.star.beans.XPropertySet.class, xTextRange ); in main() 112 com.sun.star.text.XParagraphCursor.class, xTextRange ); in main() 208 com.sun.star.beans.XPropertySet.class, xTextRange ); in main()
|
H A D | WriterSelector.java | 109 com.sun.star.text.XTextRange xTextRange = null; in main() local 111 xTextRange = (com.sun.star.text.XTextRange) in main() 117 + xTextRange.getString() + "\"." ); in main()
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | FormControlHelper.cxx | 151 bool FormControlHelper::createCheckbox(uno::Reference<text::XTextRange> xTextRange, in createCheckbox() argument 177 uno::Reference<beans::XPropertySet> xTextRangeProps(xTextRange, uno::UNO_QUERY); in createCheckbox() 218 bool FormControlHelper::insertControl(uno::Reference<text::XTextRange> xTextRange) in insertControl() argument 250 bCreated = createCheckbox(xTextRange, sControlName); in insertControl() 292 aAny <<= xTextRange; in insertControl()
|
/trunk/main/wizards/com/sun/star/wizards/agenda/ |
H A D | AgendaTemplate.java | 1241 XTextRange xTextRange = UnoRuntime.queryInterface(XTextRange.class, cell); in Topics() local 1243 AgendaElement ae = new TextElement(xTextRange); in Topics() 1250 topicItems.put(xTextRange.getString().toLowerCase().trim(), ae); in Topics() 1803 XTextRange xTextRange = UnoRuntime.queryInterface(XTextRange.class, textRange); in write() local 1807 xTextRange.getText().insertTextContent(xTextRange.getStart(), xTextContent, true); in write() 1845 XTextRange xTextRange = UnoRuntime.queryInterface(XTextRange.class, textRange); in write() local 1849 xTextRange.getText().insertTextContent(xTextRange.getStart(), xTextContent, true); in write()
|
/trunk/main/chart2/source/view/main/ |
H A D | VTitle.cxx | 141 uno::Reference< text::XTextRange > xTextRange( xTextCursor, uno::UNO_QUERY ); in createShapes() local 144 …if( !xText.is() || !xTextRange.is() || !xTextCursor.is() || !xShapeProp.is() || !xTitleProperties.… in createShapes() 204 xText->insertString( xTextRange, aLabel, false ); in createShapes() 227 xText->insertString( xTextRange, aStringList[nN]->getString(), false ); in createShapes()
|
/trunk/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | ShapeHelper.java | 98 XTextRange xTextRange = (XTextRange) in addPortion() local 100 xTextRange.setString( sText ); in addPortion() 103 UnoRuntime.queryInterface( XPropertySet.class, xTextRange ); in addPortion()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | fielduno.cxx | 624 void SAL_CALL ScCellFieldObj::attach( const uno::Reference<text::XTextRange>& xTextRange ) in attach() argument 628 if (xTextRange.is()) in attach() 630 uno::Reference<text::XText> xText(xTextRange->getText()); in attach() 633 xText->insertTextContent( xTextRange, this, sal_True ); in attach() 1318 void SAL_CALL ScHeaderFieldObj::attach( const uno::Reference<text::XTextRange>& xTextRange ) in attach() argument 1322 if (xTextRange.is()) in attach() 1324 uno::Reference<text::XText> xText(xTextRange->getText()); in attach() 1327 xText->insertTextContent( xTextRange, this, sal_True ); in attach()
|
/trunk/main/sw/inc/ |
H A D | unobookmark.hxx | 67 ::com::sun::star::text::XTextRange > & xTextRange, 73 ::com::sun::star::text::XTextRange > & xTextRange) 189 ::com::sun::star::text::XTextRange > & xTextRange) 256 ::com::sun::star::text::XTextRange > & xTextRange)
|
/trunk/main/scripting/examples/beanshell/WordCount/ |
H A D | wordcount.bsh | 58 xTextRange = (XTextRange) 60 //System.out.println("string: "+xTextRange.getString()); 63 strTok = new StringTokenizer(xTextRange.getString());
|
/trunk/test/testuno/source/fvt/uno/sd/paragraph/ |
H A D | ParagraphTextProperty.java | 124 XTextRange xTextRange = (XTextRange)UnoRuntime.queryInterface(XTextRange.class, xTextCursor); in addPortion() local 125 xTextRange.setString(sText); in addPortion() 127 … XPropertySet xPropSet = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xTextRange); in addPortion()
|