Home
last modified time | relevance | path

Searched refs:xTextRange (Results 1 – 25 of 99) sorted by relevance

1234

/aoo41x/main/qadevOOo/tests/java/ifc/text/
H A D_XTextRangeMover.java53 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()
/aoo41x/main/scripting/examples/python/
H A DCapitalise.py55 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);
/aoo41x/test/testuno/source/testlib/uno/
H A DShapeUtil.java97 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()
/aoo41x/main/scripting/examples/beanshell/Capitalise/
H A Dcapitalise.bsh57 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);
/aoo41x/main/sw/source/core/unocore/
H A Dunobkm.cxx204 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()
/aoo41x/main/odk/examples/java/Text/
H A DHardFormatting.java70 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 DStyleInitialization.java88 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 DWriterSelector.java109 com.sun.star.text.XTextRange xTextRange = null; in main() local
111 xTextRange = (com.sun.star.text.XTextRange) in main()
117 + xTextRange.getString() + "\"." ); in main()
/aoo41x/main/sw/source/ui/vba/
H A Dvbaview.cxx375 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 Dvbarange.cxx80 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 Dvbaselection.cxx70 uno::Reference< text::XTextRange > xTextRange; in GetSelectedRange() local
78xTextRange.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 Dvbabookmark.cxx83 … 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 Dvbaautotextentry.cxx45 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 Dvbaparagraph.cxx32 …: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 Dvbafind.cxx35 …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 Dvbabookmarks.cxx159 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 Dvbatables.cxx95 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()
/aoo41x/main/writerfilter/source/dmapper/
H A DFormControlHelper.cxx151 bool FormControlHelper::createCheckbox(uno::Reference<text::XTextRange> xTextRange, in createCheckbox() argument
177 uno::Reference<beans::XPropertySet> xTextRangeProps(xTextRange, uno::UNO_QUERY); in createCheckbox()
217 bool FormControlHelper::insertControl(uno::Reference<text::XTextRange> xTextRange) in insertControl() argument
249 bCreated = createCheckbox(xTextRange, sControlName); in insertControl()
291 aAny <<= xTextRange; in insertControl()
/aoo41x/main/wizards/com/sun/star/wizards/agenda/
H A DAgendaTemplate.java1241 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()
/aoo41x/main/chart2/source/view/main/
H A DVTitle.cxx141 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()
/aoo41x/main/odk/examples/DevelopersGuide/Drawing/
H A DShapeHelper.java98 XTextRange xTextRange = (XTextRange) in addPortion() local
100 xTextRange.setString( sText ); in addPortion()
103 UnoRuntime.queryInterface( XPropertySet.class, xTextRange ); in addPortion()
/aoo41x/main/scripting/examples/beanshell/WordCount/
H A Dwordcount.bsh57 xTextRange = (XTextRange)
59 //System.out.println("string: "+xTextRange.getString());
62 strTok = new StringTokenizer(xTextRange.getString());
/aoo41x/main/sw/inc/
H A Dunobookmark.hxx67 ::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)
/aoo41x/main/sc/source/ui/unoobj/
H A Dfielduno.cxx624 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()
/aoo41x/test/testuno/source/fvt/uno/sd/paragraph/
H A DParagraphTextProperty.java124 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()

Completed in 108 milliseconds

1234