Lines Matching refs:mxTextCursor
68 mxTextCursor = SwVbaRangeHelper::initCursor( rStart, mxText ); in initialize()
69 mxTextCursor->collapseToStart(); in initialize()
72 mxTextCursor->gotoRange( rEnd, sal_True ); in initialize()
74 mxTextCursor->gotoEnd( sal_True ); in initialize()
80 uno::Reference< text::XTextRange > xTextRange( mxTextCursor, uno::UNO_QUERY_THROW ); in getXTextRange()
86 mxTextCursor->gotoRange( xRange->getStart(), sal_False ); in setXTextRange()
87 mxTextCursor->gotoRange( xRange->getEnd(), sal_True ); in setXTextRange()
98 rtl::OUString aText = mxTextCursor->getString(); in getText()
104 if( mxTextCursor->isCollapsed() ) in getText()
106 mxTextCursor->goRight( 1, sal_True ); in getText()
107 aText = mxTextCursor->getString(); in getText()
108 mxTextCursor->collapseToStart(); in getText()
112 uno::Reference< text::XTextRange > xStart = mxTextCursor->getStart(); in getText()
113 uno::Reference< text::XTextRange > xEnd = mxTextCursor->getEnd(); in getText()
114 mxTextCursor->collapseToEnd(); in getText()
115 mxTextCursor->goRight( 1, sal_True ); in getText()
116 mxTextCursor->gotoRange( xStart, sal_False ); in getText()
117 mxTextCursor->gotoRange( xEnd, sal_True ); in getText()
129 mxTextCursor->setString( rtl::OUString() ); in setText()
131 uno::Reference< text::XTextRange > xRange( mxTextCursor, uno::UNO_QUERY_THROW ); in setText()
136 mxTextCursor->setString( rText ); in setText()
173 if( !mxTextCursor->isCollapsed() ) in InsertBreak()
175 mxTextCursor->setString( rtl::OUString() ); in InsertBreak()
176 mxTextCursor->collapseToStart(); in InsertBreak()
179 uno::Reference< beans::XPropertySet > xProp( mxTextCursor, uno::UNO_QUERY_THROW ); in InsertBreak()
189 xTextViewCursor->gotoRange( mxTextCursor->getStart(), sal_False ); in Select()
190 xTextViewCursor->gotoRange( mxTextCursor->getEnd(), sal_True ); in Select()
196 mxTextCursor->setString( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("") ) ); in InsertParagraph()
203 uno::Reference< text::XTextRange > xTextRange = mxTextCursor->getStart(); in InsertParagraphBefore()
205 mxTextCursor->gotoRange( xTextRange, sal_True ); in InsertParagraphBefore()
211 uno::Reference< text::XTextRange > xTextRange = mxTextCursor->getEnd(); in InsertParagraphAfter()
218 uno::Reference< beans::XPropertySet > xParaProps( mxTextCursor, uno::UNO_QUERY_THROW ); in getParagraphFormat()
233 uno::Reference< beans::XPropertySet > xProp( mxTextCursor, uno::UNO_QUERY_THROW ); in getStyle()
255 uno::Reference< beans::XPropertySet > xParaProps( mxTextCursor, uno::UNO_QUERY_THROW ); in setStyle()
268 uno::Reference< beans::XPropertySet > xParaProps( mxTextCursor, uno::UNO_QUERY_THROW ); in getLanguageID()
274 uno::Reference< beans::XPropertySet > xParaProps( mxTextCursor, uno::UNO_QUERY_THROW ); in setLanguageID()
281 uno::Reference< beans::XPropertySet > xParaProps( mxTextCursor, uno::UNO_QUERY_THROW ); in PageSetup()
295 return SwVbaRangeHelper::getPosition( xText, mxTextCursor->getStart() ); in getStart()
302 uno::Reference< text::XTextRange > xEnd = mxTextCursor->getEnd(); in setStart()
304 mxTextCursor->gotoRange( xStart, sal_False ); in setStart()
305 mxTextCursor->gotoRange( xEnd, sal_True ); in setStart()
311 return SwVbaRangeHelper::getPosition( xText, mxTextCursor->getEnd() ); in getEnd()
319 mxTextCursor->collapseToStart(); in setEnd()
320 mxTextCursor->gotoRange( xEnd, sal_True ); in setEnd()