Home
last modified time | relevance | path

Searched refs:xCursor (Results 1 – 25 of 50) sorted by relevance

12

/trunk/main/sc/workben/
H A Dtest.cxx338 if (!xCursor.is()) return; in lcl_SetText()
349 xCursor->gotoEnd(FALSE); in lcl_SetText()
354 xCursor->gotoStart(FALSE); in lcl_SetText()
446 if (xCursor) in lcl_Annotations()
505 if ( xCursor ) in lcl_Cursor()
1150 if (!xCursor) return; in lcl_CellCursor()
1375 if (!xCursor) return; in lcl_CellAttrib()
1382 xCursor->gotoStart(FALSE); in lcl_CellAttrib()
1384 xCursor->goRight(1,TRUE); in lcl_CellAttrib()
1392 xCursor->goRight(1,TRUE); in lcl_CellAttrib()
[all …]
/trunk/main/odk/examples/CLI/VB.NET/WriterDemo/
H A DWriterDemo.vb90 Dim xCursor As unoidl.com.sun.star.text.XTextCursor
91 xCursor = xSimpleText.createTextCursor()
104 xText.insertTextContent(xCursor, xTextTable, false)
148 xPropertySetCursor = DirectCast(xCursor, unoidl.com.sun.star.beans.XPropertySet)
153 xSimpleText.insertControlCharacter(xCursor, _
161 xSimpleText.insertControlCharacter(xCursor, _
185 xText.insertTextContent(xCursor, xTextFrame, False)
214 xText.insertString(xCursor, vbLf + " That's all for now !!", False)
226 Dim xCursor As unoidl.com.sun.star.text.XTextCursor
227 xCursor = xSimpleTextCell.createTextCursor()
[all …]
/trunk/main/sw/source/ui/shells/
H A Dtextsh2.cxx92 Reference<XResultSet> xCursor; member
150 Reference<XResultSet> xCursor; in ExecDB() local
153 ((const SfxUsrAnyItem*)pCursorItem)->GetValue() >>= xCursor; in ExecDB()
168 pNew->xCursor = xCursor; in ExecDB()
182 if ( !xCursor.is() ) in ExecDB()
184 xCursor = SwNewDBMgr::createCursor(sSourceArg,sCommandArg,nCommandTypeArg,xConnection); in ExecDB()
185 bDisposeResultSet = xCursor.is(); in ExecDB()
191 aDescriptor[daCursor] <<= xCursor; in ExecDB()
199 ::comphelper::disposeComponent(xCursor); in ExecDB()
291 Reference <XResultSet> xResSet = pDBStruct->xCursor; in IMPL_STATIC_LINK()
/trunk/main/sw/source/ui/vba/
H A Dvbarangehelper.cxx47 uno::Reference< text::XTextCursor > xCursor = rText->createTextCursor(); in getRangeByPosition() local
48 xCursor->collapseToStart(); in getRangeByPosition()
54 xRange = xCursor->getStart(); in getRangeByPosition()
58 bCanGo = xCursor->goRight( 1, sal_False ); in getRangeByPosition()
145 uno::Reference< text::XTextCursor > xCursor = rText->createTextCursor(); in getPosition() local
146 xCursor->collapseToStart(); in getPosition()
149 sal_Int32 nCompareValue = xCompare->compareRegionStarts( xCursor->getStart(), rTextRange ); in getPosition()
154 canGo = xCursor->goRight( 1, sal_False ); in getPosition()
155 nCompareValue = xCompare->compareRegionStarts( xCursor->getStart(), rTextRange ); in getPosition()
/trunk/main/sw/qa/complex/writer/
H A DTextPortionEnumerationTest.java842 xCursor.setString(text); in insertText()
848 xContent.attach(xCursor); in insertTextField()
870 xContent.attach(xCursor); in insertFrame()
892 xContent.attach(xCursor); in insertFootnote()
911 xContent.attach(xCursor); in insertBookmark()
935 xContent.attach(xCursor); in insertReferenceMark()
954 xContent.attach(xCursor); in insertDocumentIndexMark()
987 xContent.attach(xCursor); in insertMeta()
1007 xContent.attach(xCursor); in insertMetaField()
1212 insertText(xCursor, text.getContent()); in insertNode()
[all …]
/trunk/main/extensions/source/bibliography/
H A Dframectr.cxx593 Reference< sdbc::XResultSet > xCursor( pDatMan->getForm(), UNO_QUERY ); in dispatch() local
594 xCursor->last(); in dispatch()
607 Reference< ::com::sun::star::sdbc::XResultSet > xCursor(pDatMan->getForm(), UNO_QUERY); in dispatch() local
608 Reference< XResultSetUpdate > xUpdateCursor(xCursor, UNO_QUERY); in dispatch()
621 bLeft = xCursor->isLast() && nCount > 1; in dispatch()
622 bRight= !xCursor->isLast(); in dispatch()
629 aEvent.Source = Reference< XInterface > (xCursor, UNO_QUERY); in dispatch()
646 xCursor->relative(bRight ? 1 : -1); in dispatch()
657 xCursor->first(); in dispatch()
817 Reference< ::com::sun::star::sdbc::XResultSet > xCursor(pDatMan->getForm(), UNO_QUERY); in addStatusListener() local
[all …]
H A Dbibload.cxx520 Reference< XResultSet > xCursor = GetDataCursor(); in getByName() local
521 Reference< sdbcx::XColumnsSupplier > xSupplyCols(xCursor, UNO_QUERY); in getByName()
558 while(xCursor->next()); in getByName()
576 Reference< XResultSet > xCursor(GetDataCursor()); in getElementNames() local
593 while (xCursor->next()); in getElementNames()
612 Reference< XResultSet > xCursor = GetDataCursor(); in hasByName() local
626 while(xCursor->next()); in hasByName()
647 Reference< XResultSet > xCursor = GetDataCursor(); in hasElements() local
/trunk/main/writerfilter/source/dmapper/
H A DDomainMapper_Impl.cxx244 xCursor->gotoEnd(false); in RemoveLastParagraph()
245 xCursor->goLeft( 1, true ); in RemoveLastParagraph()
246 xCursor->setString(::rtl::OUString()); in RemoveLastParagraph()
1204 uno::Reference< text::XParagraphCursor > xCursor( in appendTextSectionAfter() local
1207 xCursor->gotoStartOfParagraph( false ); in appendTextSectionAfter()
1208 xCursor->gotoEnd( true ); in appendTextSectionAfter()
1210 xCursor->goLeft(1, true); in appendTextSectionAfter()
3123 xCurrent = xCursor->getStart(); in AddAnnotationPosition()
3749 uno::Reference< text::XTextCursor > xCursor; in AddBookmark() local
3756 xCursor->goRight( 1, false ); in AddBookmark()
[all …]
/trunk/main/svx/source/form/
H A Dfmsrcimp.cxx683 const Reference< XResultSet > & xCursor, const ::rtl::OUString& sVisibleFields, in FmSearchEngine()
685 :m_xSearchCursor(xCursor) in FmSearchEngine()
721 const Reference< XResultSet > & xCursor, const ::rtl::OUString& sVisibleFields, in FmSearchEngine()
723 :m_xSearchCursor(xCursor) in FmSearchEngine()
728 ,m_xOriginalIterator(xCursor) in FmSearchEngine()
1155 …:SwitchToContext(const Reference< ::com::sun::star::sdbc::XResultSet > & xCursor, const ::rtl::OUS… in SwitchToContext() argument
1162 m_xSearchCursor = xCursor; in SwitchToContext()
1163 m_xOriginalIterator = xCursor; in SwitchToContext()
H A Dfmshimp.cxx1983 if ( xCursor.is() ) in setActiveController()
1985 DO_SAFE( xCursor->last(); ); in setActiveController()
2298 Reference< XRowLocate> xCursor(xForm, UNO_QUERY); in IMPL_LINK() local
2299 if (!xCursor.is()) in IMPL_LINK()
2305 xCursor->moveToBookmark(pfriWhere->aPosition); in IMPL_LINK()
2381 Reference< XRowLocate> xCursor(xForm, UNO_QUERY); in IMPL_LINK() local
2382 if (!xCursor.is()) in IMPL_LINK()
2388 xCursor->moveToBookmark(pfriWhere->aPosition); in IMPL_LINK()
2573 pfmscContextInfo->xCursor = NULL; in IMPL_LINK()
2578 pfmscContextInfo->xCursor = xIter; in IMPL_LINK()
[all …]
H A Dformcontrolling.cxx363 Reference< XRowSet > xCursor; in getCursor() local
365 xCursor = m_xFormOperations->getCursor(); in getCursor()
366 return xCursor; in getCursor()
/trunk/main/odk/examples/CLI/CSharp/Spreadsheet/
H A DGeneralTableSample.cs135 unoidl.com.sun.star.table.XCellCursor xCursor = in doSampleFunction()
139 xCursor.gotoEnd(); in doSampleFunction()
141 xCursor.gotoOffset( 0, 1 ); in doSampleFunction()
142 xCursor.getCellByPosition( 0, 0 ).setFormula( in doSampleFunction()
/trunk/main/dbaccess/source/ui/browser/
H A Dexsrcbrw.cxx384 Reference< XRowLocate > xCursor(xMaster, UNO_QUERY); in Attach() local
395 if (xCursor.is() && xResultSet.is()) in Attach()
400 aOldPos = xCursor->getBookmark(); in Attach()
436 else if (xCursor.is() && aOldPos.hasValue()) in Attach()
437 xCursor->moveToBookmark(aOldPos); in Attach()
H A Dbrwctrlr.cxx2338 Reference< XResultSetUpdate > xCursor(getRowSet(), UNO_QUERY); in Execute() local
2339 Reference< XPropertySet > xSet(xCursor, UNO_QUERY); in Execute()
2343 xCursor->moveToInsertRow(); in Execute()
2351 xCursor->cancelRowUpdates(); in Execute()
2397 Reference< XResultSetUpdate > xCursor(getRowSet(), UNO_QUERY); in SaveModified() local
2399 xCursor->insertRow(); in SaveModified()
2401 xCursor->updateRow(); in SaveModified()
2579 pContext->xCursor.set(getRowSet(),UNO_QUERY); in IMPL_LINK()
2583 Reference< XPropertySet > xCursorSet(pContext->xCursor, UNO_QUERY); in IMPL_LINK()
2601 xCursor->moveToBookmark(pInfo->aPosition); in IMPL_LINK()
[all …]
/trunk/main/odk/examples/DevelopersGuide/Spreadsheet/
H A DGeneralTableSample.java133 com.sun.star.table.XCellCursor xCursor = (com.sun.star.table.XCellCursor) in doSampleFunction() local
137 xCursor.gotoEnd(); in doSampleFunction()
139 xCursor.gotoOffset( 0, 1 ); in doSampleFunction()
140 xCursor.getCellByPosition( 0, 0 ).setFormula( "Beyond of the last filled cell." ); in doSampleFunction()
/trunk/main/connectivity/source/drivers/calc/
H A DCDatabaseMetaData.cxx338 Reference<XSheetCellCursor> xCursor = xSheet->createCursor(); in lcl_IsEmptyOrHidden() local
339 Reference<XCellRangeAddressable> xRange( xCursor, UNO_QUERY ); in lcl_IsEmptyOrHidden()
342 xCursor->collapseToSize( 1, 1 ); // single (first) cell in lcl_IsEmptyOrHidden()
343 xCursor->collapseToCurrentRegion(); // contiguous data area in lcl_IsEmptyOrHidden()
350 Reference<XCell> xCell = xCursor->getCellByPosition( 0, 0 ); in lcl_IsEmptyOrHidden()
H A DCTable.cxx107 Reference<XSheetCellCursor> xCursor = xSheet->createCursor(); in lcl_GetDataArea() local
108 Reference<XCellRangeAddressable> xRange( xCursor, UNO_QUERY ); in lcl_GetDataArea()
117 xCursor->collapseToSize( 1, 1 ); // single (first) cell in lcl_GetDataArea()
118 xCursor->collapseToCurrentRegion(); // contiguous data area in lcl_GetDataArea()
124 Reference<XUsedAreaCursor> xUsed( xCursor, UNO_QUERY ); in lcl_GetDataArea()
/trunk/main/xmloff/source/text/
H A DXMLChangedRegionImportContext.cxx178 Reference<XTextCursor> xCursor( rHelper->GetCursor() ); in UseRedlineText() local
182 rHelper->RedlineCreateText(xCursor, sID); in UseRedlineText()
187 xOldCursor = xCursor; in UseRedlineText()
/trunk/main/sfx2/source/appl/
H A Dnewhelp.cxx2163 bRet = !xCursor->isCollapsed(); in HasSelection()
2331 Reference< XTextRange > xCursor; in getCursor() local
2345 aAny >>= xCursor; in getCursor()
2355 return xCursor; in getCursor()
2464 Reference< XTextRange > xCursor = getCursor(); in IMPL_LINK() local
2466 if ( xCursor.is() ) in IMPL_LINK()
2469 xCursor = xCursor->getStart(); in IMPL_LINK()
2470 xSelection = xSearchable->findNext( xCursor, xSrchDesc ); in IMPL_LINK()
2836 Reference< XTextRange > xCursor = getCursor(); in DoSearch() local
2837 if ( xCursor.is() ) in DoSearch()
[all …]
/trunk/main/cui/source/dialogs/
H A Dcuifmsearch.cxx139 …DBG_ASSERT(fmscInitial.xCursor.is(), "FmSearchDialog::FmSearchDialog : invalid data supplied by Co… in FmSearchDialog()
185 …::comphelper::getProcessServiceFactory(), fmscInitial.xCursor, fmscInitial.strUsedFields, fmscInit… in FmSearchDialog()
186 initCommon( fmscInitial.xCursor ); in FmSearchDialog()
604 …m_pSearchEngine->SwitchToContext(fmscContext.xCursor, fmscContext.strUsedFields, fmscContext.arrFi… in InitContext()
608 m_ftRecord.SetText(String::CreateFromInt32(fmscContext.xCursor->getRow())); in InitContext()
/trunk/main/svx/inc/svx/
H A Dfmsrcimp.hxx306 const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xCursor,
312 const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xCursor,
349 … ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xCursor, const ::rtl::OUS…
/trunk/main/sw/source/core/unocore/
H A Dunoredline.cxx166 uno::Reference<text::XTextCursor> xCursor = createTextCursor(); in createTextCursorByRange() local
167 xCursor->gotoRange(aTextRange->getStart(), sal_False); in createTextCursorByRange()
168 xCursor->gotoRange(aTextRange->getEnd(), sal_True); in createTextCursorByRange()
169 return xCursor; in createTextCursorByRange()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/
H A DAsciiReplaceFilter.java467 … com.sun.star.text.XTextRange xCursor = (com.sun.star.text.XTextRange)UnoRuntime.queryInterface( in implts_import() local
484 xText.insertString(xCursor,sLine,false); in implts_import()
485 … xText.insertControlCharacter(xCursor,com.sun.star.text.ControlCharacter.PARAGRAPH_BREAK,false); in implts_import()
/trunk/main/svx/source/fmcomp/
H A Dgridcell.cxx1101 void DbTextField::Init( Window& rParent, const Reference< XRowSet >& xCursor) in Init() argument
1167 DbLimitedLengthField::Init( rParent, xCursor ); in Init()
1354 Reference< XRowSet > xCursorForm(xCursor, UNO_QUERY); in Init()
1483 DbLimitedLengthField::Init( rParent, xCursor ); in Init()
1666 void DbCheckBox::Init( Window& rParent, const Reference< XRowSet >& xCursor ) in Init() argument
1698 DbCellControl::Init( rParent, xCursor ); in Init()
1816 DbCellControl::Init( rParent, xCursor ); in Init()
2539 DbCellControl::Init( rParent, xCursor ); in Init()
2642 void DbListBox::Init( Window& rParent, const Reference< XRowSet >& xCursor) in Init() argument
2653 DbCellControl::Init( rParent, xCursor ); in Init()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/
H A DSwXTextEmbeddedObjects.java105 XTextCursor xCursor = oDoc.getText().createTextCursor(); in createTestEnvironment() local
116 oDoc.getText().insertTextContent( xCursor, xTextContent, false ); in createTestEnvironment()

Completed in 371 milliseconds

12